diff f6bf760..6fbd3ac conditional_permutations_v2.txt
diff --git a/conditional_permutations_v2.txt b/conditional_permutations_v2.txt
index 44b8783..f39d4f6 100644
--- a/conditional_permutations_v2.txt
+++ b/conditional_permutations_v2.txt
@@ -22,7 +22,7 @@ Theorem. Let n=2^d and start the shuffle from any deterministic deck. Fix m outs
 Consequently, the full-deck law from every deterministic start is within 1/4 in total variation of uniform after (s_0+J(s_0+1))d = 16040400 d physical shuffles.
 
 The statement is equivalent to the pair consisting of E and g having law close to the product of the environment law and U_m:
- |L( E,g)-calE,g)-L( E)calE) ⊗  U_m|_{TV} = E_{E}|nu_{E}-U_m|_{TV} . 
+ |L( E,g)-E,g)-L( E)E) ⊗  U_m|_{TV} = E_{E}|nu_{E}-U_m|_{TV} . 
 The equivalence says that the free-slot permutation is nearly independent of the observed environment. The averaged statement is not the same as a statement for each environment; rare environments can leave too few useful free switches. The proof deletes a small amount of probability under the actual outside-path law, restoring it at the end.
 
 The upper bound is sharp in the exponent of d. In t physical shuffles there are at most 2^{tn/2} switch strings (half the coins are redundant to the choices of switched pairs), so the support of the shuffle law in S_n has uniform mass at most 2^{tn/2}/n! and the law is at total-variation distance at least 1-2^{tn/2}/n! from uniform. In particular, distance at most 1/4 requires
@@ -47,7 +47,7 @@ The conditional slot-bijection lemma fixes the basic bookkeeping. Conditional on
 
 For one tracked free card, the same lemma gives a linear evolution. Conditional masses average across a free-free edge and transport across a mixed edge; the uniform vector follows identically. A signed difference from uniform therefore has sum zero and Euclidean norm nonincreasing in time, and this linear rule is adapted to progressively revealed paths even though it is a formula for the conditional law given the full trajectory. This linear evolution supplies the one-sweep and two-sweep estimates of Q used in the half-deck preparation.
 
