Documentation

CslibFrontier.Computability.LogSpaceDerandomization.HierarchyChannelTransport

Spectator transport for genuine hierarchy targets #

The detector, final pilot, correction iterates and residual are unchanged when each seed is represented by one coordinate of a larger uniform product. In particular the source and terminal coordinates can be chosen independently: changing the source role preserves these deterministic targets, with the channel predicates (and hence their rates and identifier padding) fixed.

This is a prerequisite for identifying the targets of actual left and negative requests. It does not identify a canonical raw request family or prove a conditional mean of a product on the single shared environment. Different padded identifier maps also need a separate channel transport; the theorem does not silently identify their distributions. The transport proofs are Christian Reitwiessner's original work; the hierarchy construction is adapted from Samuel Schlesinger's work.

theorem Matrix.columnDetector_equiv {V : Type u_1} {A : Type u_2} {B : Type u_3} [Fintype V] [Fintype A] [Fintype B] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {A' : Type u_6} {B' : Type u_7} [Fintype A'] [Fintype B'] (e : A ≃ A') (d : B ≃ B') (X' : A' → V → Prop) (Y' : B' → V → Prop) [(a : A') → (v : V) → Decidable (X' a v)] [(b : B') → (v : V) → Decidable (Y' b v)] (hX : ∀ (a : A) (v : V), X a v ↔ X' (e a) v) (hY : ∀ (b : B) (v : V), Y b v ↔ Y' (d b) v) (ϕ ρ : ℝ → ℝ) (J K : ℕ) (f : ℝ) (G : Matrix V V ℝ) :
columnDetector X Y ϕ ρ J K f G = columnDetector X' Y' ϕ ρ J K f G

Relabelling both finite seeds preserves the actual detector, including its conditioning. The equalities concern channel predicates, not a desired detector value.

theorem Matrix.columnDetector_source_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Fintype R] [DecidableEq R] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] (s : R) (ϕ ρ : ℝ → ℝ) (J K : ℕ) (f : ℝ) (G : Matrix V V ℝ) :
columnDetector (fun (σ : R → A) (v : V) => X (σ s) v) Y ϕ ρ J K f G = columnDetector X Y ϕ ρ J K f G

Integrating a source coordinate leaves the original detector. The terminal seed and its conditioning are unchanged, so it can subsequently be shared with another child.

theorem Matrix.columnDetector_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} {T : Type u_5} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Nonempty B] [Fintype R] [DecidableEq R] [Fintype T] [DecidableEq T] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] (s : R) (t : T) (ϕ ρ : ℝ → ℝ) (J K : ℕ) (f : ℝ) (G : Matrix V V ℝ) :
columnDetector (fun (σ : R → A) (v : V) => X (σ s) v) (fun (σ : T → B) (v : V) => Y (σ t) v) ϕ ρ J K f G = columnDetector X Y ϕ ρ J K f G

Exact detector transport, including the terminal conditioning event and all spectators. Source and terminal coordinates belong to the detector's two independent seed arguments; this is not an assertion that estimated factors on one environment are independent.

theorem Matrix.HierarchyParams.pilot_equiv {V : Type u_1} {A : Type u_2} {B : Type u_3} [Fintype V] [Fintype A] [Fintype B] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (f : ℝ) (C : Matrix V V ℝ) {A' : Type u_6} {B' : Type u_7} [Fintype A'] [Fintype B'] (e : A ≃ A') (d : B ≃ B') (X' : A' → V → Prop) (Y' : B' → V → Prop) [(a : A') → (v : V) → Decidable (X' a v)] [(b : B') → (v : V) → Decidable (Y' b v)] (hX : ∀ (a : A) (v : V), X a v ↔ X' (e a) v) (hY : ∀ (b : B) (v : V), Y b v ↔ Y' (d b) v) :
P.pilot X Y f C = P.pilot X' Y' f C

Genuine pilot transport under exact relabelling of both channel seeds.

