FormalConjectures/OEIS/271591.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
Maximal run lengths in the second MSB of Tribonacci numbers $T(n)$
The Tribonacci numbers $T_n$ (A000073). $T_0=0, T_1=0, T_2=1$, and $T_n = T_{n-1} + T_{n-2} + T_{n-3}$ for $n \ge 3$.
Second most significant bit of the tribonacci number A000073(n). This is formalized by extracting the bit at position $\lfloor \log_2 T_n \rfloor - 1$.
References:
- A271591
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
- A000073
Imports (1)
- def
OeisA271591.tribonacciThe Tribonacci numbers $T_n$ (A000073) line 46 sourceSource documentation
The Tribonacci numbers $T_n$ (A000073). $T_0=0, T_1=0, T_2=1$, and $T_n = T_{n-1} + T_{n-2} + T_{n-3}$ for $n \ge 3$.
no axioms what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def tribonacci (n : ℕ) : ℕ := …
- def
OeisA271591.aSecond most significant bit of the tribonacci number A000073(n) line 57 sourceSource documentation
Second most significant bit of the tribonacci number A000073(n). This is formalized by extracting the bit at position $\lfloor \log_2 T_n \rfloor - 1$.
standard axioms: propext what this means
Statement uses:
NatProof uses: OeisA271591.tribonacci,
ite,LE.le,OfNat.ofNat,HSub.hSub,Nat.log2,Eq,Bool,Nat.testBit,Bool.true6 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- def
OeisA271591.IsMaximalRunline 66 sourcestandard axioms: propext what this means
Statement uses:
NatProof uses:
And,GE.ge,OfNat.ofNat,LT.lt,Eq, OeisA271591.a,HAdd.hAdd,Ne,HSub.hSub7 instances, coercions and auxiliary constants left out.
- lemma
OeisA271591.a_4line 77 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA271591.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.
- lemma
OeisA271591.a_5line 80 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA271591.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.
- lemma
OeisA271591.a_6line 83 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA271591.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.
- lemma
OeisA271591.a_7line 86 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA271591.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.
- lemma
OeisA271591.a_8line 89 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA271591.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
OeisA271591.maximal_run_lengthssorry line 100 sourcedepends on sorry what this means
Statement uses:
And,Nat, OeisA271591.IsMaximalRun,OfNat.ofNat,Or,EqProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.