The reals #
We construct the real numbers as the quotient of the type of Cauchy sequences of rationals
by the equivalence relation identifying two sequences whose difference tends to 0.
Cauchy sequences #
@[implicit_reducible]
Equations
- MyPrereal.funLike = { coe := Subtype.val, coe_injective := MyPrereal.funLike._proof_1 }
The equivalence relation on the pre-reals #
@[implicit_reducible]
Equations
- MyPrereal.R_equiv = { r := MyPrereal.R, iseqv := MyPrereal.R_equiv._proof_1 }
The algebraic structure on the pre-reals #
@[implicit_reducible]
Equations
- MyPrereal.zero = { zero := ⟨0, MyPrereal.zero._proof_1⟩ }
@[implicit_reducible]
Equations
- MyPrereal.one = { one := ⟨1, MyPrereal.one._proof_1⟩ }
The reals: definition and algebraic structure #
Equations
Instances For
@[implicit_reducible]
Equations
- MyReal.instNeg = { neg := MyReal.neg }
Instances For
@[implicit_reducible]
Equations
- MyReal.instAdd = { add := MyReal.add }
Instances For
@[implicit_reducible]
Equations
- MyReal.instMul = { mul := MyReal.mul }
Instances For
@[implicit_reducible]
Equations
- MyReal.instInv = { inv := MyReal.inv }
Equations
- MyReal.tacticQuot_proof₁ = Lean.ParserDescr.node `MyReal.tacticQuot_proof₁ 1024 (Lean.ParserDescr.nonReservedSymbol "quot_proof₁" false)
Instances For
Equations
- MyReal.tacticQuot_proof₂ = Lean.ParserDescr.node `MyReal.tacticQuot_proof₂ 1024 (Lean.ParserDescr.nonReservedSymbol "quot_proof₂" false)
Instances For
Equations
- MyReal.tacticQuot_proof₃ = Lean.ParserDescr.node `MyReal.tacticQuot_proof₃ 1024 (Lean.ParserDescr.nonReservedSymbol "quot_proof₃" false)
Instances For
Equations
- MyReal.tacticQuot_proof = Lean.ParserDescr.node `MyReal.tacticQuot_proof 1024 (Lean.ParserDescr.nonReservedSymbol "quot_proof" false)
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
The map from the rationals to the reals #
Positivity and order #
Instances For
@[implicit_reducible]
Equations
- MyReal.instLE = { le := MyReal.le }
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
Equations
- MyReal.IsConvergent f = ∃ (x : MyReal), MyReal.TendsTo f x
Instances For
Completeness #
Equations
- MyReal.approx f = ⋯.choose