Documentation

CslibFrontier.Computability.LogSpaceDerandomization.NormalizedAtomRows.ActualMoment

Actual normalized-output fourth moment at arbitrary fixed hierarchy rank #

actualNormalizedCapacity runs the actual iterate at the supplied capacity sequence, with zero default, unchanged raw increments/floor, core rank gate, atom cutoff and uncentered second/ζ denominator. The first rank is full terminal rank; the final output uses usage. genuineNormalizedRecipe_eq_request identifies the target with the existing normalizedRequest and its genuine full-environment joint preparation mean, preserving roles and copy suffixes.

actual_normalized_fourth_moment_capacity proves row fourth-root error at most C*ε^4 from explicit clipped mean envelopes and strong endpoint row-noise moments on their respective masks. The actual first-overflow masks and false-event charges use the new capacities. compatibleCapacity_bounds discharges both capacity lower bounds for arbitrary fixed K; actual_normalized_fourth_moment_compatible specializes the actual output accordingly. The final coefficient may depend on the positive floor, fixed before P/J/N/u, width, positive horizon and capacity sequence. No true-entry cap, output-error certificate, output/event monotonicity or adaptive-endpoint independence is assumed.

This is a conditional fourth-moment adaptation of §8.2, Proposition 8.5 (printed pp. 45–49), of [OAI26e], revision 7ef5c0cc. Lower-child envelopes/noise estimates, recursive induction and native/RL endpoints remain open. Christian Reitwiessner supplied the actual H4 specialization; compression and norm proof patterns are adapted from Samuel Schlesinger.

noncomputable def Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.genuineNormalizedRecipe {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 : ℕ) (G : Matrix (ZMod P) (ZMod P) ℝ) (σ : Environment P J) (x y : ZMod P) :

Genuine normalized recipe, with its actual joint source/usage preparatory mean.

theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.genuine_recipe_identity {P J : ℕ} [Fact (Nat.Prime P)] (HP : FourthRootHierarchyParams 16 1 16 32 8) {ζ : ℝ} (hζ : 0 < ζ) (s t : Fin J) (Ls Lt : ℕ) (D : ZMod P) (sourceSuffix suffix : List (ZMod P)) (k : ℕ) (G : Matrix (ZMod P) (ZMod P) ℝ) (σ : Environment P J) (x y : ZMod P) :
genuineNormalizedRecipe HP s t Ls Lt D sourceSuffix suffix k G σ x y = if retainedMask t Lt D suffix σ y then FourthRootHierarchyParams.NormalizedRow.output HP ζ (genuineTarget HP s t Ls Lt D sourceSuffix suffix k G ζ σ x y 0) (genuineTarget HP s t Ls Lt D sourceSuffix suffix k G ζ σ x y 1) (Cslib.RowCompression.firstRank {z : ZMod P | retainedMask t (side P k) D suffix σ z} HP.K 0 (genuineTarget HP s t Ls Lt D sourceSuffix suffix k G ζ σ x)) else 0
theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.request_genuineMean_eq {P J : ℕ} [Fact (Nat.Prime P)] {q : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (r : HierarchyTask.Request q (Fin J) (ZMod P)) (hr : Admissible r) (ks kt k : ℕ) (hs : r.source.rate = rate ks) (ht : r.usage.rate = rate kt) (G : Matrix (ZMod P) (ZMod P) ℝ) (x y : ZMod P) :
Cslib.rowSliceMean (fun (τ : Environment P J) (v : ZMod P) => r.source.retains (channels D) τ v) (fun (τ : Environment P J) (v : ZMod P) => r.usage.retains (channels D) τ v) (genuinePrep HP r.terminal.role D r.terminal.suffix k G) x y = genuineMean HP r.source.role r.terminal.role (side P ks) (side P kt) (CopyPadding.identifier D r.source.suffix x) D r.terminal.suffix k G x y

Genuine preparation's full-environment mean agrees with the actual request slice, including its source identifier and inherited terminal/usage suffix.

theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.genuineNormalizedRecipe_eq_request {P J : ℕ} [Fact (Nat.Prime P)] {q : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (r : HierarchyTask.Request q (Fin J) (ZMod P)) (hr : Admissible r) (ks kt k : ℕ) (hs : r.source.rate = rate ks) (ht : r.usage.rate = rate kt) (ha : r.terminal.rate = rate k) (G : Matrix (ZMod P) (ZMod P) ℝ) (σ : Environment P J) (x y : ZMod P) :
genuineNormalizedRecipe HP r.source.role r.terminal.role (side P ks) (side P kt) D r.source.suffix r.terminal.suffix k G σ x y = normalizedRequest D id r HP.atomCutoff HP.ρ HP.K (fun (x : Environment P J) => G) (genuinePrep HP r.terminal.role D r.terminal.suffix k G) σ x y

Identification with the already approved actual normalized request, including its split terminal coordinate and inherited source/terminal suffixes.

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

The actual usage-masked normalized output of the real compression recursion. Both the unmasked first row and its full terminal rank are preserved.

theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.actual_normalized_fourth_moment_capacity (HP : FourthRootHierarchyParams 16 1 16 32 8) {ζ scale : ℝ} (hζ : 0 < ζ) (hs : 0 < scale) (hmargin : scale ≤ HP.η) (hsmall : ζ ≤ scale / 2) (hcapscale : scale ≤ HP.atomCap / 10000) :
∃ (Cfixed : ℝ), 0 ≤ Cfixed ∧ ∀ (η : ℝ), 0 < η → η ≤ scale → η ≤ 1 → η ≤ HP.θ → ∃ (C : ℝ), 0 ≤ C ∧ ∀ (P J : ℕ) [inst : Fact (Nat.Prime P)] (s t : Fin J), t ≠ s → ∀ (Ls Lt : ℕ) (D : ZMod P), D ≠ 0 → ∀ (sourceSuffix suffix : List (ZMod P)) (H : Horizon P), ∀ k ≤ H.maxExponent, Lt ≤ side P k → ∀ (G : Matrix (ZMod P) (ZMod P) ℝ), (∀ (x y : ZMod P), 0 ≤ G x y) → (∀ (x : ZMod P), ∑ y : ZMod P, G x y ≤ ↑HP.k + 1) → ∀ (N u ε : ℝ), 0 ≤ N * u → 0 ≤ ε → ∀ (m : ℕ), 0 < m → ∀ (n : ℕ → ℕ), (∀ i < m, HP.K ≤ n i) → (∀ i < m, 2 ^ (64 * Cslib.RowCompression.dyadicSlack m i) ≤ n i) → ∀ (Δ : Environment P J → ZMod P → ℕ → ZMod P → Fin 2 → ℝ) (raw : Environment P J → ZMod P → ZMod P → Fin 2 → ℝ) (B : Fin 2 → Matrix (ZMod P) (ZMod P) ℝ), (∀ (ν : Fin 2) (x y : ZMod P), 0 ≤ B ν x y) → (∀ (ν : 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) → (∀ (ν : 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) → (∀ (ν : Fin 2), ∀ i < m, Cslib.rowNormPow 4 N u (retainedMask s Ls D sourceSuffix) (retainedMask t (if ν = 0 then side P k else Lt) D suffix) (actualNoiseEntry s t Ls (side P k) Lt D sourceSuffix suffix k G Δ raw ν i) ≤ (ε * (1 / 64) ^ Cslib.RowCompression.dyadicSlack m i) ^ 4) → (∀ (i : ℕ) (σ : Environment P J) (x y : ZMod P), ¬retainedMask t Lt D suffix σ y → actualPrefix Δ raw i σ x y 1 = 0) → (Cslib.rowNormPow 4 N u (retainedMask s Ls D sourceSuffix) (retainedMask t Lt D suffix) fun (σ : Environment P J) (x y : ZMod P) => actualNormalizedCapacity HP ζ η t Lt D suffix k m n Δ raw σ x y ^ 4⁻¹ - genuineNormalizedRecipe HP s t Ls Lt D sourceSuffix suffix k G σ x y ^ 4⁻¹) ≤ C * ε ^ 4

Actual normalized compressed-output fourth moment. The only stochastic hypotheses are clipped slope-one conditional mean envelopes and 64^-d row-noise budgets on their proper masks. The genuine preparatory mean, heavy rarity, final/preloss and false charge are derived. Cap-free sharp comparison is reused; no true-entry cap is required. Lower-child induction is separate.

K is fixed with the hierarchy, before the environment, width and horizon. The prefactor is part of the actual compression schedule.

Both capacity conditions hold at every horizon, with no upper bound on K.

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

The compatible capacities replace the fixed schedule in the actual output.

theorem Matrix.HierarchyParams.H4RankEnvironment.NormalizedMoments.actual_normalized_fourth_moment_compatible (HP : FourthRootHierarchyParams 16 1 16 32 8) {ζ scale : ℝ} (hζ : 0 < ζ) (hs : 0 < scale) (hmargin : scale ≤ HP.η) (hsmall : ζ ≤ scale / 2) (hcapscale : scale ≤ HP.atomCap / 10000) :
∃ (Cfixed : ℝ), 0 ≤ Cfixed ∧ ∀ (η : ℝ), 0 < η → η ≤ scale → η ≤ 1 → η ≤ HP.θ → ∃ (C : ℝ), 0 ≤ C ∧ ∀ (P J : ℕ) [inst : Fact (Nat.Prime P)] (s t : Fin J), t ≠ s → ∀ (Ls Lt : ℕ) (D : ZMod P), D ≠ 0 → ∀ (sourceSuffix suffix : List (ZMod P)) (H : Horizon P), ∀ k ≤ H.maxExponent, Lt ≤ side P k → ∀ (G : Matrix (ZMod P) (ZMod P) ℝ), (∀ (x y : ZMod P), 0 ≤ G x y) → (∀ (x : ZMod P), ∑ y : ZMod P, G x y ≤ ↑HP.k + 1) → ∀ (N u ε : ℝ), 0 ≤ N * u → 0 ≤ ε → ∀ (m : ℕ), 0 < m → ∀ (Δ : Environment P J → ZMod P → ℕ → ZMod P → Fin 2 → ℝ) (raw : Environment P J → ZMod P → ZMod P → Fin 2 → ℝ) (B : Fin 2 → Matrix (ZMod P) (ZMod P) ℝ), (∀ (ν : Fin 2) (x y : ZMod P), 0 ≤ B ν x y) → (∀ (ν : 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) → (∀ (ν : 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) → (∀ (ν : Fin 2), ∀ i < m, Cslib.rowNormPow 4 N u (retainedMask s Ls D sourceSuffix) (retainedMask t (if ν = 0 then side P k else Lt) D suffix) (actualNoiseEntry s t Ls (side P k) Lt D sourceSuffix suffix k G Δ raw ν i) ≤ (ε * (1 / 64) ^ Cslib.RowCompression.dyadicSlack m i) ^ 4) → (∀ (i : ℕ) (σ : Environment P J) (x y : ZMod P), ¬retainedMask t Lt D suffix σ y → actualPrefix Δ raw i σ x y 1 = 0) → (Cslib.rowNormPow 4 N u (retainedMask s Ls D sourceSuffix) (retainedMask t Lt D suffix) fun (σ : Environment P J) (x y : ZMod P) => actualNormalizedCompatible HP ζ η t Lt D suffix k m Δ raw σ x y ^ 4⁻¹ - genuineNormalizedRecipe HP s t Ls Lt D sourceSuffix suffix k G σ x y ^ 4⁻¹) ≤ C * ε ^ 4

Actual normalized-output fourth moment for arbitrary fixed hierarchy K. The compatible capacities are used in the iterate itself. The endpoint row-noise contracts and positive horizon are explicit; lower-child induction is separate.