Documentation

CslibFrontier.Computability.LogSpaceDerandomization.SourceRelease

Source release through a bounded incoming relation #

In a product of stochastic tables, the right factor is queried at an intermediate vertex z. Its error is a common table e σ z y: it does not take the old source x as an extra argument. If the left support relation has at most K retained sources at each z, double counting eliminates the old source at cost K. Changing the source normalization from 1 / u to 1 / f then contributes exactly f / u.

This is the explicit source-release inequality in the proof of [OpenAI2026LogSpace, Lemma 7.3], in the September 23, 2026 source version at openai/math commit 7ef5c0cc. Here the indicators X_u, Z_f, and Y_b are finite-set restrictions X, Z, and Y; the left normalization is written (N * u)⁻¹. The exponent is any natural number, including the paper's s = 8. The theorem proves the source-domain comparison, not the remaining scale comparisons or the recursive estimator of that lemma. No independence hypothesis is imposed: the support relation, channels, and error may all depend on the same environment σ.

The correction-atom corollaries discharge the incoming-degree hypothesis using Matrix.card_filter_correctionAtom_col_ne_zero_lt. An arbitrary map from the full environment to the atom's two seeds allows additional shared coordinates in the right error.

Main results #

References #

theorem Finset.sum_sum_filter_le_mul_sum_of_card_le {α : Type u_1} {β : Type u_2} (S : Finset α) (T : Finset β) (P : α → β → Prop) [(x : α) → (z : β) → Decidable (P x z)] {w : β → ℝ} {K : ℕ} (hw : ∀ z ∈ T, 0 ≤ w z) (hK : ∀ z ∈ T, {x ∈ S | P x z}.card ≤ K) :
∑ x ∈ S, ∑ z ∈ T with P x z, w z ≤ ↑K * ∑ z ∈ T, w z

A nonnegative weight at a target is counted at most K times if that target has at most K incoming sources. The weight is common to all sources.

theorem Cslib.sourceRelease_le_rowNormPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u f : ℝ} {X Z Y : Ω → V → Prop} [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (z : V) → Decidable (Z σ z)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (hN : 0 < N) (hu : 0 < u) (hf : 0 < f) (P : Ω → V → V → Prop) [(σ : Ω) → (x z : V) → Decidable (P σ x z)] {K : ℕ} (hK : ∀ (σ : Ω) (z : V), Z σ z → {x ∈ {x : V | X σ x} | P σ x z}.card ≤ K) (e : Ω → V → V → ℝ) :
((N * u)⁻¹ * Finset.univ.expect fun (σ : Ω) => ∑ x : V with X σ x, ∑ z ∈ {z : V | Z σ z} with P σ x z, ∑ y : V with Y σ y, |e σ z y| ^ s) ≤ ↑K * (f / u) * rowNormPow s N f Z Y e

Source release for a common right table, the explicit double-counting estimate in the proof of [OpenAI2026LogSpace, Lemma 7.3]. A pointwise incoming cap costs K * (f / u) in norm power. The error and the relation may depend on the same environment.

theorem Cslib.sourceRelease_le_vertexNormPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u f : ℝ} {X Z : Ω → V → Prop} [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (z : V) → Decidable (Z σ z)] (hN : 0 < N) (hu : 0 < u) (hf : 0 < f) (P : Ω → V → V → Prop) [(σ : Ω) → (x z : V) → Decidable (P σ x z)] {K : ℕ} (hK : ∀ (σ : Ω) (z : V), Z σ z → {x ∈ {x : V | X σ x} | P σ x z}.card ≤ K) (v : Ω → V → ℝ) :
((N * u)⁻¹ * Finset.univ.expect fun (σ : Ω) => ∑ x : V with X σ x, ∑ z ∈ {z : V | Z σ z} with P σ x z, |v σ z| ^ s) ≤ ↑K * (f / u) * vertexNormPow s N f Z v

The vector version of source release, used for the right error in a reward update.

theorem Matrix.correctionAtom_sourceRelease_le_rowNormPow {Ω : Type u_1} {V : Type u_2} {ι : Type u_3} {κ : Type u_4} [Fintype Ω] [Fintype V] [Fintype ι] [Fintype κ] {s K Kc : ℕ} {N u f : ℝ} {I : ℝ → ℝ → ℝ} {τ Q h ρ : ℝ → ℝ} {G : Matrix V V ℝ} {g₀ : V → ℝ} {X : ι → V → Prop} {Y Yt : κ → V → Prop} [(t : ι) → (x : V) → Decidable (X t x)] [(t : κ) → (z : V) → Decidable (Y t z)] [(t : κ) → (z : V) → Decidable (Yt t z)] (draw : Ω → ι × κ) (Yb : Ω → V → Prop) [(σ : Ω) → (y : V) → Decidable (Yb σ y)] (hN : 0 < N) (hu : 0 < u) (hf : 0 < f) (hKc : 0 < Kc) (hIQ : ∀ (v r : ℝ), Q v ≠ 0 → ρ r ≠ 0 → I v r = 1) {g : ℝ} (hg : g ≤ 1) (hτ : ∀ (r : ℝ), g ≤ r → τ r = 0) (e : Ω → V → V → ℝ) :
((N * u)⁻¹ * Finset.univ.expect fun (σ : Ω) => ∑ x : V with X (draw σ).1 x, ∑ z ∈ {z : V | Yt (draw σ).2 z} with correctionAtom I τ K Kc f G X Y Yt Q h ρ g₀ (draw σ) x z ≠ 0, ∑ y : V with Yb σ y, |e σ z y| ^ s) ≤ ↑Kc * (f / u) * Cslib.rowNormPow s N f (fun (σ : Ω) (z : V) => Yt (draw σ).2 z) Yb e

Source release for an actual correction atom. Its incoming gate supplies the degree bound; no separate sparsity or independence assumption is needed. draw selects the atom's seeds from the full shared environment.

theorem Matrix.correctionAtom_sourceRelease_le_vertexNormPow {Ω : Type u_1} {V : Type u_2} {ι : Type u_3} {κ : Type u_4} [Fintype Ω] [Fintype V] [Fintype ι] [Fintype κ] {s K Kc : ℕ} {N u f : ℝ} {I : ℝ → ℝ → ℝ} {τ Q h ρ : ℝ → ℝ} {G : Matrix V V ℝ} {g₀ : V → ℝ} {X : ι → V → Prop} {Y Yt : κ → V → Prop} [(t : ι) → (x : V) → Decidable (X t x)] [(t : κ) → (z : V) → Decidable (Y t z)] [(t : κ) → (z : V) → Decidable (Yt t z)] (draw : Ω → ι × κ) (hN : 0 < N) (hu : 0 < u) (hf : 0 < f) (hKc : 0 < Kc) (hIQ : ∀ (v r : ℝ), Q v ≠ 0 → ρ r ≠ 0 → I v r = 1) {g : ℝ} (hg : g ≤ 1) (hτ : ∀ (r : ℝ), g ≤ r → τ r = 0) (v : Ω → V → ℝ) :
((N * u)⁻¹ * Finset.univ.expect fun (σ : Ω) => ∑ x : V with X (draw σ).1 x, ∑ z ∈ {z : V | Yt (draw σ).2 z} with correctionAtom I τ K Kc f G X Y Yt Q h ρ g₀ (draw σ) x z ≠ 0, |v σ z| ^ s) ≤ ↑Kc * (f / u) * Cslib.vertexNormPow s N f (fun (σ : Ω) (z : V) => Yt (draw σ).2 z) v

Source release for a common right vector through a correction atom, with its incoming degree bound supplied by the incoming gate.