Documentation

CslibFrontier.Computability.LogSpaceDerandomization.NormalizedAtomRows.OutputContext

Shared finite context for reserve-output bounds #

ReserveOutputContext extends ResidualStage (from StageContext, which composes CutoffProfile and BinSchedule) with the narrower endpoint usage exponent, hierarchy preparation/gate Lipschitz constants, and finite compression prefix horizon used by both reserve-output theorems. ReserveOutputChildren (also exported from StageContext) records the raw, preparation and maximum families. Their named constructions define the same finite allocation, full-terminal raw walk, selected preparation, usage-terminal preparation walk and two-signal increment as the explicit assembly in ReserveOutput.

These objects are quantified after the output constant: the constant depends only on the fixed hierarchy, ζ, scale and positive floor, before the prime, environment width, finite horizon or child families. The allocation and walk lengths still depend on the finite instance, with no claim of recursive accuracy, copy routing, parameter/workspace bounds or RL=L. The underlying row/normalization assembly is adapted from Samuel Schlesinger.

Main definitions #

The constructions are reducible abbreviations so applications of the existing component lemmas retain the unbundled terms directly, without compatibility wrappers or extra hypotheses.

Finite stage instance and two-signal compression hypotheses shared by the two reserve-output theorems, extending ResidualStage with the narrower usage mask, hierarchy Lipschitz bounds, and compression prefix horizon. Supplied only after the uniform output coefficient has been chosen.

@[reducible, inline]

Retained narrower usage mask at side P ctx.usageExponent.

@[reducible, inline]

Full B1 width and inverse-terminal-rate amplification.

@[reducible, inline]

Uniform child tolerance, retaining the finite prefix horizon.

@[reducible, inline]

Raw walk length satisfying both the first-noise and amplified B1 requirements.

@[reducible, inline]

Preparation walk length for the sixteen-rank payment.

@[reducible, inline]
noncomputable abbrev Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.ReserveOutputContext.rawWalk {HP : FourthRootHierarchyParams 16 1 16 32 8} {P J : ℕ} [Fact (Nat.Prime P)] (ctx : ReserveOutputContext HP P J) (children : ReserveOutputChildren HP P J) (ζ ε : ℝ) (j : ℕ) (σ : Environment P J) (x y : ZMod P) :

Completed raw walk on the source and full terminal-rank masks.

@[reducible, inline]
noncomputable abbrev Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.ReserveOutputContext.preparation {HP : FourthRootHierarchyParams 16 1 16 32 8} {P J : ℕ} [Fact (Nat.Prime P)] (ctx : ReserveOutputContext HP P J) (children : ReserveOutputChildren HP P J) (ζ ε : ℝ) (j : ℕ) (σ : Environment P J) (x y : ZMod P) :

Selected preparation of the completed raw walk.

@[reducible, inline]
noncomputable abbrev Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.ReserveOutputContext.prepWalk {HP : FourthRootHierarchyParams 16 1 16 32 8} {P J : ℕ} [Fact (Nat.Prime P)] (ctx : ReserveOutputContext HP P J) (children : ReserveOutputChildren HP P J) (ζ ε : ℝ) (j : ℕ) (σ : Environment P J) (x y : ZMod P) :

Preparation walk on the source and narrower usage masks.

@[reducible, inline]
noncomputable abbrev Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.ReserveOutputContext.increment {HP : FourthRootHierarchyParams 16 1 16 32 8} {P J : ℕ} [Fact (Nat.Prime P)] (ctx : ReserveOutputContext HP P J) (children : ReserveOutputChildren HP P J) (ζ ε : ℝ) (σ : Environment P J) (x : ZMod P) (i : ℕ) (y : ZMod P) (ν : Fin 2) :

Two-signal increment passed to the actual compatible-capacity iterate.