FormalConjectures/Wikipedia/ErdosMoser.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

5 declarations, 1 contain sorry, 0 declared as axioms

The Erdős–Moser equation

For positive integers $k$ and $m$, let

$$S_k(m)=1^k+2^k+\cdots+(m-1)^k.$$

The Erdős–Moser conjecture says that $S_k(m)=m^k$ has only the solution $(k,m)=(1,3)$.

References:

Imports (1)
  1. def ErdosMoser.powerSum The power sum $S_k(m)=\sum_{i=1}^{m-1} i^k$ line 41 source

    Source documentation

    The power sum $S_k(m)=\sum_{i=1}^{m-1} i^k$.

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

    Statement uses: Nat

    Proof uses: Finset.sum, Finset.Ico, OfNat.ofNat, HPow.hPow

    8 instances, coercions and auxiliary constants left out.

    def powerSum (k m : ℕ) : ℕ :=
    …
  2. theorem ErdosMoser.erdos_moser_conjecture The only positive solution of $S_k(m)=m^k$ is $(k,m)=(1,3)$ sorry line 46 source

    Source documentation

    The only positive solution of $S_k(m)=m^k$ is $(k,m)=(1,3)$.

    depends on sorry what this means

    Statement uses: Nat, LT.lt, OfNat.ofNat, Eq, ErdosMoser.powerSum, HPow.hPow, And

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

    12 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_moser_conjecture :
        ∀ k m : ℕ, 0 < k → 0 < m → powerSum k m = m ^ k → k = 1 ∧ m = 3 := by
    …

    Mentions: ErdosMoser.powerSum

  3. theorem ErdosMoser.powerSum_one_three The pair $(1,3)$ is the trivial solution of the Erdős–Moser equation line 52 source

    Source documentation

    The pair $(1,3)$ is the trivial solution of the Erdős–Moser equation.

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

    Statement uses: Eq, Nat, ErdosMoser.powerSum, OfNat.ofNat, HPow.hPow

    Proof uses: of_decide_eq_true, id, Bool, Decidable.decide, Bool.true, Eq.refl

    11 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem powerSum_one_three : powerSum 1 3 = 3 ^ 1 := by
    …

    Mentions: ErdosMoser.powerSum

  4. theorem ErdosMoser.powerSum_two_three For $k=2$ and $m=3$, the left side is $1^2+2^2=5$, not $3^2$ line 57 source

    Source documentation

    For $k=2$ and $m=3$, the left side is $1^2+2^2=5$, not $3^2$.

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

    Statement uses: And, Eq, Nat, ErdosMoser.powerSum, OfNat.ofNat, Ne, HPow.hPow

    Proof uses: of_decide_eq_true, id, Bool, Decidable.decide, Bool.true, Eq.refl

    13 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem powerSum_two_three : powerSum 2 3 = 5 ∧ powerSum 2 3 ≠ 3 ^ 2 := by
    …

    Mentions: ErdosMoser.powerSum

  5. theorem ErdosMoser.powerSum_zero Zero is a solution for every positive exponent, so the conjecture must require $m>0$ line 62 source

    Source documentation

    Zero is a solution for every positive exponent, so the conjecture must require $m>0$.

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, Eq, ErdosMoser.powerSum, HPow.hPow

    Proof uses: of_eq_true, Eq.trans, True, congr, congrArg, Finset.sum_congr, Finset.Ico, EmptyCollection.emptyCollection, Finset, Finset.Ico_eq_empty_of_le, LE.le, Membership.mem, Eq.refl, Nat.zero_pow, eq_self

    29 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem powerSum_zero (k : ℕ) (hk : 0 < k) : powerSum k 0 = 0 ^ k := by
    …

    Mentions: ErdosMoser.powerSum