FormalConjectures/Wikipedia/ErdosMoser.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: 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)
- def
ErdosMoser.powerSumThe power sum $S_k(m)=\sum_{i=1}^{m-1} i^k$ line 41 sourceSource 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:
NatProof uses:
Finset.sum,Finset.Ico,OfNat.ofNat,HPow.hPow8 instances, coercions and auxiliary constants left out.
def powerSum (k m : ℕ) : ℕ := …
- theorem
ErdosMoser.erdos_moser_conjectureThe only positive solution of $S_k(m)=m^k$ is $(k,m)=(1,3)$ sorry line 46 sourceSource 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,AndProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous12 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
- theorem
ErdosMoser.powerSum_one_threeThe pair $(1,3)$ is the trivial solution of the Erdős–Moser equation line 52 sourceSource 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.hPowProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl11 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
- theorem
ErdosMoser.powerSum_two_threeFor $k=2$ and $m=3$, the left side is $1^2+2^2=5$, not $3^2$ line 57 sourceSource 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.hPowProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl13 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
- theorem
ErdosMoser.powerSum_zeroZero is a solution for every positive exponent, so the conjecture must require $m>0$ line 62 sourceSource 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.hPowProof 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_self29 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