6fbd3ac Δ f6bf760 Δ 56bc728 Δ b1f9bc4 Δ b34550f Δ 763cb89 Δ ac7f911 Δ c677a29 Δ 2d5618e Δ a8f887d Δ c0e6069
editors: nobody
E. O. Thorp's shuffling scheme was introduced for the game of Faro.
pdf/thorp-1973.pdf
A stack of n=2^d cards is indexed by the bit strings of length d in V=mathbb F_2^d,bbF_2^d, ordered lexicographically. One physical shuffle pairs every card x with x+e_1, the string obtained by flipping the first coordinate, and independently for each pair chooses one of the two orders with a fair coin. Writing R(x_1,...,x_d)=(x_2,...,x_d,x_1) for the cyclic rotation, a physical shuffle is RS where S applies the chosen swaps in the pairs {x,x+e_1}. Repeating RS alone would only randomize the first few coordinates, so the shuffle alternates between the swap and the rotation. In the rotating frame X_t=R^{-t}Y_t, where Y_t is the physical permutation after t shuffles, the dynamics become
X_{t+1} = R^{-t}S_{t+1}R^t X_t .
A layer is one step of X, acting by fair independent switches along a single coordinate matching of the cube. A sweep consists of d consecutive layers, one in each coordinate, so that after d physical shuffles the rotating and physical frames coincide.
Thorp's shuffle is used as the basis of deterministic enciphering on small domains by Morris, Rogaway and Stegers, and in the swap-or-not scheme of Hoang, Morris and Rogaway. Its mixing properties were first bounded by Morris, who obtained O(d^{44}) physical shuffles for power-of-two decks; the intermediate O(d^{29}) estimate of Montenegro and Tetali; and the subsequent O(d^3) bound of Morris for n=2^d. For every even deck size, Morris proved O((log n)^4). Czumaj and Vocking later showed that endpoint positions of any prescribed lfloor cnrfloor cards mix in O(d^2) physical shuffles, for each fixed 0<c<1. In a different direction, Morris's chameleon analysis studies a tagged card conditional on an occupancy history in an auxiliary zigzag shuffle. Fourier analysis of random walks on symmetric groups goes back to Diaconis and Shahshahani. Estimates to date do not settle the dependence on the constant, and the focus is less on the leading constant than on a comparison between two far more refined laws: the law of the entire permutation, conditioned on the observed trajectories of a fixed subset of the cards.
pdf/mrs-2009-thorp-encipher.pdf
pdf/hoang-morris-rogaway-2012-enciphering-scheme-based-on-a-card-shuffle.pdf
pdf/morris-2008.pdf
pdf/montenegro-tetali-2006.pdf
pdf/morris-2013.pdf
pdf/morris-2009.pdf
pdf/diaconis-shahshahani-1981.pdf
Fix m=n/2 labels of the deck as outside labels, leaving m free labels. Reveal the full trajectories of the outside labels through an interval ending at a sweep boundary. Two facts then hold. First, at every boundary the outside labels occupy m slots, and the free labels occupy the complementary m slots. Second, every switch coin on an edge incident to an outside card is determined by the trajectory, because the trajectory lists both the incoming and outgoing endpoints of that edge; the only unexposed coins are the ones on free-free edges. The unexposed coins compose to a bijection T from the initial free slots to the final free slots, and indexing both sets in increasing order turns T into a permutation g in S_m. The permutation's conditional law nu_{mathcal E}calE, given the outside trajectory mathcal E,calE, is the object of study.
The main assertion is that this conditional law is nearly uniform.
Theorem. Let n=2^d and start the shuffle from any deterministic deck. Fix m outside labels and m free labels. Take s_0=400 and J=40000 and run s_0+J(s_0+1)=16040400 sweeps, an initial s_0-sweep preparation followed by J chunks of s_0+1 sweeps. Let nu_{mathcal E}calE be the conditional law of the free-slot permutation g given the outside trajectory mathcal E,calE, and let U_m be uniform measure on S_m. Then
sup_{deterministic starts} mathbb E_bbE_{mathcal E}calE|nu_{mathcal E}calE-U_m|_{TV} → 0 (dto∞).
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 mathcal EcalE and g having law close to the product of the environment law and U_m:
|mathcal L(calL(mathcal E,g)-calE,g)-mathcal L(calL(mathcal E)calE) ⊗ U_m|_{TV} = mathbb E_bbE_{mathcal E}calE|nu_{mathcal E}calE-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
tgeleftlceil(2)/(n)log_2(3n!)/(4)rightrceil = 2d - O(1),
and distance at least 1-2^{-n/2} holds whenever tle d-2, so the mixing time is of order exactly d.
The proof has three stages. First, any ordered half-deck, from any deterministic starting layout, is brought within n^{-3} of uniform ordered endpoints after 400 sweeps. The route is a two-copy calculation for one sweep, split into averages within large subcubes and fluctuations inside them, followed by a two-sweep contraction. Second, after the initial 400-sweep preparation, alternating a 400-sweep preparation interval with a single active sweep and repeating this chunk 40000 times, truncation of the preparation law gives domination by a uniform free set together with an independent uniform slot permutation. During the active sweep, counting two-free edges met by each free carrier, and deleting outcomes with too many poor carriers, gives enough fresh coin constraints that agreement at many endpoints becomes unlikely. A symmetric-group character bound converts endpoint agreement into a trace contraction, and preparation domination promotes the trace to a positive-operator contraction that iterates across chunks. Third, coupling two decks, one from any fixed start and one from uniform, uses the preparation lemma on the outside labels and the conditional bound on the free labels.
Three alternative constructions give weaker but independent upper bounds, each with its own mechanism and its own mass and independence arguments. A reset construction extracts an exact uniform component from a long block, then computes a return probability for a central relative-permutation increment between two coupled copies, using the splitting technique of Nummelin. A trajectory-overlay construction adds predictable independent fair switches to a base trajectory without changing the underlying shuffle law, mixes one group of indices with a character estimate, and then uses three rounds on two transverse partitions, completed by a contingency-table local-limit theorem.
pdf/hastad-2006-square-lattice-shuffle.pdf
A two-halves construction reveals only the unlabelled occupancy history of two colors; the resulting internal half-permutations are independent conditional on the history, and a positive-operator Fourier bound emerges from truncation of the two factors plus an inverse-image bound on the first block.
The character input throughout is the uniform Larsen-Shalev estimate, in the fixed-slack formulation recorded by Keller, Lifshitz and Sheinfeld. Standard branching, Schur orthogonality and hook-length formulas enter through the Etingof volume; the special case of reciprocal-square summability of irreducible degrees also follows from Liebeck and Shalev. Sequential total-variation comparison in Morris's exclusion-process analysis supplies a comparison used in the half-deck preparation step. Negative dependence under partial symmetrization, in a restricted form needed for the poor-carrier bound, is due to Borcea, Branden and Liggett.
pdf/larsen-shalev-2008.pdf
pdf/keller-lifshitz-sheinfeld-2024.pdf
pdf/etingof-2011-intro-representation-theory.pdf
pdf/liebeck-shalev-2004.pdf
pdf/morris-exclusion-2006.pdf
pdf/borcea-branden-liggett-2009-negative-dependence.pdf
The conditional slot-bijection lemma fixes the basic bookkeeping. Conditional on the outside trajectory, the outside-attached switch coins are fixed and the remaining coins are independent and fair. Composing the free-free coins through an interval gives a bijection T_e from the initial to the final free-slot set, hence a permutation g_e=iota_T^{-1}T_eiota_0 in S_m where iota_0,iota_T are the increasing identifications of slot sets with [m]. The conditional law of g_e does not depend on which free labels entered the interval, and the laws on disjoint intervals compose by convolution with the later increment on the left. Uniqueness of the single-card path through one sweep is used repeatedly: initial and final positions determine every intermediate position, because just before coordinate i is updated, its earlier hits are terminal and later hits are still initial.
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=mathbb 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.
Let h=lfloor d/2rfloor, 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}.
From a good starting set, one sweep contracts fluctuations within large subcubes; the same sweep makes the expected energy of the output coarse averages small. Combining the two estimates in a second sweep contracts the whole vector.
Lemma (coarse-block estimates). For the one-sweep matrix Q and every free-slot row vector u, a good starting blocked set E satisfies
mathbb EbbE|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 mathbb P(E'bbP(E' not good)leε_n. If u has sum zero, then its coarse part on the ending free slots satisfies
mathbb EbbE|(uQ)_c|^2le(4cdot 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
A_E(x,y)=2^{-j}prod_{k=j+1}^d q_k(x)
follows from two-copy path analysis. The two copies coalesce on the first coordinate on which they agree; before that they are independent of each other. For k>j, given that they matched through stage k-1 and are now together, they stay together with probability 1 when the neighbor slot is blocked and with probability 1/2 otherwise, and the probability the neighbor is blocked, given this history and their common prefix, is p_k(x). Multiplying these stay-together probabilities gives the identity, including the case j=0.
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 mathbb 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 ./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 4cdot 2^{-h} against the unconditional numerator bound. On bad output the norm is bounded by |u| by contraction. The bound combines the two cases.
Proposition (uniform half-deck preparation). For all sufficiently large d, every ordered list of kle n/2 distinct labels, from every deterministic starting layout, has endpoint law within n^{-3} in total variation of uniform ordered distinct positions after 400 sweeps.
Proof. Fix at most m blocked cards and track one specified free card over sweeps, starting deterministically. Let u_s be its law conditional on the blocked paths through sweep s, minus uniform on the then-free slots. Given those paths, the next blocked paths are fresh from the then layout; on revealing them, u_{s+1}=u_s Q for their conditional matrix. Future blocked paths reveal nothing about the unused free coins of the past, and uniform vectors are carried to uniform vectors. In particular there is a pathwise norm contraction. Write a_s=mathbb EbbE|u_s|^2, with a_0le 1.
For sge 1 the mean squared coarse part of u_s is bounded by (4cdot 2^{-h}+ε_n)a_{s-1} given the paths through the previous sweep. The contribution of the bad event after sweep s is at most ε_n a_{s-1} by pathwise contraction and the bad-set probability. Applying the good-start estimate for the next sweep and contraction otherwise,
a_{s+1}le q^{d-h}a_s+(4cdot 2^{-h}+2ε_n)a_{s-1}le n^{-1/20}a_{s-1}
for all sufficiently large d. Also a_sle a_{s-1}, log_2(8/7)/2>1/20, and ε_n decays faster than any inverse power of n. Taking the fixed length s_0=400 and iterating with the sweep index jumping by two gives a_{s_0}le n^{-10}.
For any ordered list of kle m cards from any fixed start,
d_{TV}(law of their positions after s_0 sweeps, uniform ordered distinct positions)ledelta_n:=n^{-3}
for large d. For each next card, condition first on the paths of the previous cards, taking them as the blocked set. The mean total-variation deviation from uniform on the remaining end slots is at most sqrt{n a_{s_0}}/2 by Cauchy-Schwarz. Conditioning on the previous endpoints alone cannot increase this averaged bound, by mixing with the same uniform comparison. The next-card bounds sum to the joint bound by interpolating between the actual endpoint law of an initial segment of the list and uniform sequential conditional laws on the rest; consecutive laws differ by at most the averaged next-card deviation. Since ksqrt{ncdot n^{-10}}/2ledelta_n, the claimed deviation follows. The sequential total-variation comparison also appears in Morris's exclusion-process analysis ./morris-exclusion-2006.pdf.
The shuffle alternates a 400-sweep preparation with a single active sweep, repeated J=40000 times. For each free carrier, meaning each card considered from its slot at the start of the active sweep, count the stages of that sweep at which the carrier sits on an edge with two free endpoints. Call the carrier poor if this count is less than d/4. Set L=n^{1-1/40}. Conditional on the active outside paths e', the retained subprobability tildenu_a^{e'} on S_m assigns to a free permutation g the probability that the active sweep produces g and keeps at most L poor carriers. Retention does not depend on the incoming free labeling.
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.
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.
The character estimate is the uniform Larsen-Shalev bound ./larsen-shalev-2008.pdf, in the fixed-slack formulation of Keller, Lifshitz and Sheinfeld ./keller-lifshitz-sheinfeld-2024.pdf.
Lemma (character and fixed points). Fix 0<delta<1/4. For all sufficiently large integers r, every irreducible character chi of S_r of degree D=chi(1), and every sigmain S_r with f fixed points satisfy
fle r^{1-4delta} ⇒ (|chi(sigma)|)/(D)le D^{-delta},
(|chi(sigma)|)/(D)le D^{-delta} r^{delta f}.
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
|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}.
The reciprocal-square rate of decay of irreducible degrees is the second ingredient.
Lemma (reciprocal degrees). For the irreducible degrees D_lambda of S_r,
sum_{lambda:,D_lambda>1}D_lambda^{-2}=o(1)(rto∞).
Proof. D_lambda counts standard Young tableaux of shape lambda and equals r! divided by the product of its hook lengths, with conventions as in Etingof et al ./etingof-2011-intro-representation-theory.pdf; this is a special case of the summability theorem of Liebeck and Shalev ./liebeck-shalev-2004.pdf. If the first row has length r-j with 1le jle r/4, fill its first j boxes with 1,...,j, choose j of the other r-j numbers for the boxes below the first row in one fixed standard order, and put the remaining numbers in increasing order along the first row. Every column below that row lies among its first j columns, so these fillings are standard, giving D_lambdagebinom{r-j}{j}ge3^j. There are at most 2^j such shapes, and transposition gives the same bound for a long first column. The contribution from these shapes is at most 2(2/9)^j, summable, and each fixed-j term tends to zero.
For remaining shapes, apart from the single row and single column, the maximum Λ of a row or column length is less than 3r/4. If Λge r/10, transpose if needed and retain the first row of length Λ along with t=lfloorΛ/3rfloor boxes below it, deleting corners of the tail. There are at least t tail boxes because Λ<3r/4, and the same filling construction gives at least binom{Λ}{t} standard tableaux of this subdiagram, each extending to the full shape by adding corners. If Λ<r/10, every hook length is at most 2Λ<r/5, so D_lambdage r!/(r/5)^r. Either way D_lambda grows exponentially in r, and the number of partitions of r is exp(O(sqrt rlog r)).
Pass to Fourier analysis on S_m. For an irreducible unitary representation rho of S_m of dimension D and unnormalized character chi, write F_a=sum_gtildenu_a^{e'}(g)rho(g) for the transform of tildenu_a^{e'}, and let |B|_{HS}^2=tr(B^*B). Put
A(z)=mathbb E_bbE_{e'}[F_a^* F_amidactive start with free set z], b_rho=mathbb E_bbE_{z uniform}(tr A(z))/(D).
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)=mathbb E[bbE[chi(g_X^{-1} g_Y),mathbf 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,
mathbb P(fbbP(fge 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}.
Apply the character and fixed-point lemma with r=m and delta=beta/8=1/800. For large n, n^{1-beta}le m^{1-4delta}, so pairs with fle n^{1-beta} contribute at most D^{-delta} to the normalized trace. For larger integer f, the endpoint agreement bound and the second character display give a total contribution of at most
D^{-delta}sum_{f>n^{1-beta}}n^{-f/32}m^{delta f}le D^{-delta}sum_{f>n^{1-beta}}n^{-(1/32-delta)f}=o(1)D^{-delta}.
The estimate is uniform over the outside paths, so
0le b_rhole 2D^{-1/800}
for all sufficiently large n. Together with the reciprocal degree sum
sum_{rho:,D>1}D^{-20}=o(1),
and the fact that the minimum nontrivial degree grows without bound, absorbing the factor 2 into D for large D gives
b_rhole D^{-1/1600}
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)
mathbb E_e[bbE_e[mathbf 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
mathbb E[(F_aF_b)^*(F_aF_b)]=bbE[(F_aF_b)^*(F_aF_b)]=mathbb E_e[F_b^*bbE_e[F_b^* A(z(e))F_b]preceqmathbb E_ebbE_esum_gtildenu_b^e(g)rho(g)^* 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.
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
mathbb 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
mathbb E[1-M]bbE[1-M]le J(2delta_n+n^{-1/40}).
Finite-group Plancherel and Cauchy-Schwarz now give, with U_m uniform on S_m,
tfrac12mathbb EbbE|tildenu-MU_m|_1letfrac12Big(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
mathbb EbbE d_{TV}(nu,U_m)=o(1)
uniformly in the outside starting layout.
Couple a chain from any fixed deck with a chain started from uniform. After s_0 sweeps the ordered positions of the m designated outside labels can be coupled to agree with probability at least 1-delta_n by the preparation proposition and maximal coupling; complete the two endpoint decks by their respective conditional laws. On agreement, sample common outside paths for the next J chunks from their path law. Conditional on these paths, the final free orders in each deck have distributions obtained using nu on their possibly different incoming free orders, and each is within d_{TV}(nu,U_m) of uniform on the same set of end free orders. Maximally coupling them, the expected failure probability on this continuation is at most 2mathbb EbbE,d_{TV}(nu,U_m)=o(1) on agreement layouts. The total failure probability is at most delta_n+o(1)<1/4 for sufficiently large d, giving a bound on the worst-case total variation.
Including the initial preparation gives 400+40000(400+1)=16040400 sweeps, each costing d physical shuffles. The conditional expectation is over the ordinary law of the outside paths; no assertion is made for a single fixed environment. This completes the proof of the theorem.
The reset construction gives a full-deck bound of 171798691968d physical shuffles via a mechanism independent of preparation domination: an exact uniform component is extracted from a long reset block, then a return probability for a central relative-permutation increment between two coupled copies is computed.
Fix 0<rhole1, take rho=2^{-20}, and set N=n=2^d throughout. Distinguish k=lceilrho Nrceil nonhole labels and h=N-k hole labels.
For an observed hole path, the conditional position of a single hole is determined by the mass evolution rule: at a two-hole pair the two outgoing masses are both the average of the incoming ones, and at a mixed pair the hole mass is transported to the outgoing hole. Total mass is preserved and uniform mass 1/h per hole follows the same rule. A signed difference from uniform (supported on the holes, total mass zero) has squared Euclidean norm non-increasing at every update. The forward mass calculation through a layer uses only the observed paths up to that time, since unobserved switch coins remain independent fair even after conditioning on the future part.
Lemma (two-sweep mass contraction). Fix 0<rhole1. For all sufficiently large d depending only on rho, any deterministic placement of hgerho N holes and any signed mass vector supported on the holes with sum zero has expected squared norm after two sweeps at most N^{-rho/16}L, where L is the initial squared norm. The estimate also holds conditionally on the past when the two sweeps begin.
Proof. Consider a single sweep, split into its first r=lfloor d/2rfloor layers and its last d-r layers. Conditional on the switch coins of the first r layers, the evolutions inside different level-r blocks (fixed by bits above r) proceed independently during layers above r, because a switch above coordinate r never enters a lower block. Within each level-r block B, the number H_B' of holes at the end of the sweep is a sum of independent Bernoulli variables with mean h_B'=h/2^{d-r}, and Chernoff gives
mathbb PbbPbig(|H_B'-h_B'|ge(rho)/(4)2^rbig)le 2e^{-rho^2 2^r/64}.
On the complementary event D of the intersection over the 2^{d-r} level-r blocks, holes remain roughly proportional across blocks in the second sweep, and the layer updates act by pair averaging.
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.
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},
mathbb 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
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.
Proof. The mass contraction lemma iterated over s pairs of sweeps gives an expected squared-norm bound of N^{-srho/16}L=N^{-20}L, since srho/16ge20. For an ordered tuple with labels 1,...,b, condition label i on the paths of labels 1,...,i-1, leaving at least rho N holes. The initial signed mass is the point mass at i's slot minus uniform mass on the holes, with squared norm at most one. The final signed mass is the endpoint probability difference from uniform on positions not occupied by the earlier labels. Cauchy-Schwarz bounds its expected L^1 norm by √(N)N^{-10}/2. Conditioning on the earlier labels' endpoints rather than on paths cannot increase the averaged bound. Summing over i and telescoping between the actual conditional kernels of an initial segment and the uniform sequential kernels bounds the total-variation distance by ε_N. The proof only used the order of the coordinates as an indexing, so it applies to reversed order as well.
Corollary (forward reset minorization). Let K be the kernel of the 2s forward sweeps in the partial mixing proposition, on the ordered injection space Ω of b labels. Then K^2(x,y)ge p_0/|Ω| for p_0=1-2ε_N.
Proof. The kernel K is doubly stochastic. Its transpose is the kernel of the inverse permutation law, sweeping in reversed order, so the partial mixing proposition applies row-wise to both K and K^*. Put w=1/|Ω| and truncate each factor above by w: write K(x,z)=w-a_z and K^*(y,z)=w-b_z with a_z,b_zge0, and note that sum_za_zleε_N, sum_zb_zleε_N. In the inner product K^2(x,y)=sum_zK(x,z)K^*(y,z), the product of truncated factors is w^2-w(a_z+b_z)+a_zb_zge w^2-w(a_z+b_z). Summing gives K^2(x,y)ge w-w(ε_N+ε_N)=p_0/|Ω|.
To lift the marginal bound into a conditional statement, fix k=rho N nonhole labels and let H denote the set of h=N-k hole labels. The role of the labels is used only for the comparison below. Run l=128 blocks, each consisting of a reset of 4s sweeps followed by a single mixing sweep, all sweeps being actual random shuffles. Write X for the process taking labels to positions. Reveal an environment mathcal EcalE recording all reset coins and, during the mixing sweep of each block, the switches touched by nonhole trajectories together with their values. The environment determines all nonhole paths; conditionally on it, the unrevealed two-hole switches in the mixing sweeps are independent and fair.
Given mathcal E,calE, generate Y independently of X with the same conditional law by sharing the reset and touched switch values and redrawing the two-hole switches. The two copies have the same nonholes in the same positions, and can be constructed jointly in chronological order using fresh coins for X and independent coins for the redraws. Write p_{mathcal E}calE for the conditional final law of the hole assignment, and u_{mathcal E}calE for uniform measure on the h! assignments.
Proposition (uniformity conditional on the reset environment). With rho=2^{-20}, s=lceil320/rhorceil and l=128 blocks,
mathbb E_bbE_{mathcal E}calE|p_{mathcal E}calE-u_{mathcal E}calE|_{TV}→ 0 (dto∞),
uniformly over deterministic starting decks.
Proof. The relative permutation X^{-1}Y acts on the hole set H, starts at the identity, and is unchanged during a reset. In a layer of a mixing sweep it is multiplied on the left by a product of relative transpositions: transpose the two incident X-labels at each two-hole switch where the Y-switch value differs from the X-switch value. If T_X,T_Y act on positions and X,Y are pre-layer values, the new relative permutation is (X^{-1}T_X^{-1}T_YX),X^{-1}Y. Given the X switches and paths, the relative toggles are independently fair. Write Q for the multiplier over one mixing sweep; it depends only on the X hole injection at the sweep start and on the switches (including redraws) within that sweep, and not on the prior relative permutation.
Mark two events for X only; the marks do not alter its run. At each reset mark an acceptance whose conditional probability is p_0/(|Ω|K^2(x,y)), where K is the reset kernel, x is the start, and y is the sampled endpoint of the h ordered hole labels. The reset minorization gives K^2(x,y)ge p_0/|Ω|, so the acceptance probability is at most one. Conditional on the past, the injection of the h ordered hole labels just after the accepted reset, jointly with acceptance, has probability p_0/|Ω| for each injection. This is the splitting mechanism of Nummelin. The statement holds also when the past includes the other copy in the chronological construction, since the relative permutation is unchanged during the reset.
For the second mark, take a mixing sweep with X's hole injection uniform at its start, as upon acceptance. Form the graph on all positions in which two positions are joined when their X-paths share a switch. The graph is simple and d-regular: after two paths meet they differ in that updated bit, which does not change again during the sweep, so they cannot meet at any later coordinate. The graph depends only on the fresh X coins and is independent of the hole injection; given the graph, the nonhole labels occupy a uniform k-subset of vertices. The probability that some vertex has at least lceil d/2rceil nonhole neighbors is at most N2^drho^{d/2}=N^{-8} by a union bound and sampling without replacement. Mark the mixing sweep good on the complementary event; every hole label then has at least d/2 two-hole switches along its path. Write nu on the symmetric group of H for the subprobability law of Q under goodness when the X hole injection is uniform at the sweep start. Its mass is qge1-N^{-8}. The increment and goodness depend on no nonhole identities, so nu is central. After an accepted reset the law of (Q,good) conditional on the past is exactly p_0nu: writing mathcal FcalF for the past before the reset,
Pr(accept,good,Q=gmidmathcal F)=p_0calF)=p_0nu(g).
Let G_X denote the event that all accepts and all good marks occur for X, and S the final relative permutation. Then
Pr(G_X)=(p_0q)^l, Pr(S=id,G_X)=p_0^l,nu^{*l}(id).
Indeed, the placement of X's holes after an accepted reset is uniform and independent of the past, regardless of the current relative permutation, and the relative coin differences in the next sweep come from the independent redraws and give the multiplier law just described, allowing iteration with convolution.
Two facts on nu control its convolution powers. In a good mixing sweep, the sign character of nu is fair, since the sweep contains a two-hole switch and the relative toggles are independently fair. And for any A⊆ H,
nu{Q:Q fixes A pointwise}le 2^{-d|A|/4}le h^{-|A|/4}.
For this estimate, imagine using the switches for Y but starting the mixing sweep at the very same deck as X. The final relative permutation is Q. Within one sweep a path with given start and end is unique, so fixation of a label requires its two paths to agree at every switch on its X-path. In a good sweep at least d|A|/4 distinct two-hole switch coins are involved on those paths, counting any switch at most twice as path incidence, and their agreement probability gives the bound.
Lemma (return estimate). For the central sublaw nu on S_H and l=128,
h!,nu^{*l}(id)le q^l+o(1).
Proof. Apply the character and fixed-point lemma with r=h and delta=1/32, and the reciprocal-degree lemma with r=h. For sigmain S_H let F(sigma) be the number of fixed points and write theta_lambda=sum_sigmanu(sigma)chi_lambda(sigma)/d_lambda with d_lambda the irreducible degree. For Fle h^{7/8}, the character lemma with delta=1/32 gives |chi_lambda(sigma)|/d_lambdale d_lambda^{-1/32} for large h. For f>h^{7/8}, the pointwise fixation bound gives nu(F=f)lebinom{h}{f}h^{-f/4}le h^{-f/10}, using binom{h}{f}le(eh/f)^f. At a fully fixed sigma the all-fixed-points bound of the character lemma gives |chi_lambda(sigma)|/d_lambdale d_lambda^{-1/32}h^{f/32}. The tail sum_{f>h^{7/8}}h^{-f(1/10-1/32)}le1 for large h, and the conditional mathbb E_bbE_nu over character values therefore satisfies |theta_lambda|le2d_lambda^{-1/32}.
By centrality each averaged representation matrix is scalar by Schur's lemma, with scalar theta_lambda. The regular representation trace for the convolution gives
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_{mathcal E}calE^G for the subprobability of p_{mathcal E}calE 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
mathbb E_bbE_{mathcal E}calE|p_{mathcal E}calE-u_{mathcal E}calE|_{TV}letfrac12Pr(G_X^c)+tfrac12√(h!,Pr(S=id,G_X,G_Y)-2Pr(G_X)+1).
Indeed, p_{mathcal E}calE-p_{mathcal E}calE^G is nonnegative with expected mass Pr(G_X^c), and the expression inside the square root equals mathbb E_bbE_{mathcal E}calE[h!sum_g(p_{mathcal E}calE^G(g)-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
128(4s+1)d=128(4cdot320cdot2^{20}+1)d=171798691968d
complete shuffles. The support lower bound t_{mix}ge d for all sufficiently large d applies here as well.
Trajectory overlays give full-deck mixing in 33030144d physical shuffles. The base shuffle runs unchanged, and on top of it independent fair switches are added along selected trajectories. Their placement is predictable from the base coins, so the actual law of switch arrays is unchanged; the extra switches then mix chosen groups of indices, on average over the base, without disturbing the physical shuffle law.
Use V=mathbb F_2^dbbF_2^d with later permutations acting on the left. Fix K=8 and let q=n/K=n/8.
Lemma (preparing a group of base indices). After 20d layers, the ordered positions of any q specified cards in the base shuffle have total-variation distance o(1) from uniform ordered distinct positions. The estimate is uniform in their starting positions and in the starting cyclic phase.
Proof. Introduce a randomized linear change of frame, used only for proving this estimate. Restart notation at layer 1 of the interval, with cyclically ordered directions i_1,i_2,..., and represent the layer permutation as L_twidetilde T_t, where widetilde T_t is an independent ordinary fair layer along e_{i_t} and
L_tx=x+ell_t(x)e_{i_t}
for independent random linear forms ell_t with ell_t(e_{i_t})=0, uniform under that constraint and independent of the widetilde T_t. Each L_t consists of switches on the same matching, so this factorization has the required shuffle law. Set A_t=L_t... L_1 and A_0=I, and map each location through A_t^{-1}. In the changed frame, the layer dynamics conditional on the L_s are independent arrays of fair switches in directions
v_t=A_{t-1}^{-1}e_{i_t},
by conjugating widetilde T_t; their conditional laws depend only on those directions.
For t>d, conditional on prior directions, v_t is uniform outside the hyperplane spanned by v_{t-d+1},...,v_{t-1}. Indeed, the columns of the inverse transform evolve by A_s^{-1}e_j=A_{s-1}^{-1}e_j+ell_s(e_j)v_s, using L_s^{-1}=L_s, and
v_t=v_{t-d}+sum_{s=t-d+1}^{t-1}ell_s(e_{i_t})v_s.
The coefficients ell_s(e_{i_t}) for sin[t-d+1,t-1] are independent fair bits, independent of all v_p with p<t: in that range they update only the column i_t, which is not used as a direction again until time t. All coordinates of each ell_t except its constrained one are independent on the coordinate basis. The first d directions are independent in the linear-algebra sense by triangularity, and inductively every window of d directions is linearly independent by the last display.
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.
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_{mathcal B}calB be the law of the resulting multiplier on mathfrak S(A)frakS(A) conditional on the full base shuffle mathcal B.calB. Then
sup_{pre-call base histories}mathbb EbbEbig[|kappa_{mathcal B}calB-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.
Given the base trajectories, the left multiplier is a product of independent random permutations on A, with laws determined phase by phase by the segments of ordered base trajectories of A in the active layers, including their ordered positions just before those layers. These laws describe the multipliers irrespective of the incoming overlay. For the expected conditional distance the segments can thus be replaced by an ideal experiment: independent such segments, each started from uniform ordered distinct locations of the indices in A and run with ordinary base layers. Indeed the joint law of the actual segments, even given data before the call, is within o(1) in total variation of the ideal segment law for constant k, by the group-preparation lemma applied in each 20d-layer interval and the same ordered-location transition dynamics on the active layers; coupling each new segment start to a fresh uniform one with failure probability bounded by the sum of partial-mixing errors gives the comparison. Since the conditional distance is a bounded function of the segments, it suffices to bound its expectation in the ideal experiment.
Let E denote an ideal segment environment: the ordered placement and d-layer base trajectories of A in the experiment above. Conditional on E, let mu_E be the law of the overlay multiplier on A generated by the internal extra switches, visualized with labels starting at the corresponding A-indices (identity overlay) and following the actual switched paths. An internal encounter of such a label is a stage at which it is on a location pair containing two A-indices; the set of locations occupied by A-labels is exactly the base location set of A throughout.
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.
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)^fcdot 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 ./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
b_lambda=(1)/(D_lambda)mathbb E_ETrbbE_ETrbig(mu'_Ehat(lambda)^*,mu'_Ehat(lambda)big)=mathbb EbbEbig[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
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 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 ./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∞.
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.
Write p_M for the analogous law on M items for K groups of equal size m=M/K. Its probability is zero off nonnegative integer tables with all row and column sums m, and on such tables is
p_M(x)=frac{(m!)^{2K}}{M!prod_{i,j}x_{ij}!}.
This follows by partitioning each input group into its outputs' groups and then ordering the inputs assigned to each output group. In the ideal shuffle, each C_ell at the middle stage contains n/K^2 labels from each initial R_i and n/K^2 slots belonging to each final R_j, so within C_ell the labels are uniformly permuted subject to those slot counts. Conditionally on the first shuffles the resulting tables T^{(ell)} within the C_ell are independent with law p_{n/K}, independent in law of that conditioning; each T^{(ell)} has row and column sums a_0=n/K^2 and X_{ij}=sum_{ell=1}^KT^{(ell)}_{ij}. The last R-shuffles do not change total counts.
The comparison of sum_ell T^{(ell)} with p_n uses the free coordinates of the upper-left (K-1)times(K-1) subtable, a vector of size b=(K-1)^2. For M divisible by K^2 and Xsim p_M, center the vector at its coordinate mean M/K^2 and scale by sqrt M to obtain Z_M. Let J be the linear map completing a free-coordinate vector to a full matrix with zero row and column sums. Uniformly for |z| bounded on the centered scaled lattice,
Pr(Z_M=z)=M^{-b/2}(G(z)+o(1)), G(z)=c_Kexp(-K^2|Jz|^2/2),
with c_K>0 depending only on K. Substitute x_{ij}=a+sqrt M(Jz)_{ij} with a=M/K^2 in p_M(x) (nonnegativity holds for bounded z and large M). Stirling's formula and the expansion of xlog x-x about a have canceling linear terms in the sum; the constant terms cancel with the numerator and M!; the quadratic terms give K^2|Jz|^2/2 with remainders o(1) for bounded z; and the square-root factors produce M^{K-1/2-K^2/2}=M^{-b/2} times (2pi)^{-b/2}K^{K^2-K}(1+o(1)).
Adding independent uniform noise W/sqrt M with W uniform on [0,1)^b, the smoothed variable Z_M+W/sqrt M has density converging in L^1 to G. On compacts this follows from the pointwise estimate and continuity, and tail probabilities are uniformly small because each count coordinate is hypergeometric with variance at most M; the limit density is integrable since J is injective. This proves the L^1 convergence and in particular normalization, so G is a centered nondegenerate Gaussian density.
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.
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).
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,
3Kcdot kcdot 21d=3cdot8cdot65536cdot21,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.
Two companion results are used.
pdf/conditional-information-under-deterministic-coordinate-sweeps.pdf
The conditional path theorem takes the following form: for fixed 0<p<1, every deterministic starting deck, every specified base set of r_0 labels, and every ordered list of k additional labels satisfying r_0+k-1le pn, after 2b sweeps
mathbb E_bbE_{mathcal H}calH|mathcal L(listcalL(list endpointsmidmathcal H)-UnifcalH)-Unif,inj([k],V∖ E_{mathcal H}calH)|_{TV}le kn^{-4},
where mathcal HcalH is the full labelled base-path history and E_{mathcal H}calH its endpoint set. The estimate holds for every cyclic coordinate order, including the reverse order, and also after coarsening mathcal HcalH 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=mathbb E_Z[bbE_Z[delta_{t_Z}*(nu_A^Z ⊗ nu_C^Z)],qquadtheta=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}.
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}),
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.
These choices divide h=n/2 for all sufficiently large d. Fix two halves A,C of V and partition each into L buffers of size h/L. Let X,W be independent permutations each generated by 2b forward sweeps, and let mu be the law of WX.
The inverse of X is generated by the independent involutive layers in reverse order. Apply the conditional path theorem with empty base and a list consisting of A, and then a list consisting of C. Since h-1le pn, each ordered inverse-image half-tuple has distance at most hn^{-4} from uniform.
For probability laws P,Q on a common finite set, the elementary truncation rule is P{v:P(v)>2Q(v)}le 2|P-Q|_{TV}, since P(v)le2(P(v)-Q(v)) on those atoms and the total positive excess equals the variation distance. Delete from the law of X every permutation whose inverse-image tuple on either half is an atom of more than twice its uniform probability. Call the resulting subprobability xi. It obeys both required pointwise caps, and
1-xi(S_n)le4hn^{-4}=2n^{-3}.
The deletion for one half cannot increase the marginal for the other, so a single xi satisfies both caps at once.
Now color the positions at the start of W by membership in A or C, treating those starting positions as distinct labels for this block. Let Z record the set of positions occupied by each color after every layer, including the initial and final boundary. It records no labels within a color.
Lemma (independent internal permutations). For every feasible occupancy history Z=z, all mixed-color switch values are fixed and all same-color switch values are independent fair bits. Choose t_z to send the increasing list of A to the increasing list of its endpoint color set, and likewise for C. Then
W=t_z(Y_Atimes Y_C),
where, conditionally on Z=z, Y_Ain S_A and Y_Cin S_C are independent. Their conditional laws depend only on z.
Proof. At a mixed-color edge, the next pair of colors determines whether its coin is zero or one. At a same-color edge, either coin gives the same outgoing colors. Conversely, once the coins specified at the mixed edges of z are fixed, induction on layers forces precisely the occupancy history z, independently of all same-color coins. Thus Z=z is a cylinder in the time-edge array, and the unprescribed bits remain mutually independent.
A label of color A uses fixed transports at mixed edges and only the independent bits on A--A edges otherwise. The analogous assertion for color C uses the disjoint array on C--C edges. For fixed z those two sets of time-edge coordinates are deterministic. Applying the slot-bijection construction separately to the two colors gives bijections onto their endpoint sets, and the displayed t_z identifies those sets with the deck's halves.
Write mu_A^z,mu_C^z for the resulting two conditional probabilities. Fix a buffer B⊆ A. Apply the conditional path theorem to W with all C labels as base and the list A∖ B as the additional labels. Then
r_0+k-1=h+(h-h/L)-1=n-frac n{2L}-1le pn.
The error is at most (h-h/L)n^{-4}. The full labelled C paths determine the color occupancy history Z, and Z still determines their endpoint set, so the allowed coarsening gives the same expected error conditional on Z. Applying the deterministic bijection t_Z^{-1} sends the comparison law to uniform ordered distinct images in A, giving
mathbb E_ZbbE_Z|(mu_A^Z)_{A∖ B}-(U_A)_{A∖ B}|_{TV}le(h-h/L)n^{-4}.
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
mathbb 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}.
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=mathbb 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 mathbb E[1-a_Aa_C]bbE[1-a_Aa_C]lemathbb E[(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).
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}.
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}cdot|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.
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.
Four independent mechanisms give upper bounds of the form Cd for a fixed absolute constant C: 16040400d from preparation and active intervals, 171798691968d from reset minorization, 33030144d from trajectory overlays, and 400bd from two independent half-permutations. With the support lower bound t_{mix}ge d, the mixing time of the Thorp shuffle is of order exactly d.