FormalConjectures/ErdosProblems/822.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 822
References:
- erdosproblems.com/822
- [GIL24] Gabdullin, Mikhail R. and Iudelevich, Vitalii V. and Luca, Florian, Numbers of the form {$k+f(k)$}. J. Number Theory (2024), 58--85.
Imports (1)
- theorem
Erdos822.erdos_822Does the set of integers of the form $n + \varphi(n)$ have positive (lower) density? sorry line 39 sourceSource documentation
Does the set of integers of the form $n + \varphi(n)$ have positive (lower) density?
[GIL24] proved this was true.
depends on sorry what this means
Statement uses:
Iff,True,LT.lt,Real,OfNat.ofNat, Set.lowerDensity,Nat,Set.range,HAdd.hAdd,Nat.totient,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous19 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_822 : answer(True) ↔ 0 < (Set.range fun n => n + Nat.totient n).lowerDensity := by …