Cauchy sequences #
A basic theory of Cauchy sequences, used in the construction of the reals and p-adic numbers. Where applicable, lemmas that will be reused in other contexts have been stated in extra generality. There are other "versions" of Cauchyness in the library, in particular Cauchy filters in topology. This is a concrete implementation that is useful for simplicity and computability reasons.
Important definitions #
IsCauSeq
: a predicate that saysf : ℕ → β
is Cauchy.CauSeq
: the type of Cauchy sequences valued in typeβ
with respect to an absolute value functionabv
.
Tags #
sequence, cauchy, abs val, absolute value
Equations
- CauSeq.instCoeFunCauSeqForAllNat = { coe := Subtype.val }
Given a Cauchy sequence f
, create a Cauchy sequence from a sequence g
with
the same values as f
.
Equations
Instances For
The constant Cauchy sequence.
Equations
Instances For
Equations
- CauSeq.instZeroCauSeq = { zero := CauSeq.const abv 0 }
Equations
- CauSeq.instOneCauSeq = { one := CauSeq.const abv 1 }
Equations
- CauSeq.instInhabitedCauSeq = { default := 0 }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- CauSeq.instNatCast = { natCast := fun n => CauSeq.const abv ↑n }
Equations
- CauSeq.instIntCast = { intCast := fun n => CauSeq.const abv ↑n }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
LimZero f
holds when f
approaches 0.
Instances For
Equations
- CauSeq.equiv = { r := fun f g => CauSeq.LimZero (f - g), iseqv := (_ : Equivalence fun f g => CauSeq.LimZero (f - g)) }
Given a Cauchy sequence f
with nonzero limit, create a Cauchy sequence with values equal to
the inverses of the values of f
.
Equations
Instances For
The entries of a positive Cauchy sequence eventually have a positive lower bound.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Note that DistribLattice (CauSeq α abs)
is not true because there is no PartialOrder
.