FormalConjectures/OEIS/49473.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
12 declarations, 1 contain sorry, 0 declared as axioms
Nearest integer to $n/\sqrt{2}$
Nearest integer to $n/\sqrt{2}$, defined by $\lfloor n/\sqrt{2} + 1/2 \rfloor$.
References:
Imports (1)
- def
OeisA49473.aNearest integer to $n/\sqrt{2}$ line 33 sourceSource documentation
Nearest integer to $n/\sqrt{2}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Int.toNat,Int.floor,Real,HAdd.hAdd,HDiv.hDiv,Real.sqrt,OfNat.ofNat14 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA49473.a_0line 37 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA49473.a,OfNat.ofNatProof uses:
id,Real,HAdd.hAdd,HDiv.hDiv,Real.sqrt,of_eq_true,Eq.trans,Inv.inv,True,congr,congrArg,congrFun',CharP.cast_eq_zero,zero_div,one_div,zero_add,eq_self,Eq.mpr,Int.toNat,Int.floorand 25 more68 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA49473.a_1line 49 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA49473.a,OfNat.ofNatProof uses:
id,Real,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Nat.cast_one,Eq.mpr,Int.toNat,Int.floor,HAdd.hAdd,HDiv.hDiv,Real.sqrt,congrArg,LT.lt,Iff.mpr,Real.sqrt_pos,Mathlib.Meta.NormNum.isNat_lt_true,Nat.cast_zero,Mathlib.Meta.NormNum.instAtLeastTwoand 103 more109 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA49473.a_2line 73 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA49473.a,OfNat.ofNatProof uses:
id,Real,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Eq.mpr,Int.toNat,Int.floor,HAdd.hAdd,HDiv.hDiv,Real.sqrt,congrArg,LT.lt,Iff.mpr,Real.sqrt_pos,Mathlib.Meta.NormNum.isNat_lt_true,Nat.cast_zero,Booland 103 more109 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA49473.a_3line 97 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA49473.a,OfNat.ofNatProof uses:
id,Real,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Eq.mpr,Int.toNat,Int.floor,HAdd.hAdd,HDiv.hDiv,Real.sqrt,congrArg,LT.lt,Iff.mpr,Real.sqrt_pos,Mathlib.Meta.NormNum.isNat_lt_true,Nat.cast_zero,Booland 104 more111 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA49473.a_4line 121 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA49473.a,OfNat.ofNatProof uses:
id,Real,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Eq.mpr,Int.toNat,Int.floor,HAdd.hAdd,HDiv.hDiv,Real.sqrt,congrArg,LT.lt,Iff.mpr,Real.sqrt_pos,Mathlib.Meta.NormNum.isNat_lt_true,Nat.cast_zero,Booland 101 more109 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA49473.a_5line 145 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA49473.a,OfNat.ofNatProof uses:
id,Real,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Eq.mpr,Int.toNat,Int.floor,HAdd.hAdd,HDiv.hDiv,Real.sqrt,congrArg,LT.lt,Iff.mpr,Real.sqrt_pos,Mathlib.Meta.NormNum.isNat_lt_true,Nat.cast_zero,Booland 101 more109 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- def
OeisA49473.zetaThreeReal$\zeta(3)$ (Apéry's constant) line 169 sourceSource documentation
$\zeta(3)$ (Apéry's constant).
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
Complex.re,riemannZeta,OfNat.ofNat,Complex3 instances, coercions and auxiliary constants left out.
noncomputable def zetaThreeReal : ℝ := …
- def
OeisA49473.sLet $s(n) = \zeta(3) - \sum_{k=1}^{n} 1/k^3$ line 173 sourceSource documentation
Let $s(n) = \zeta(3) - \sum_{k=1}^{n} 1/k^3$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
HSub.hSub, OeisA49473.zetaThreeReal,Finset.sum,Finset.range,HDiv.hDiv,OfNat.ofNat,HPow.hPow,HAdd.hAdd17 instances, coercions and auxiliary constants left out.
noncomputable def s (n : ℕ) : ℝ := …
- def
OeisA49473.A001953A001953: Nonhomogeneous Beatty sequence $\lfloor (k + 1/2)\sqrt{2} \rfloor$ for $k \ge 0$ line 177 sourceSource documentation
A001953: Nonhomogeneous Beatty sequence $\lfloor (k + 1/2)\sqrt{2} \rfloor$ for $k \ge 0$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,Exists,Eq,Int.toNat,Int.floor,Real,HMul.hMul,HAdd.hAdd,HDiv.hDiv,OfNat.ofNat,Real.sqrt16 instances, coercions and auxiliary constants left out.
def A001953 : Set ℕ := …
- def
OeisA49473.A001954A001954: Nonhomogeneous Beatty sequence $\lfloor (k + 1/2)(2 + \sqrt{2}) \rfloor$ for $k \ge 0$ line 181 sourceSource documentation
A001954: Nonhomogeneous Beatty sequence $\lfloor (k + 1/2)(2 + \sqrt{2}) \rfloor$ for $k \ge 0$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,Exists,Eq,Int.toNat,Int.floor,Real,HMul.hMul,HAdd.hAdd,HDiv.hDiv,OfNat.ofNat,Real.sqrt16 instances, coercions and auxiliary constants left out.
def A001954 : Set ℕ := …
- theorem
OeisA49473.conjecturesorry line 194 sourcedepends on sorry what this means
Statement uses:
And,Nat,LE.le,OfNat.ofNat,LT.lt,Real, OeisA49473.s, OeisA49473.a,HDiv.hDiv,HPow.hPow,HSub.hSub,Iff,Eq,Membership.mem,Set, OeisA49473.A001954, OeisA49473.A001953Proof 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.