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

2 declarations, 1 contain sorry, 0 declared as axioms

  1. def OAI.SquareDifference.IsSquareDifferenceFree line 7

    Also declared: OAI/Combinatorics/SquareDifference/GaussSum.lean:13 (same declaration text).

  2. theorem OAI.SquareDifference.power_saving Challenge statement: Power savings for intersective polynomial differences and prime arguments sorry line 10

    L4DEL explanation

    The formalization proves a fixed power saving for sets with no nonzero square difference. There are absolute constants $c>0$ and $C$ such that every $A\subseteq\{1,\ldots,N\}$ satisfying $a-b\ne m^2$ for all $a,b\in A$ and integers $m\ge1$ has $|A|\le C N^{1-c}$. The bound is uniform for every integer $N\ge1$.

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

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Combinatorics/SquareDifference/Main.lean:83 (different declaration text). Qualify references as OAI.SquareDifference.power_saving@path.

    theorem power_saving :
        ∃ c C : ℝ, 0 < c ∧ ∀ N : ℕ, 1 ≤ N → ∀ A : Finset ℤ,
          A ⊆ Finset.Icc 1 (N : ℤ) → SquareDifference.IsSquareDifferenceFree A →
            (A.card : ℝ) ≤ C * (N : ℝ) ^ (1 - c) := by
    …

    Mentions: OAI.SquareDifference.IsSquareDifferenceFree