FormalConjectures/OEIS/38771.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
8 declarations, 2 contain sorry, 0 declared as axioms
Imports (1)
- def
OeisA38771.a$a(n)$ is the smallest composite number $c$ such that $\textrm{primorial}(n) + c$ is prime line 37 sourceSource documentation
$a(n)$ is the smallest composite number $c$ such that $\textrm{primorial}(n) + c$ is prime.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.prod,Finset.range,Nat.nth,Nat.Prime,And,GT.gt,OfNat.ofNat,Not,InfSet.sInf,Set.ofPred,HAdd.hAdd6 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA38771.a_0line 43 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA38771.a,OfNat.ofNatProof uses:
id,Finset.prod,Finset.range,Nat.nth,Nat.Prime,Eq.refl,Eq.mpr,InfSet.sInf,Set.ofPred,And,GT.gt,Not,HAdd.hAdd,congrArg,IsLeast,And.intro,Membership.mem,Set,lowerBounds,of_decide_eq_trueand 18 more30 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA38771.a_1line 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA38771.a,OfNat.ofNatProof uses:
id,Finset.prod,Finset.range,Nat.nth,Nat.Prime,Eq.mpr,congrArg,Finset.prod_range_one,Nat.nth_prime_zero_eq_two,Eq.refl,InfSet.sInf,Set.ofPred,And,GT.gt,Not,HAdd.hAdd,IsLeast,And.intro,Membership.mem,Setand 20 more30 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA38771.a_2line 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA38771.a,OfNat.ofNatProof uses:
id,Finset.prod,Finset.range,Nat.nth,Nat.Prime,Eq.mpr,HMul.hMul,congrArg,HAdd.hAdd,Finset.prod_range_succ,Finset.prod_range_one,Nat.nth_prime_zero_eq_two,Nat.nth_prime_one_eq_three,Eq.refl,InfSet.sInf,Set.ofPred,And,GT.gt,Not,IsLeastand 23 more35 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA38771.a_3line 86 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA38771.a,OfNat.ofNatProof uses:
id,Finset.prod,Finset.range,Nat.nth,Nat.Prime,Eq.mpr,HMul.hMul,congrArg,HAdd.hAdd,Finset.prod_range_succ,Finset.prod_range_one,Nat.nth_prime_zero_eq_two,Nat.nth_prime_one_eq_three,Nat.nth_prime_two_eq_five,Eq.refl,InfSet.sInf,Set.ofPred,And,GT.gt,Notand 24 more35 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA38771.a_n_exists$a(n) \ne 0$ for all $n$ (i.e., a suitable composite $c$ always exists) line 111 sourceSource documentation
$a(n) \ne 0$ for all $n$ (i.e., a suitable composite $c$ always exists). The following more general statement follows from Dirichlet's theorem on primes in arithmetic progressions: there doesn't exist a > 0 natural number such that p - a is prime for every prime p > a.
Choose q prime such that q is coprime with a, and p > a + q prime such that q | p - a (such a p exists from Dirichlet's theorem). Then p - a is composite, a contradiction.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Ne, OeisA38771.a,OfNat.ofNatProof uses:
id,Finset.prod,Finset.range,Nat.nth,Nat.Prime,Eq.mpr,And,GT.gt,Not,InfSet.sInf,Set.ofPred,HAdd.hAdd,Eq,congrArg,rfl,LT.lt,Finset.prod_pos,Membership.mem,Finset,Nat.Prime.posand 41 more45 instances, coercions and auxiliary constants left out.
Tactic trace: 25 steps
Open to load the checked before-and-after goal states.
theorem a_n_exists (n : ℕ) : a n ≠ 0 := by …
Mentions: OeisA38771.a
- theorem
OeisA38771.conjecture1Conjecture: $\liminf_{n \to \infty} \frac{a(n)}{p_{n+1}^2} = 1 <$ $\limsup_{n \to \infty} \frac{a(n)}{p_{n+1}^2} = 2$ sorry line 139 sourceSource documentation
Conjecture: $\liminf_{n \to \infty} \frac{a(n)}{p_{n+1}^2} = 1 <$ $\limsup_{n \to \infty} \frac{a(n)}{p_{n+1}^2} = 2$.
- Charles R Greathouse IV and Thomas Ordowski, Apr 24 2015
depends on sorry what this means
Statement uses:
Nat,Real,HPow.hPow,Nat.nth,Nat.Prime,OfNat.ofNat,HDiv.hDiv, OeisA38771.a,And,Eq,Filter.liminf,Filter.atTop,Filter.limsupProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous36 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture1 : let p_next_sq (n : ℕ) : ℝ := ((Nat.nth Nat.Prime n : ℝ)) ^ 2 … - theorem
OeisA38771.conjecture2All the terms in this sequence have exactly two prime factors sorry line 151 sourceSource documentation
All the terms in this sequence have exactly two prime factors. This conjecture is true for the first 133 terms.
- Dmitry Kamenetsky, Jan 06 2019
L4DEL explanation
All the terms in this sequence have exactly two prime factors. This conjecture is true for the first 133 terms. - Dmitry Kamenetsky, Jan 06 2019
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Nat,Nat.IsSemiprime, OeisA38771.aProof 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 conjecture2 (n : ℕ) : (a n).IsSemiprime := by …
Mentions: OeisA38771.a