ComparatorChallenges/HalvingLines.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
10 declarations, 1 contain sorry, 0 declared as axioms
- abbrev
OAI.PlanarHalving.Pointline 7Also declared: OAI/Combinatorics/HalvingLines/Model.lean:7 (same declaration text).
- def
OAI.PlanarHalving.orientline 9Also declared: OAI/Combinatorics/HalvingLines/Model.lean:9 (same declaration text).
- def
OAI.PlanarHalving.GeneralPositionline 12Also declared: OAI/Combinatorics/HalvingLines/Model.lean:12 (same declaration text).
- def
OAI.PlanarHalving.sideCountline 16Also declared: OAI/Combinatorics/HalvingLines/Model.lean:16 (same declaration text).
- def
OAI.PlanarHalving.halvingCountline 19Also declared: OAI/Combinatorics/HalvingLines/Model.lean:19 (same declaration text).
- def
OAI.PlanarHalving.slopeline 24Also declared: OAI/Combinatorics/HalvingLines/Model.lean:24 (same declaration text).
- def
OAI.PlanarHalving.Genericline 26Also declared: OAI/Combinatorics/HalvingLines/Model.lean:26 (same declaration text).
- def
OAI.PlanarHalving.belowCountline 36Also declared: OAI/Combinatorics/HalvingLines/Model.lean:36 (same declaration text).
- def
OAI.PlanarHalving.switchCountline 41Also declared: OAI/Combinatorics/HalvingLines/Model.lean:41 (same declaration text).
- theorem
OAI.PlanarHalving.power_boundsChallenge statement: Power savings for planar halving lines and k-sets sorry line 45L4DEL 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.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- 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