FormalConjectures/ErdosProblems/1055.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
6 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 1055
Reference: erdosproblems.com/1055
Imports (1)
- def
Erdos1055.IsOfClassA prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$ line 39 sourceSource documentation
A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$. In general, a prime $p$ is in class $r$ if every prime factor of $p+1$ is in some class $\leq r-1$, with equality for at least one prime factor.
The classes partition the primes, so
IsOfClass r psays that $p$ is in class exactly $r$: the first conjunct of the successor case rules out every class $\leq r - 1$ for $p$ itself. Without itIsOfClass 2would also hold of every prime of class $1$, because at $r = 2$ the "with equality" clause quantifies over the single value $m = 1$ and so says nothing.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,NatProof uses:
PNat.caseStrongInductionOn,LE.le,Finset,Nat.primeFactors,HAdd.hAdd,OfNat.ofNat,Insert.insert,Singleton.singleton,And,Not,Membership.mem,Exists,Eq16 instances, coercions and auxiliary constants left out.
def IsOfClass : ℕ+ → ℕ → Prop := fun r ↦ …
- theorem
Erdos1055.exists_pA prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$ sorry line 54 sourceSource documentation
A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$. In general, a prime $p$ is in class $r$ if every prime factor of $p+1$ is in some class $\leq r-1$, with equality for at least one prime factor. Show that for each $r$ there exists a prime $p$ of class $r$.
depends on sorry what this means
Statement uses:
PNat,Exists,Nat,And,Nat.Prime, Erdos1055.IsOfClassProof 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 exists_p (r : ℕ+) : ∃ p, p.Prime ∧ IsOfClass r p := by …
Mentions: Erdos1055.p, Erdos1055.IsOfClass
- def
Erdos1055.pA prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$ line 62 sourceSource documentation
A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$. In general, a prime $p$ is in class $r$ if every prime factor of $p+1$ is in some class $\leq r-1$, with equality for at least one prime factor. Let $p_r$ is the least prime in class $r$.
depends on sorry what this means
Statement uses:
PNat,NatProof uses:
Nat.find,And,Nat.Prime, Erdos1055.IsOfClass,Classical.propDecidable, Erdos1055.exists_p2 instances, coercions and auxiliary constants left out.
noncomputable def p (r : ℕ+) : ℕ := …
- theorem
Erdos1055.erdos_1055A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$ sorry line 71 sourceSource documentation
A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$. In general, a prime $p$ is in class $r$ if every prime factor of $p+1$ is in some class $\leq r-1$, with equality for at least one prime factor. Are there infinitely many primes in each class?
depends on sorry what this means
Statement uses:
PNat,Set.Infinite,Nat,Set.ofPred,And,Nat.Prime, Erdos1055.IsOfClassProof 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 erdos_1055 (r) : {p | p.Prime ∧ IsOfClass r p}.Infinite := by …Mentions: Erdos1055.p, Erdos1055.IsOfClass
- theorem
Erdos1055.erdos_1055.variants.erdos_limitA prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$ sorry line 80 sourceSource documentation
A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$. In general, a prime $p$ is in class $r$ if every prime factor of $p+1$ is in some class $\leq r-1$, with equality for at least one prime factor. If $p_r$ is the least prime in class $r$, then how does $p_r^{1/r}$ behave? Erdos conjectured that this tends to infinity.
depends on sorry what this means
Statement uses:
Filter.Tendsto,PNat,Real,HPow.hPow, Erdos1055.p,HDiv.hDiv,OfNat.ofNat,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat35 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1055.variants.erdos_limit : Filter.atTop.Tendsto (fun r ↦ (p r : ℝ) ^ (1 / r : ℝ)) Filter.atTop := by …Mentions: Erdos1055.p
- theorem
Erdos1055.erdos_1055.variants.selfridge_limitA prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$ sorry line 90 sourceSource documentation
A prime $p$ is in class $1$ if the only prime divisors of $p+1$ are $2$ or $3$. In general, a prime $p$ is in class $r$ if every prime factor of $p+1$ is in some class $\leq r-1$, with equality for at least one prime factor. If $p_r$ is the least prime in class $r$, then how does $p_r^{1/r}$ behave? Selfridge conjectured that this is bounded.
depends on sorry what this means
Statement uses:
Exists,Real,PNat,LE.le,HPow.hPow, Erdos1055.p,HDiv.hDiv,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat23 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1055.variants.selfridge_limit : ∃ M, ∀ r, (p r : ℝ) ^ (1 / r : ℝ) ≤ M := by …Mentions: Erdos1055.p