FormalConjectures/OEIS/70823.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
Recurrence $a(n+2) = |a(n+1)a(n) - a(n)a(n+1)|$ via concatenation
The sequence starts with $a(1) = 0, a(2) = 1$. For $n \ge 1$, $$a(n+2) = |\text{concat}(a(n+1), a(n)) - \text{concat}(a(n), a(n+1))|$$ where concatenation is in decimal representation.
References:
Imports (1)
- def
OeisA70823.numDigitsBase10Number of digits of a natural number $n$ in base 10 (with 1 digit for 0) line 36 sourceSource documentation
Number of digits of a natural number $n$ in base 10 (with 1 digit for 0).
no axioms what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,HAdd.hAdd,Nat.log4 instances, coercions and auxiliary constants left out.
def numDigitsBase10 (n : ℕ) : ℕ := …
- def
OeisA70823.concatenateConcatenate $x$ followed by $y$ in base 10 line 40 sourceSource documentation
Concatenate $x$ followed by $y$ in base 10.
standard axioms: propext what this means
Statement uses:
NatProof uses:
HAdd.hAdd,HMul.hMul,HPow.hPow,OfNat.ofNat, OeisA70823.numDigitsBase109 instances, coercions and auxiliary constants left out.
def concatenate (x y : ℕ) : ℕ := …
- def
OeisA70823.aThe sequence $a(1)=0, a(2)=1, a(n+2)=|\text{concat}(a(n+1),a(n))-\text{concat}(a(n),a(n+1))|$ line 44 sourceSource documentation
The sequence $a(1)=0, a(2)=1, a(n+2)=|\text{concat}(a(n+1),a(n))-\text{concat}(a(n),a(n+1))|$.
standard axioms: propext what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 0 | 1 => 0 | 2 => 1 | n + 3 => let cat1 := concatenate (a (n + 2)) (a (n + 1)) …Mentions: OeisA70823.concatenate
- theorem
OeisA70823.a_1Value of the sequenceaat 1 line 55 sourceSource documentation
Value of the sequence
aat 1.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA70823.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 = 0 := by …
Mentions: OeisA70823.a
- theorem
OeisA70823.a_2Value of the sequenceaat 2 line 60 sourceSource documentation
Value of the sequence
aat 2.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA70823.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_2 : a 2 = 1 := by …
Mentions: OeisA70823.a
- theorem
OeisA70823.a_3Value of the sequenceaat 3 line 65 sourceSource documentation
Value of the sequence
aat 3.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA70823.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_3 : a 3 = 9 := by …
Mentions: OeisA70823.a
- theorem
OeisA70823.a_4Value of the sequenceaat 4 line 70 sourceSource documentation
Value of the sequence
aat 4.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA70823.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_4 : a 4 = 72 := by …
Mentions: OeisA70823.a
- theorem
OeisA70823.a_5Value of the sequenceaat 5 line 75 sourceSource documentation
Value of the sequence
aat 5.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA70823.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_5 : a 5 = 243 := by …
Mentions: OeisA70823.a
- theorem
OeisA70823.conjecturesorry line 87 sourcedepends on sorry what this means
Statement uses:
Iff,False,Nat,LT.lt,OfNat.ofNat,And,Nat.ModEq, OeisA70823.a,Exists,Eq,HMul.hMul,HPow.hPow,SquarefreeProof 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.