Documentation

CslibFrontier.Computability.LogSpaceDerandomization.InitialPilotCompleted

Completed first stochastic pilot correction #

The outer walk averages the actual computed normalized child on its original full source/usage environment slice, then multiplies by the stage rate to recover matrix units. Usage equals the terminal rate in this bounded client. The allocated error is an ordinary fourth moment, obtained from centered walk noise and root-paid mean bias. No desired mean, pointwise preparation accuracy or independent reseeding is assumed. The common-rate, covering-single-bin scope does not supply later iterations, full bin assembly, recursive closure, effective parameter bounds or native space bounds.

Main definitions #

Main results #

noncomputable def Matrix.HierarchyParams.H4RankEnvironment.initialPilotCompleted {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (R : RoleProfile J) (bin ks kt kb : ℕ) (ss st : List (ZMod P)) (cutoff h : ℝ → ℝ) (C : Matrix (ZMod P) (ZMod P) ℝ) (rawSteps prepSteps detectorSteps outerSteps : ℕ) (σ : Environment P J) (x y : ZMod P) :

Complete the normalized child on the original source/usage slice, with the literal stage-rate factor converting its conditional mean to parent matrix units.

Range-based outer allocation, fixed before any lower calls. Width and source rate are explicit. This finite bound does not count environment atoms.

theorem Matrix.HierarchyParams.H4RankEnvironment.initialPilotOuter_allocated {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (R : RoleProfile J) (bin ks kt kb : ℕ) (ss st : List (ZMod P)) (cutoff h : ℝ → ℝ) (C : Matrix (ZMod P) (ZMod P) ℝ) (rawSteps prepSteps detectorSteps : ℕ) {ε : ℝ} (hε : 0 < ε) :
let X := X R.source (side P ks) (CopyPadding.identifier D ss); let Y := Y R.terminal (side P kt) (CopyPadding.identifier D st); have A := initialPilotNormalized HP D R bin ks kt kb ss st cutoff h C rawSteps prepSteps detectorSteps; have steps := initialPilotOuterSteps HP P J ks ε; 0 < steps ∧ (Cslib.rowNormPow 4 (↑P) (rate ks) X Y fun (σ : Environment P J) (x y : ZMod P) => Cslib.conditionalWalk X Y (graph R.source R.terminal ⋯ (side P ks) (side P kt) ⋯ ⋯ (CopyPadding.identifier D ss) (CopyPadding.identifier D st)) (fun (x x_1 : ZMod P) => steps) A σ x y - Cslib.rowSliceMean X Y A x y) ≤ ε ^ 4

The known normalized range pays the actual outer noise at a positive length, regardless of the completed RAW, preparation and detector lengths.

theorem Matrix.HierarchyParams.H4RankEnvironment.initialPilotCompleted_error {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (hD : D ≠ 0) (R : RoleProfile J) (H : Horizon P) (bin k kb : ℕ) (hk : k ≤ H.maxExponent) (ss st : List (ZMod P)) (cutoff h : ℝ → ℝ) (C : Matrix (ZMod P) (ZMod P) ℝ) (hC : ∀ (x y : ZMod P), 0 ≤ C x y) (hC1 : C.mulVec 1 ≤ 1) (hCf : ∀ (x y : ZMod P), C x y ≤ rate k) (rawSteps prepSteps detectorSteps outerSteps : ℕ) :
let X := X R.source (side P k) (CopyPadding.identifier D ss); let Y := Y R.terminal (side P k) (CopyPadding.identifier D st); have A := initialPilotNormalized HP D R bin k k kb ss st cutoff h C rawSteps prepSteps detectorSteps; have A' := initialTrueNormalized HP D R k k ss st C; have G := graph R.source R.terminal ⋯ (side P k) (side P k) ⋯ ⋯ (CopyPadding.identifier D ss) (CopyPadding.identifier D st); have target := pilotCorrection (HP.cutoff (rate k)) HP.γ (columnDetector (canonicalChannel id (rate k)) (canonicalChannel id (rate k)) HP.ϕ HP.ρ HP.J HP.K (rate k)) C 1; (Cslib.rowNormPow 4 (↑P) (rate k) X Y fun (σ : Environment P J) (x y : ZMod P) => initialPilotCompleted HP D R bin k k kb ss st cutoff h C rawSteps prepSteps detectorSteps outerSteps σ x y - target x y) ≤ 8 * rate k ^ 4 * ((Cslib.rowNormPow 4 (↑P) (rate k) X Y fun (σ : Environment P J) (x y : ZMod P) => Cslib.conditionalWalk X Y G (fun (x x_1 : ZMod P) => outerSteps) A σ x y - Cslib.rowSliceMean X Y A x y) + (4 * (2 * HP.Q HP.atomCap) ^ (3 / 4)) ^ 4 * Cslib.rootDistPow 4 (↑P) (rate k) X Y A A')

Centered noise and root-paid mean bias control the completed first correction. The target identification is proved from primitive pilot sampling laws on the same slice. The range, width and rates in both payments remain literal.

theorem Matrix.HierarchyParams.H4RankEnvironment.initialPilotCompleted_accuracy (HP : FourthRootHierarchyParams 16 1 16 32 8) (P J : ℕ) [Fact (Nat.Prime P)] (D : ZMod P) :
D ≠ 0 → ∀ (R : RoleProfile J) (H : Horizon P) (bin k : ℕ), k ≤ H.maxExponent → ∀ (ss st : List (ZMod P)) (cutoff h : ℝ → ℝ) (C : Matrix (ZMod P) (ZMod P) ℝ), (∀ (v : ℝ), cutoff v ≠ 0 → h v = 1) → ∀ (η : ℝ), 0 < η → (∀ v ≤ η, HP.ρ v = 1) → 2 * (1 + 32 / η) ≤ ↑HP.K → (∀ (x y : ZMod P), 0 ≤ C x y) → C.mulVec 1 ≤ 1 → (∀ (x y : ZMod P), C x y ≤ rate k) → (∀ (x y : ZMod P), rate k * cutoff (C x y / rate k) = C x y) → ∀ (π : ℝ), 0 < π → (∀ (y : ZMod P), π ≤ ↑{t : Cslib.Probability.FrameChannel P 4 1 | Cslib.Probability.frameRetains P 4 (side P k) t (CopyPadding.identifier D st y)}.dens) → ∀ (ε : ℝ), 0 < ε → have conversion := (4 * (2 * HP.Q HP.atomCap) ^ (3 / 4)) ^ 4; have payment := 8 * rate k ^ 4 * (1 + conversion); have tolerance := ε / (1 + payment); have outerSteps := initialPilotOuterSteps HP P J k tolerance; ∃ (rawSteps : ℕ) (detectorSteps : ℕ), 0 < rawSteps ∧ 0 < detectorSteps ∧ 0 < outerSteps ∧ (Cslib.rowNormPow 4 (↑P) (rate k) (X R.source (side P k) (CopyPadding.identifier D ss)) (Y R.terminal (side P k) (CopyPadding.identifier D st)) fun (σ : Environment P J) (x y : ZMod P) => initialPilotCompleted HP D R bin k k k ss st cutoff h C rawSteps 1 detectorSteps outerSteps σ x y - pilotCorrection (HP.cutoff (rate k)) HP.γ (columnDetector (canonicalChannel id (rate k)) (canonicalChannel id (rate k)) HP.ϕ HP.ρ HP.J HP.K (rate k)) C 1 x y) ≤ ε ^ 4

Positive-tolerance accuracy toward the genuine canonical FIRST pilot correction. The outer length is the explicit initialPilotOuterSteps at a tolerance depending only on ε, the rate exponent and HP. For each instance there exist positive RAW and detector lengths, with preparation parameter one, meeting the bound; they are quantified after every other argument, so they may depend on all of them. This proves an ordinary fourth-moment error in parent matrix units, for a common source/rank/usage rate and one covering dense bin. It is not recursive closure.