The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Order.Ring.StandardPart
88 declarations. Mathlib docs · Source
Standard part function
Given a finite element in a non-archimedean field, the standard part function rounds it to the unique closest real number. That is, it chops off any infinitesimals.
Let K be a linearly ordered field. The subset of finite elements (i.e. those bounded by a natural
number) is a ValuationSubring, which means we can construct its residue field
FiniteResidueField, roughly corresponding to the finite elements quotiented by infinitesimals.
This field inherits a LinearOrder instance, which makes it into an Archimedean linearly ordered
field, meaning we can uniquely embed it in the reals.
Given a finite element of the field, the ArchimedeanClass.stdPart function returns the real number
corresponding to this unique embedding. This function generalizes, among other things, the standard
part function on Hyperreal.
References
- https://en.wikipedia.org/wiki/Standard_part_function
Finite residue field
Standard part
theorem ArchimedeanClass.FiniteElement.mk.congr_simp E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x x_1 : K) (e_x : x = x_1)
(h : 0 ≤ ArchimedeanClass.mk x), ArchimedeanClass.FiniteElement.mk x h = ArchimedeanClass.FiniteElement.mk x_1 ⋯
theorem ArchimedeanClass.stdPart.congr_simp E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x x_1 : K),
x = x_1 → ArchimedeanClass.stdPart x = ArchimedeanClass.stdPart x_1
theorem ArchimedeanClass.FiniteResidueField.ofArchimedean.congr_simp E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {R : Type u_2}
[inst_3 : LinearOrder R] [inst_4 : CommRing R] [inst_5 : IsStrictOrderedRing R] [inst_6 : Archimedean R]
(f f_1 : R →+*o K),
f = f_1 → ArchimedeanClass.FiniteResidueField.ofArchimedean f = ArchimedeanClass.FiniteResidueField.ofArchimedean f_1
theorem ArchimedeanClass.FiniteElement.congr_simp E1 #
∀ (K : Type u_1) [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
ArchimedeanClass.FiniteElement K = ArchimedeanClass.FiniteElement K
def ArchimedeanClass.FiniteElement E1 #
(K : Type u_1) → [inst : LinearOrder K] → [inst_1 : Field K] → [IsOrderedRing K] → Type u_1
The valuation subring of elements in non-negative Archimedean classes, i.e. elements bounded by some natural number.
instance ArchimedeanClass.instValuationRingFiniteElement E0 #
∀ (K : Type u_1) [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
ValuationRing (ArchimedeanClass.FiniteElement K)
instance ArchimedeanClass.instLinearOrderFiniteElement E0 #
(K : Type u_1) →
[inst : LinearOrder K] →
[inst_1 : Field K] → [inst_2 : IsOrderedRing K] → LinearOrder (ArchimedeanClass.FiniteElement K)
instance ArchimedeanClass.instIsDomainFiniteElement E0 #
∀ (K : Type u_1) [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
IsDomain (ArchimedeanClass.FiniteElement K)
instance ArchimedeanClass.instIsStrictOrderedRingFiniteElement E0 #
∀ (K : Type u_1) [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
IsStrictOrderedRing (ArchimedeanClass.FiniteElement K)
instance ArchimedeanClass.instCommRingFiniteElement E0 #
(K : Type u_1) →
[inst : LinearOrder K] → [inst_1 : Field K] → [inst_2 : IsOrderedRing K] → CommRing (ArchimedeanClass.FiniteElement K)
theorem ArchimedeanClass.FiniteElement.val_zero E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K], ↑0 = 0
theorem ArchimedeanClass.FiniteElement.val_one E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K], ↑1 = 1
theorem ArchimedeanClass.FiniteElement.val_add E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
(x y : ArchimedeanClass.FiniteElement K), ↑(x + y) = ↑x + ↑y
theorem ArchimedeanClass.FiniteElement.val_sub E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
(x y : ArchimedeanClass.FiniteElement K), ↑(x - y) = ↑x - ↑y
theorem ArchimedeanClass.FiniteElement.val_mul E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
(x y : ArchimedeanClass.FiniteElement K), ↑(x * y) = ↑x * ↑y
theorem ArchimedeanClass.FiniteElement.ext E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x y : ArchimedeanClass.FiniteElement K}, ↑x = ↑y → x = y
theorem ArchimedeanClass.FiniteElement.ext_iff E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x y : ArchimedeanClass.FiniteElement K}, x = y ↔ ↑x = ↑y
def ArchimedeanClass.FiniteElement.mk E1 #
{K : Type u_1} →
[inst : LinearOrder K] →
[inst_1 : Field K] →
[inst_2 : IsOrderedRing K] → (x : K) → 0 ≤ ArchimedeanClass.mk x → ArchimedeanClass.FiniteElement K
The constructor for FiniteElement.
theorem ArchimedeanClass.FiniteElement.mk_zero E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
ArchimedeanClass.FiniteElement.mk 0 ⋯ = 0
theorem ArchimedeanClass.FiniteElement.mk_one E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
ArchimedeanClass.FiniteElement.mk 1 ⋯ = 1
theorem ArchimedeanClass.FiniteElement.mk_natCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (n : ℕ),
ArchimedeanClass.FiniteElement.mk ↑n ⋯ = ↑n
theorem ArchimedeanClass.FiniteElement.mk_intCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (n : ℤ),
ArchimedeanClass.FiniteElement.mk ↑n ⋯ = ↑n
theorem ArchimedeanClass.FiniteElement.neg_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K}
(h : 0 ≤ ArchimedeanClass.mk x), -ArchimedeanClass.FiniteElement.mk x h = ArchimedeanClass.FiniteElement.mk (-x) ⋯
theorem ArchimedeanClass.FiniteElement.mk_add_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x y : K)
(hx : 0 ≤ ArchimedeanClass.mk x) (hy : 0 ≤ ArchimedeanClass.mk y),
ArchimedeanClass.FiniteElement.mk x hx + ArchimedeanClass.FiniteElement.mk y hy =
ArchimedeanClass.FiniteElement.mk (x + y) ⋯
theorem ArchimedeanClass.FiniteElement.mk_sub_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x y : K)
(hx : 0 ≤ ArchimedeanClass.mk x) (hy : 0 ≤ ArchimedeanClass.mk y),
ArchimedeanClass.FiniteElement.mk x hx - ArchimedeanClass.FiniteElement.mk y hy =
ArchimedeanClass.FiniteElement.mk (x - y) ⋯
theorem ArchimedeanClass.FiniteElement.mk_mul_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x y : K)
(hx : 0 ≤ ArchimedeanClass.mk x) (hy : 0 ≤ ArchimedeanClass.mk y),
ArchimedeanClass.FiniteElement.mk x hx * ArchimedeanClass.FiniteElement.mk y hy =
ArchimedeanClass.FiniteElement.mk (x * y) ⋯
theorem ArchimedeanClass.FiniteElement.mk_le_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x y : K)
(hx : 0 ≤ ArchimedeanClass.mk x) (hy : 0 ≤ ArchimedeanClass.mk y),
ArchimedeanClass.FiniteElement.mk x hx ≤ ArchimedeanClass.FiniteElement.mk y hy ↔ x ≤ y
theorem ArchimedeanClass.FiniteElement.mk_lt_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x y : K)
(hx : 0 ≤ ArchimedeanClass.mk x) (hy : 0 ≤ ArchimedeanClass.mk y),
ArchimedeanClass.FiniteElement.mk x hx < ArchimedeanClass.FiniteElement.mk y hy ↔ x < y
theorem ArchimedeanClass.FiniteElement.not_isUnit_iff_mk_pos E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x : ArchimedeanClass.FiniteElement K}, ¬IsUnit x ↔ 0 < ArchimedeanClass.mk ↑x
theorem ArchimedeanClass.FiniteElement.isUnit_iff_mk_eq_zero E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x : ArchimedeanClass.FiniteElement K}, IsUnit x ↔ ArchimedeanClass.mk ↑x = 0
instance ArchimedeanClass.FiniteElement.instRatCast E0 #
{K : Type u_1} →
[inst : LinearOrder K] → [inst_1 : Field K] → [inst_2 : IsOrderedRing K] → RatCast (ArchimedeanClass.FiniteElement K)
theorem ArchimedeanClass.FiniteElement.mk_ratCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (q : ℚ),
ArchimedeanClass.FiniteElement.mk ↑q ⋯ = ↑q
instance ArchimedeanClass.FiniteElement.instFloorRing E0 #
{K : Type u_1} →
[inst : LinearOrder K] →
[inst_1 : Field K] → [inst_2 : IsOrderedRing K] → FloorRing (ArchimedeanClass.FiniteElement K)
def ArchimedeanClass.FiniteResidueField E1 #
(K : Type u_1) → [inst : LinearOrder K] → [inst_1 : Field K] → [IsOrderedRing K] → Type u_1
The residue field of FiniteElement. This quotient inherits an order from K,
which makes it into a linearly ordered Archimedean field.
instance ArchimedeanClass.instFieldFiniteResidueField E0 #
(K : Type u_1) →
[inst : LinearOrder K] →
[inst_1 : Field K] → [inst_2 : IsOrderedRing K] → Field (ArchimedeanClass.FiniteResidueField K)
instance ArchimedeanClass.FiniteResidueField.ordConnected_preimage_mk' E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
(x : Quotient (Submodule.quotientRel (IsLocalRing.maximalIdeal (ArchimedeanClass.FiniteElement K)))),
(Quotient.mk (Submodule.quotientRel (IsLocalRing.maximalIdeal (ArchimedeanClass.FiniteElement K))) ⁻¹'
{x}).OrdConnected
instance ArchimedeanClass.FiniteResidueField.instLinearOrder E0 #
{K : Type u_1} →
[inst : LinearOrder K] →
[inst_1 : Field K] → [inst_2 : IsOrderedRing K] → LinearOrder (ArchimedeanClass.FiniteResidueField K)
def ArchimedeanClass.FiniteResidueField.mk E1 #
{K : Type u_1} →
[inst : LinearOrder K] →
[inst_1 : Field K] →
[inst_2 : IsOrderedRing K] → ArchimedeanClass.FiniteElement K →+*o ArchimedeanClass.FiniteResidueField K
The quotient map from finite elements on the field to the associated residue field.
theorem ArchimedeanClass.FiniteResidueField.ind E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{motive : ArchimedeanClass.FiniteResidueField K → Prop},
(∀ (x : ArchimedeanClass.FiniteElement K), motive (ArchimedeanClass.FiniteResidueField.mk x)) →
∀ (x : ArchimedeanClass.FiniteResidueField K), motive x
instance ArchimedeanClass.FiniteResidueField.ordConnected_preimage_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
(x : ArchimedeanClass.FiniteResidueField K), (⇑ArchimedeanClass.FiniteResidueField.mk ⁻¹' {x}).OrdConnected
theorem ArchimedeanClass.FiniteResidueField.mk_eq_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x y : ArchimedeanClass.FiniteElement K},
ArchimedeanClass.FiniteResidueField.mk x = ArchimedeanClass.FiniteResidueField.mk y ↔
0 < ArchimedeanClass.mk (↑x - ↑y)
theorem ArchimedeanClass.FiniteResidueField.mk_eq_zero E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x : ArchimedeanClass.FiniteElement K}, ArchimedeanClass.FiniteResidueField.mk x = 0 ↔ 0 < ArchimedeanClass.mk ↑x
theorem ArchimedeanClass.FiniteResidueField.mk_ne_zero E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x : ArchimedeanClass.FiniteElement K}, ArchimedeanClass.FiniteResidueField.mk x ≠ 0 ↔ ArchimedeanClass.mk ↑x = 0
theorem ArchimedeanClass.FiniteResidueField.mk_le_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x y : ArchimedeanClass.FiniteElement K},
ArchimedeanClass.FiniteResidueField.mk x ≤ ArchimedeanClass.FiniteResidueField.mk y ↔
x ≤ y ∨ ArchimedeanClass.FiniteResidueField.mk x = ArchimedeanClass.FiniteResidueField.mk y
theorem ArchimedeanClass.FiniteResidueField.mk_lt_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x y : ArchimedeanClass.FiniteElement K},
ArchimedeanClass.FiniteResidueField.mk x < ArchimedeanClass.FiniteResidueField.mk y ↔
x < y ∧ ArchimedeanClass.FiniteResidueField.mk x ≠ ArchimedeanClass.FiniteResidueField.mk y
theorem ArchimedeanClass.FiniteResidueField.lt_of_mk_lt_mk E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K]
{x y : ArchimedeanClass.FiniteElement K},
ArchimedeanClass.FiniteResidueField.mk x < ArchimedeanClass.FiniteResidueField.mk y → x < y
instance ArchimedeanClass.FiniteResidueField.instIsOrderedRing E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
IsOrderedRing (ArchimedeanClass.FiniteResidueField K)
instance ArchimedeanClass.FiniteResidueField.instArchimedean E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
Archimedean (ArchimedeanClass.FiniteResidueField K)
theorem ArchimedeanClass.FiniteResidueField.mk_ratCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (q : ℚ),
ArchimedeanClass.FiniteResidueField.mk ↑q = ↑q
def ArchimedeanClass.FiniteResidueField.ofArchimedean E1 #
{K : Type u_1} →
[inst : LinearOrder K] →
[inst_1 : Field K] →
[inst_2 : IsOrderedRing K] →
{R : Type u_2} →
[inst_3 : LinearOrder R] →
[inst_4 : CommRing R] →
[IsStrictOrderedRing R] → [Archimedean R] → R →+*o K → R →+*o ArchimedeanClass.FiniteResidueField K
An embedding from an Archimedean field into K induces an embedding into
FiniteResidueField K.
theorem ArchimedeanClass.FiniteResidueField.ofArchimedean_apply E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {R : Type u_2}
[inst_3 : LinearOrder R] [inst_4 : CommRing R] [inst_5 : IsStrictOrderedRing R] [inst_6 : Archimedean R]
(f : R →+*o K) (r : R),
(ArchimedeanClass.FiniteResidueField.ofArchimedean f) r =
ArchimedeanClass.FiniteResidueField.mk (ArchimedeanClass.FiniteElement.mk (f r) ⋯)
theorem ArchimedeanClass.FiniteResidueField.ofArchimedean_injective E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {R : Type u_2}
[inst_3 : LinearOrder R] [inst_4 : CommRing R] [inst_5 : IsStrictOrderedRing R] [inst_6 : Archimedean R]
(f : R →+*o K), Function.Injective ⇑(ArchimedeanClass.FiniteResidueField.ofArchimedean f)
theorem ArchimedeanClass.FiniteResidueField.ofArchimedean_inj E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {R : Type u_2}
[inst_3 : LinearOrder R] [inst_4 : CommRing R] [inst_5 : IsStrictOrderedRing R] [inst_6 : Archimedean R]
(f : R →+*o K) {x y : R},
(ArchimedeanClass.FiniteResidueField.ofArchimedean f) x = (ArchimedeanClass.FiniteResidueField.ofArchimedean f) y ↔
x = y
def ArchimedeanClass.stdPart E1 #
{K : Type u_1} → [inst : LinearOrder K] → [inst_1 : Field K] → [IsOrderedRing K] → K → ℝ
The standard part of a FiniteElement is the unique real number with an infinitesimal
difference.
For any infinite inputs, this function outputs a junk value of 0.
theorem ArchimedeanClass.stdPart_of_mk_nonneg E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K}
(f : ArchimedeanClass.FiniteResidueField K →+*o ℝ) (h : 0 ≤ ArchimedeanClass.mk x),
ArchimedeanClass.stdPart x = f (ArchimedeanClass.FiniteResidueField.mk (ArchimedeanClass.FiniteElement.mk x h))
theorem ArchimedeanClass.stdPart_eq_zero E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K},
ArchimedeanClass.stdPart x = 0 ↔ ArchimedeanClass.mk x ≠ 0
theorem ArchimedeanClass.stdPart_of_mk_ne_zero E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K},
ArchimedeanClass.mk x ≠ 0 → ArchimedeanClass.stdPart x = 0
Alias of the reverse direction of ArchimedeanClass.stdPart_eq_zero.
theorem ArchimedeanClass.stdPart_monotoneOn E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K],
MonotoneOn ArchimedeanClass.stdPart {x | 0 ≤ ArchimedeanClass.mk x}
theorem ArchimedeanClass.stdPart_zero E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K], ArchimedeanClass.stdPart 0 = 0
theorem ArchimedeanClass.stdPart_one E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K], ArchimedeanClass.stdPart 1 = 1
theorem ArchimedeanClass.stdPart_neg E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x : K),
ArchimedeanClass.stdPart (-x) = -ArchimedeanClass.stdPart x
theorem ArchimedeanClass.stdPart_inv E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (x : K),
ArchimedeanClass.stdPart x⁻¹ = (ArchimedeanClass.stdPart x)⁻¹
theorem ArchimedeanClass.stdPart_add E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 ≤ ArchimedeanClass.mk x →
0 ≤ ArchimedeanClass.mk y →
ArchimedeanClass.stdPart (x + y) = ArchimedeanClass.stdPart x + ArchimedeanClass.stdPart y
theorem ArchimedeanClass.stdPart_add_eq_right E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 < ArchimedeanClass.mk x → ArchimedeanClass.stdPart (x + y) = ArchimedeanClass.stdPart y
theorem ArchimedeanClass.stdPart_add_eq_left E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 < ArchimedeanClass.mk y → ArchimedeanClass.stdPart (x + y) = ArchimedeanClass.stdPart x
theorem ArchimedeanClass.stdPart_sub E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 ≤ ArchimedeanClass.mk x →
0 ≤ ArchimedeanClass.mk y →
ArchimedeanClass.stdPart (x - y) = ArchimedeanClass.stdPart x - ArchimedeanClass.stdPart y
theorem ArchimedeanClass.stdPart_sub_eq_right E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 < ArchimedeanClass.mk x → ArchimedeanClass.stdPart (x - y) = -ArchimedeanClass.stdPart y
theorem ArchimedeanClass.stdPart_sub_eq_left E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 < ArchimedeanClass.mk y → ArchimedeanClass.stdPart (x - y) = ArchimedeanClass.stdPart x
theorem ArchimedeanClass.stdPart_mul E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 ≤ ArchimedeanClass.mk x →
0 ≤ ArchimedeanClass.mk y →
ArchimedeanClass.stdPart (x * y) = ArchimedeanClass.stdPart x * ArchimedeanClass.stdPart y
theorem ArchimedeanClass.stdPart_div E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x y : K},
0 ≤ ArchimedeanClass.mk x →
0 ≤ -ArchimedeanClass.mk y →
ArchimedeanClass.stdPart (x / y) = ArchimedeanClass.stdPart x / ArchimedeanClass.stdPart y
theorem ArchimedeanClass.stdPart_ratCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (q : ℚ),
ArchimedeanClass.stdPart ↑q = ↑q
theorem ArchimedeanClass.stdPart_intCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (n : ℤ),
ArchimedeanClass.stdPart ↑n = ↑n
theorem ArchimedeanClass.stdPart_natCast E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (n : ℕ),
ArchimedeanClass.stdPart ↑n = ↑n
theorem ArchimedeanClass.stdPart_ofNat E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (n : ℕ) [inst_3 : n.AtLeastTwo],
ArchimedeanClass.stdPart (OfNat.ofNat n) = ↑n
theorem ArchimedeanClass.stdPart_map_real E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (f : ℝ →+*o K) (r : ℝ),
ArchimedeanClass.stdPart (f r) = r
theorem ArchimedeanClass.stdPart_real E0 #
∀ (r : ℝ), ArchimedeanClass.stdPart r = r
theorem ArchimedeanClass.ofArchimedean_stdPart E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K)
(hx : 0 ≤ ArchimedeanClass.mk x),
(ArchimedeanClass.FiniteResidueField.ofArchimedean f) (ArchimedeanClass.stdPart x) =
ArchimedeanClass.FiniteResidueField.mk (ArchimedeanClass.FiniteElement.mk x hx)
theorem ArchimedeanClass.stdPart_nonneg E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K},
0 ≤ x → 0 ≤ ArchimedeanClass.stdPart x
theorem ArchimedeanClass.stdPart_nonpos E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K},
x ≤ 0 → ArchimedeanClass.stdPart x ≤ 0
theorem ArchimedeanClass.mk_sub_pos_iff E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K) {r : ℝ},
0 ≤ ArchimedeanClass.mk x → (0 < ArchimedeanClass.mk (x - f r) ↔ ArchimedeanClass.stdPart x = r)
The standard part of x is the unique real r such that x - r is infinitesimal.
theorem ArchimedeanClass.mk_sub_stdPart_pos E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K),
0 ≤ ArchimedeanClass.mk x → 0 < ArchimedeanClass.mk (x - f (ArchimedeanClass.stdPart x))
theorem ArchimedeanClass.lt_of_lt_stdPart E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K) {r : ℝ},
0 ≤ ArchimedeanClass.mk x → r < ArchimedeanClass.stdPart x → f r < x
theorem ArchimedeanClass.lt_of_stdPart_lt E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K) {r : ℝ},
0 ≤ ArchimedeanClass.mk x → ArchimedeanClass.stdPart x < r → x < f r
theorem ArchimedeanClass.stdPart_le_of_le E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K) {r : ℝ},
0 ≤ ArchimedeanClass.mk x → x ≤ f r → ArchimedeanClass.stdPart x ≤ r
theorem ArchimedeanClass.le_stdPart_of_le E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K) {r : ℝ},
0 ≤ ArchimedeanClass.mk x → f r ≤ x → r ≤ ArchimedeanClass.stdPart x
theorem ArchimedeanClass.stdPart_eq E0 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] {x : K} (f : ℝ →+*o K) {r : ℝ},
(∀ s < r, f s ≤ x) → (∀ s > r, x ≤ f s) → ArchimedeanClass.stdPart x = r
theorem ArchimedeanClass.stdPart_eq_sInf E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (f : ℝ →+*o K) (x : K),
ArchimedeanClass.stdPart x = sInf {r | x < f r}
theorem ArchimedeanClass.stdPart_eq_sSup E1 #
∀ {K : Type u_1} [inst : LinearOrder K] [inst_1 : Field K] [inst_2 : IsOrderedRing K] (f : ℝ →+*o K) (x : K),
ArchimedeanClass.stdPart x = sSup {r | f r < x}