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

16 declarations, 1 contain sorry, 0 declared as axioms

  1. structure OAI.LargeIndependentSets.Literal line 7

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:7 (same declaration text).

  2. structure OAI.LargeIndependentSets.Formula line 12

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:12 (same declaration text).

  3. def OAI.LargeIndependentSets.Formula.Satisfiable line 16

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:16 (same declaration text).

  4. def OAI.LargeIndependentSets.frame Binary framing: true,b for a payload bit and false as terminator line 21

    Source documentation

    Binary framing: true,b for a payload bit and false as terminator.

    L4DEL explanation

    Binary framing: true,b for a payload bit and false as terminator.

    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/IndependentSets/Model.lean:21 (same declaration text).

    def frame : List Bool → List Bool
      | [] => [false]
      | b :: bs => true :: b :: frame bs
  5. def OAI.LargeIndependentSets.nameBits line 25

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

  6. def OAI.LargeIndependentSets.literalBits line 27

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:27 (same declaration text).

  7. def OAI.LargeIndependentSets.clauseBits line 29

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:29 (same declaration text).

  8. def OAI.LargeIndependentSets.formulaBits line 32

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:32 (same declaration text).

  9. structure OAI.LargeIndependentSets.Graph A nonempty, finite, simple, undirected, unweighted graph line 36

    Source documentation

    A nonempty, finite, simple, undirected, unweighted graph.

    L4DEL explanation

    A nonempty, finite, simple, undirected, unweighted graph.

    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/IndependentSets/Model.lean:36 (same declaration text).

    structure Graph where
    …
  10. def OAI.LargeIndependentSets.Graph.Independent line 43

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:43 (same declaration text).

  11. instance OAI.LargeIndependentSets.(instance at line 46) line 46
  12. def OAI.LargeIndependentSets.Graph.independenceNumber line 49

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:49 (same declaration text).

  13. def OAI.LargeIndependentSets.Graph.ThreeColorable line 52

    Also declared: OAI/Combinatorics/IndependentSets/Model.lean:52 (same declaration text).

  14. def OAI.LargeIndependentSets.graphBits Full explicit adjacency matrix, row-major, with binary vertex count line 57

    Source documentation

    Full explicit adjacency matrix, row-major, with binary vertex count.

    L4DEL explanation

    Full explicit adjacency matrix, row-major, with binary vertex count.

    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/IndependentSets/Model.lean:57 (same declaration text).

    def graphBits (G : Graph) : List Bool :=
    …

    Mentions: OAI.LargeIndependentSets.Graph

  15. structure OAI.LargeIndependentSets.RealGraphReduction Polynomial-time graph reduction with a real independence-ratio threshold line 65

    Source documentation

    Polynomial-time graph reduction with a real independence-ratio threshold.

    L4DEL explanation

    Polynomial-time graph reduction with a real independence-ratio threshold.

    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/IndependentSets/Model.lean:65 (same declaration text).

    structure RealGraphReduction (δ : ℝ) where
    …
  16. theorem OAI.LargeIndependentSets.mainTheoremReal Challenge statement: Hardness of coloring three-colorable graphs sorry line 77

    Source documentation

    Real-threshold graph reduction with explicit binary runtime and output-size bounds.

    L4DEL explanation

    The formalized result shows hardness of finding large independent sets even under a three-colorability promise. For every fixed $0<\delta<1/3$, a deterministic polynomial-time reduction maps binary 3SAT formulas to nonempty finite simple graphs. Satisfiable formulas produce three-colorable graphs; unsatisfiable formulas produce graphs whose largest independent set has fewer than $\delta$ times the number of vertices. The complete adjacency-matrix output is included in the runtime bound.

    1. This is an exact comparator target linked by the pinned repository's formalization note for this result.
    2. The repository's comparator configuration selects OAI.Combinatorics.IndependentSets.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Combinatorics/IndependentSets/Main.lean:124 (same statement text; different proof or body). Qualify references as OAI.LargeIndependentSets.mainTheoremReal@path.

    theorem mainTheoremReal :
        ∀ δ : ℝ, 0 < δ → δ < 1 / 3 → Nonempty (RealGraphReduction δ) := by
    …

    Mentions: OAI.LargeIndependentSets.RealGraphReduction