Multi-pass sweeps and slice-restriction bounds #
This module extends the dynamic charging lemma Cslib.Circuits.Frontier.Sweep.ncard_le from
read-once branching programs (Cslib.Circuits.Frontier.ReadOnceNBP) to oblivious multi-pass
branching programs and partial-overlap coordinate restrictions:
- Exact slice invariance (
RectangleFree.restrictSlice,RectangleBias.restrictSlice): fixing any subset of coordinatesO ⊆ ιto any assignmenta : O → Upreserves bothRectangleFree · KandRectangleBias · K bonrestrictSlice S O awith the exact same thresholdK(and biasb). By pigeonhole (exists_le_mul_ncard_restrictSlice), some slice satisfies|S| ≤ |U| ^ |O| · |restrictSlice S O a|. - Alternating (
boustrophedon)k-pass branching programs (AlternatingPassNBP): even passes scan0, ..., T - 1forward while odd passes scanT - 1, ..., 0backward. At every cut0 < τ < T, allk - 1pass-turnaround states lie strictly on one side ofrevealed τ | (revealed τ)ᶜ, so the dynamic sweep messageAlternatingPassNBP.sweepholds only thekactive pass states (M ^ k). Consequently, ak-pass program with per-label fiber capacityC(C = |M|when deterministic) satisfies|accepted| ≤ (K - 1) ^ 2 · (∑_{t < T} |U| ^ |newly t|) · C ^ k, yielding state-width lower boundk · log_q |M| ≥ log_q |S| - 2 log_q K - log_q T - 1(w ≥ n / k - o(n)), avoiding the factor-of-two loss of static single-cut reductions [Juk12]. - Same-order
k-pass branching programs (SameOrderPassNBP): when allkpasses scan0, ..., T - 1in the same order,k - 1inter-pass turnaround states also cross every interior cut0 < τ < Twithout changing between consecutive sweep steps, giving|accepted| ≤ (K - 1) ^ 2 · (∑_{t < T} |U| ^ |newly t|) · |M| ^ (k - 1) · C ^ k((2 k - 1) · log_q |M| ≥ log_q |S| - 2 log_q K - log_q T - 1, i.e.w ≥ n / (2 k - 1) - o(n)when deterministic).
Main definitions #
Cslib.Circuits.Frontier.extendAssign,Cslib.Circuits.Frontier.restrictSlice: coordinate-slice extension and restriction.Cslib.Circuits.Frontier.AlternatingPassNBP: layered alternating (boustrophedon)k-pass nondeterministic branching program and itssweep.Cslib.Circuits.Frontier.SameOrderPassNBP: layered same-orderk-pass nondeterministic branching program and itssweep.Cslib.Circuits.Frontier.ReadOnceNBP.Deterministic,Cslib.Circuits.Frontier.ReadOnceNBP.toAlternatingPassNBP: determinism predicate and embedding of aReadOnceNBPas a1-passAlternatingPassNBP.
Main results #
Cslib.Circuits.Frontier.RectangleFree.restrictSlice,Cslib.Circuits.Frontier.RectangleBias.restrictSlice,Cslib.Circuits.Frontier.exists_le_mul_ncard_restrictSlice: restriction invariance and dense slice existence.Cslib.Circuits.Frontier.Sweep.ncard_le_of_ncard_transition_le: shared sweep cardinality bound from a per-step state-fiber factor.Cslib.Circuits.Frontier.AlternatingPassNBP.ncard_accepted_le_of_hasFiberBound,Cslib.Circuits.Frontier.AlternatingPassNBP.ncard_accepted_le_deterministic,Cslib.Circuits.Frontier.AlternatingPassNBP.le_passes_mul_logb_card: alternatingk-pass counting andw ≥ n / k - o(n)width lower bounds.Cslib.Circuits.Frontier.SameOrderPassNBP.ncard_accepted_le_of_hasFiberBound,Cslib.Circuits.Frontier.SameOrderPassNBP.ncard_accepted_le_deterministic,Cslib.Circuits.Frontier.SameOrderPassNBP.le_two_mul_passes_sub_one_mul_logb_card: same-orderk-pass counting andw ≥ n / (2 k - 1) - o(n)width lower bounds.Cslib.Circuits.Frontier.le_passes_mul_logb_card_of_slice,Cslib.Circuits.Frontier.le_logb_card_of_slice_readOnce: partial-overlap slice bounds fork-pass (AlternatingPassNBP) and read-once (ReadOnceNBP) programs (w ≥ (1 - α) n - o(n)).
References #
Coordinate slices and exact restriction invariance #
The slice {y : ↥Oᶜ → U | extendAssign O a y ∈ S} of S fixing O to a.
Extending with a fixed a : O → U is injective on ↥Oᶜ → U.
Exact restriction invariance of RectangleFree. Fixing any coordinate subset O to any
assignment a : O → U preserves K-rectangle-freeness with the exact same threshold K.
Exact restriction invariance of RectangleBias. Fixing any coordinate subset O to any
assignment a : O → U preserves (K, b)-rectangle-bias on restrictSlice S O a.
Pigeonhole dense slice. Over finite coordinates and a nonempty finite alphabet, some
assignment a : O → U gives |S| ≤ |U| ^ |O| · |restrictSlice S O a|.
Shared sweep transition-capacity and logarithmic width helpers #
Sweep bound from per-step state-fiber capacity. If W : Sweep S M has 0 < W.length and
at most |U| ^ |W.newly t| · F transitions at each step t < W.length, then for any
K-rectangle-free S,
|S| ≤ (K - 1) ^ 2 · (∑_{t < W.length} |U| ^ |W.newly t|) · F.
Alternating (boustrophedon) k-pass branching programs #
Base coordinate index read at local step s of pass p in an alternating k-pass schedule of
length T: s when p is even, and T - 1 - s when p is odd.
Layer of pass p separating revealed τ from (revealed τ)ᶜ in an alternating schedule.
A layered alternating k-pass nondeterministic branching program (boustrophedon schedule)
over inputs ι → U with state space M. Even passes scan 0, ..., length - 1 forward; odd passes
scan length - 1, ..., 0 backward; consecutive passes share their turnaround state.
- passes : ℕ
Number of passes
k ≥ 1. At least one pass is performed.
- length : ℕ
Number of coordinate blocks per pass.
Nothing is revealed before block
0.Everything is revealed by block
length.Revealed coordinates grow monotonically.
- start : M
Initial state at the start of pass
0. - accept : M
Accepting state at the end of pass
passes - 1.
Coordinates read at local step s of pass p.
γ is an accepting k-pass trajectory for input x.
Pass
0starts atP.start.Consecutive passes share their turnaround state.
- edge (p : ℕ) : p < P.passes → ∀ s < P.length, P.Edge p s (γ p s) ((P.stepCoords p s).domRestrict x) (γ p (s + 1))
Every local step follows a valid labelled edge.
The inputs accepted by P.
Per-label state-transition capacity bound C at every pass and step.
P is deterministic when every (p, s, m, a) has at most one successor state m'.
A deterministic alternating k-pass program over a finite state space M has fiber bound
Nat.card M.
Boustrophedon splicing. Two accepting trajectories agreeing at the k moving boundary
states passBoundary P.length p τ (0 < τ < P.length) splice across the cut P.revealed τ with
no extra turnaround state.
Dynamic sweep of an alternating k-pass branching program. At interior times
0 < t < P.length, the message records only the k active pass boundary states; at t = 0 and
t ≥ P.length, the message is none.
At step t < P.length, the number of sweep transitions is at most
|U| ^ |newly t| · C ^ passes under P.HasFiberBound C.
Alternating k-pass rectangle bound. If P.accepted is K-rectangle-free and P has
per-label fiber bound C, then
|accepted| ≤ (K - 1) ^ 2 · (∑_{t < length} |U| ^ |newly t|) · C ^ passes.
Deterministic alternating k-pass rectangle bound (unit coordinate steps). When each block
newly t reads at most one coordinate and P is deterministic,
|accepted| ≤ (K - 1) ^ 2 · length · |U| · |M| ^ passes.
Alternating k-pass logarithmic state-width lower bound (w ≥ n / k - o(n)). Over a
finite alphabet U with q = |U| ≥ 2, a deterministic alternating k-pass program reading at
most one coordinate per step on a nonempty K-rectangle-free set satisfies
log_q |accepted| - 2 log_q K - log_q length - 1 ≤ passes · log_q |M|.
Same-order k-pass branching programs #
A layered same-order k-pass nondeterministic branching program over inputs ι → U with
state space M. Every pass 0 ≤ p < passes scans 0, ..., length - 1 in the same forward order,
with turnaround identification γ (p + 1) 0 = γ p length.
- passes : ℕ
Number of passes
k ≥ 1. At least one pass is performed.
- length : ℕ
Number of coordinate blocks per pass.
Nothing is revealed before block
0.Everything is revealed by block
length.Revealed coordinates grow monotonically.
- start : M
Initial state at the start of pass
0. - accept : M
Accepting state at the end of pass
passes - 1.
γ is an accepting same-order k-pass trajectory for input x.
The inputs accepted by P.
Per-label state-transition capacity bound C at every pass and step.
P is deterministic when every (p, s, m, a) has at most one successor state m'.
A deterministic same-order k-pass program over a finite state space M has fiber bound
Nat.card M.
Same-order k-pass splicing. Two trajectories agreeing on both the k moving layer-τ
states and the k - 1 inter-pass turnaround states splice across P.revealed τ
(0 < τ < length).
Dynamic sweep of a same-order k-pass branching program. At interior times
0 < t < P.length, the message records the k moving layer-t states together with the k - 1
turnaround states (path x p length)_{p < k - 1}.
At step t < P.length, the number of sweep transitions of a same-order k-pass program is at
most |U| ^ |newly t| · |M| ^ (passes - 1) · C ^ passes under P.HasFiberBound C: the k - 1
turnaround states stay fixed across step t, so they are counted once rather than twice.
Same-order k-pass rectangle bound. If P.accepted is K-rectangle-free and P has
per-label fiber bound C, then
|accepted| ≤ (K - 1) ^ 2 · (∑_{t < length} |U| ^ |newly t|) · |M| ^ (passes - 1) · C ^ passes.
Deterministic same-order k-pass rectangle bound (unit coordinate steps). When each block
reads at most one coordinate and P is deterministic,
|accepted| ≤ (K - 1) ^ 2 · length · |U| · |M| ^ (2 · passes - 1).
Same-order k-pass logarithmic state-width lower bound (w ≥ n / (2 k - 1) - o(n)). Over
a finite alphabet U with q = |U| ≥ 2, a deterministic same-order k-pass program reading at
most one coordinate per step on a nonempty K-rectangle-free set satisfies
log_q |accepted| - 2 log_q K - log_q length - 1 ≤ (2 · passes - 1) · log_q |M|.
Embedding ReadOnceNBP into AlternatingPassNBP and partial-overlap slice bounds #
P is deterministic when every (t, m, a) has at most one successor state m'.
Embed a ReadOnceNBP as a 1-pass AlternatingPassNBP with the same filtration and accepted
set.
P.toAlternatingPassNBP accepts the exact same inputs as P.
Determinism of P transfers to P.toAlternatingPassNBP.
Slice-induced k-pass lower bound (w ≥ ((1 - α) / k) n - o(n)). Suppose S ⊆ U^ι is
nonempty and K-rectangle-free, O ⊆ ι is the subset of multi-read coordinates, and for every
fixing a : O → U there is a deterministic k-pass alternating program on ↥Oᶜ with state space
M of length T' > 0 (at most one coordinate per step) accepting restrictSlice S O a. Then
log_q |S| - |O| - 2 log_q K - log_q T' - 1 ≤ k · log_q |M|.
Slice-induced read-once lower bound (w ≥ (1 - α) n - o(n)). Suppose S ⊆ U^ι is
nonempty and K-rectangle-free, O ⊆ ι is the subset of multi-read coordinates, and for every
fixing a : O → U there is a deterministic ReadOnceNBP on ↥Oᶜ with state space M of length
T' > 0 (at most one coordinate per step) accepting restrictSlice S O a. Then
log_q |S| - |O| - 2 log_q K - log_q T' - 1 ≤ log_q |M|.