FormalConjectures/ErdosProblems/1058.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
3 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 1058
References:
- erdosproblems.com/1058
- [Gu04] Guy, Richard K., Unsolved problems in number theory. (2004), xviii+437.
- [Lu01] Luca, Florian, On a conjecture of Erdős and Stewart. Math. Comp. (2001), 893-896.
Imports (1)
- def
Erdos1058.IsSolutionnis a solution ifn ∈ [p_{k-1}, p_k)for somek(with the conventionp_0 = 1, wherep_1 = 2 < p_2 < ⋯are the primes) and the only primes dividing `n! line 40 sourceSource documentation
nis a solution ifn ∈ [p_{k-1}, p_k)for somek(with the conventionp_0 = 1, wherep_1 = 2 < p_2 < ⋯are the primes) and the only primes dividingn! + 1arep_kandp_{k+1}. Primes are indexed from0byNat.nth Nat.Prime.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
And,LT.lt,OfNat.ofNat,Exists,LE.le,ite,Eq,Nat.nth,Nat.Prime,HSub.hSub,Dvd.dvd,HAdd.hAdd,Nat.factorial,Or9 instances, coercions and auxiliary constants left out.
def IsSolution (n : ℕ) : Prop := …
- theorem
Erdos1058.erdos_1058sorry line 54 sourcedepends on sorry what this means
Statement uses:
Iff,True,Set.Finite,Nat,Set.ofPred, Erdos1058.IsSolutionProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos1058.erdos_1058.variants.lucasorry line 60 sourcedepends on sorry what this means
Statement uses:
Eq,Set,Nat,Set.ofPred, Erdos1058.IsSolution,Insert.insert,OfNat.ofNat,Singleton.singletonProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.