OAI/Computability/UniqueGames/Gadgets/ActualGadgetLemmas.lean
25 declarations, 0 contain sorry, 0 declared as axioms
Actual finite binary-vector-space gadgets and their uniform experiments. The existence statement is the target of the recursive construction, not an assumed theorem. Noise is indexed by a nonempty finite type; repeated vector values therefore keep their intended multiplicities.
- abbrev
OAI.UniqueGamesTheorem.Gadget.ActualGadget.F2line 19 - structure
OAI.UniqueGamesTheorem.Gadget.ActualGadget.Dataline 21 - def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.failureIndicatorline 41Source documentation
The actual output-change indicator before taking a finite average.
noncomputable def failureIndicator (g : Data C) (sample : g.Ambient × g.NoiseIndex) : ℚ := by …
- def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.stabilityErrorline 46Source documentation
Uniform ambient input, independently uniform noise-list index.
noncomputable def stabilityError (g : Data C) : ℚ := …
- def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.kernelIndicatorline 50Source documentation
The actual zero-image event for a linear map.
noncomputable def kernelIndicator (g : Data C) {P : Type} [AddCommGroup P] [Module F2 P] (S : g.Ambient →ₗ[F2] P) (i : g.NoiseIndex) : ℚ := by …Mentions: OAI.UniqueGamesTheorem.Gadget.ActualGadget.Data, OAI.UniqueGamesTheorem.Gadget.ActualGadget.F2
- def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.kernelErrorline 55 - theorem
OAI.UniqueGamesTheorem.Gadget.ActualGadget.stabilityError_nonnegline 59 - theorem
OAI.UniqueGamesTheorem.Gadget.ActualGadget.stabilityError_le_oneline 66 - theorem
OAI.UniqueGamesTheorem.Gadget.ActualGadget.kernelError_nonnegline 73 - theorem
OAI.UniqueGamesTheorem.Gadget.ActualGadget.kernelError_le_oneline 81 - def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.leafline 90Source documentation
The actual identity leaf, with every symbol vector used once as noise.
def leaf (C : Type) [AddCommGroup C] [Module F2 C] [Fintype C] : Data C where …
Mentions: OAI.UniqueGamesTheorem.Gadget.ActualGadget.F2, OAI.UniqueGamesTheorem.Gadget.ActualGadget.Data
- def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.Satisfiesline 100Source documentation
The stability and dispersion claim of Theorem 3.4 for fixed errors and rank.
def Satisfies (g : Data C) (ζ ν : ℚ) (r : Nat) : Prop := …
- def
OAI.UniqueGamesTheorem.Gadget.ActualGadget.StableNonlinearDispersionline 106Source documentation
The mathematical existence target.
def StableNonlinearDispersion : Prop := …
- def
OAI.UniqueGamesTheorem.Gadget.StageData.toDataline 129Source documentation
The normalized stage's actual data, with its original finite noise choices. Passing the inclusion explicitly avoids dependent casts of the shift carrier.
def toData (s : Stage (ZMod 2) C) (embed : C →ₗ[ZMod 2] s.Input) (hinj : Function.Injective embed) (hEquiv : ∀ u c, s.output (u + embed c) = s.output u + c) : ActualGadget.Data C where …Mentions: OAI.UniqueGamesTheorem.Gadget.Stage, OAI.UniqueGamesTheorem.Gadget.ActualGadget.Data
- theorem
OAI.UniqueGamesTheorem.Gadget.StageData.count_probability_eq_expectline 143Source documentation
Intrinsic count probability and uniform finite expectation are identical.
theorem count_probability_eq_expect {Ω : Type*} [Fintype Ω] (p : Ω → Prop) : Enlargement.probability p = 𝔼 x : Ω, if p x then (1 : ℚ) else 0 := by …Mentions: OAI.UniqueGamesTheorem.Gadget.Enlargement.probability
- theorem
OAI.UniqueGamesTheorem.Gadget.StageData.count_probability_eq_harmonicline 150 - theorem
OAI.UniqueGamesTheorem.Gadget.StageData.stabilityError_toDataline 158 - theorem
OAI.UniqueGamesTheorem.Gadget.StageData.stabilityError_toData_countline 172 - theorem
OAI.UniqueGamesTheorem.Gadget.StageData.error_eq_count_probabilityline 189 - theorem
OAI.UniqueGamesTheorem.Gadget.StageData.kernelError_toData_countline 202 - theorem
OAI.UniqueGamesTheorem.Gadget.StageData.kernelError_eq_one_sub_detectionline 216Source documentation
The common interface's zero-image error is exactly the complement of the nonzero-image detection probability.
theorem kernelError_eq_one_sub_detection (s : Stage (ZMod 2) C) [Fintype s.Noise] (embed : C →ₗ[ZMod 2] s.Input) (hinj : Function.Injective embed) (hEquiv : ∀ u c, s.output (u + embed c) = s.output u + c) {E : Type} [AddCommGroup E] [Module (ZMod 2) E] (T : s.Input →ₗ[ZMod 2] E) : ActualGadget.kernelError (toData s embed hinj hEquiv) T = 1 - Enlargement.probability (fun n : s.Noise => T (s.noise n) ≠ 0) := by …Mentions: OAI.UniqueGamesTheorem.Gadget.Stage, OAI.UniqueGamesTheorem.Gadget.ActualGadget.kernelError, OAI.UniqueGamesTheorem.Gadget.StageData.toData, OAI.UniqueGamesTheorem.Gadget.Enlargement.probability
- theorem
OAI.UniqueGamesTheorem.Gadget.StageData.kernelError_le_of_detectionline 237 - def
OAI.UniqueGamesTheorem.Gadget.EnlargementEndpoint.dataline 278 - theorem
OAI.UniqueGamesTheorem.Gadget.EnlargementEndpoint.data_satisfiesline 288Source documentation
Base stability and base detection suffice for the complete enlarged gadget. Its detection error is the fixed constant
7/8.theorem data_satisfies (i : B →ₗ[ZMod 2] V) (hi : Function.Injective i) (C : V → B) (hC : ∀ x b, C (x + i b) = C x + b) (noise : N → V) (hdim : Module.finrank (ZMod 2) B ≤ Module.finrank (ZMod 2) K) (b₀ : B) (hb₀ : b₀ ≠ 0) (p : ℚ) (hchange : probability (fun z : V × N => C (z.1 + noise z.2) ≠ C z.1) ≤ p) (hbase : ∀ (E : Type) [AddCommGroup E] [Module (ZMod 2) E] (U : V →ₗ[ZMod 2] E), Function.Injective (U.comp i) → 1 / 4 ≤ probability (fun n : N => U (noise n) ≠ 0)) : ActualGadget.Satisfies (data i hi C hC noise hdim b₀ hb₀) p (7 / 8) (Module.finrank (ZMod 2) B + 2) := by …Mentions: OAI.UniqueGamesTheorem.Gadget.ActualGadget.Satisfies, OAI.UniqueGamesTheorem.Gadget.EnlargementEndpoint.data
- theorem
OAI.UniqueGamesTheorem.Gadget.EnlargementEndpoint.exists_dataline 319Source documentation
For every permitted logical space there is an actual gadget. The rank threshold
dim B + 2and all base data are independent of that space.theorem exists_data (i : B →ₗ[ZMod 2] V) (hi : Function.Injective i) (C : V → B) (hC : ∀ x b, C (x + i b) = C x + b) (noise : N → V) (hdim : Module.finrank (ZMod 2) B ≤ Module.finrank (ZMod 2) K) (b₀ : B) (hb₀ : b₀ ≠ 0) (p : ℚ) (hchange : probability (fun z : V × N => C (z.1 + noise z.2) ≠ C z.1) ≤ p) (hbase : ∀ (E : Type) [AddCommGroup E] [Module (ZMod 2) E] (U : V →ₗ[ZMod 2] E), Function.Injective (U.comp i) → 1 / 4 ≤ probability (fun n : N => U (noise n) ≠ 0)) : ∃ g : ActualGadget.Data K, ActualGadget.Satisfies g p (7 / 8) (Module.finrank (ZMod 2) B + 2) := …Mentions: OAI.UniqueGamesTheorem.Gadget.ActualGadget.Data, OAI.UniqueGamesTheorem.Gadget.ActualGadget.Satisfies