ComparatorChallenges/PerfectCompleteness.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
31 declarations, 1 contain sorry, 0 declared as axioms
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.encodeWordline 7Also declared: ComparatorChallenges/UniqueGamesTheorem.lean:147 (same declaration text), OAI/Computability/UniqueGames/Model.lean:147 (same declaration text).
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.encodeWordsline 9Also declared: ComparatorChallenges/UniqueGamesTheorem.lean:149 (same declaration text), OAI/Computability/UniqueGames/Model.lean:149 (same declaration text).
- def
OAI.UniqueGamesTheorem.Foundations.Complexity.MachineFiniteAlphabet.FiniteAlphabetline 19Also declared: ComparatorChallenges/UniqueGamesTheorem.lean:178 (same declaration text), OAI/Computability/UniqueGames/Model.lean:178 (same declaration text).
- structure
OAI.PerfectCompleteness.BinaryFormula.Literalline 25Also declared: OAI/Computability/PerfectCompleteness/Model.lean:8 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryFormula.Literal.evalline 30Also declared: OAI/Computability/PerfectCompleteness/Model.lean:13 (same declaration text).
- abbrev
OAI.PerfectCompleteness.BinaryFormula.Clauseline 33Also declared: OAI/Computability/PerfectCompleteness/Model.lean:16 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryFormula.Clause.evalline 35Also declared: OAI/Computability/PerfectCompleteness/Model.lean:18 (same declaration text).
- structure
OAI.PerfectCompleteness.BinaryFormula.Formulaline 38Also declared: OAI/Computability/PerfectCompleteness/Model.lean:21 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryFormula.Formula.Satisfiableline 41Also declared: OAI/Computability/PerfectCompleteness/Model.lean:24 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.bitsValueline 50Also declared: OAI/Computability/PerfectCompleteness/Model.lean:33 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.parseFrameline 54Also declared: OAI/Computability/PerfectCompleteness/Model.lean:37 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.parseNameline 61Also declared: OAI/Computability/PerfectCompleteness/Model.lean:44 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.parseLiteralline 66Also declared: OAI/Computability/PerfectCompleteness/Model.lean:49 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.parseClauseline 72Also declared: OAI/Computability/PerfectCompleteness/Model.lean:55 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.parseClausesline 78Also declared: OAI/Computability/PerfectCompleteness/Model.lean:61 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryEncoding.decodeFormulaline 87Also declared: OAI/Computability/PerfectCompleteness/Model.lean:70 (same declaration text).
- def
OAI.PerfectCompleteness.BinaryLanguage.languageline 95Also declared: OAI/Computability/PerfectCompleteness/Model.lean:78 (same declaration text).
- structure
OAI.PerfectCompleteness.ProjectionTableline 102Also declared: OAI/Computability/PerfectCompleteness/Model.lean:85 (same declaration text).
- structure
OAI.PerfectCompleteness.Edgeline 107Also declared: OAI/Computability/PerfectCompleteness/Model.lean:90 (same declaration text).
- structure
OAI.PerfectCompleteness.Instanceline 112Also declared: OAI/Computability/PerfectCompleteness/Model.lean:95 (same declaration text).
- abbrev
OAI.PerfectCompleteness.Labelingline 118Also declared: OAI/Computability/PerfectCompleteness/Model.lean:101 (same declaration text).
- def
OAI.PerfectCompleteness.Edge.satisfiedline 121Also declared: OAI/Computability/PerfectCompleteness/Model.lean:104 (same declaration text).
- def
OAI.PerfectCompleteness.countSatisfiedline 125Also declared: OAI/Computability/PerfectCompleteness/Model.lean:108 (same declaration text).
- def
OAI.PerfectCompleteness.Instance.maxSatisfiedline 134Also declared: OAI/Computability/PerfectCompleteness/Model.lean:117 (same declaration text).
- def
OAI.PerfectCompleteness.Instance.valueline 137Also declared: OAI/Computability/PerfectCompleteness/Model.lean:120 (same declaration text).
- def
OAI.PerfectCompleteness.Encoding.tableWordsline 146Also declared: OAI/Computability/PerfectCompleteness/Model.lean:129 (same declaration text).
- def
OAI.PerfectCompleteness.Encoding.edgeWordsline 149Also declared: OAI/Computability/PerfectCompleteness/Model.lean:132 (same declaration text).
- def
OAI.PerfectCompleteness.Encoding.gameWordsline 152Also declared: OAI/Computability/PerfectCompleteness/Model.lean:135 (same declaration text).
- def
OAI.PerfectCompleteness.Encoding.gameBitsline 156Also declared: OAI/Computability/PerfectCompleteness/Model.lean:139 (same declaration text).
- structure
OAI.PerfectCompleteness.BinaryGapReductionline 165Also declared: OAI/Computability/PerfectCompleteness/Model.lean:148 (same declaration text).
- theorem
OAI.PerfectCompleteness.Theorem11.exists_reductionChallenge statement: Perfect completeness for 2-to-1 games sorry line 179L4DEL explanation
The formalized result establishes perfect-completeness hardness for 2-to-1 games. For every fixed rational $0<\delta<1$, a deterministic polynomial-time reduction from binary 3SAT produces a nonempty unweighted game of value exactly $1$ on satisfiable inputs and at most $\delta$ on unsatisfiable inputs. Each constraint projection has exactly two preimages for each output label. The alphabet depends only on $\delta$, and the runtime is measured in the original input bit length.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Computability.PerfectCompleteness.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Computability/PerfectCompleteness/Theorem11.lean:21 (different declaration text). Qualify references as OAI.PerfectCompleteness.Theorem11.exists_reduction@path.
Checked implications (found by the pipeline and checked by Lean's kernel when it ran; a recorded result, not checked again in this build: what these are)
Gives
- together with
OAI.BinPackingGap.NumericalSize.positive, gives∀ {I : OAI.BinPackingGap.Instance} (s : OAI.BinPackingGap.NumericalSize I), ↑s < 1 → Nonempty (OAI.PerfectCompleteness.BinaryGapReduction ↑s)(short composition) checked derivation
1 more checked entries are routine (the same statement, a restatement, a generated lemma, one challenge file, a field of a structure, a route the released proof already takes, a duplicate): in the catalogue.
theorem exists_reduction (δ : ℚ) (positive : 0 < δ) (less_than_one : δ < 1) : Nonempty (PerfectCompleteness.BinaryGapReduction δ) := by …