FormalConjectures/ErdosProblems/438.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: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

3 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 438

References:

Imports (1)
  1. def Erdos438.SquareSumFree A finite set of natural numbers is square-sum-free if the sum of any two of its elements (possibly equal) is not a square line 48 source

    Source documentation

    A finite set of natural numbers is square-sum-free if the sum of any two of its elements (possibly equal) is not a square.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Finset, Nat

    Proof uses: Membership.mem, Not, IsSquare, HAdd.hAdd

    5 instances, coercions and auxiliary constants left out.

    def SquareSumFree (A : Finset ℕ) : Prop :=
    …
  2. def Erdos438.extremalSize The largest size of a square-sum-free subset of {1, …, N} line 52 source

    Source documentation

    The largest size of a square-sum-free subset of {1, …, N}.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: Finset.sup, Finset, Finset.filter, Erdos438.SquareSumFree, Classical.propDecidable, Finset.powerset, Finset.Icc, OfNat.ofNat, Finset.card

    6 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.

    noncomputable def extremalSize (N : ℕ) : ℕ := by
    …
  3. theorem Erdos438.erdos_438 sorry line 68 source

    depends on sorry what this means

    Statement uses: Filter.Tendsto, Nat, Real, HDiv.hDiv, Erdos438.extremalSize, Filter.atTop, nhds, OfNat.ofNat

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    26 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.