FormalConjectures/OEIS/108306.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
12 declarations, 1 contain sorry, 0 declared as axioms
A108306: Expansion of $(3x+1)/(1-3x-3x^2)$
This sequence satisfies the linear recurrence relation $a(0)=1$, $a(1)=6$, and $a(n) = 3a(n-1) + 3a(n-2)$ for $n \ge 2$.
References:
Imports (1)
- def
OeisA108306.aThe primary defining sequencealine 37 sourceSource documentation
The primary defining sequence
a.a nis the $n$-th term of the expansion of $(3x+1)/(1-3x-3x^2)$, satisfying $a(0)=1, a(1)=6, a(n)=3a(n-1)+3a(n-2)$.no axioms what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 1 | 1 => 6 | k + 2 => 3 * a (k + 1) + 3 * a k @[category test, AMS 11]
- theorem
OeisA108306.a_0line 43 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA108306.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
OeisA108306.a_1line 46 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA108306.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
OeisA108306.a_2line 49 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA108306.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
OeisA108306.a_3line 52 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA108306.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
OeisA108306.a_4line 55 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA108306.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.
- def
OeisA108306.mThe matrix for the specific case $a=5, b=2$ line 63 sourceSource documentation
The matrix for the specific case $a=5, b=2$. $$M = \begin{pmatrix} 1 & 5 \cr 1 & 2 \end{pmatrix}$$
standard axioms: propext what this means
Statement uses:
Matrix,Fin,OfNat.ofNat,NatProof uses:
OeisA108306.m.match_1,Unit2 instances, coercions and auxiliary constants left out.
def m : Matrix (Fin 2) (Fin 2) ℕ := …
- theorem
OeisA108306.a_is_invert_transform_caseThe sequence is the INVERT transform of (1, 5, 10, 20, 40, 80, 160, ...) and can be obtained by extracting the upper left terms of matrix powers of [(1,5); (1,2)] line 76 sourceSource documentation
The sequence is the INVERT transform of (1, 5, 10, 20, 40, 80, 160, ...) and can be obtained by extracting the upper left terms of matrix powers of [(1,5); (1,2)]. These results are a case (a=5, b=2) of the general conjecture below.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, OeisA108306.a,HPow.hPow,Matrix,Fin,OfNat.ofNat, OeisA108306.m,HAdd.hAddProof uses:
HSMul.hSMul,Eq.mpr,HMul.hMul,id,congrArg,pow_add,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,mul_add,mul_smul_comm,mul_one,Eq.symm,pow_succ,Nat.twoStepInduction,Nat.succ,OeisA108306.a.eq_3,Decidable.byContradictionand 3 more54 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
theorem a_is_invert_transform_case (n : ℕ) : a n = (m ^ (n + 1)) 0 0 := by …Mentions: OeisA108306.a, OeisA108306.m
- def
OeisA108306.invertSeqCThe c sequence for the general INVERT transform conjecture line 93 sourceSource documentation
The c sequence for the general INVERT transform conjecture. $c(1) = 1$, $c(k)=ab^(k-2)$ for $k \ge 2$.
standard axioms: propext what this means
Statement uses:
NatProof uses:
OeisA108306.a.match_1,Unit,OfNat.ofNat,HMul.hMul,HPow.hPow7 instances, coercions and auxiliary constants left out.
def invertSeqC (a b : ℕ) : ℕ → ℕ | 0 => 0 | 1 => 1 | (k + 2) => a * b^k /-- The INVERT transform of the sequence c. -/
Mentions: OeisA108306.a
- def
OeisA108306.invertSeqDThe INVERT transform of the sequence c line 99 sourceSource documentation
The INVERT transform of the sequence c.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.strongRecOn,LT.lt,ite,Eq,OfNat.ofNat,Finset.sum,Finset.range,dite,HMul.hMul, OeisA108306.invertSeqC,HSub.hSub,Not9 instances, coercions and auxiliary constants left out.
noncomputable def invertSeqD (a b : ℕ) (n : ℕ) : ℕ := …
Mentions: OeisA108306.a
- def
OeisA108306.genMatrixThe general 2x2 matrix [(1,a); (1,b)] line 107 sourceSource documentation
The general 2x2 matrix [(1,a); (1,b)].
standard axioms: propext what this means
Statement uses:
Nat,Matrix,Fin,OfNat.ofNatProof uses:
OeisA108306.m.match_1,Unit2 instances, coercions and auxiliary constants left out.
def genMatrix (a b : ℕ) : Matrix (Fin 2) (Fin 2) ℕ := …
Mentions: OeisA108306.a
- theorem
OeisA108306.conjecturesorry line 122 sourcedepends on sorry what this means
Statement uses:
Nat,Eq, OeisA108306.invertSeqD,HPow.hPow,Matrix,Fin,OfNat.ofNat, OeisA108306.genMatrixProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.