Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RootMetric

Integrated norms and root metrics of random tables #

The estimators of the OpenAI preprint compare random row tables and vertex arrays by integrated s-th power norms over a shared environment σ [OpenAI2026LogSpace, Section 5.6]. Let σ range uniformly over a finite type Ω, let X and Y be channels (X σ x means that x is retained on the draw σ), and fix a normalization N and a nominal rate u. For a random table Z : Ω → V → V → ℝ and a random vertex array v : Ω → V → ℝ,

Here the channel Y plays the role of the preprint's Y_a, and values outside the retained sets are ignored, which is the preprint's convention of extending them by zero. We work with the s-th powers of the norms throughout, as every estimate of the preprint does.

The ordinary norm of a difference of bounded nonnegative tables is controlled by their root distance (Cslib.rowNormPow_sub_le_rootDistPow, from (5.21)). A table with bounded values and fewer than K nonzero entries per retained row has norm at most K B^s ‖1‖^s_{u;s} (Cslib.rowNormPow_le_of_card_le). This is the uniform bound of [OpenAI2026LogSpace, Section 5.6].

Main definitions #

Main results #

References #

noncomputable def Cslib.rowNormPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] (s : ℕ) (N u : ℝ) (X Y : Ω → V → Prop) [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (Z : Ω → V → V → ℝ) :

The s-th power ‖Z‖^s_{u,a;s} of the integrated row norm of a random table [OpenAI2026LogSpace, (5.19)].

noncomputable def Cslib.rootDistPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] (s : ℕ) (N u : ℝ) (X Y : Ω → V → Prop) [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (H H' : Ω → V → V → ℝ) :

The s-th power d_{u,a}(H, H')^s of the root distance of two random tables [OpenAI2026LogSpace, (5.19)].

noncomputable def Cslib.vertexNormPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] (s : ℕ) (N u : ℝ) (X : Ω → V → Prop) [(σ : Ω) → (v : V) → Decidable (X σ v)] (v : Ω → V → ℝ) :

The s-th power ‖v‖^s_{u;s} of the integrated norm of a random vertex array [OpenAI2026LogSpace, (5.20)].

theorem Cslib.rowNormPow_nonneg {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X Y : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (hNu : 0 ≤ N * u) (Z : Ω → V → V → ℝ) :
0 ≤ rowNormPow s N u X Y Z
theorem Cslib.vertexNormPow_nonneg {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] (hNu : 0 ≤ N * u) (v : Ω → V → ℝ) :
0 ≤ vertexNormPow s N u X v
theorem Cslib.rootDistPow_comm {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X Y : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (H H' : Ω → V → V → ℝ) :
rootDistPow s N u X Y H H' = rootDistPow s N u X Y H' H
@[simp]
theorem Cslib.rootDistPow_self {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X Y : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (hs : s ≠ 0) (H : Ω → V → V → ℝ) :
rootDistPow s N u X Y H H = 0
theorem Cslib.rowNormPow_le_mul {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X Y : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (hNu : 0 ≤ N * u) {c : ℝ} {Z Z' : Ω → V → V → ℝ} (h : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → |Z σ x y| ^ s ≤ c * |Z' σ x y| ^ s) :
rowNormPow s N u X Y Z ≤ c * rowNormPow s N u X Y Z'

A pointwise comparison of s-th powers on the retained pairs gives a comparison of the norms.

theorem Cslib.rowNormPow_sub_le_rootDistPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X Y : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (hs : s ≠ 0) (hNu : 0 ≤ N * u) {C : ℝ} {H H' : Ω → V → V → ℝ} (hH : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → 0 ≤ H σ x y ∧ H σ x y ≤ C) (hH' : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → 0 ≤ H' σ x y ∧ H' σ x y ≤ C) :
(rowNormPow s N u X Y fun (σ : Ω) (x y : V) => H σ x y - H' σ x y) ≤ (↑s * C ^ ((↑s - 1) / ↑s)) ^ s * rootDistPow s N u X Y H H'

Ordinary error is controlled by root error [OpenAI2026LogSpace, (5.21)], integrated: for tables with values in [0, C] on the retained pairs, ‖H - H'‖^s ≤ (s C^{(s-1)/s})^s d(H, H')^s.

theorem Cslib.rowNormPow_le_of_card_le {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u : ℝ} {X Y : Ω → V → Prop} [(σ : Ω) → (v : V) → Decidable (X σ v)] [(σ : Ω) → (v : V) → Decidable (Y σ v)] (hs : s ≠ 0) (hNu : 0 ≤ N * u) {B : ℝ} (hB0 : 0 ≤ B) {K : ℕ} {Z : Ω → V → V → ℝ} (hB : ∀ (σ : Ω) (x y : V), |Z σ x y| ≤ B) (hK : ∀ (σ : Ω) (x : V), X σ x → {y ∈ {y : V | Y σ y} | Z σ x y ≠ 0}.card ≤ K) :
rowNormPow s N u X Y Z ≤ ↑K * B ^ s * vertexNormPow s N u X fun (x : Ω) (x_1 : V) => 1

The uniform bound [OpenAI2026LogSpace, Section 5.6]. A table with values bounded by B and at most K nonzero entries in each retained row has ‖Z‖^s ≤ K B^s ‖1‖^s.