Documentation

CslibFrontier.Computability.LogSpaceDerandomization.HierarchyRawMoment

Lower-child moments for actual hierarchy samples #

Original moment bridges by Christian Reitwiessner, using Samuel Schlesinger's hierarchy and source-release proof. The actual normalized correction is bounded and sparse for arbitrary raw, preparatory and pilot children. All functions retain one full rank environment. The positive-iteration residual input moment is paid by its actual direct, source-released right and negative lower-child moments. These quantitative child budgets still need recursive proofs; this is no native or class endpoint.

Main results #

noncomputable def Matrix.HierarchyParams.H4RankEnvironment.incomingChildren {P J : ℕ} [Fact (Nat.Prime P)] {V : Type} [Fintype V] {k : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (ident : V → ZMod P) (Kc : ℕ) (binCutoff : ℝ → ℝ) (raw prep : HierarchyTask.Request k (Fin J) (ZMod P) → Environment P J → Matrix V V ℝ) (maximum : HierarchyTask.Request k (Fin J) (ZMod P) → Environment P J → V → ℝ) (r : HierarchyTask.Request k (Fin J) (ZMod P)) (σ : Environment P J) :

Actual lower-child substitution used by the incoming-normalized residual, including its literal zero correction base and dense base bins.

theorem Matrix.HierarchyParams.H4RankEnvironment.selectedRequest_mem_Icc {P J : ℕ} [Fact (Nat.Prime P)] {V : Type u_1} [Fintype V] {k : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (ident : V → ZMod P) (r : HierarchyTask.Request k (Fin J) (ZMod P)) (Kc : ℕ) (raw prep : Environment P J → Matrix V V ℝ) (maximum : Environment P J → V → ℝ) (σ : Environment P J) (x y : V) :
correctionRequest D ident r (Cslib.polynomialAuxCutoff4 HP.θ) HP.incomingCutoff HP.ρ HP.atomCutoff HP.γ HP.K Kc raw prep maximum σ x y ∈ Set.Icc 0 (2 * HP.Q HP.atomCap)

The actual correction child has a uniform range even for arbitrary earlier estimates.

theorem Matrix.HierarchyParams.H4RankEnvironment.selectedRequest_row_support {P J : ℕ} [Fact (Nat.Prime P)] {V : Type} [Fintype V] {k : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (hK : 0 < HP.K) (D : ZMod P) (ident : V → ZMod P) (r : HierarchyTask.Request k (Fin J) (ZMod P)) (Kc : ℕ) (raw prep : Environment P J → Matrix V V ℝ) (maximum : Environment P J → V → ℝ) (σ : Environment P J) (x : V) :
{y ∈ {y : V | r.terminal.retains (channels D) σ (ident y)} | correctionRequest D ident r (Cslib.polynomialAuxCutoff4 HP.θ) HP.incomingCutoff HP.ρ HP.atomCutoff HP.γ HP.K Kc raw prep maximum σ x y ≠ 0}.card ≤ HP.K

The actual correction's row support is bounded on its rank channel.

theorem Matrix.HierarchyParams.H4RankEnvironment.correctionRequest_eq_zero_of_not_usage {P J : ℕ} [Fact (Nat.Prime P)] {V : Type} [Fintype V] {k : ℕ} (D : ZMod P) (ident : V → ZMod P) (r : HierarchyTask.Request k (Fin J) (ZMod P)) (I : ℝ → ℝ → ℝ) (τ ρ Q γ : ℝ → ℝ) (K Kc : ℕ) (raw prep : Environment P J → Matrix V V ℝ) (maximum : Environment P J → V → ℝ) (σ : Environment P J) (x y : V) (hy : ¬r.usage.retains (channels D) σ (ident y)) :
correctionRequest D ident r I τ ρ Q γ K Kc raw prep maximum σ x y = 0

Zero extension on the actual usage channel, without a child-moment premise.

noncomputable def Matrix.HierarchyParams.H4RankEnvironment.incomingMomentBudget {P J : ℕ} [Fact (Nat.Prime P)] {V : Type} [Fintype V] {k : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (D : ZMod P) (ident : V → ZMod P) (R : RoleProfile J) (l bin ks km kt kb : ℕ) (ss sm st : List (ZMod P)) (Kc : ℕ) (binCutoff : ℝ → ℝ) (raw prep : HierarchyTask.Request k (Fin J) (ZMod P) → Environment P J → Matrix V V ℝ) (maximum : HierarchyTask.Request k (Fin J) (ZMod P) → Environment P J → V → ℝ) (N u : ℝ) :

Explicit lower-child moment payment. Importance factors and source normalization are part of the expression; no width, prime or horizon is hidden in its constants.

theorem Matrix.HierarchyParams.H4RankEnvironment.rawIncomingNormalized_moment {P J : ℕ} [Fact (Nat.Prime P)] {V : Type} [Fintype V] {k : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (hK : 0 < HP.K) (D : ZMod P) (ident : V → ZMod P) (R : RoleProfile J) (l bin ks km kt kb : ℕ) (ss sm st : List (ZMod P)) (Kc : ℕ) (hKc : 0 < Kc) (binCutoff : ℝ → ℝ) (raw prep : HierarchyTask.Request (k + 1) (Fin J) (ZMod P) → Environment P J → Matrix V V ℝ) (maximum : HierarchyTask.Request (k + 1) (Fin J) (ZMod P) → Environment P J → V → ℝ) {N u : ℝ} (hN : 0 < N) (hu : 0 < u) :
Cslib.rowNormPow 4 N u (fun (σ : Environment P J) (x : V) => CorrectionRowTask.Channel.retains (gridChannel R.source ks ss) (channels D) σ (ident x)) (fun (σ : Environment P J) (y : V) => CorrectionRowTask.Channel.retains (gridChannel R.terminal kt st) (channels D) σ (ident y)) (rawIncomingNormalized HP D ident R l bin ks km kt kb ss sm st (Cslib.polynomialAuxCutoff4 HP.θ) HP.incomingCutoff Kc binCutoff raw prep maximum) ≤ incomingMomentBudget HP D ident R l bin ks km kt kb ss sm st Kc binCutoff raw prep maximum N u

Actual signed residual input moment from three explicit lower-child moments. The source-released right term includes its literal importance and midpoint-density factors. There is no raw-sample moment premise and no independence premise. Positive correction iterations are treated here; the zero-correction base is still literal in incomingChildren. This is a bounded moment milestone, not recursive moment induction.

theorem Matrix.HierarchyParams.H4RankEnvironment.rawIncomingNormalized_noise_le_lower {P J : ℕ} [Fact (Nat.Prime P)] {V : Type} [Fintype V] {k : ℕ} (HP : FourthRootHierarchyParams 16 1 16 32 8) (hK : 0 < HP.K) (D : ZMod P) (ident : V → ZMod P) (R : RoleProfile J) (l bin ks km kt kb : ℕ) (ss sm st : List (ZMod P)) (Kc : ℕ) (hKc : 0 < Kc) (binCutoff : ℝ → ℝ) (raw prep : HierarchyTask.Request (k + 1) (Fin J) (ZMod P) → Environment P J → Matrix V V ℝ) (maximum : HierarchyTask.Request (k + 1) (Fin J) (ZMod P) → Environment P J → V → ℝ) {N u : ℝ} (hN : 0 < N) (hu : 0 < u) (steps : ℕ) :
have a := fun (v : V) => CopyPadding.identifier D ss (ident v); have b := fun (v : V) => CopyPadding.identifier D st (ident v); have F := rawIncomingNormalized HP D ident R l bin ks km kt kb ss sm st (Cslib.polynomialAuxCutoff4 HP.θ) HP.incomingCutoff Kc binCutoff raw prep maximum; have G := graph R.source R.terminal ⋯ (side P ks) (side P kt) ⋯ ⋯ a b; (Cslib.rowNormPow 4 N u (X R.source (side P ks) a) (Y R.terminal (side P kt) b) fun (σ : Environment P J) (x z : V) => Cslib.conditionalWalk (X R.source (side P ks) a) (Y R.terminal (side P kt) b) G (fun (x x_1 : V) => steps) F σ x z - Cslib.rowSliceMean (X R.source (side P ks) a) (Y R.terminal (side P kt) b) F x z) ≤ 32 * (1 - 1 / (155648 * (↑J + 1) * 4 ^ 4)) ^ (2 * steps) * incomingMomentBudget HP D ident R l bin ks km kt kb ss sm st Kc binCutoff raw prep maximum N u

The actual H4 walk noise paid entirely by explicit lower-child norms. The retained raw input moment in rawIncomingNormalized_noise is discharged by the moment theorem.