Documentation

CslibFrontier.Computability.LogSpaceDerandomization.NormalizedAtomRows.Output

Actual uncentered normalized atom outputs #

The scalar output uses the hierarchy's bounded atom cutoff and core row gate, divided by clip (second / ζ). The recipe identity retains the actual usage mask and full terminal rank domain. No state, default or raw increment is translated or capped. Fourth-root regularity is the fourth-moment adaptation of the normalization in §8.1 (printed p. 43) of [OAI26e], revision 7ef5c0cc. These deterministic scalar and support laws do not establish recursive input moments or the integrated compression theorem.

The scalar normalization is Christian Reitwiessner's; the support/rank proof pattern is adapted from Samuel Schlesinger's polynomial atom rows.

Clip the uncentered denominator to the interval [1/2, 1].

The clipped denominator stays in its required positive range.

noncomputable def Matrix.FourthRootHierarchyParams.NormalizedRow.output (HP : FourthRootHierarchyParams 16 1 16 32 8) (scale x v q : ℝ) :

Actual uncentered decoder: bounded atom cutoff, core rank gate and clipped second signal.

The actual scalar normalized output is nonnegative on arbitrary real signals.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.output_le (HP : FourthRootHierarchyParams 16 1 16 32 8) (ζ d v r : ℝ) :
output HP ζ d v r ≤ 2 * HP.Q HP.atomCap

Scalar range is uniform in both signals and the raw padded rank.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.entry_zero (HP : FourthRootHierarchyParams 16 1 16 32 8) {scale x v q : ℝ} (hx : x ≤ HP.θ) :
output HP scale x v q = 0

The atom output vanishes below the entry threshold.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.gate_zero (HP : FourthRootHierarchyParams 16 1 16 32 8) {scale x v q : ℝ} (hq : HP.η₂ ≤ q) :
output HP scale x v q = 0

The actual closed rank gate annihilates the output.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.gate_flat (HP : FourthRootHierarchyParams 16 1 16 32 8) {scale x v q q' : ℝ} (hq : q ≤ HP.η) (hq' : q' ≤ HP.η) :
output HP scale x v q = output HP scale x v q'

Ranks in the full-gate region give the same scalar output.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.root_dist (HP : FourthRootHierarchyParams 16 1 16 32 8) {scale : ℝ} (hs : 0 < scale) :
∃ (L : ℝ), 0 ≤ L ∧ ∀ (x v q x' v' q' : ℝ), |output HP scale x v q ^ 4⁻¹ - output HP scale x' v' q' ^ 4⁻¹| ≤ L * (|x - x'| + |v - v'| + |q - q'|)

Global fourth-root regularity in the entry, second signal and raw rank.

The actual hierarchy rank is positive.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.root_range (HP : FourthRootHierarchyParams 16 1 16 32 8) (scale x v q : ℝ) :
0 ≤ output HP scale x v q ^ 4⁻¹ ∧ output HP scale x v q ^ 4⁻¹ ≤ 2 * HP.Q HP.atomCap ^ 4⁻¹

The fourth root has a uniform range independent of input magnitudes.

The actual entry threshold is separated from the closed rank gate.

The actual hierarchy rank exceeds the singleton domain.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.support (HP : FourthRootHierarchyParams 16 1 16 32 8) {ι : Type u_1} (s : Finset ι) (a : Cslib.RowCompression.State ι) (scale : ℝ) :
{y ∈ s | output HP scale (a.row y 0) (a.row y 1) (Cslib.RowCompression.firstRank s HP.K a.defaultValue a.row) ≠ 0}.card < HP.K

All actual normalized compressed states have fewer than K nonzero retained endpoints, including arbitrary defaults and arbitrary second signals.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.recipe_identity (HP : FourthRootHierarchyParams 16 1 16 32 8) {V : Type u_1} {Γ : Type u_2} {Ω : Type u_3} [Fintype V] [Fintype Γ] [Fintype Ω] (X : Γ → V → Prop) (Y Yt : Ω → V → Prop) [(σ : Γ) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (x : V) → Decidable (Y σ x)] [(σ : Ω) → (x : V) → Decidable (Yt σ x)] (raw : Matrix V V ℝ) (prep : Γ × Ω → Matrix V V ℝ) {ζ : ℝ} (hζ : 0 < ζ) (b : ℝ) (σ : Γ × Ω) (x y : V) :
DenseRowRecipe.normalized HP.atomCutoff HP.ρ HP.K b X Y Yt raw prep σ x y = if Yt σ.2 y then output HP ζ (raw x y / b) (CorrectionRowRecipe.secondChannel X Yt ζ prep σ x y) (Cslib.RowCompression.firstRank {z : V | Y σ.2 z} HP.K 0 fun (z : V) (ν : Fin 2) => if ν = 0 then raw x z / b else 0) else 0

Only the denominator signal is masked; the raw first signal and its rank are intact.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.entrySize_eq_first {d ζ q hstart : ℝ} {mask : Prop} [Decidable mask] (hd : 0 ≤ d) (hζ : 0 ≤ ζ) (hζh : ζ ≤ hstart) (hq : q ∈ Set.Icc 0 1) (hzero : d ≤ hstart → q = 0) :
(Cslib.RowCompression.entrySize fun (ν : Fin 2) => if ν = 0 then d else ζ * if mask then q else 0) = d

Core scalar reduction, valid also where the preparatory mean is zero.

Dummy default entries contribute zero, for every sign and size of the default.