FormalConjectures/OEIS/105801.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
Fibonacci-Collatz sequence
Fibonacci-Collatz sequence: $a(1)=1, a(2)=2$; for $n > 2$, let $\mathrm{fib} = a(n-1) + a(n-2)$; if $\mathrm{fib}$ is odd then $a(n) = 3 \cdot \mathrm{fib} + 1$ else $a(n) = \mathrm{fib}/2$.
References:
Imports (1)
- def
OeisA105801.aThe primary defining sequencealine 38 sourceSource documentation
The primary defining sequence
a. $a(n)$ is the Fibonacci-Collatz sequence: $a(1)=1, a(2)=2$; for $n > 2$, let $\mathrm{fib} = a(n-1) + a(n-2)$; if $\mathrm{fib}$ is odd then $a(n) = 3 \cdot \mathrm{fib} + 1$ else $a(n) = \mathrm{fib}/2$.no axioms what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 0 -- The sequence is 1-indexed, a(0) is a conventional filler. | 1 => 1 | 2 => 2 | n + 3 => let fib := a (n + 2) + a (n + 1) … - theorem
OeisA105801.a_1Term theorems verifying the first few values of the sequence against the official OEIS b-file line 48 sourceSource documentation
Term theorems verifying the first few values of the sequence against the official OEIS b-file
no axioms what this means
Statement uses:
Eq,Nat, OeisA105801.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 a_1 : a 1 = 1 := by decide …
Mentions: OeisA105801.a
- theorem
OeisA105801.a_2line 51 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA105801.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
OeisA105801.a_3line 54 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA105801.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
OeisA105801.a_4line 57 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA105801.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
OeisA105801.a_5line 60 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA105801.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
OeisA105801.conjecturesorry line 69 sourcedepends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Exists,Nat.ModEq,HPow.hPow, OeisA105801.a,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.