FormalConjectures/OEIS/340737.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
8 declarations, 1 contain sorry, 0 declared as axioms
Convergence of fraction numerators $a(n)/b(n)$ to $e$
a: Numerators of a sequence of fractions converging to $e$. $$a(1) = 3, a(2) = 5$$ For $n > 2$: $$a(n) = \begin{cases} \left(\frac{n+2}{2}\right) a(n-1) - a(n-2) - \left(\frac{n-2}{2}\right) a(n-3) & \text{if } n \text{ is even} \cr 2 a(n-1) + n a(n-2) & \text{if } n \text{ is odd} \end{cases}$$
References:
- A340737
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
- b
Imports (1)
- def
OeisA340737.aNumerators of a sequence of fractions converging to $e$ line 55 sourceSource documentation
Numerators of a sequence of fractions converging to $e$. $$a(1) = 3, a(2) = 5$$ For $n > 2$: $$a(n) = \begin{cases} \left(\frac{n+2}{2}\right) a(n-1) - a(n-2) - \left(\frac{n-2}{2}\right) a(n-3) & \text{if } n \text{ is even} \cr 2 a(n-1) + n a(n-2) & \text{if } n \text{ is odd} \end{cases}$$
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,OeisA340737.a.match_1,Unit,OfNat.ofNat,Nat.succ,HAdd.hAdd,HSub.hSub,dite,Eq,HMod.hMod,HDiv.hDiv,Int.toNat,Int,HMul.hMul,Int.ofNat,Not18 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- def
OeisA340737.bDenominators of a sequence of fractions converging to $e$ line 90 sourceSource documentation
Denominators of a sequence of fractions converging to $e$. This sequence is defined by the same recurrence relation as a but with initial values $b(1)=1, b(2)=2$. $$b(1) = 1, b(2) = 2$$ For $n > 2$: $$b(n) = \begin{cases} \left(\frac{n+2}{2}\right) b(n-1) - b(n-2) - \left(\frac{n-2}{2}\right) b(n-3) & \text{if } n \text{ is even} \cr 2 b(n-1) + n b(n-2) & \text{if } n \text{ is odd} \end{cases}$$
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,OeisA340737.a.match_1,Unit,OfNat.ofNat,Nat.succ,HAdd.hAdd,HSub.hSub,dite,Eq,HMod.hMod,HDiv.hDiv,Int.toNat,Int,HMul.hMul,Int.ofNat,Not18 instances, coercions and auxiliary constants left out.
def b (n : ℕ) : ℕ := …
- lemma
OeisA340737.a_1line 117 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA340737.a,OfNat.ofNatProof uses:
Eq.mpr,id,congrFun',congrArg,OeisA340737.a.eq_def,Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA340737.a_2line 120 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA340737.a,OfNat.ofNatProof uses:
Eq.mpr,id,congrFun',congrArg,OeisA340737.a.eq_def,Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA340737.a_3line 123 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA340737.a,OfNat.ofNatProof uses:
Eq.mpr,HAdd.hAdd,HSub.hSub,ite,HMod.hMod,HDiv.hDiv,Int.toNat,Int,HMul.hMul,Int.ofNat,id,congrFun',congrArg,OeisA340737.a.eq_def,OeisA340737.a.match_1,Unit,have_congr',Eq.refl,have_val_congr',have_body_congr'and 9 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA340737.a_4line 126 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA340737.a,OfNat.ofNatProof uses:
Eq.mpr,HAdd.hAdd,HSub.hSub,ite,HMod.hMod,HDiv.hDiv,Int.toNat,Int,HMul.hMul,Int.ofNat,id,congrFun',congrArg,OeisA340737.a.eq_def,OeisA340737.a.match_1,Unit,have_congr',Eq.refl,have_val_congr',have_body_congr'and 15 more50 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA340737.a_5line 129 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA340737.a,OfNat.ofNatProof uses:
Eq.mpr,HAdd.hAdd,HSub.hSub,ite,HMod.hMod,HDiv.hDiv,Int.toNat,Int,HMul.hMul,Int.ofNat,id,congrFun',congrArg,OeisA340737.a.eq_def,OeisA340737.a.match_1,Unit,have_congr',Eq.refl,have_val_congr',have_body_congr'and 15 more50 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA340737.tendsto_exp_onesorry line 140 sourcedepends on sorry what this means
Statement uses:
Filter.Tendsto,Nat,Real,HDiv.hDiv, OeisA340737.a, OeisA340737.b,Filter.atTop,nhds,Real.exp,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous23 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.