FormalConjectures/OEIS/7918.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
OeisA7918.aLeast prime $\ge n$ (version 1 of the "next prime" function) line 34 sourceSource documentation
Least prime $\ge n$ (version 1 of the "next prime" function).
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,And,Nat.Prime,LE.le2 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA7918.a_0Value of the sequenceaat 0 line 39 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA7918.a,OfNat.ofNatProof uses:
id,IsLeast,Set.ofPred,And,Nat.Prime,LE.le,And.intro,Membership.mem,Set,lowerBounds,Nat.prime_two,Nat.zero_le,Nat.Prime.two_le,And.left,IsLeast.csInf_eq9 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem a_0 : a 0 = 2 := by …
Mentions: OeisA7918.a
- theorem
OeisA7918.a_1Value of the sequenceaat 1 line 47 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA7918.a,OfNat.ofNatProof uses:
id,IsLeast,Set.ofPred,And,Nat.Prime,LE.le,And.intro,Membership.mem,Set,lowerBounds,Nat.prime_two,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.Prime.two_le,And.left,IsLeast.csInf_eq10 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 2 := by …
Mentions: OeisA7918.a
- theorem
OeisA7918.a_2Value of the sequenceaat 2 line 55 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA7918.a,OfNat.ofNatProof uses:
id,IsLeast,Set.ofPred,And,Nat.Prime,LE.le,And.intro,Membership.mem,Set,lowerBounds,Nat.prime_two,le_rfl,Nat.Prime.two_le,And.left,IsLeast.csInf_eq10 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 2 := by …
Mentions: OeisA7918.a
- theorem
OeisA7918.a_3Value of the sequenceaat 3 line 63 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA7918.a,OfNat.ofNatProof uses:
id,IsLeast,Set.ofPred,And,Nat.Prime,LE.le,And.intro,Membership.mem,Set,lowerBounds,Nat.prime_three,le_rfl,And.right,IsLeast.csInf_eq10 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 3 := by …
Mentions: OeisA7918.a
- def
OeisA7918.isApOfNPrimesThe initial term $p_0$ and common difference $d$ form an arithmetic progression of length $n$ consisting entirely of prime numbers with $d > 0$ line 73 sourceSource documentation
The initial term $p_0$ and common difference $d$ form an arithmetic progression of length $n$ consisting entirely of prime numbers with $d > 0$.
standard axioms: propext what this means
Statement uses:
NatProof uses:
And,GT.gt,OfNat.ofNat,LT.lt,Nat.Prime,HAdd.hAdd,HMul.hMul6 instances, coercions and auxiliary constants left out.
def isApOfNPrimes (n p0 d : ℕ) : Prop := …
- theorem
OeisA7918.conjecture1According to the "k-tuple" conjecture sorry line 82 sourceSource documentation
According to the "k-tuple" conjecture, $a(n)$ is the initial term of the lexicographically earliest increasing arithmetic progression of $n$ primes; the corresponding common differences are given by A061558.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq, OeisA7918.a,InfSet.sInf,Set.ofPred,Exists, OeisA7918.isApOfNPrimesProof 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.
theorem conjecture1 (n : ℕ) (hn : 0 < n) : a n = sInf { p0 : ℕ | ∃ d : ℕ, isApOfNPrimes n p0 d } := by …Mentions: OeisA7918.a, OeisA7918.isApOfNPrimes
- theorem
OeisA7918.conjecture2If $n > 1$, then $a(n) < n^{n^{1/n}}$ sorry line 91 sourceSource documentation
If $n > 1$, then $a(n) < n^{n^{1/n}}$.
- Thomas Ordowski, Feb 23 2023
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Real, OeisA7918.a,HPow.hPow,HDiv.hDivProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous24 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture2 (n : ℕ) (hn : 1 < n) : (a n : ℝ) < (n : ℝ) ^ ((n : ℝ) ^ (1 / (n : ℝ))) := by …Mentions: OeisA7918.a