ComparatorChallenges/HalvingLines.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. abbrev OAI.PlanarHalving.Point line 7

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

  2. def OAI.PlanarHalving.orient line 9

    Also declared: OAI/Combinatorics/HalvingLines/Model.lean:9 (same declaration text).

  3. def OAI.PlanarHalving.GeneralPosition line 12

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

  4. def OAI.PlanarHalving.sideCount line 16

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

  5. def OAI.PlanarHalving.halvingCount line 19

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

  6. def OAI.PlanarHalving.slope line 24

    Also declared: OAI/Combinatorics/HalvingLines/Model.lean:24 (same declaration text).

  7. def OAI.PlanarHalving.Generic line 26

    Also declared: OAI/Combinatorics/HalvingLines/Model.lean:26 (same declaration text).

  8. def OAI.PlanarHalving.belowCount line 36

    Also declared: OAI/Combinatorics/HalvingLines/Model.lean:36 (same declaration text).

  9. def OAI.PlanarHalving.switchCount line 41

    Also declared: OAI/Combinatorics/HalvingLines/Model.lean:41 (same declaration text).

  10. theorem OAI.PlanarHalving.power_bounds Challenge statement: Power savings for planar halving lines and k-sets sorry line 45

    L4DEL explanation

    A halving pair in an even planar point set is a pair whose line leaves equally many remaining points on each side. The formalization proves that some absolute $\varepsilon>0$ and $C$ bound the number of halving pairs by $Cn^{4/3-\varepsilon}$ for every sufficiently large even $n$ and every $n$-point set with no three collinear. It also proves a bound of the same form for all level-switch counts under the additional generic-position assumptions in the statement. The constants are existential.

    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.HalvingLines.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Combinatorics/HalvingLines/Main.lean:27 (same statement text; different proof or body). Qualify references as OAI.PlanarHalving.power_bounds@path.

    theorem power_bounds :
        (∃ ε : ℝ, 0 < ε ∧ ∃ C : ℝ, ∃ n₀ : ℕ,
          ∀ n : ℕ, Even n → n₀ ≤ n → ∀ P : Fin n → Point,
            GeneralPosition P → (halvingCount P : ℝ) ≤ C * (n : ℝ) ^ ((4 : ℝ) / 3 - ε)) ∧
        (∃ ε : ℝ, 0 < ε ∧ ∃ C : ℝ,
          ∀ n : ℕ, 1 ≤ n → ∀ P : Fin n → Point, Generic P →
            ∀ k : ℕ, k ≤ n → (switchCount P k : ℝ) ≤ C * (n : ℝ) ^ ((4 : ℝ) / 3 - ε)) :=
    …

    Mentions: OAI.PlanarHalving.Point, OAI.PlanarHalving.GeneralPosition, OAI.PlanarHalving.halvingCount, OAI.PlanarHalving.Generic, OAI.PlanarHalving.switchCount