FormalConjectures/OEIS/105565.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
11 declarations, 1 contain sorry, 0 declared as axioms
Indicator sequence for 5 Fibonacci numbers with n digits
$a(n) = 1$ if exactly 5 Fibonacci numbers exist with exactly $n$ digits, otherwise $0$. For the partial sums $S(n) = \sum_{k=1}^n a(k)$, it is conjectured that $\beta-2 < S(n)-\alpha n < \beta-1$, where $\alpha = \log(10)/\log(\phi) - 4$ and $\beta = \log(5)/(2\log(\phi)) - 1$.
References:
Imports (1)
- def
OeisA105565.aThe primary defining sequencealine 44 sourceSource documentation
The primary defining sequence
a. $a(n) = 1$ if exactly 5 Fibonacci numbers exist with exactly $n$ digits, otherwise $0$. That is, $a(n) = 1$ if the number of indices $k \in \mathbb{N}$ such that $10^{n-1} \le \mathrm{fib}(k) < 10^n$ is 5.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,GT.gt,OfNat.ofNat,HPow.hPow,HSub.hSub,HAdd.hAdd,HMul.hMul,Finset.card,Finset.filter,And,LE.le,Nat.fib,LT.lt,Finset.range,Eq17 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA105565.a_1Term theorems verifying the first few values of the sequence against the official OEIS b-file line 63 sourceSource documentation
Term theorems verifying the first few values of the sequence against the official OEIS b-file
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA105565.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 decide …
Mentions: OeisA105565.a
- theorem
OeisA105565.a_2line 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA105565.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
OeisA105565.a_3line 69 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA105565.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
OeisA105565.a_4line 72 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA105565.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
OeisA105565.a_5line 75 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA105565.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.
- def
OeisA105565.phiThe golden ratio $\phi = (1 + \sqrt{5})/2$ line 78 sourceSource documentation
The golden ratio $\phi = (1 + \sqrt{5})/2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
Real.goldenRationoncomputable def phi : Real := goldenRatio
- def
OeisA105565.alphaConstThe constant $\alpha = \log(10)/\log(\phi) - 4$ line 81 sourceSource documentation
The constant $\alpha = \log(10)/\log(\phi) - 4$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HSub.hSub,HDiv.hDiv,Real.log,OfNat.ofNat, OeisA105565.phi9 instances, coercions and auxiliary constants left out.
noncomputable def alphaConst : Real := Real.log 10 / Real.log phi - 4
Mentions: OeisA105565.phi
- def
OeisA105565.betaConstThe constant $\beta = \log(5)/(2\log(\phi)) - 1$ line 84 sourceSource documentation
The constant $\beta = \log(5)/(2\log(\phi)) - 1$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HSub.hSub,HDiv.hDiv,Real.log,OfNat.ofNat,HMul.hMul, OeisA105565.phi13 instances, coercions and auxiliary constants left out.
noncomputable def betaConst : Real := Real.log 5 / (2 * Real.log phi) - 1
Mentions: OeisA105565.phi
- def
OeisA105565.sThe partial sum $S(n) = \sum_{k=1}^n a(k)$ line 87 sourceSource documentation
The partial sum $S(n) = \sum_{k=1}^n a(k)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
Finset.sum,Finset.Icc,OfNat.ofNat, OeisA105565.a6 instances, coercions and auxiliary constants left out.
noncomputable def s (n : ℕ) : Real := …
- theorem
OeisA105565.conjecturesorry line 100 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,And,LT.lt,Real,HSub.hSub, OeisA105565.betaConst, OeisA105565.s,HMul.hMul, OeisA105565.alphaConstProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.