FormalConjectures/OEIS/53067.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
9 declarations, 1 contain sorry, 0 declared as axioms
Concatenation of the next $n$ numbers
$a(n)$ is the concatenation of the next $n$ numbers: the integers from $\frac{(n-1)n}{2} + 1$ up to $\frac{n(n+1)}{2}$.
References:
Imports (1)
- def
OeisA53067.triangularThe $n$-th triangular number, $T_n = \frac{n(n+1)}{2}$ line 35 sourceSource documentation
The $n$-th triangular number, $T_n = \frac{n(n+1)}{2}$.
no axioms what this means
Statement uses:
NatProof uses:
HDiv.hDiv,HMul.hMul,HAdd.hAdd,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
def triangular (n : ℕ) : ℕ := n * (n + 1) / 2
- def
OeisA53067.concatenateNatsConcatenates two natural numbers $a$ and $b$ base 10 line 38 sourceSource documentation
Concatenates two natural numbers $a$ and $b$ base 10.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
HAdd.hAdd,HMul.hMul,HPow.hPow,OfNat.ofNat,List.length,Nat.digits9 instances, coercions and auxiliary constants left out.
def concatenateNats (a b : ℕ) : ℕ := …
Mentions: OeisA53067.a
- def
OeisA53067.a$a(n)$ is the concatenation of the next $n$ numbers line 42 sourceSource documentation
$a(n)$ is the concatenation of the next $n$ numbers.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,HAdd.hAdd, OeisA53067.triangular,HSub.hSub,List,List.Ico,List.foldl, OeisA53067.concatenateNats6 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA53067.a_1line 51 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA53067.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA53067.a_2line 55 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA53067.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA53067.a_3line 59 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA53067.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA53067.a_4line 63 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA53067.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA53067.a_5line 67 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA53067.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA53067.conjecture"The second term is a prime sorry line 76 sourceSource documentation
"The second term is a prime. When is the next prime, if there is another?
- N. J. A. Sloane, Dec 16 2016"
depends on sorry what this means
Statement uses:
Eq,Option,Nat,sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,dite,Exists,And,LT.lt,Nat.Prime, OeisA53067.a,Classical.propDecidable,Option.some,InfSet.sInf,Set.ofPredand 2 more6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : answer(sorry) = if h : ∃ n, 2 < n ∧ (a n).Prime then some (sInf {n | 2 < n ∧ (a n).Prime}) else none := by …Mentions: OeisA53067.a