FormalConjectures/OEIS/117531.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
7 declarations, 1 contain sorry, 0 declared as axioms
Number of primes in $n$-th row of triangle $k^2 - k + p_n$
$a(n)$ is the number of primes in the $n$-th row of the triangle $T(n, k) = k^2 - k + p_n$ for $1 \le k \le n$, where $p_n$ is the $n$-th prime ($p_1=2, p_2=3, \dots$).
References:
Imports (1)
- def
OeisA117531.aNumber of primes in the $n$-th row of $T(n, k) = k^2 - k + p_n$ for $1 \le k \le n$ line 34 sourceSource documentation
Number of primes in the $n$-th row of $T(n, k) = k^2 - k + p_n$ for $1 \le k \le n$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.nth,Nat.Prime,HSub.hSub,OfNat.ofNat,Finset.card,Finset.filter,HAdd.hAdd,HPow.hPow,Finset.Icc12 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA117531.a_0Value of the sequenceaat 0 line 40 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117531.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_0 : a 0 = 0 := by rfl …
Mentions: OeisA117531.a
- theorem
OeisA117531.a_1Value of the sequenceaat 1 line 44 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117531.a,OfNat.ofNatProof uses:
id,Nat.nth,Nat.Prime,HSub.hSub,Nat.nth_prime_zero_eq_two,Finset.card,Finset.filter,HAdd.hAdd,HPow.hPow,Finset.Icc,Eq.mpr,congrArg,Finset,Singleton.singleton,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Finset.extand 20 more26 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 1 := by …
Mentions: OeisA117531.a
- theorem
OeisA117531.a_2Value of the sequenceaat 2 line 61 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117531.a,OfNat.ofNatProof uses:
id,Nat.nth,Nat.Prime,HSub.hSub,Nat.nth_prime_one_eq_three,Finset.card,Finset.filter,HAdd.hAdd,HPow.hPow,Finset.Icc,Eq.mpr,congrArg,Finset,Insert.insert,Singleton.singleton,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refland 29 more30 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 2 := by …
Mentions: OeisA117531.a
- theorem
OeisA117531.a_3Value of the sequenceaat 3 line 80 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117531.a,OfNat.ofNatProof uses:
id,Nat.nth,Nat.Prime,HSub.hSub,Nat.nth_prime_two_eq_five,Finset.card,Finset.filter,HAdd.hAdd,HPow.hPow,Finset.Icc,Eq.mpr,congrArg,Finset,Insert.insert,Singleton.singleton,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refland 28 more29 instances, coercions and auxiliary constants left out.
Tactic trace: 27 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 3 := by …
Mentions: OeisA117531.a
- theorem
OeisA117531.a_4Value of the sequenceaat 4 line 101 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117531.a,OfNat.ofNatProof uses:
id,Nat.nth,Nat.Prime,HSub.hSub,Nat.nth_prime_three_eq_seven,Finset.card,Finset.filter,HAdd.hAdd,HPow.hPow,Finset.Icc,Eq.mpr,congrArg,Finset,Insert.insert,Singleton.singleton,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refland 38 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 36 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 3 := by …
Mentions: OeisA117531.a
- theorem
OeisA117531.conjectureConjecture: $a(n) < n$ for $n > 13$ sorry line 127 sourceSource documentation
Conjecture: $a(n) < n$ for $n > 13$.
depends on sorry what this means
Statement uses:
Nat,GT.gt,OfNat.ofNat,LT.lt, OeisA117531.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n : ℕ) (h : n > 13) : a n < n := by …
Mentions: OeisA117531.a