Liouville constants #
This file contains a construction of a family of Liouville numbers, indexed by a natural number transcendental_liouvilleNumber
.
More precisely, for a real number
We prove that, for
Implementation notes #
The indexing
For a real number m
, Liouville's constant is
1 < m
. However, there is no restriction on m
, since,
if the series does not converge, then the sum of the series is defined to be zero.
Equations
- liouvilleNumber m = ∑' (i : ℕ), 1 / m ^ i.factorial
Instances For
LiouvilleNumber.partialSum
is the sum of the first k + 1
terms of Liouville's constant,
i.e.
Equations
- LiouvilleNumber.partialSum m k = ∑ i ∈ Finset.range (k + 1), 1 / m ^ i.factorial
Instances For
LiouvilleNumber.remainder
is the sum of the series of the terms in liouvilleNumber m
starting from k+1
, i.e
Instances For
We start with simple observations.
Split the sum defining a Liouville number into the first k
terms and the rest.
We now prove two useful inequalities, before collecting everything together.
An upper estimate on the remainder. This estimate works with m ∈ ℝ
satisfying 1 < m
and is
stronger than the estimate LiouvilleNumber.remainder_lt
below. However, the latter estimate is
more useful for the proof.
An upper estimate on the remainder. This estimate works with m ∈ ℝ
satisfying 2 ≤ m
and is
weaker than the estimate LiouvilleNumber.remainder_lt'
above. However, this estimate is
more useful for the proof.
Starting from here, we specialize to the case in which m
is a natural number.
The sum of the k
initial terms of the Liouville number to base m
is a ratio of natural
numbers where the denominator is m ^ k!
.