Аналіз I, Глава 5.5 #
I have attempted to make the translation as faithful a paraphrasing as possible of the original text. When there is a choice between a more idiomatic Lean solution and a more faithful translation, I have generally chosen the latter. In particular, there will be places where the Lean code could be "golfed" to be more elegant and idiomatic, but I have consciously avoided doing so.
In this section we begin to use the Mathlib API for sets; the Chapter 3 set theory is deprecated in favor of this API.
Main constructions and results of this section:
- Upper bound and least upper bound on the real line
Визначення 5.5.1 (upper bounds). Here we use the upperBounds
set defined in Mathlib.
Визначення 5.5.5 (least upper bound). Here we use the isLUB
predicate defined in Mathlib.
Визначення of "bounded above", using Mathlib notation
Вправа 5.5.2
Вправа 5.5.3
A bare-bones extended real class to define supremum.
- neg_infty : ExtendedReal
- real (x : Real) : ExtendedReal
- infty : ExtendedReal
Instances For
Mathlib prefers ⊤ to denote the +∞ element.
Equations
Mathlib prefers ⊥ to denote the -∞ element.
Equations
Equations
- Chapter5.ExtendedReal.coe_real = { coe := fun (x : Chapter5.Real) => Chapter5.ExtendedReal.real x }
Equations
- One or more equations did not get rendered due to their size.
Equations
Instances For
Визначення 5.5.10 (Supremum)
Equations
- Chapter5.ExtendedReal.sup E = if h1 : E.Nonempty then if h2 : BddAbove E then Chapter5.ExtendedReal.real ⋯.choose else ⊤ else ⊥
Instances For
Equations
- Chapter5.ExtendedReal.inf E = if h1 : E.Nonempty then if h2 : BddBelow E then Chapter5.ExtendedReal.real ⋯.choose else ⊥ else ⊤
Instances For
Equations
- One or more equations did not get rendered due to their size.
Use the sSup
operation to build a conditionally complete lattice structure on Real
Equations
- One or more equations did not get rendered due to their size.