theorem Matrix.HierarchyParams.correctionIter_equiv {V : Type u_1} {A : Type u_2} {B : Type u_3} [Fintype V] [Fintype A] [Fintype B] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (f : ℝ) (C : Matrix V V ℝ) {A' : Type u_6} {B' : Type u_7} [Fintype A'] [Fintype B'] (e : A ≃ A') (d : B ≃ B') (X' : A' → V → Prop) (Y' : B' → V → Prop) [(a : A') → (v : V) → Decidable (X' a v)] [(b : B') → (v : V) → Decidable (Y' b v)] (hX : ∀ (a : A) (v : V), X a v ↔ X' (e a) v) (hY : ∀ (b : B) (v : V), Y b v ↔ Y' (d b) v) (i : ℕ) :
P.correctionIter X Y f C i = P.correctionIter X' Y' f C i

Genuine correction transport under exact channel relabelling.

theorem Matrix.HierarchyParams.pilot_source_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Fintype R] [DecidableEq R] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (f : ℝ) (C : Matrix V V ℝ) :
P.pilot (fun (σ : R → A) (v : V) => X (σ s) v) Y f C = P.pilot X Y f C

Genuine pilot target after integrating all source spectators.

theorem Matrix.HierarchyParams.correctionIter_source_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Fintype R] [DecidableEq R] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (f : ℝ) (C : Matrix V V ℝ) (i : ℕ) :
P.correctionIter (fun (σ : R → A) (v : V) => X (σ s) v) Y f C i = P.correctionIter X Y f C i

Actual correction target after integrating the source spectators.

theorem Matrix.HierarchyParams.pilot_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} {T : Type u_5} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Nonempty B] [Fintype R] [DecidableEq R] [Fintype T] [DecidableEq T] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (t : T) (f : ℝ) (C : Matrix V V ℝ) :
P.pilot (fun (σ : R → A) (v : V) => X (σ s) v) (fun (σ : T → B) (v : V) => Y (σ t) v) f C = P.pilot X Y f C

The true pilot is invariant under coordinate representation of both channels.

theorem Matrix.HierarchyParams.correctionIter_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} {T : Type u_5} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Nonempty B] [Fintype R] [DecidableEq R] [Fintype T] [DecidableEq T] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (t : T) (f : ℝ) (C : Matrix V V ℝ) (i : ℕ) :
P.correctionIter (fun (σ : R → A) (v : V) => X (σ s) v) (fun (σ : T → B) (v : V) => Y (σ t) v) f C i = P.correctionIter X Y f C i

Every genuine correction iterate has the same target after source-role reset.

theorem Matrix.HierarchyParams.correctionInput_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} {T : Type u_5} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Nonempty B] [Fintype R] [DecidableEq R] [Fintype T] [DecidableEq T] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (t : T) (f : ℝ) (C : Matrix V V ℝ) (i : ℕ) :
P.correctionInput (fun (σ : R → A) (v : V) => X (σ s) v) (fun (σ : T → B) (v : V) => Y (σ t) v) f C i = P.correctionInput X Y f C i

The genuine raw input retains its matrix units under spectator transport.

theorem Matrix.HierarchyParams.correction_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} {T : Type u_5} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Nonempty B] [Fintype R] [DecidableEq R] [Fintype T] [DecidableEq T] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (t : T) (f : ℝ) (C : Matrix V V ℝ) :
P.correction (fun (σ : R → A) (v : V) => X (σ s) v) (fun (σ : T → B) (v : V) => Y (σ t) v) f C = P.correction X Y f C

The actual final correction, rather than an arbitrary reference, is transported.

theorem Matrix.HierarchyParams.residual_pi {V : Type u_1} {A : Type u_2} {B : Type u_3} {R : Type u_4} {T : Type u_5} [Fintype V] [Fintype A] [Nonempty A] [Fintype B] [Nonempty B] [Fintype R] [DecidableEq R] [Fintype T] [DecidableEq T] (X : A → V → Prop) (Y : B → V → Prop) [(a : A) → (v : V) → Decidable (X a v)] [(b : B) → (v : V) → Decidable (Y b v)] {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (s : R) (t : T) (f : ℝ) (C : Matrix V V ℝ) :
P.residual (fun (σ : R → A) (v : V) => X (σ s) v) (fun (σ : T → B) (v : V) => Y (σ t) v) f C = P.residual X Y f C

The genuine residual C-E+EC is invariant under adding spectator coordinates.