Documentation

LeanPool.ComputableReal.AuxLemmas

Auxiliary lemmas #

Small helper lemmas about CauSeq suprema/infima and about Cauchy sequences converging to a real number, used in the construction of computable reals.

theorem abs_ite_le {α : Type u_1} [AddCommGroup α] [LinearOrder α] [IsOrderedAddMonoid α] (x : α) :
|x| = if 0 x then x else -x
theorem CauSeq.sup_equiv_of_equivs {α : Type u_1} [Field α] [LinearOrder α] [IsStrictOrderedRing α] {a b c : CauSeq α abs} (ha : a c) (hb : b c) :
ab c
theorem CauSeq.equiv_sup_of_equivs {α : Type u_1} [Field α] [LinearOrder α] [IsStrictOrderedRing α] {a b c : CauSeq α abs} (ha : c a) (hb : c b) :
c ab
theorem CauSeq.inf_equiv_of_equivs {α : Type u_1} [Field α] [LinearOrder α] [IsStrictOrderedRing α] {a b c : CauSeq α abs} (ha : a c) (hb : b c) :
ab c
def CauSeq.drop {α : Type u_1} [Field α] [LinearOrder α] [IsStrictOrderedRing α] (a : CauSeq α abs) (n : ) :

Dropping the first n terms of a Cauchy sequence to get a new sequence.

Equations
Instances For
    theorem CauSeq.drop_equiv_self {α : Type u_1} [Field α] [LinearOrder α] [IsStrictOrderedRing α] (a : CauSeq α abs) (n : ) :
    a.drop n a

    Dropping elements from a Cauchy sequence gives an equivalent one.

    theorem Real.exists_CauSeq (x : ) :
    ∃ (s : CauSeq abs), mk s = x

    Every real number has some Caucy sequence converging to it.

    theorem cauchy_real_mk (x : CauSeq abs) (ε : ) :
    ε > 0∃ (i : ), ji, |(x j) - Real.mk x| < ε