ComparatorChallenges/KMedianThreshold.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
20 declarations, 1 contain sorry, 0 declared as axioms
- structure
OAI.MetricKMedian.Instanceline 9Also declared: ComparatorChallenges/MetricKMedian.lean:12 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:12 (same declaration text).
- def
OAI.MetricKMedian.encodeNatline 22Also declared: ComparatorChallenges/MetricKMedian.lean:25 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:25 (same declaration text).
- def
OAI.MetricKMedian.encodeRatline 25Also declared: ComparatorChallenges/MetricKMedian.lean:28 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:28 (same declaration text).
- def
OAI.MetricKMedian.encodeInstanceline 28Also declared: ComparatorChallenges/MetricKMedian.lean:31 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:31 (same declaration text).
- def
OAI.MetricKMedian.nearestline 35Also declared: ComparatorChallenges/MetricKMedian.lean:38 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:38 (same declaration text).
- def
OAI.MetricKMedian.costline 40Also declared: ComparatorChallenges/MetricKMedian.lean:43 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:43 (same declaration text).
- def
OAI.MetricKMedian.feasibleSetsline 43Also declared: ComparatorChallenges/MetricKMedian.lean:46 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:46 (same declaration text).
- def
OAI.MetricKMedian.optimumline 46Also declared: ComparatorChallenges/MetricKMedian.lean:49 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:49 (same declaration text).
- def
OAI.MetricKMedian.Correctline 51Also declared: ComparatorChallenges/MetricKMedian.lean:54 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:54 (same declaration text).
- def
OAI.MetricKMedian.Complexity.FinitePolyTimePolynomial-time computation with every physical work alphabet finite line 63Source documentation
Polynomial-time computation with every physical work alphabet finite.
L4DEL explanation
Polynomial-time computation with every physical work alphabet finite.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:9 (same declaration text).
def FinitePolyTime {α β : Type} (ea : α → List Bool) (eb : β → List Bool) (f : α → β) : Prop := … - abbrev
OAI.MetricKMedian.Complexity.Wordline 68Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:14 (same declaration text).
- abbrev
OAI.MetricKMedian.Complexity.Languageline 69Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:15 (same declaration text).
- def
OAI.MetricKMedian.Complexity.encodeBitline 71Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:17 (same declaration text).
- def
OAI.MetricKMedian.Complexity.encodePairline 73Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:19 (same declaration text).
- def
OAI.MetricKMedian.Complexity.Pline 76Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:22 (same declaration text).
- def
OAI.MetricKMedian.Complexity.NPline 79Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:25 (same declaration text).
- def
OAI.MetricKMedian.Complexity.PNeNPSeparation of deterministic polynomial time from finite-verifier nondeterministic polynomial time line 84Source documentation
Separation of deterministic polynomial time from finite-verifier nondeterministic polynomial time.
L4DEL explanation
Separation of deterministic polynomial time from finite-verifier nondeterministic polynomial time.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:30 (same declaration text).
def PNeNP : Prop := P ≠ NP …
Mentions: OAI.MetricKMedian.Complexity.P, OAI.MetricKMedian.Complexity.NP
- def
OAI.MetricKMedian.FactorCorrectAn actual nonempty feasible facility set, encoded by its membership mask line 88Source documentation
An actual nonempty feasible facility set, encoded by its membership mask.
L4DEL explanation
An actual nonempty feasible facility set, encoded by its membership mask.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:34 (same declaration text).
def FactorCorrect (α : ℝ) (I : Instance) (output : List Bool) : Prop := …
Mentions: OAI.MetricKMedian.Instance
- def
OAI.MetricKMedian.approximationFactorsDeterministic polynomial-time approximation factors for arbitrary specified clients and facilities line 94Source documentation
Deterministic polynomial-time approximation factors for arbitrary specified clients and facilities.
L4DEL explanation
Deterministic polynomial-time approximation factors for arbitrary specified clients and facilities.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:40 (same declaration text).
def approximationFactors : Set ℝ := {α | ∃ algorithm : Instance → List Bool, …Mentions: OAI.MetricKMedian.Instance
- theorem
OAI.MetricKMedian.thresholdChallenge statement: Exact approximation threshold under $P\ne NP$ sorry line 102Source documentation
The deterministic approximation threshold is an infimum; its attainment is not asserted.
L4DEL explanation
The deterministic approximation threshold is an infimum; its attainment is not asserted.
- This explanation is a condensed rendering of this declaration's own doc comment at the pinned source commit.
- The linked formalization note covers 4 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KMedian.Threshold as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KMedian/Threshold.lean:25 (same statement text; different proof or body). Qualify references as OAI.MetricKMedian.threshold@path.
theorem threshold (h : Complexity.PNeNP) : sInf approximationFactors=1+2/Real.exp 1 := by …Mentions: OAI.MetricKMedian.Complexity.PNeNP, OAI.MetricKMedian.approximationFactors