Documentation

CslibFrontier.Computability.LogSpaceDerandomization.NormalizedAtomRows.BoundedLoss

Bounded common-loss comparison for actual normalized atoms #

Arbitrary nonnegative true first entries are allowed on every rank endpoint. Only the common first loss is bounded by atomCap; common defaults and second losses are unrestricted. Saturation is proved inside the scalar output, leaving raw rows and compression unchanged. This original cap-free extension is deterministic and assumes raw clipped error, rather than the desired normalized-output bound. It does not supply recursive moment budgets.

The hierarchy scalar cap is strictly positive.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.output_upperCapped (HP : FourthRootHierarchyParams 16 1 16 32 8) (ζ d v r : ℝ) :
output HP ζ d v r = output HP ζ (min HP.atomCap d) v (min HP.atomCap r)

Scalar caps preserve the exact normalized output, including its closed rank gate.

theorem Matrix.FourthRootHierarchyParams.NormalizedRow.boundedLoss_root_bound (HP : FourthRootHierarchyParams 16 1 16 32 8) {ζ : ℝ} (hζ : 0 < ζ) :
∃ (C : ℝ), 0 ≤ C ∧ ∀ {ι : Type u_1} (s : Finset ι) (z : ℝ) (truth raw loss : ι → Fin 2 → ℝ), (∀ y ∈ s, 0 ≤ truth y 0) → (∀ y ∈ s, |loss y 0| ≤ HP.atomCap) → ∀ (ε : ℝ), 0 ≤ ε → (∀ y ∈ s, Cslib.RowCompression.clippedError (truth y 0) (truth y 1) (raw y) ≤ ε) → ∀ y ∈ s, |Cslib.RowCompression.stateRootError (output HP ζ) s HP.K { defaultValue := z, row := raw + loss } { defaultValue := z, row := truth + loss } y| ≤ C * ε

Static comparison for arbitrary nonnegative truth, with only the actual first preloss bounded. No input row or compression state is capped.