Documentation

CslibFrontier.Computability.LogSpaceDerandomization.PilotDetectorTransport

Transporting the actual detector payment to score row moments #

The detector's two literal means are integrated by finite Fubini. Reinserting its terminal conditioning costs the reciprocal of a lower bound on the actual terminal density. The source rank remains inside its original mask. Estimated scores may share all outer coordinates; no pointwise extraction from environment atoms is used. These original finite contracts do not allocate recursive calls or bound parameter growth.

Main results #

theorem Matrix.HierarchyParams.PilotRowRecipe.sourceDetector_sum_moment {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (x : V) → Decidable (X s x)] [(t : κ) → (y : V) → Decidable (Y t y)] {π : ℝ} (hπ : 0 < π) (hY : ∀ (y : V), π ≤ ↑{t : κ | Y t y}.dens) (A B : ι → κ → Matrix V V ℝ) :
∑ y : V, |sourceDetector P X Y A y - sourceDetector P X Y B y| ^ 4 ≤ π⁻¹ * Finset.univ.expect fun (s : ι) => Finset.univ.expect fun (t : κ) => ∑ x : V with X s x, ∑ y : V with Y t y, |A s t x y - B s t x y| ^ 4

Reinsertion of the terminal event pays its actual density. Both the padded source rank and double mean retain the child’s source argument. The score table need not be nonnegative or independent of its terminal seed.

@[reducible, inline]
abbrev Matrix.HierarchyParams.PilotRowRecipe.sourceCoord {Ω : Type u_4} {ι : Type u_5} {κ : Type u_6} (p : Ω × ι × κ) :
ι

Source integration coordinate p.2.1 of a combined (outer, source, terminal) sample.

@[reducible, inline]
abbrev Matrix.HierarchyParams.PilotRowRecipe.terminalCoord {Ω : Type u_4} {ι : Type u_5} {κ : Type u_6} (p : Ω × ι × κ) :
κ

Terminal integration coordinate p.2.2 of a combined (outer, source, terminal) sample.

theorem Matrix.HierarchyParams.PilotRowRecipe.sourceDetector_row_moment_transport {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (x : V) → Decidable (X s x)] [(t : κ) → (y : V) → Decidable (Y t y)] {Ω : Type u_4} [Fintype Ω] (Xs Z : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (Xs σ x)] [(σ : Ω) → (y : V) → Decidable (Z σ y)] {N u v π : ℝ} (hN : 0 < N) (hu : 0 < u) (hv : 0 < v) (hπ : 0 < π) (hY : ∀ (y : V), π ≤ ↑{t : κ | Y t y}.dens) (A B : Ω → ι → κ → Matrix V V ℝ) :
(Cslib.rowNormPow 4 N u Xs Z fun (σ : Ω) (x y : V) => sourceDetector P X Y (A σ) y - sourceDetector P X Y (B σ) y) ≤ ↑(Fintype.card V) * v / (u * π) * Cslib.rowNormPow 4 N v (fun (p : Ω × ι × κ) (x : V) => X (sourceCoord p) x) (fun (p : Ω × ι × κ) (y : V) => Y (terminalCoord p) y) fun (p : Ω × ι × κ) (x y : V) => A p.1 (sourceCoord p) (terminalCoord p) x y - B p.1 (sourceCoord p) (terminalCoord p) x y

The literal detector payment is a score row moment on the full product of its outer coordinates and its two actual integration variables. The parent source costs one vertex width; source normalization changes by v/u. Terminal conditioning costs 1/π. No source coordinate or spectator dependency is discarded from the child norm.

theorem Matrix.HierarchyParams.PilotRowRecipe.detector_sum_moment {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (x : V) → Decidable (X s x)] [(t : κ) → (y : V) → Decidable (Y t y)] {π : ℝ} (hπ : 0 < π) (hY : ∀ (y : V), π ≤ ↑{t : κ | Y t y}.dens) (A B : κ → Matrix V V ℝ) :
∑ y : V, |detector P X Y A y - detector P X Y B y| ^ 4 ≤ π⁻¹ * Finset.univ.expect fun (s : ι) => Finset.univ.expect fun (t : κ) => ∑ x : V with X s x, ∑ y : V with Y t y, |A t x y - B t x y| ^ 4

Reinsertion of the terminal event pays its actual density. Both the padded source rank and the double mean are those of PilotRowRecipe.detector. The score table need not be nonnegative or independent of its terminal seed.

theorem Matrix.HierarchyParams.PilotRowRecipe.detector_row_moment_transport {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (x : V) → Decidable (X s x)] [(t : κ) → (y : V) → Decidable (Y t y)] {Ω : Type u_4} [Fintype Ω] (Xs Z : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (Xs σ x)] [(σ : Ω) → (y : V) → Decidable (Z σ y)] {N u v π : ℝ} (hN : 0 < N) (hu : 0 < u) (hv : 0 < v) (hπ : 0 < π) (hY : ∀ (y : V), π ≤ ↑{t : κ | Y t y}.dens) (A B : Ω → κ → Matrix V V ℝ) :
(Cslib.rowNormPow 4 N u Xs Z fun (σ : Ω) (x y : V) => detector P X Y (A σ) y - detector P X Y (B σ) y) ≤ ↑(Fintype.card V) * v / (u * π) * Cslib.rowNormPow 4 N v (fun (p : Ω × ι × κ) (x : V) => X (sourceCoord p) x) (fun (p : Ω × ι × κ) (y : V) => Y (terminalCoord p) y) fun (p : Ω × ι × κ) (x y : V) => A p.1 (terminalCoord p) x y - B p.1 (terminalCoord p) x y

The literal detector payment is a score row moment on the full product of its outer coordinates and its two actual integration variables. The parent source costs one vertex width; source normalization changes by v/u. Terminal conditioning costs 1/π. No source coordinate or spectator dependency is discarded from the child norm.