Documentation

CslibFrontier.Computability.LogSpaceDerandomization.NormalizedAtomRows.ClippedTail

Integrated actual full-rank clipped tails #

The actual H4 environment and uncentered hierarchy decoder are preserved. This fourth-moment adaptation of §8.2, Proposition 8.5 (printed pp. 45–49), of [OAI26e], revision 7ef5c0cc, retains explicit lower-child contracts; it does not establish recursive induction or native resource bounds. Christian Reitwiessner supplied the H4 specialization; the compression and norm proof patterns are adapted from Samuel Schlesinger.

noncomputable def Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.actualClippedTail {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) (s t : Fin J) (Ls Lt : ℕ) (D : ZMod P) (sourceSuffix suffix : List (ZMod P)) (k m : ℕ) (η : ℝ) (G : Matrix (ZMod P) (ZMod P) ℝ) (ζ : ℝ) (n K : ℕ → ℕ) (Δ : Environment P J → ZMod P → ℕ → ZMod P → Fin 2 → ℝ) (raw : Environment P J → ZMod P → ZMod P → Fin 2 → ℝ) (σ : Environment P J) (x : ZMod P) :

Full-rank clipped error tail on actual heavy first overflows.

theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.actual_tail_le_envelope {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) (s t : Fin J) (Ls Lt : ℕ) (D : ZMod P) (sourceSuffix suffix : List (ZMod P)) (k m : ℕ) (η : ℝ) (G : Matrix (ZMod P) (ZMod P) ℝ) (hG : ∀ (x y : ZMod P), 0 ≤ G x y) (ζ : ℝ) (n K : ℕ → ℕ) (Δ : Environment P J → ZMod P → ℕ → ZMod P → Fin 2 → ℝ) (raw : Environment P J → ZMod P → ZMod P → Fin 2 → ℝ) (hz : ∀ (i : ℕ) (σ : Environment P J) (x y : ZMod P), ¬retainedMask t Lt D suffix σ y → actualPrefix Δ raw i σ x y 1 = 0) (σ : Environment P J) (x : ZMod P) :
have mt := fun (ν : Fin 2) => ∑ j ∈ Finset.range m, if meanFirstEvent t D suffix k m j η G n K Δ raw σ x then meanRowTail t (if ν = 0 then side P k else Lt) D suffix m j (actualClippedMean HP s t Ls (side P k) Lt D sourceSuffix suffix k G ζ Δ raw ν) σ x else 0; have zt := fun (ν : Fin 2) => Cslib.RowCompression.firstOverflowNoiseTail {y : ZMod P | retainedMask t (side P k) D suffix σ y} n K (Cslib.RowCompression.dyadicFloor η m) (Δ σ x) { defaultValue := 0, row := raw σ x } m (fun (i : ℕ) => 28 ^ (m - i)) fun (i : ℕ) => actualNoiseMax s t Ls (side P k) Lt D sourceSuffix suffix k G Δ raw ν i σ x; actualClippedTail HP s t Ls Lt D sourceSuffix suffix k m η G ζ n K Δ raw σ x ≤ mt 0 + mt 1 + (zt 0 + zt 1)
theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.integrated_actual_clipped_tail_capacity {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) (s t : Fin J) (hst : t ≠ s) (Ls Lt : ℕ) (D : ZMod P) (hD : D ≠ 0) (sourceSuffix suffix : List (ZMod P)) (H : Horizon P) {k : ℕ} (hk : k ≤ H.maxExponent) (hLt : Lt ≤ P) (G : Matrix (ZMod P) (ZMod P) ℝ) (hG : ∀ (x y : ZMod P), 0 ≤ G x y) (ζ : ℝ) {η M N u : ℝ} (hη : 0 < η) (hNu : 0 ≤ N * u) (hmass : ∀ (x : ZMod P), ∑ y : ZMod P, G x y ≤ M) (m : ℕ) (n K : ℕ → ℕ) (hn : ∀ j < m, 2 ^ (64 * Cslib.RowCompression.dyadicSlack m j) ≤ n j) (Δ : Environment P J → ZMod P → ℕ → ZMod P → Fin 2 → ℝ) (raw : Environment P J → ZMod P → ZMod P → Fin 2 → ℝ) (εμ εz : Fin 2 → ℝ) (hεμ : ∀ (ν : Fin 2), 0 ≤ εμ ν) (hεz : ∀ (ν : Fin 2), 0 ≤ εz ν) (B : Fin 2 → Matrix (ZMod P) (ZMod P) ℝ) (hB : ∀ (ν : Fin 2) (x y : ZMod P), 0 ≤ B ν x y) (hμ : ∀ (ν : Fin 2), ∀ i < m, ∀ (x y : ZMod P), |actualClippedMean HP s t Ls (side P k) Lt D sourceSuffix suffix k G ζ Δ raw ν i x y| ≤ B ν x y * 2 ^ Cslib.RowCompression.dyadicSlack m i) (hbudget : ∀ (ν : Fin 2), (Cslib.rowNormPow 4 N u (retainedMask s Ls D sourceSuffix) (retainedMask t (if ν = 0 then side P k else Lt) D suffix) fun (x : Environment P J) (x_1 y : ZMod P) => B ν x_1 y) ≤ εμ ν ^ 4) (hzbudget : ∀ (ν : Fin 2), ∀ i < m, Cslib.vertexNormPow 4 N u (retainedMask s Ls D sourceSuffix) (actualNoiseMax s t Ls (side P k) Lt D sourceSuffix suffix k G Δ raw ν i) ≤ (εz ν * (1 / 64) ^ Cslib.RowCompression.dyadicSlack m i) ^ 4) (hz : ∀ (i : ℕ) (σ : Environment P J) (x y : ZMod P), ¬retainedMask t Lt D suffix σ y → actualPrefix Δ raw i σ x y 1 = 0) :
Cslib.vertexNormPow 4 N u (retainedMask s Ls D sourceSuffix) (actualClippedTail HP s t Ls Lt D sourceSuffix suffix k m η G ζ n K Δ raw) ≤ ((2 + 256 * M / η) * (εμ 0 + εμ 1) / 63 + (εz 0 + εz 1) * (7 / 9)) ^ 4

Actual full-rank clipped prefix tail with rank/usage rarity separated. This is a compression input tail, not yet the normalized compressed-output moment theorem.