FormalConjectures/OEIS/24356.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
6 declarations, 1 contain sorry, 0 declared as axioms
Determinant of Hankel matrix of the first $2n-1$ prime numbers
The determinant of the $n \times n$ Hankel matrix whose entries are the first $2n-1$ prime numbers. The matrix $M$ has entries $M_{i, j} = p_{i+j}$ for $i, j \in \{0, \dots, n-1\}$, where $p_k = \mathrm{Nat.nth\;Nat.Prime} (k)$ is the $k$-th prime starting at $p_0=2$. $a(0)=1$ by convention.
References:
Imports (1)
- def
OeisA24356.aThe determinant of the $n \times n$ Hankel matrix of primes line 36 sourceSource documentation
The determinant of the $n \times n$ Hankel matrix of primes.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
Matrix.det,Fin,Equiv,Matrix,Matrix.of,Nat.nth,Nat.Prime,HAdd.hAdd11 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℤ := …
- theorem
OeisA24356.a_0Value of the sequenceaat 0 line 41 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA24356.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Matrix.det_fin_zero,Equiv,Fin,Matrix,Matrix.of,Nat.nth,Nat.Prime,HAdd.hAdd,eq_self18 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 = 1 := by …
Mentions: OeisA24356.a
- theorem
OeisA24356.a_1Value of the sequenceaat 1 line 46 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA24356.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Matrix.det,Fin,Equiv,Matrix,Matrix.of,Nat.nth,Nat.Prime,HAdd.hAdd,Inhabited.default,Matrix.det.congr_simp,funext,congr,Fin.val_eq_zero,add_zero,Nat.nth_prime_zero_eq_twoand 2 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 2 := by …
Mentions: OeisA24356.a
- theorem
OeisA24356.a_2Value of the sequenceaat 2 line 51 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA24356.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Matrix.det,Fin,Equiv,Matrix,Matrix.of,Nat.nth,Nat.Prime,HAdd.hAdd,HSub.hSub,HMul.hMul,Matrix.det_fin_two,congr,add_zero,Nat.nth_prime_zero_eq_two,Nat.mod_succand 4 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 1 := by …
Mentions: OeisA24356.a
- theorem
OeisA24356.a_4Value of the sequenceaat 4 line 57 sourceSource documentation
Value of the sequence
aat 4. This records the zero whose uniqueness is conjectured below.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA24356.a,OfNat.ofNat,NatProof uses:
id,Nat.Prime,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth,Nat.nth_count,Matrix,Fin,Equiv,Matrix.of,HAdd.hAdd,Matrix.vecCons,Matrix.vecEmpty,Matrix.ext,List,List.Mem,List.finRangeand 62 more63 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 0 := by …
Mentions: OeisA24356.a
- theorem
OeisA24356.conjecture"I conjecture that $a(4)$ is the only zero sorry line 85 sourceSource documentation
"I conjecture that $a(4)$ is the only zero. - Jon Perry, Mar 22 2004"
Stated as a biconditional: the claim that $a(4)$ is the only zero asserts both that $a(4) = 0$ and that no other index vanishes. A bare implication
a n = 0 → n = 4would be satisfied vacuously by a sequence with no zero at all. The existence direction is certified bya_4; the uniqueness direction is the open part.depends on sorry what this means
Statement uses:
Nat,Iff,Eq,Int, OeisA24356.a,OfNat.ofNatProof 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 : ℕ, a n = 0 ↔ n = 4 := by …
Mentions: OeisA24356.a