FormalConjectures/ErdosProblems/239.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
1 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 239
References:
- erdosproblems.com/239
- [Ha68] Halász, G., Über die Mittelwerte multiplikativer zahlentheoretischer Funktionen. Acta Math. Acad. Sci. Hungar. (1968), 365-403.
- [Wi67] Wirsing, E., Das asymptotische Verhalten von Summen über multiplikative Funktionen. Acta Math. Acad. Sei. Hung. (1967), 411-467.
Imports (1)
- theorem
Erdos239.erdos_239Let $f:\mathbb{N}\to \{-1,1\}$ be a multiplicative function sorry line 45 sourceSource documentation
Let $f:\mathbb{N}\to \{-1,1\}$ be a multiplicative function. Is it true that $$ \lim_{N\to \infty}\frac{1}{N}\sum_{n\leq N}f(n)$$ always exists?
The answer is yes, as proved by Wirsing [Wi67], and generalised by Halász [Ha68].
depends on sorry what this means
Statement uses:
Iff,True,Nat,Real,And,GE.ge,OfNat.ofNat,Or,Eq,Neg.neg,Nat.Coprime,HMul.hMul,Exists,Filter.Tendsto,HDiv.hDiv,Finset.sum,Finset.Icc,Filter.atTop,nhdsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous38 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_239 : answer(True) ↔ ∀ f : ℕ → ℝ, (∀ n ≥ 1, f n = 1 ∨ f n = -1) ∧ (∀ m n, m.Coprime n → f (m * n) = f m * f n) ∧ f 1 = 1 → ∃ L, Tendsto (fun N ↦ (∑ n ∈ Finset.Icc 1 N, f n) / N) atTop (𝓝 L) := by …