FormalConjectures/ErdosProblems/985.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
2 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 985
Reference: erdosproblems.com/985
Imports (1)
Imported by 1 file
- theorem
Erdos985.erdos_985Is it true that, for every prime $p$, there is a prime $q \leq p$ which is a primitive root modulo $p$? sorry line 34 sourceSource documentation
Is it true that, for every prime $p$, there is a prime $q \leq p$ which is a primitive root modulo $p$?
depends on sorry what this means
Statement uses:
Iff,True,Nat,Nat.Prime,Ne,OfNat.ofNat,Exists,And,LT.lt,Eq,orderOf,ZMod,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_985 : answer(sorry) ↔ ∀ᵉ (p : ℕ) (hp_prime : p.Prime) (hp_nontrivial : p ≠ 2), ∃ q, q.Prime ∧ q < p ∧ orderOf (q : ZMod p) = p - 1 := by … - theorem
Erdos985.erdos_985.variants.two_three_five_primitive_rootHeath-Brown proved that at least one of 2, 3, or 5 is a primitive root for infinitely many primes $p$ sorry line 45 sourceSource documentation
Heath-Brown proved that at least one of 2, 3, or 5 is a primitive root for infinitely many primes $p$.
depends on sorry what this means
Statement uses:
Set.Infinite,Nat,Set.ofPred,And,Nat.Prime,Or,Eq,orderOf,ZMod,OfNat.ofNat,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_985.variants.two_three_five_primitive_root : Set.Infinite {p : ℕ | p.Prime ∧ (orderOf (2 : ZMod p) = p - 1 ∨ orderOf (3 : ZMod p) = p - 1 ∨ orderOf (5 : ZMod p) = p - 1)} := by …