ComparatorChallenges/KMedianThreshold.lean

GitHub source file

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

  1. structure OAI.MetricKMedian.Instance line 9

    Also declared: ComparatorChallenges/MetricKMedian.lean:12 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:12 (same declaration text).

  2. def OAI.MetricKMedian.encodeNat line 22

    Also declared: ComparatorChallenges/MetricKMedian.lean:25 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:25 (same declaration text).

  3. def OAI.MetricKMedian.encodeRat line 25

    Also declared: ComparatorChallenges/MetricKMedian.lean:28 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:28 (same declaration text).

  4. def OAI.MetricKMedian.encodeInstance line 28

    Also declared: ComparatorChallenges/MetricKMedian.lean:31 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:31 (same declaration text).

  5. def OAI.MetricKMedian.nearest line 35

    Also declared: ComparatorChallenges/MetricKMedian.lean:38 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:38 (same declaration text).

  6. def OAI.MetricKMedian.cost line 40

    Also declared: ComparatorChallenges/MetricKMedian.lean:43 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:43 (same declaration text).

  7. def OAI.MetricKMedian.feasibleSets line 43

    Also declared: ComparatorChallenges/MetricKMedian.lean:46 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:46 (same declaration text).

  8. def OAI.MetricKMedian.optimum line 46

    Also declared: ComparatorChallenges/MetricKMedian.lean:49 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:49 (same declaration text).

  9. def OAI.MetricKMedian.Correct line 51

    Also declared: ComparatorChallenges/MetricKMedian.lean:54 (same declaration text), OAI/Combinatorics/KMedian/Model.lean:54 (same declaration text).

  10. def OAI.MetricKMedian.Complexity.FinitePolyTime Polynomial-time computation with every physical work alphabet finite line 63

    Source documentation

    Polynomial-time computation with every physical work alphabet finite.

    L4DEL explanation

    Polynomial-time computation with every physical work alphabet finite.

    1. 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 :=
    …
  11. abbrev OAI.MetricKMedian.Complexity.Word line 68

    Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:14 (same declaration text).

  12. abbrev OAI.MetricKMedian.Complexity.Language line 69

    Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:15 (same declaration text).

  13. def OAI.MetricKMedian.Complexity.encodeBit line 71

    Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:17 (same declaration text).

  14. def OAI.MetricKMedian.Complexity.encodePair line 73

    Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:19 (same declaration text).

  15. def OAI.MetricKMedian.Complexity.P line 76

    Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:22 (same declaration text).

  16. def OAI.MetricKMedian.Complexity.NP line 79

    Also declared: OAI/Combinatorics/KMedian/Hardness/Model.lean:25 (same declaration text).

  17. def OAI.MetricKMedian.Complexity.PNeNP Separation of deterministic polynomial time from finite-verifier nondeterministic polynomial time line 84

    Source 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.

    1. 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

  18. def OAI.MetricKMedian.FactorCorrect An actual nonempty feasible facility set, encoded by its membership mask line 88

    Source 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.

    1. 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

  19. def OAI.MetricKMedian.approximationFactors Deterministic polynomial-time approximation factors for arbitrary specified clients and facilities line 94

    Source 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.

    1. 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

  20. theorem OAI.MetricKMedian.threshold Challenge statement: Exact approximation threshold under $P\ne NP$ sorry line 102

    Source 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.

    1. This explanation is a condensed rendering of this declaration's own doc comment at the pinned source commit.
    2. The linked formalization note covers 4 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    3. 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