ComparatorChallenges/MetricKMedian.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

10 declarations, 1 contain sorry, 0 declared as axioms

  1. structure OAI.MetricKMedian.Instance line 12

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

  2. def OAI.MetricKMedian.encodeNat line 25

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

  3. def OAI.MetricKMedian.encodeRat line 28

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

  4. def OAI.MetricKMedian.encodeInstance line 31

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

  5. def OAI.MetricKMedian.nearest line 38

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

  6. def OAI.MetricKMedian.cost line 43

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

  7. def OAI.MetricKMedian.feasibleSets line 46

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

  8. def OAI.MetricKMedian.optimum line 49

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

  9. def OAI.MetricKMedian.Correct line 54

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

  10. theorem OAI.MetricKMedian.main_finite_work Challenge statement: Deterministic metric $k$-median approximation at the threshold sorry line 59

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 4 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.Combinatorics.KMedian.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Combinatorics/KMedian/Main.lean:54 (different declaration text). Qualify references as OAI.MetricKMedian.main_finite_work@path.

    theorem main_finite_work : ∀ ε : ℝ, 0 < ε →
        ∃ (algorithm : Instance → List Bool) (P : Turing.TM2ComputableInPolyTime encodeInstance id algorithm),
          (∀ k : P.tm.K, Finite (P.tm.Γ k)) ∧ ∀ I, Correct ε I (algorithm I) := by
    …

    Mentions: OAI.MetricKMedian.Instance, OAI.MetricKMedian.encodeInstance, OAI.MetricKMedian.Correct