Sequences can be thought of as functions from ℤ to ℝ.
Equations
- Chapter6.Sequence.instCoeFun = { coe := fun (a : Chapter6.Sequence) => a.seq }
Functions from ℕ to ℝ can be thought of as sequences.
Equations
Definition 6.1.3 (Eventually ε-steady)
Equations
- ε.EventuallySteady a = ∃ N ≥ a.m, ε.Steady (a.from N)
Instances For
Definition 6.1.3 (Eventually ε-steady)
For fixed a, the function ε ↦ ε.Steady s is monotone
For fixed a, the function ε ↦ ε.EventuallySteady s is monotone
Definition 6.1.3 (Cauchy sequence)
Equations
- a.IsCauchy = ∀ ε > 0, ε.EventuallySteady a
Instances For
Definition 6.1.3 (Cauchy sequence)
This is almost the same as Chapter5.Sequence.IsCauchy.coe
Instances For
Proposition 6.1.4
Definition 6.1.5
Equations
- ε.EventuallyClose a L = ∃ N ≥ a.m, ε.CloseSeq (a.from N) L
Instances For
Definition 6.1.5
Instances For
Definition 6.1.8
Definition 6.1.8
Definition 6.1.8. We give the limit of a sequence the junk value of 0 if it is not convergent.
Equations
- Chapter6.lim a = if h : a.Convergent then Exists.choose h else 0
Instances For
Definition 6.1.8
Definition 6.1.8
Proposition 6.1.12 / Exercise 6.1.5
Proposition 6.1.15 / Exercise 6.1.6 (Formal limits are genuine limits)
Corollary 6.1.17
Theorem 6.1.19(g) (limit laws). The Sequence.TendsTo version is more usable than the lim version
in applications.
Exercise 6.1.7
Instances For
Equations
- ε.SeqEventuallyClose a b = ∃ (N : ℤ), ε.SeqCloseSeq (a.from N) (b.from N)
Instances For
Equations
- Chapter5.Sequence.RatEquiv a b = ∀ ε > 0, ε.SeqEventuallyClose ↑a ↑b
Instances For
Exercise 6.1.10