FormalConjectures/OEIS/341254.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
Bounds on fractional parts $n r^2 - a(n)$ for $r = (2+\sqrt{5})/2$
$a(n) = \lfloor r \cdot \lfloor r \cdot n \rfloor \rfloor$, where $r = (2 + \sqrt{5})/2$.
References:
- A341254
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA341254.rConstThe constant $r = (2 + \sqrt{5})/2$ line 38 sourceSource documentation
The constant $r = (2 + \sqrt{5})/2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HDiv.hDiv,HAdd.hAdd,OfNat.ofNat,Real.sqrt9 instances, coercions and auxiliary constants left out.
noncomputable def rConst : ℝ := (2 + sqrt 5) / 2
- def
OeisA341254.rSqThe constant $r^2$ line 41 sourceSource documentation
The constant $r^2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HMul.hMul, OeisA341254.rConst2 instances, coercions and auxiliary constants left out.
noncomputable def rSq : ℝ := rConst * rConst
Mentions: OeisA341254.rConst
- def
OeisA341254.a$a(n) = \lfloor r \cdot \lfloor r \cdot n \rfloor \rfloor$, where $r = (2 + \sqrt{5})/2$ line 47 sourceSource documentation
$a(n) = \lfloor r \cdot \lfloor r \cdot n \rfloor \rfloor$, where $r = (2 + \sqrt{5})/2$. Note: The original OEIS definition has $n$ starting at 1. We define $a(n)$ for all $\mathbb{N}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Real, OeisA341254.rConst,Int,Int.floor,HMul.hMul,Int.toNat9 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- lemma
OeisA341254.a_1line 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA341254.a,OfNat.ofNatProof uses:
id,Real, OeisA341254.rConst,Int,Int.floor,HMul.hMul,Int.toNat,HDiv.hDiv,HAdd.hAdd,Real.sqrt,Eq.mpr,congrFun',congrArg,Nat.cast_one,mul_one,And,LE.le,LT.lt,propext,Int.floor_eq_iffand 103 more104 instances, coercions and auxiliary constants left out.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA341254.a_2line 75 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA341254.a,OfNat.ofNatProof uses:
id,Real, OeisA341254.rConst,Int,Int.floor,HMul.hMul,Int.toNat,HDiv.hDiv,HAdd.hAdd,Real.sqrt,Eq.mpr,And,LE.le,LT.lt,congrArg,propext,Int.floor_eq_iff,of_eq_true,Eq.trans,Trueand 102 more99 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA341254.a_3line 95 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA341254.a,OfNat.ofNatProof uses:
id,Real, OeisA341254.rConst,Int,Int.floor,HMul.hMul,Int.toNat,HDiv.hDiv,HAdd.hAdd,Real.sqrt,Eq.mpr,And,LE.le,LT.lt,congrArg,propext,Int.floor_eq_iff,of_eq_true,Eq.trans,Trueand 102 more99 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA341254.a_4line 115 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA341254.a,OfNat.ofNatProof uses:
id,Real, OeisA341254.rConst,Int,Int.floor,HMul.hMul,Int.toNat,HDiv.hDiv,HAdd.hAdd,Real.sqrt,Eq.mpr,And,LE.le,LT.lt,congrArg,propext,Int.floor_eq_iff,of_eq_true,Eq.trans,Trueand 102 more99 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA341254.a_5line 135 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA341254.a,OfNat.ofNatProof uses:
id,Real, OeisA341254.rConst,Int,Int.floor,HMul.hMul,Int.toNat,HDiv.hDiv,HAdd.hAdd,Real.sqrt,Eq.mpr,And,LE.le,LT.lt,congrArg,propext,Int.floor_eq_iff,of_eq_true,Eq.trans,Trueand 102 more99 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA341254.a_boundssorry line 163 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,And,LT.lt,Real,HDiv.hDiv,HSub.hSub,HMul.hMul, OeisA341254.rSq, OeisA341254.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous34 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.