-The analysis is done on row vectors of probabilities or of their differences, in the ordinary Euclidean norm. If u is a free-slot row vector, then |uQ|le|u| by convexity of the square applied inside each column followed by row sums. Put A_E=E[QQ^bbE[QQ^top], with the expectation over the paths from the fixed blocked start E. Its entry at x,y is the probability that two copies, started at x,y and run independently conditional on the common blocked paths, finish at the same position; both the switch randomness and the blocked-path randomness are averaged. The matrix A_E is symmetric and a contraction, as is QQ^top.
+The analysis is done on row vectors of probabilities or of their differences, in the ordinary Euclidean norm. If u is a free-slot row vector, then |uQ|le|u| by convexity of the square applied inside each column followed by row sums. Put A_E=E[QQ^E[QQ^top], with the expectation over the paths from the fixed blocked start E. Its entry at x,y is the probability that two copies, started at x,y and run independently conditional on the common blocked paths, finish at the same position; both the switch randomness and the blocked-path randomness are averaged. The matrix A_E is symmetric and a contraction, as is QQ^top.
 
 Let h=floor( d/2), and call the blocks determined by bits >h the coarse blocks. These have size 2^h. For a free-slot vector u, write u_c for the orthogonal projection onto the subspace constant on coarse blocks; the projection averages u over the free slots inside each coarse block. Call a blocked set E good when its fraction in every coarse block is at most 3/4. Set q=7/8 and
  ε_n = n(frac{3/2}{2^{3/4}})^{2^h}. 
@@ -55,7 +55,7 @@ From a good starting set, one sweep contracts fluctuations within large subcubes
 
 Lemma (coarse-block estimates). For the one-sweep matrix Q and every free-slot row vector u, a good starting blocked set E satisfies
  E|uQ|^2 = u A_E u^top le |u_c|^2 + q^{d-h}|u|^2. 
-For every starting blocked set E with |E|le n/2, the ending set satisfies P(E'bbP(E' not good)leε_n. If u has sum zero, then its coarse part on the ending free slots satisfies
+For every starting blocked set E with |E|le n/2, the ending set satisfies P(E'P(E' not good)leε_n. If u has sum zero, then its coarse part on the ending free slots satisfies
  E|(uQ)_c|^2le(4· 2^{-h}+ε_n)|u|^2. 
 
 Proof. Let p_k(x) be the initial blocked fraction in the block of size 2^{k-1} having bits >k equal to those of x and bit k opposite to that of x, and set q_k(x)=(1+p_k(x))/2. Let j be the largest coordinate on which x,y differ, or 0 when x=y. The identity
@@ -64,7 +64,7 @@ follows from two-copy path analysis. The two copies coalesce on the first coordi
 
 The row sum inside the block of x equals prod_{k=h+1}^d q_k(x). For 1le jle h there are 2^{j-1}(1-p_j(x)) free y's with that particular last-difference value, and the contributions telescope with the diagonal term. This row sum is constant on the coarse block of x and at most q^{d-h} when E is good, because each factor p_k(x) for k>h is a weighted average of coarse-block blocked fractions. The coarse-constant subspace is thus invariant under A_E and contracts there by q^{d-h}. On its orthogonal complement, the between-block entries contribute zero and the symmetric within-block matrices have norm at most their maximum row sum, again at most q^{d-h} because all entries are nonnegative. Symmetry excludes a cross term between the two subspaces.
 
-The blocked-slot indicators satisfy, for any set of slots, that the probability all are blocked is at most the product of their marginal probabilities. This holds at the deterministic start; a single fair swap preserves the inequality, since for a test set containing one of the two swap slots the two old bounds are averaged, and for one containing both, the product of the marginals can only increase when both are replaced by their average. Disjoint simultaneous swaps are processed one at a time. After a sweep all marginals equal r/n by single-card uniformity. Expanding the product of 1+indicator over the coarse block of a fixed output, applying Markov's inequality, and taking the union bound over 2^{d-h} coarse blocks gives P(E'bbP(E' not good)le ε_n. This restricted form of preservation of negative dependence under partial symmetrization is due to Borcea, Branden and Liggett ./pdf/borcea-branden-liggett-2009-negative-dependence.pdf.
+The blocked-slot indicators satisfy, for any set of slots, that the probability all are blocked is at most the product of their marginal probabilities. This holds at the deterministic start; a single fair swap preserves the ineuality, since for a test set containing one of the two swap slots the two old bounds are averaged, and for one containing both, the product of the marginals can only increase when both are replaced by their average. Disjoint simultaneous swaps are processed one at a time. After a sweep all marginals equal r/n by single-card uniformity. Expanding the product of 1+indicator over the coarse block of a fixed output, applying Markov's ineuality, and taking the union bound over 2^{d-h} coarse blocks gives P(E'P(E' not good)le ε_n. This restricted form of preservation of negative dependence under partial symmetrization is due to Borcea, Branden and Liggett ./pdf/borcea-branden-liggett-2009-negative-dependence.pdf.
 
 For the last display, on good output the squared block sums are divided by block free-slot counts of at least 2^h/4 by goodness, giving the factor 4· 2^{-h} against the unconditional numerator bound. On bad output the norm is bounded by |u| by contraction. The bound combines the two cases.
 
@@ -84,7 +84,7 @@ The shuffle alternates a 400-sweep preparation with a single active sweep, repea
 
 At a uniform start set z independent of the fresh switches, the drop probability is at most n^{-1/40} for large d. For any full-sweep switch realization, form the meeting graph on the n initial slots, joining two slots whose carriers occupy the two endpoints of the same switch at some stage. The graph is d-regular. Given that a particular slot is in the uniform free set, the probability any k specified neighbors of it are all outside is at most (m/(n-1))^k by sampling without replacement. The probability that a slot has more than 3d/4 outside neighbors is therefore at most
  (1+m/(n-1))^d 2^{-3d/4} le n^{-1/20} 
-for large d, using m/(n-1)<1/2 and log_2(3/2)<7/10. The expected number of poor carriers is at most m n^{-1/20}, and Markov's inequality gives a drop probability of at most m n^{-1/20}/Lle n^{-1/40}. The path-averaged loss depends on the active starting layout only through its free set, and averaged over the outside-path law it is at most n^{-1/40}+delta_n from the end of the unweighted preparation.
+for large d, using m/(n-1)<1/2 and log_2(3/2)<7/10. The expected number of poor carriers is at most m n^{-1/20}, and Markov's ineuality gives a drop probability of at most m n^{-1/20}/Lle n^{-1/40}. The path-averaged loss depends on the active starting layout only through its free set, and averaged over the outside-path law it is at most n^{-1/40}+delta_n from the end of the unweighted preparation.
 
 The active subprobability has zero sign transform: sum_gtildenu_a^{e'}(g)sgn(g)=0. The free-free edges are determined by e'. If there are none, no trajectory is retained for large d because m>L. Otherwise, flip the free coin on one fixed free-free edge at the last stage having any. The carrier counts are unchanged, because no free-free stage follows. Retention is invariant. The endpoint parity changes, because the two carriers exchange their endpoints. This probability-preserving involution cancels the signed sum.
 
@@ -98,7 +98,7 @@ Proof. Let a_i count the i-cycles of sigma and define nonnegative e_i by
  sum_{ile s}e_i=log_rmax(1,sum_{ile s}i a_i),  E(sigma)=sum_{i=1}^r(e_i)/(i). 
 The Larsen-Shalev bound is |chi(sigma)|le D^{E(sigma)+ε} for each fixed ε>0 and all sufficiently large r, uniformly in sigma and chi. Since sum_i e_i=1 and e_1=log_rmax(f,1), E(sigma)le(1+log_rmax(f,1))/2. With ε=delta and log_r fle1-4delta, the exponent E+delta-1 is at most -delta, giving the first display.
 
-For the second display, conjugate the f fixed points to the last f symbols and restrict to S_{r-f}. By the Young branching rule, at most r^f summands appear, counted with multiplicity, with dimensions D_j summing to D. If r-f exceeds a fixed absolute threshold, the restricted permutation has no fixed points, so its own e_1 vanishes and Ele1/2; the Larsen-Shalev bound with ε=1/4 then bounds the character on a summand of dimension D_j by D_j^{3/4}. Holder's inequality with exponents 4/3 and 4 gives
+For the second display, conjugate the f fixed points to the last f symbols and restrict to S_{r-f}. By the Young branching rule, at most r^f summands appear, counted with multiplicity, with dimensions D_j summing to D. If r-f exceeds a fixed absolute threshold, the restricted permutation has no fixed points, so its own e_1 vanishes and Ele1/2; the Larsen-Shalev bound with ε=1/4 then bounds the character on a summand of dimension D_j by D_j^{3/4}. Holder's ineuality with exponents 4/3 and 4 gives
  |chi(sigma)|lesum_j D_j^{3/4}le(sum_j D_j)^{3/4}(r^f)^{1/4}=r^{f/4}D^{3/4}. 
 Combined with |chi(sigma)|/Dle1, this is |chi(sigma)|/Dlemin(1,r^{f/4}D^{-1/4}). For every x>0 and 0<delta<1/4, min(1,x^{1/4})le x^{delta}, so with x=r^f/D the second display follows. If r-f is below the threshold, fge r/2 for large r, and Dle√(r!) by the regular character identity while r^fge r^{r/2}ge√(r!), so |chi(sigma)|/Dle1le D^{-delta} r^{delta f}.
 
@@ -116,7 +116,7 @@ Pass to Fourier analysis on S_m. For an irreducible unitary representation rho o
 The expectation defining A(z) is unchanged under any outside labeling of the other slots, since such a relabeling just bijects outside paths while preserving switch constraints and probabilities. For the sign representation F_a=0 by the sign transform cancellation.
 
 Conditional on e', take two independent free switch realizations X,Y and let g_X,g_Y be the resulting permutations. Expanding the trace gives
- tr(F_a^* F_a)=E[bbE[chi(g_X^{-1} g_Y),mathbf 1_bf1_{X,Y retained}mid e']. 
+ tr(F_a^* F_a)=E[E[chi(g_X^{-1} g_Y),1_bf1_{X,Y retained}mid e']. 
 Let f be the number of fixed points of g_X^{-1}g_Y. Given a retained X, for any a specified free starting indices to be fixed, their carriers must have the same paths in Y as in X by single-sweep path uniqueness from endpoints. At least a-L of them are not poor in X, so they jointly visit at least d(a-L)/8 distinct free-free switches, each counted at most twice. The corresponding coins in Y must all match, and they are independent fair coins conditional on e' and X. By a union bound, with beta=1/100 and integers n^{1-beta}le ale m,
  P(f a, X,Y retainedmid e')lebinom{m}{a}2^{-d(a-L)/8}le n^{-a/32} 
 for large d, using Lle a/2 and (em/a)^ale n^{2beta a}.
@@ -132,20 +132,20 @@ and the fact that the minimum nontrivial degree grows without bound, absorbing t
 for all sufficiently large m.
 
 The chunk contraction converts the trace bound into an operator bound. Conditional on the preparation outside paths e, let tildenu_b^e be the retained joint measure of (free set z=z(e), free permutation g on the complementary slots). The retained measure sits inside the half-deck preparation estimate, so for each fixed (z,g)
- E_e[bbE_e[mathbf 1_bf1_{{z(e)=z}}tildenu_b^e(g)]=min(p(y),u_*)le u_*, 
+ E_e[E_e[1_bf1_{{z(e)=z}}tildenu_b^e(g)]=min(p(y),u_*)le u_*, 
 where u_* is the uniform mass of a joint (free set, permutation) configuration, that is, u_*=m!/n!. The truncated joint measure, averaged over paths, is thus dominated by the law of uniform z and independent uniform g. The expected removed mass is at most delta_n, and the unweighted marginal of z is within delta_n of uniform.
 
 Conditional on the chunk paths, the composition of preparation and active sweep has transform F_aF_b. Averaged over chunk paths from any start, its squared-matrix estimate in positive semidefinite order is
- E[(F_aF_b)^*(F_aF_b)]=bbE[(F_aF_b)^*(F_aF_b)]=E_e[F_b^*bbE_e[F_b^* A(z(e))F_b]preceqE_e* A(z(e))rho(g)preceq b_rho I. 
-For the equality, the next outside paths start fresh and A(z) does not require their particular starting labeling. The first inequality is weighted Cauchy-Schwarz applied to A^{1/2}F_b on each vector with weights of sum at most one. For the second, each conjugated matrix is positive semidefinite, and the pointwise domination bounds its e-average by the average against uniform (z,g). For fixed z, uniform g conjugation gives tr(A(z))I/D by Schur's lemma, and averaging the scalar over uniform z gives b_rho I.
+ E[(F_aF_b)^*(F_aF_b)]=E[(F_aF_b)^*(F_aF_b)]=E_e[F_b^*E_e[F_b^* A(z(e))F_b]preceqE_e* A(z(e))rho(g)preceq b_rho I. 
+For the equality, the next outside paths start fresh and A(z) does not require their particular starting labeling. The first ineuality is weighted Cauchy-Schwarz applied to A^{1/2}F_b on each vector with weights of sum at most one. For the second, each conjugated matrix is positive semidefinite, and the pointwise domination bounds its e-average by the average against uniform (z,g). For fixed z, uniform g conjugation gives tr(A(z))I/D by Schur's lemma, and averaging the scalar over uniform z gives b_rho I.
 
 Use J=40000 chunks. Conditional on the outside paths of all chunks, let nu be the full probability law of the free-slot permutation and let tildenu be the composition of the subprobabilities above. Then tildenulenu coefficientwise, since every truncation uses only the randomness of its own interval conditional on paths and the layout information there, computing increments on canonical slots regardless of the incoming free permutation. Write F_{tot} for the transform of tildenu, the product of the chunk transforms with later chunks on the left. Applying the chunk contraction given previous paths for the last chunk and iterating gives
  E[F_bbE[F_{tot}^*F_{tot}]preceq b_rho^J I 
 from any starting layout. The sign transform vanishes. The mass M of tildenu is the product of the interval masses, and the deficit of the product is at most the sum of deficits, so
- E[1-M]bbE[1-M]le J(2delta_n+n^{-1/40}). 
+ E[1-M]E[1-M]le J(2delta_n+n^{-1/40}). 
 
 Finite-group Plancherel and Cauchy-Schwarz now give, with U_m uniform on S_m,
- tfrac12E|tildenu-MU_m|_1letfrac12Big(sum_{rho:,D>1}D^2b_rho^JBig)^{1/2}=o(1). 
+ 1/2E|tildenu-MU_m|_1le1/2Big(sum_{rho:,D>1}D^2b_rho^JBig)^{1/2}=o(1). 
 Indeed, for a signed measure v of total mass zero, Plancherel gives |v|_1^2le|S_m|sum_g|v(g)|^2=sum_rho D|sum_g v(g)rho(g)|_{HS}^2. The trivial transform of tildenu-MU_m vanishes, as does the uniform transform at each nontrivial representation, and the matrix bound then gives the display since J/800=50 and sum_{rho:,D>1}D^{-48}=o(1). Adding the removed mass gives
  E d_{TV}(nu,U_m)=o(1) 
 uniformly in the outside starting layout.
@@ -169,12 +169,12 @@ On the complementary event D of the intersection over the 2^{d-r} level-r blocks
 Within any level-i block B in the second sweep, write u=H_B/|B| and m=M_B/|B| for the first moments of indicator and signed mass, q for the second moment of mass, and a=m/u, v=q-ua^2 when u>0. Cauchy-Schwarz with support on the holes gives vge0, and rearrangement gives
  u=(u_1+u_2)/(2), m=(m_1+m_2)/(2), q=(q_1+q_2)/(2)-(q_1u_2+q_2u_1-2m_1m_2)/(4), 
 and
- v=tfrac12[(1-u_2/2)v_1+(1-u_1/2)v_2]+(1-u)J_B, J_B=tfrac12(u_1a_1^2+u_2a_2^2)-ua^2ge0. 
+ v=1/2[(1-u_2/2)v_1+(1-u_1/2)v_2]+(1-u)J_B, J_B=1/2(u_1a_1^2+u_2a_2^2)-ua^2ge0. 
 
 Weighting by block sizes, the sum of |B|v_B at level i>r is at most 1-rho/4 times that at level i-1, plus the sum of |B|J_B at level i. Each |B|J_B equals the sum over the two children minus the parent of the quantity |B|ua^2=M_B^2/H_B. Thus the sum of |B|J_B above level r telescopes and is bounded by sum_{B level r}M_B^2/H_B. Cauchy-Schwarz gives sum_BM_B^2/H_Ble L, and at the root v=q because total mass is zero. Restricting to the first sweep's output, the expected squared norm on D is at most
  (1-rho/4)^{d-r}L+sum_{B level r}((M_B')^2)/(H_B'), 
 where M_B' is the signed mass in B after the first r layers and H_B' is the hole count there. Conditionally on the level-r output, the mean of |M_B'|^2 is at most L/2^{d-r}, and on D the bound H_B'ge(rho/2)2^r holds, so the residual is at most 2L/(rho 2^r). Combining with the D^c probability le 2^{d-r}e^{-rho^2 2^r/64},
- E[bbE[|output|^2]leBig[(1-rho/4)^{d-r}+(2)/(rho 2^r)+2^{d-r}e^{-rho^2 2^r/64}Big]Lle N^{-rho/16}L 
+ E[E[|output|^2]leBig[(1-rho/4)^{d-r}+(2)/(rho 2^r)+2^{d-r}e^{-rho^2 2^r/64}Big]Lle N^{-rho/16}L 
 for d sufficiently large. The estimate holds conditionally on the past.
 
 Proposition (partial mixing at fixed omitted fraction). Fix 0<rhole1 and s=lceil320/rhorceil. For all sufficiently large d depending only on rho, after 2s sweeps the ordered positions of any ble(1-rho)N distinct labels are within ε_N=N^{-8} in total variation of the uniform ordered injection, from any deterministic start. The same assertion holds for sweeps in reverse order d,...,1.
@@ -216,8 +216,8 @@ By centrality each averaged representation matrix is scalar by Schur's lemma, wi
  h!,nu^{*l}(id)=sum_lambda d_lambda^2theta_lambda^l. 
 The trivial term is q^l, and the sign term vanishes. With l=128, the sum of absolute values of the other terms is at most 2^lsum_{lambda:D_lambda>1}d_lambda^{-l/32}le2^lsum_{lambda:D_lambda>1}d_lambda^{-2}, which is o(1) by the reciprocal-degree lemma. This proves the return estimate.
 
-Write p_{E} for the subprobability of p_{E} that includes the requirement G_X, and for the conditionally independent copy Y define G_Y by the same acceptance and goodness requirements with independent auxiliary randomness. The triangle inequality with the subprobabilities and Cauchy-Schwarz give
- E_{E}|p_{E}-u_{E}|_{TV}letfrac12Pr(G_X^c)+tfrac12√(h!,Pr(S=id,G_X,G_Y)-2Pr(G_X)+1). 
+Write p_{E} for the subprobability of p_{E} that includes the requirement G_X, and for the conditionally independent copy Y define G_Y by the same acceptance and goodness requirements with independent auxiliary randomness. The triangle ineuality with the subprobabilities and Cauchy-Schwarz give
+ E_{E}|p_{E}-u_{E}|_{TV}le1/2Pr(G_X^c)+1/2√(h!,Pr(S=id,G_X,G_Y)-2Pr(G_X)+1). 
 Indeed, p_{E}-p_{E} is nonnegative with expected mass Pr(G_X^c), and the expression inside the square root equals E_{E}[h!sum_g(p_{E}-1/h!)^2]. This uses the two conditionally independent copies with their separate marks, with assignment agreement represented by S=id. Dropping G_Y from the positive term and applying the convolution formulas with the return estimate bounds the expression by 1-(p_0q)^l+o(1)=o(1), and likewise Pr(G_X^c)=o(1). The truncation by good subprobabilities costs only o(1) in total variation. This proves the uniformity conditional on the reset environment.
 
 For the full-deck law, note first that the nonhole marginal is close to uniform unconditionally. The first 2s sweeps already have the partial mixing estimate for the k nonhole labels, and subsequent independent switches in the actual run preserve the uniform marginal kernel-wise, so they cannot increase its total-variation distance from uniform. The nonhole marginal is thus within ε_N of uniform on their end positions. The distribution obtained by assigning the h hole labels uniformly given the environment has these nonhole end positions and uniform assignment on the complement, so it is within ε_N of uniform on the whole deck. By the conditional bound, the actual end distribution differs from this distribution by o(1) in total variation, uniformly in the initial deck. The physical time is
@@ -242,13 +242,13 @@ The coefficients ell_s(e_{i_t}) for sin[t-d+1,t-1] are independent fair bits, in
 
 After the first d layers, split the free sites just before an update into the two cosets F^0,F^1 for the layer's direction. Given the history so far, every opposite-side pair is matched with probability 2/n, and both sides have size at least n/2-q. Suppressing the time subscript,
  sum_{xin F^0,,yin F^1}(u(x)-u(y))^2ge(n/2-q)sum_x u(x)^2, 
-because the two partial sums of u over the two sides are negatives of one another. The conditional expected ratio of the new squared norm to the old is thus at most 1/2+q/n. Starting with squared norm at most one, at T=20d the expected total-variation distance from uniform is at most tfrac12sqrt n(1/2+q/n)^{(T-d)/2} by Cauchy-Schwarz, and this converges to zero. This proves the group-preparation lemma.
+because the two partial sums of u over the two sides are negatives of one another. The conditional expected ratio of the new squared norm to the old is thus at most 1/2+q/n. Starting with squared norm at most one, at T=20d the expected total-variation distance from uniform is at most 1/2sqrt n(1/2+q/n)^{(T-d)/2} by Cauchy-Schwarz, and this converges to zero. This proves the group-preparation lemma.
 
 Now define the overlay. Call the initial position names of the base shuffle its indices, elements of V. Just before a layer, the matching of locations induces a matching of the indices via their base positions. Extra switches are placed on selected edges of this index matching, chosen from the pre-layer base data, using fresh arrays of independent fair coins independent of the base arrays. Form the actual layer coins on the location pairs by xoring the corresponding extra bits with the base bits, using 0 where absent. The actual shuffle has the ordinary law: conditional on the past and the extra bits for a layer, the base bits in that layer remain independent fair, since the selection and extra bits do not use the current base coins. If the base permutation (indices to current positions) is B, the actual permutation is BD where D is the overlay permutation on indices, initialized to the identity; at each layer D is left-multiplied by the extra switches in the pre-layer index matching, and B is then updated by the base switches on locations. This gives exactly the xor dynamics just specified.
 
 For a group A⊆ V of q indices, a call on A is the following procedure.
 
-Proposition (a conditional group permutation). Let Asubset V have q=n/8 indices. Use k=65536 phases, each consisting of 20d preparation layers without extra switches and one active sweep with extra switches on the pairs whose two base indices belong to A. Let kappa_{B} be the law of the resulting multiplier on mathfrak S(A)frakS(A) conditional on the full base shuffle B. Then
+Proposition (a conditional group permutation). Let Asubset V have q=n/8 indices. Use k=65536 phases, each consisting of 20d preparation layers without extra switches and one active sweep with extra switches on the pairs whose two base indices belong to A. Let kappa_{B} be the law of the resulting multiplier on S(A)S(A) conditional on the full base shuffle B. Then
  sup_{pre-call base histories}E[|kappa_{B}-U_A|_{TV}midpre-call historybig]→ 0. 
 The assertion is uniform in the starting cyclic phase and in the initial base placement, and the multiplier law is independent of the incoming overlay permutation.
 
@@ -258,31 +258,31 @@ Let E denote an ideal segment environment: the ordered placement and d-layer bas
 
 Fix constants h=1/32, eta=1/4096, and delta=eta/4. Call the extra-switch outcome good when at most q^{1-eta}/2 labels have fewer than hd internal encounters. Let mu_E' be the subprobability obtained from mu_E by counting only good switch outcomes, with no renormalization.
 
-The discarded mass has expectation o(1). For any fixed starting placement, averaging over the base and extra switches gives the same product law of independent fair actual switch arrays, by predictability and the base-coin xor argument; hence the actual location-switch array is independent of the uniformly sampled placement of A, even though the choice of extra edges depends on it. In d consecutive directions any two actual labels can be paired at most once: they could pair only at the direction of the last, in layer order, of the bits on which their start sites differed, and after that direction all still-unprocessed bits are equal. Each label thus has d distinct partners. Conditional on a specified active label's start position and on the actual location-switch arrays, its partners' start positions are determined, and the other q-1 active start positions form a uniform subset of the n-1 remaining sites. The number of encounters is therefore hypergeometric from sampling d sites out of n-1 with q-1 active, and this law differs from Binomial(d,(q-1)/(n-1)) in total variation by at most binom{d}{2}/(n-1) via coupling with and without replacement. For large n the binomial mean is at least d/16, so the probability of fewer than hd encounters is at most exp(-d/128). The expected number of low-encounter labels times q^eta therefore tends to zero, and Markov's inequality on that count bounds the discarded mass.
+The discarded mass has expectation o(1). For any fixed starting placement, averaging over the base and extra switches gives the same product law of independent fair actual switch arrays, by predictability and the base-coin xor argument; hence the actual location-switch array is independent of the uniformly sampled placement of A, even though the choice of extra edges depends on it. In d consecutive directions any two actual labels can be paired at most once: they could pair only at the direction of the last, in layer order, of the bits on which their start sites differed, and after that direction all still-unprocessed bits are equal. Each label thus has d distinct partners. Conditional on a specified active label's start position and on the actual location-switch arrays, its partners' start positions are determined, and the other q-1 active start positions form a uniform subset of the n-1 remaining sites. The number of encounters is therefore hypergeometric from sampling d sites out of n-1 with q-1 active, and this law differs from Binomial(d,(q-1)/(n-1)) in total variation by at most binom{d}{2}/(n-1) via coupling with and without replacement. For large n the binomial mean is at least d/16, so the probability of fewer than hd encounters is at most exp(-d/128). The expected number of low-encounter labels times q^eta therefore tends to zero, and Markov's ineuality on that count bounds the discarded mass.
 
 For the fixed-point count: let alpha,beta be outcomes of independent extra-switch arrays given E, identified with their permutations, and write F for the number of fixed points of alpha^{-1}beta. For all sufficiently large n and integers fge q^{1-eta},
  Pr(alpha good, Fge f)le q^{-c_*f}, c_*=h/8=1/256. 
 Fix E and the switches of a good alpha. Agreement of the two paths of a label at its endpoint requires agreement at every layer: in the cyclic-direction frame, the start and end of a d-layer path determine it, since each bit is processed only once. Of f agreed labels at least f/2 have at least hd encounters in alpha's outcome. Making beta follow those paths fixes its extra coins on their internal encounters, at least hdf/4 distinct coins since each pair can be counted at most twice in its layer, and those coins are independent given E. Union bounding over sets gives at most binom{q}{f}le(eq/f)^f· 2^{-hdf/4}, which is at most q^{-hf/8} by dgelog_2 q and the choice of eta for large n.
 
-Use irreducible complex unitary representations pi_lambda of mathfrak S(A)frakS(A) with dimension D_lambda and unnormalized character chi_lambda; representation-theoretic background is that of Etingof et al ./pdf/etingof-2011-intro-representation-theory.pdf. Write widehatnu(lambda)=sum_gnu(g)pi_lambda(g) for the matrix of a (possibly subprobability) law, and put
+Use irreducible complex unitary representations pi_lambda of S(A)S(A) with dimension D_lambda and unnormalized character chi_lambda; representation-theoretic background is that of Etingof et al ./pdf/etingof-2011-intro-representation-theory.pdf. Write nuhat(lambda)=sum_gnu(g)pi_lambda(g) for the matrix of a (possibly subprobability) law, and put
  b_lambda=(1)/(D_lambda)E_ETr'_Ehat(lambda)^*,mu'_Ehat(lambda)big)=E[1_{alpha good,,beta good},frac{chi_lambda(alpha^{-1}beta)}{D_lambda}big], 
 where the second expression uses the independent extra-switch arrays alpha,beta given E. By Schur's lemma the matrix inside the trace has expectation b_lambda I, because the subprobability kernel is invariant under conjugation by permutations of A.
 
 Apply the character and fixed-point lemma with group size q and delta=eta/4=1/16384. Since 4delta=eta, if the number f of fixed points of sigma is at most q^{1-eta}, then |chi_lambda(sigma)|/D_lambdale D_lambda^{-delta}; and for all f,
  |chi_lambda(sigma)|/D_lambdale D_lambda^{-delta}q^{delta f}. 
-Combining the small-f bound, the fixed-point inequality, and delta<c_* gives
+Combining the small-f bound, the fixed-point ineuality, and delta<c_* gives
  0le b_lambdale 2D_lambda^{-delta} 
 for large q, since sum_{fge q^{1-eta}}q^{-(c_*-delta)f}=o(1). For the sign representation b_{sign}=o(1): if the environment contains any internal match, the sign expectation before truncation vanishes by the fair extra coin on it, and after truncation its magnitude is at most the discarded mass; and if there is no internal match, no outcome is good for large q.
 
-The reciprocal-degree estimate gives sum_{lambda:,D_lambda>1}D_lambda^{-2}=o(1). Take k=lceil4/deltarceil=65536. In the independent segment experiment let nu' denote the product law obtained by convolving the k subprobabilities with multipliers applied on the left. At each nontrivial representation the expected squared Hilbert-Schmidt norm of the matrix is D_lambda times the product of the b_lambda factors: iteratively, independence and the scalar matrix expectation of mu'_Ehat(lambda) give this, and the estimates are uniform even if cyclic phases differ. By finite-group Plancherel, for the uniform probability U_A on mathfrak S(A),frakS(A),
- q!sum_g|nu'(g)-U_A(g)|^2=|nu'(mathfrak S(A))-1|^2+frakS(A))-1|^2+sum_{lambdanetriv}D_lambda|nu'hat(lambda)|_{HS}^2. 
+The reciprocal-degree estimate gives sum_{lambda:,D_lambda>1}D_lambda^{-2}=o(1). Take k=lceil4/deltarceil=65536. In the independent segment experiment let nu' denote the product law obtained by convolving the k subprobabilities with multipliers applied on the left. At each nontrivial representation the expected squared Hilbert-Schmidt norm of the matrix is D_lambda times the product of the b_lambda factors: iteratively, independence and the scalar matrix expectation of mu'_Ehat(lambda) give this, and the estimates are uniform even if cyclic phases differ. By finite-group Plancherel, for the uniform probability U_A on S(A),S(A),
+ q!sum_g|nu'(g)-U_A(g)|^2=|nu'(S(A))-1|^2+S(A))-1|^2+sum_{lambdanetriv}D_lambda|nu'hat(lambda)|_{HS}^2. 
 The mass deficit tends to zero in expectation (bounded by the sum of discarded masses), hence also in expected square. The expected sign term tends to zero. The expected sum for D_lambda>1 is at most
  2^ksum_{D_lambda>1}D_lambda^{2-delta k}=o(1) 
 by the bound on b_lambda and the reciprocal-degree estimate; with k=lceil4/deltarceil the exponent is 2-delta kle-2. These account for all irreducibles, the one-dimensional ones being trivial and sign. By Cauchy-Schwarz the expected ell^1 error tends to zero. Reinstating the discarded masses costs o(1) also in expected ell^1, since the product law before truncation dominates nu' pointwise. This proves the conditional group-permutation proposition for independent segments, and hence for the actual segments by the comparison in the call construction.
 
 The remaining comparison concerns only uniform shuffles within groups. Alternating independent row and column permutations appear in Hastad's study of the square-lattice shuffle ./pdf/hastad-2006-square-lattice-shuffle.pdf; here the number of blocks is fixed and their intersections grow, so the proof uses a contingency-table local limit.
 
-Lemma (three rounds on transverse partitions). Let R_1,...,R_K and C_1,...,C_K partition V with |R_icap C_j|=n/K^2. Independently shuffle uniformly within every R-group, then within every C-group, then within every R-group again. For the fixed K=8 and n=2^d, the resulting permutation law has total-variation distance o(1) from uniform on mathfrak S(V)frakS(V) as dto∞.
+Lemma (three rounds on transverse partitions). Let R_1,...,R_K and C_1,...,C_K partition V with |R_icap C_j|=n/K^2. Independently shuffle uniformly within every R-group, then within every C-group, then within every R-group again. For the fixed K=8 and n=2^d, the resulting permutation law has total-variation distance o(1) from uniform on S(V)S(V) as dto∞.
 
 Proof. The law is invariant on the right and on the left by the product subgroup of permutations within the R-groups, by the first and last shuffles. As for a uniform permutation, its probabilities depend only on the count matrix X=(X_{ij}), X_{ij} being the number of moves from R_i to R_j: two permutations with equal counts are identified by rearranging inputs within the groups to match their output groups and then rearranging outputs within the groups. So it suffices to compare the count laws.
 
@@ -298,16 +298,16 @@ Adding independent uniform noise W/sqrt M with W uniform on [0,1)^b, the smoothe
 
 For the sum of K tables from p_{n/K}, the centered vector at scale 1/sqrt n is a sum of K independent Z_{n/K}/sqrt K. With independent noise W_i/sqrt n on each summand, independence and total-variation contraction under addition, together with the density convergence, give convergence in total variation to the law with density G: the sum of K centered Gaussians, each divided by sqrt K, has the same law. The convergence remains with noise only on the first summand, since that smoothed summand by itself converges in total variation to a Gaussian (scaled by 1/sqrt K) and its distance to its translate by any vector of norm at most (K-1)sqrt b/sqrt n tends to zero uniformly. Conditioning on the other summands and their noises bounds by this o(1) the distance induced by removing their noises. Thus, with a single noise, both the centered scaled sum and the p_n vector are close to the same law. Total variation between these two noisy laws equals the discrete total variation without noise, since both lattices have the same cells spread out uniformly by the noise. This proves the desired count-law comparison, hence mixing of the ideal product.
 
-Choose two partitions of the base index set V, one into R_1,...,R_K and the other into C_1,...,C_K, with |R_icap C_j|=n/K^2 for every intersection; this is possible for large d. Make calls for the R-groups, then the C-groups, then the R-groups again, one call for each group of the indicated partition, in a fixed order within each partition. Conditional on the full base, the multipliers from distinct calls are independent, since they use independent extra coins on edges prescribed from the base. In expectation over the base, their product has total-variation error o(1) from the product using independent uniforms on the called groups, by the per-call error summed over 3K calls and the product-contraction inequality for total variation. Inside each partition the ideal uniforms together act as an independent uniform shuffling within each group.
+Choose two partitions of the base index set V, one into R_1,...,R_K and the other into C_1,...,C_K, with |R_icap C_j|=n/K^2 for every intersection; this is possible for large d. Make calls for the R-groups, then the C-groups, then the R-groups again, one call for each group of the indicated partition, in a fixed order within each partition. Conditional on the full base, the multipliers from distinct calls are independent, since they use independent extra coins on edges prescribed from the base. In expectation over the base, their product has total-variation error o(1) from the product using independent uniforms on the called groups, by the per-call error summed over 3K calls and the product-contraction ineuality for total variation. Inside each partition the ideal uniforms together act as an independent uniform shuffling within each group.
 
-The remaining comparison concerns only uniform shuffles within the groups, and is the content of the three-round-transverse lemma with K=8: alternating R, C, and R shuffles produce a permutation law within o(1) of uniform on mathfrak S(V).frakS(V).
+The remaining comparison concerns only uniform shuffles within the groups, and is the content of the three-round-transverse lemma with K=8: alternating R, C, and R shuffles produce a permutation law within o(1) of uniform on S(V).S(V).
 
 So the overlay product conditional on the base has expected total-variation distance o(1) from uniform on V. Multiplying by the final base permutation, which is fixed under the conditioning, preserves the comparison with uniform. Removing the conditioning and mapping back to deck locations proves total-variation distance o(1) for the actual shuffle. The shuffle has uniform stationary law, since every layer applies a random permutation according to switches independent of the incoming deck. Accounting for the k phases at 21d layers each across 3K calls,
  3K· k· 21d=3·8·65536·21,d=33030144d 
 physical shuffles suffice. The support lower bound t_{mix}ge d for all sufficiently large d applies here as well.
 
 A two-halves construction mixes two independent half-permutations. Set L=2^{23} and p=1-1/(2L), and define
- rho_p=(3+p)/(4), c_p=-tfrac18log_2rho_p, b=lceil10/c_prceil. 
+ rho_p=(3+p)/(4), c_p=-1/8log_2rho_p, b=lceil10/c_prceil. 
 
 Two companion results are used.
 ./pdf/conditional-information-under-deterministic-coordinate-sweeps.pdf
@@ -316,11 +316,11 @@ The conditional path theorem takes the following form: for fixed 0<p<1, every de
 where H is the full labelled base-path history and E_{H} its endpoint set. The estimate holds for every cyclic coordinate order, including the reverse order, and also after coarsening H provided the endpoint available set remains determined.
 
 The abstract conditional-product transfer concerns a partition V=Asqcup C with |A|=|C|=h. Partition each half into L equal buffers, where Lge2C_0 and C_0=2000000. Suppose a subprobability xi on S_V has both ordered inverse-image marginals x^{-1}|_A and x^{-1}|_C pointwise at most twice uniform. For each environment z, let nu_A^z,nu_C^z be subprobabilities on the two half-groups, and assume that in each factor and for each buffer B the ordered image tuple on the complement of B has marginal at most twice uniform. For each z choose an arbitrary deterministic permutation t_zin S_V. With Z carrying any law, put
- omega=E_Z[bbE_Z[delta_{t_Z}*(nu_A^Z ⊗ nu_C^Z)], theta=omega*xi. 
+ omega=E_Z[E_Z[delta_{t_Z}*(nu_A^Z ⊗ nu_C^Z)], theta=omega*xi. 
 Then, for all sufficiently large h, every irreducible representation of S_V of degree D>1 satisfies
- |widehattheta|_{op}le√(22),D^{-1/40}. 
+ |thetahat|_{op}le√(22),D^{-1/40}. 
 The Hilbert-Schmidt norms use ordinary unnormalized trace. For either Jin{A,C} and any irreducible gamma of S_J of degree D_gamma,
- |widehatnu_J(gamma)|_{HS}^2/D_gammalemin(1,2D_gamma^{-1/2}), 
+ |nuhat_J(gamma)|_{HS}^2/D_gammalemin(1,2D_gamma^{-1/2}), 
 whenever nu_J satisfies the buffer caps. Multiplicities c_{alphabeta}^lambda of alpha ⊗ beta in the restriction of lambda to H=S_Atimes S_C satisfy c_{alphabeta}^lambdalemin(D_alpha,D_beta).
 
 Proposition (two-half construction). With L=2^{23}, p=1-1/(2L), and b=lceil10/c_prceil, the full-deck law from any deterministic start has total-variation distance tending to zero from uniform after 400bd physical shuffles.
@@ -350,21 +350,21 @@ The error is at most (h-h/L)n^{-4}. The full labelled C paths determine the colo
 The same argument applies to every buffer of C by interchanging the colors. The endpoint available set is essential here: ordinary unconditional list mixing would not imply the display.
 
 For each z, delete from mu_J^z all permutations whose ordered image tuple outside any buffer exceeds twice its uniform probability, for Jin{A,C}. Denote the subprobabilities nu_J^z and their masses a_J(z). The truncation rule and the buffer bound give
- E_Z[(1-a_A(Z))+(1-a_C(Z))]bbE_Z[(1-a_A(Z))+(1-a_C(Z))]le4L(h-h/L)n^{-4}=(2L-2)n^{-3}. 
+ E_Z[(1-a_A(Z))+(1-a_C(Z))]E_Z[(1-a_A(Z))+(1-a_C(Z))]le4L(h-h/L)n^{-4}=(2L-2)n^{-3}. 
 Every surviving factor satisfies each cap for its own z, even if the loss at that z is large. The color-product lemma permits the product of the two deletions through
- omega=E_Z[bbE_Z[delta_{t_Z}*(nu_A^Z ⊗ nu_C^Z)], 
-which is dominated pointwise by the true law of W. Its missing mass satisfies E[1-a_Aa_C]bbE[1-a_Aa_C]leE[(1-a_A)+(1-a_C)]bbE[(1-a_A)+(1-a_C)]le(2L-2)n^{-3}, using 1-a_Aa_Cle(1-a_A)+(1-a_C).
+ omega=E_Z[E_Z[delta_{t_Z}*(nu_A^Z ⊗ nu_C^Z)], 
+which is dominated pointwise by the true law of W. Its missing mass satisfies E[1-a_Aa_C]E[1-a_Aa_C]leE[(1-a_A)+(1-a_C)]E[(1-a_A)+(1-a_C)]le(2L-2)n^{-3}, using 1-a_Aa_Cle(1-a_A)+(1-a_C).
 
 Independence of the two blocks and positivity of convolution give thetalemu pointwise together with
  1-theta(S_n)le 2Ln^{-3}=o(1). 
 The integer L is fixed before d tends to infinity.
 
-Applying the conditional-product transfer gives the degree-power operator bound |widehattheta|_{op}le√(22),D^{-1/40} for every D=D_lambda>1. The block law mu has sign coefficient zero: conditioning on all switch coins except any one fair coin in a physical layer, flipping that coin composes the final permutation with a conjugate transposition and reverses its sign. From thetalemu and the mass bound,
- |widehattheta(sgn)|le1-theta(S_n)le2Ln^{-3}. 
+Applying the conditional-product transfer gives the degree-power operator bound |thetahat|_{op}le√(22),D^{-1/40} for every D=D_lambda>1. The block law mu has sign coefficient zero: conditioning on all switch coins except any one fair coin in a physical layer, flipping that coin composes the final permutation with a conjugate transposition and reverses its sign. From thetalemu and the mass bound,
+ |thetahat(sgn)|le1-theta(S_n)le2Ln^{-3}. 
 
-Let j=100 and q=theta(S_n). In the Plancherel identity for the signed measure theta^{*j}-U_n on S_n, the trivial coefficient is q^j-1=o(1) and the sign coefficient is widehattheta(sgn)^j=o(1). For all other irreducibles,
- sum_{D_lambda>1}D_lambda|widehattheta(lambda)^j|_{HS}^2le22^jsum_{D_lambda>1}D_lambda^{,2-2j/40}=22^{100}sum_{D_lambda>1}D_lambda^{-3}=o(1). 
-This uses |widehattheta^{j}|_{HS}le|widehattheta|_{HS}·|widehattheta|_{op}^{,j-1} (operator submultiplicativity on a non-normal matrix), the standard bound |widehattheta|_{HS}^2le D_lambda|widehattheta|_{op}^2, and the reciprocal-degree lemma in the form sum_{D>1}D^{-2}=o(1), since D^{-3}le D^{-2}. Plancherel and Cauchy-Schwarz therefore give |theta^{*100}-U_n|_1=o(1). Restoring the missing mass costs 1-q^{100}=o(1), so |mu^{*100}-U_n|_{TV}to0.
+Let j=100 and q=theta(S_n). In the Plancherel identity for the signed measure theta^{*j}-U_n on S_n, the trivial coefficient is q^j-1=o(1) and the sign coefficient is thetahat(sgn)^j=o(1). For all other irreducibles,
+ sum_{D_lambda>1}D_lambda|thetahat(lambda)^j|_{HS}^2le22^jsum_{D_lambda>1}D_lambda^{,2-2j/40}=22^{100}sum_{D_lambda>1}D_lambda^{-3}=o(1). 
+This uses |thetahat^{j}|_{HS}le|thetahat|_{HS}·|thetahat|_{op}^{,j-1} (operator submultiplicativity on a non-normal matrix), the standard bound |thetahat|_{HS}^2le D_lambda|thetahat|_{op}^2, and the reciprocal-degree lemma in the form sum_{D>1}D^{-2}=o(1), since D^{-3}le D^{-2}. Plancherel and Cauchy-Schwarz therefore give |theta^{*100}-U_n|_1=o(1). Restoring the missing mass costs 1-q^{100}=o(1), so |mu^{*100}-U_n|_{TV}to0.
 
 Each of X,W costs 2bd physical shuffles. One macro-step therefore costs 4bd, and the 100 independent macro-steps cost 400bd. The macro-steps concatenate at sweep boundaries and have exactly the physical shuffle law at the corresponding physical time. Translation by any fixed initial deck preserves total variation.