OAI/Computability/UniqueGames/PCP/ExpandersLemmas.lean
60 declarations, 0 contain sorry, 0 declared as axioms
Finite existence of the Cayley expander base
The sample space is the actual finite type of indexed Boolean-cube generators. For each nonzero character, the checked sign sampling equivalence supplies its uniform word law. A finite union bound then selects a generator family whose nonconstant character biases are small. There is no random-graph hypothesis.
The fixed numbers below are manipulated symbolically; no enumeration of the generator sample space is executed. The subsequent square-and-zigzag family is a separate construction.
- abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.Generatorsline 36 - def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.badFrequencyline 39Source documentation
The zero character is excluded from the bad-event count.
def badFrequency {n m : Nat} (g : Generators n m) (s : Cube (Fin n)) : ℝ := …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.Generators
- def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.badMassline 43 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.badFrequency_nonnegativeline 46 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.mean_badFrequency_leline 51 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.mean_badMass_leline 63 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.exists_generatorsline 78Source documentation
Actual finite generators with a simultaneous bound for every nonconstant Walsh character. The proof selects a point with bad-event count less than one.
theorem exists_generators (n m : Nat) (hm : 3 * (n + 2) ≤ m) : ∃ g : Generators n m, ∀ s : Cube (Fin n), s ≠ zeroFrequency → |eigenvalue g s| ≤ (1 / 2 : ℝ) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.Generators
- def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.baseDimensionline 99 - def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.initialDegreeline 100 - def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.initialQuarterDegreeline 101 - def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.basePowerline 102 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.base_arithmeticline 104 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.exists_initial_generatorsline 116 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.BaseVertexline 122 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.BasePortline 123 - def
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.baseDegreeline 124 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.card_basePortline 126 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.card_baseVertexline 131 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.exists_baseGraphline 138Source documentation
A genuine finite regular graph with the exact degree/size relation needed for zigzag. Its spectral certificate follows from the actual generator witness.
theorem exists_baseGraph : ∃ H : PoweringWalks.PortGraph BaseVertex BasePort, SpectralReturn.SpectralCertificate H (1 / 100 : ℝ) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PoweringWalks.PortGraph, OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.BaseVertex, OAI.UniqueGamesTheorem.Foundations.PCP.Expanders.BasePort, OAI.UniqueGamesTheorem.Foundations.PCP.SpectralReturn.SpectralCertificate
- def
OAI.UniqueGamesTheorem.Foundations.PCP.GraphTransport.reindexline 161 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.GraphTransport.reindex_rotline 173 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.GraphTransport.operator_reindexline 182 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.GraphTransport.energy_reindexline 191 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.GraphTransport.reindex_spectralCertificateline 197Source documentation
A coordinate change preserves the actual spectral certificate, including the uniform measure on the port alphabet.
theorem reindex_spectralCertificate (G : PortGraph V D) (vertices : V ≃ W) (ports : D ≃ E) (lambda : ℝ) (certificate : SpectralCertificate G lambda) : SpectralCertificate (reindex G vertices ports) lambda where …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.GraphTransport.reindex
- def
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringWalks.lazyRotateline 228 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringWalks.lazyRotate_involutiveline 232 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringWalks.lazyGraphline 240 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringWalks.lazyGraph_rot_falseline 248 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringWalks.lazyGraph_rot_trueline 251 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringLazy.operator_binomialMeanline 262 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringLazy.averagingOperator_lazyline 270 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringLazy.iterate_lazy_eq_binomialMeanline 283Source documentation
The exact Boolean-tape mixture for the actual lazy transition operator.
theorem iterate_lazy_eq_binomialMean [Fintype D] [Nonempty D] (G : PortGraph V D) (n : Nat) (f : V → ℝ) : iterateOperator (lazyGraph G) n f = fun v => LazySmoothing.binomialMean n (fun k => iterateOperator G k f v) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.LazySmoothing.binomialMean
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringLazy.iterate_mem_Iccline 297 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringLazy.lazy_endpoint_modal_transferline 313Source documentation
The modal lower bound survives every allowed nearby actual lazy length.
theorem lazy_endpoint_modal_transfer [Fintype D] [Nonempty D] (G : PortGraph V D) (q M m : Nat) (hq : 1 ≤ q) (hM : 1 ≤ M) (hlo : (4 * q * M) ^ 2 - M ≤ m) (hhi : m ≤ (4 * q * M) ^ 2 + M) (f : V → ℝ) (hf : ∀ w, f w ∈ Set.Icc (0 : ℝ) 1) (v : V) (hmodal : 1 / (q : ℝ) ≤ iterateOperator (lazyGraph G) ((4 * q * M) ^ 2) f v) : 1 / (2 * (q : ℝ)) ≤ iterateOperator (lazyGraph G) m f v := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.LazySpectral.half_sum_sq_leline 337 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.LazySpectral.lazy_energy_le_averageline 342Source documentation
Lazification averages the input and one actual graph step, so its energy is at most the corresponding average of the two energies.
theorem lazy_energy_le_average [Fintype V] [Fintype D] [Nonempty D] (G : PortGraph V D) (f : V → ℝ) : energy (averagingOperator (lazyGraph G) f) ≤ (energy f + energy (averagingOperator G f)) / 2 := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.LazySpectral.lazy_energy_boundline 366Source documentation
The concrete lazy graph inherits a squared-energy bound from an actual certificate for its underlying graph.
theorem lazy_energy_bound [Fintype V] [Fintype D] [Nonempty D] (G : PortGraph V D) (lambda : ℝ) (hG : SpectralCertificate G lambda) (f : V → ℝ) (hf : mean f = 0) : energy (averagingOperator (lazyGraph G) f) ≤ ((1 + lambda ^ 2) / 2) * energy f := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.LazySpectral.lazy_certificate_31_32line 381Source documentation
An actual
7/8certificate gives the stated31/32certificate after lazification: its intermediate squared-energy factor is113/128.theorem lazy_certificate_31_32 [Fintype V] [Fintype D] [Nonempty D] (G : PortGraph V D) (hG : SpectralCertificate G (7 / 8)) : SpectralCertificate (lazyGraph G) (31 / 32) where … - def
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.portConsEquivline 403 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_word_cons_headline 416 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_word_cons_tailline 424 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.iterateOperator_succ_rightline 432 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_wordEndline 439 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_pivot_endpointsline 461Source documentation
Conditional endpoint factorization at an arbitrary fixed pivot dart.
theorem mean_pivot_endpoints [Fintype D] [Nonempty D] (G : PortGraph V D) : ∀ (n : Nat) (k : Fin (n + 1)) (e : Edge V D) (φ ψ : V → ℝ), mean (fun r : Fin n → D => φ (leftFromPivot G n k e.1 r) * ψ (rightFromPivot G n k e r)) = iterateOperator G k.val φ e.1 * iterateOperator G (n - k.val) ψ (next G e.1 e.2) := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_edge_endpointsline 504Source documentation
The pivot and both endpoint opinions are averaged over actual walks.
theorem mean_edge_endpoints [Fintype V] [Fintype D] [Nonempty D] (G : PortGraph V D) (n : Nat) (k : Fin (n + 1)) (φ ψ : Edge V D → V → ℝ) : mean (fun w : Walk V D (n + 1) => φ (edgeAt G n w k) w.1 * ψ (edgeAt G n w k) (endpoint G w)) = mean (fun e : Edge V D => iterateOperator G k.val (φ e) e.1 * iterateOperator G (n - k.val) (ψ e) (next G e.1 e.2)) := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.bit_boolline 528 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_edge_bitline 531 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.mean_marked_bitline 535 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.edgeAt_zeroline 545 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.word_first_hit_meanline 549 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.word_hit_meanline 560 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.word_pair_hit_meanline 587 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.hit_meanline 645 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.pair_hit_meanline 661 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringReturn.pair_event_meanline 682 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringMomentBound.symmetric_gap_matrix_sumline 701 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringMomentBound.windowIndexline 756 - def
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringMomentBound.windowEventline 761 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringMomentBound.window_second_moment_eqline 765 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringMomentBound.window_second_moment_leline 791Source documentation
All moment terms come from actual walk events; the only analytic input is the stated spectral contraction certificate of the given graph.
theorem window_second_moment_le (G : PortGraph V D) (lambda : ℝ) (certificate : SpectralCertificate G lambda) (bad : V × D → Bool) (reversal : ∀ e, bad (G.rot e) = bad e) (n start m : Nat) (h : start + m ≤ n + 1) : mean (fun w => hits (windowEvent G bad n start m h) w ^ 2) ≤ (m : ℝ) * edgeDensity bad * (1 + 2 / (1 - lambda) + ((m : ℝ) - 1) * edgeDensity bad) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PoweringMomentBound.windowEvent