Documentation

CslibFrontier.Probability.PairwiseIndependentHash.ValidatedWords

Validated words of the lazy conditional walk #

The conditional walk on a retention slice moves channels by affine moves that refer to the identifier y. It is implemented by validated variants (variantMove), permutations of all channels that do not refer to y, filtered by a wrap test on the value A.eval y (IsValidWrap); for one step, the sum of the variants passing the test is the conditional move (walk_sliceGraph_ofPerms_eq). This module extends this to words of every length, for the lazy walk that the spectral-gap results use.

The validated step (validatedStep) maps a function g of the channel to A ↦ (g A + 𝔼 over generators and directions of ∑ over candidate wraps z of [the wrap z passes at A] g (variant_z A)) / 2. By induction on t, t steps of the lazy walk on the slice, applied to a function of the channel, are the t-th iterate of the validated step, evaluated at the channel (walk_pow_sliceGraph_lazy_ofPerms_eq). Unfolding the iterate, this is the average over words of t moves (generators with directions, or stays) of the sum over words of t wraps of f at the end of the variant path, counted only when every wrap passes its test: exactly one word of wraps survives, and nothing is divided by the number of candidate wraps. For the affine generators (affineGenerator), every valid wrap lies in the fixed box {-3, …, 3} ^ H, independently of P, L, y and t (walk_pow_sliceGraph_lazy_affineMove_eq).

This is Lemma 6.3 of the OpenAI preprint on derandomizing logarithmic space [OAI26e], items 1–4, for length-t words of the lazy walk on one channel: the variants form a bounded-alphabet family described by O(t) symbols, independent of the identifiers, and the sum of the valid variants is the conditional walk.

Main definitions #

Main results #

References #

noncomputable def Cslib.Probability.validatedStep {P H r : ℕ} (L : ℕ) {K : Type u_1} [Fintype K] (σ : K → Matrix.SpecialLinearGroup (Fin H) ℤ × (Fin H → ℤ)) (Z : Finset (Fin H → ℤ)) (y : ZMod P) (g : FrameChannel P H r → ℝ) (A : FrameChannel P H r) :

One step of the validated lazy walk on all channels: with probability 1 / 2 stay, and otherwise pick a generator σ k and a direction, and sum the values at the variants whose wrap passes the test at the identifier y, over the candidate wraps Z. It refers to y only through the wrap test on the value A.eval y.

theorem Cslib.Probability.walk_pow_sliceGraph_lazy_ofPerms_eq {P H r L : ℕ} [NeZero P] {K : Type u_1} [Fintype K] [Nonempty K] [NeZero L] (hL : L ≤ P) {y : ZMod P} (σ : K → Matrix.SpecialLinearGroup (Fin H) ℤ × (Fin H → ℤ)) {Z : Finset (Fin H → ℤ)} (hZ : ∀ (k : K) (b : Bool), ∀ w ∈ retentionBox P H L, wrap L (signedMove (σ k) b).1 (signedMove (σ k) b).2 w ∈ Z) (f : FrameChannel P H r → ℝ) (t : ℕ) (A : RetentionSlice P H r L y) :
((sliceGraph L hL y (RotationMap.ofPerms fun (k : K) => coordMove (σ k).1 (σ k).2).lazy).walk ^ t) (fun (B : RetentionSlice P H r L y) => f ↑B) A = (validatedStep L σ Z y)^[t] f ↑A

Validated words compute the conditional walk (Lemma 6.3 for words of every length). For a family σ of affine generators and a candidate set Z containing every valid wrap, t steps of the lazy walk of their moves on the retention slice of y, applied to a function f of the channel, equal t iterations of the validated step, evaluated at the channel. Unfolding the iterations, this is the average over words of t generators and directions (or stays) of the sum, over words of wraps, of f at the end of the variant path, counted only when every wrap passes its test.

theorem Cslib.Probability.wrap_affineGenerator_mem {P H L : ℕ} [NeZero P] (k : { p : Fin H × Fin H // p.1 ≠ p.2 } ⊕ Fin H) (b : Bool) {w : Fin H → ZMod P} (hw : w ∈ retentionBox P H L) [NeZero L] :
wrap L (signedMove (affineGenerator H k) b).1 (signedMove (affineGenerator H k) b).2 w ∈ Fintype.piFinset fun (x : Fin H) => Finset.Icc (-3) 3

Every valid wrap of the affine generators and their inverses lies in {-3, …, 3} ^ H.

theorem Cslib.Probability.walk_pow_sliceGraph_lazy_affineMove_eq {P H r L : ℕ} [NeZero P] [NeZero H] [NeZero L] (hL : L ≤ P) {y : ZMod P} (f : FrameChannel P H r → ℝ) (t : ℕ) (A : RetentionSlice P H r L y) :
((sliceGraph L hL y (RotationMap.ofPerms (affineMove P H L r)).lazy).walk ^ t) (fun (B : RetentionSlice P H r L y) => f ↑B) A = (validatedStep L (affineGenerator H) (Fintype.piFinset fun (x : Fin H) => Finset.Icc (-3) 3) y)^[t] f ↑A

Validated words of the affine walk: t steps of the lazy affine walk on the retention slice of y equal t iterations of the validated step of the affine generators, with the candidate wraps {-3, …, 3} ^ H, a box independent of P, L, y and t.