OAI/Computability/UniqueGames/PCP/FinalConstantsLemmas.lean
44 declarations, 0 contain sorry, 0 declared as axioms
The actual fixed-parameter graph transformation in one PCP amplification round. It preprocesses the input graph, checks all edges of each bounded walk using local endpoint labels, and applies the checked constant-query alphabet reduction. The bounded address list is explicit fixed data shared by every input graph.
- def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.alphabetline 15 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.compositionLossline 16 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.denominatorline 17 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalfline 18 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowSizeline 19 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.smoothingScaleline 20 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.endpointLengthline 21 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.walkLengthline 22 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.gainline 24 - def
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.capline 25 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.denominator_positiveline 27 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalf_positiveline 30 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.walkLength_positiveline 33 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.gain_largeline 36 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.cap_positiveline 43 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.cap_le_oneline 46 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.composed_gapline 52Source documentation
The exact fixed constants make a whole round double the input gap until the fixed positive threshold
capis reached.theorem composed_gap (epsilon : ℝ) (he : 0 ≤ epsilon) : min (2 * epsilon) cap ≤ gain * min (epsilon / (Preprocessing.sizeFactor : ℝ)) (1 / (walkLength : ℝ)) := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.cap, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.gain, OAI.UniqueGamesTheorem.Foundations.PCP.Preprocessing.sizeFactor, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.walkLength
- abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.Labelline 89 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.Addressesline 90 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.PoweredAlphabetline 91 - instance
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.(instance at line 94)line 94 - instance
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.(instance at line 95)line 95 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.PoweredDartline 100 - instance
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.(instance at line 104)line 104 - def
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.selectorsline 106 - def
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.poweredline 113 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.Vertexline 119 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.Dartline 124 - instance
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.(instance at line 127)line 127 - instance
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.(instance at line 136)line 136 - instance
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.(instance at line 139)line 139 - def
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.graphline 141 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.powered_completenessline 146 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.AmplificationRound.completenessline 159 - abbrev
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.Alphabetline 184 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.card_alphabetline 186 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.card_alphabet_eq_finalline 189 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.center_eqline 193Source documentation
The actual six-bit alphabet gives the endpoint length fixed for the round.
theorem center_eq : PoweringSoundness.center (Fintype.card Alphabet) FinalConstants.windowHalf = FinalConstants.endpointLength := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.center, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.Alphabet, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalf, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.endpointLength
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.walkLength_eqline 200Source documentation
Prefix, pivot and suffix together have the fixed odd walk length.
theorem walkLength_eq : 2 * PoweringSoundness.center (Fintype.card Alphabet) FinalConstants.windowHalf + 1 = FinalConstants.walkLength := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.center, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.Alphabet, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalf, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.walkLength
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.spectral_denominator_eqline 207Source documentation
The spectral denominator is exactly 66 at the fixed return parameter.
theorem spectral_denominator_eq : (1 + 2 / (1 - (31 / 32 : ℝ))) + 1 = 66 := by … - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.gain_eqline 213Source documentation
Dividing the actual powering coefficient by the composition loss gives the round coefficient exactly. The large window parameter is not evaluated.
theorem gain_eq : PoweringSoundness.gain 64 FinalConstants.windowHalf (31 / 32) / 12288 = FinalConstants.gain := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.gain, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalf, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.gain
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.gain_card_eqline 231 - theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.scaled_bound_eqline 239Source documentation
Both the coefficient and cap in the actual estimate match the fixed round constants, for every real error parameter.
theorem scaled_bound_eq (ε : ℝ) : (PoweringSoundness.gain (Fintype.card Alphabet) FinalConstants.windowHalf (31 / 32) * min ε (1 / ((2 * PoweringSoundness.center (Fintype.card Alphabet) FinalConstants.windowHalf + 1 : Nat) : ℝ))) / 12288 = FinalConstants.gain * min ε FinalConstants.cap := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.gain, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.Alphabet, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalf, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.center, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.gain, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.cap
- theorem
OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.composed_scaled_gapline 251Source documentation
The composed powering and alphabet-reduction coefficient yields the fixed doubling bound after the checked preprocessing loss.
theorem composed_scaled_gap (ε : ℝ) (hε : 0 ≤ ε) : min (2 * ε) FinalConstants.cap ≤ (PoweringSoundness.gain (Fintype.card Alphabet) FinalConstants.windowHalf (31 / 32) * min (ε / (Preprocessing.sizeFactor : ℝ)) (1 / ((2 * PoweringSoundness.center (Fintype.card Alphabet) FinalConstants.windowHalf + 1 : Nat) : ℝ))) / 12288 := by …Mentions: OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.cap, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.gain, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringFinalConstants.Alphabet, OAI.UniqueGamesTheorem.Foundations.PCP.FinalConstants.windowHalf, OAI.UniqueGamesTheorem.Foundations.PCP.Preprocessing.sizeFactor, OAI.UniqueGamesTheorem.Foundations.PCP.PoweringSoundness.center