The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Order.Archimedean.Basic

63 declarations. Mathlib docs · Source

theorem MulArchimedean.comap E1 #

∀ {G : Type u_1} {M : Type u_2} [inst : CommMonoid G] [inst_1 : LinearOrder G] [inst_2 : CommMonoid M]
  [inst_3 : PartialOrder M] [MulArchimedean M] (f : G →* M), StrictMono ⇑f → MulArchimedean G

theorem Archimedean.comap E1 #

∀ {G : Type u_1} {M : Type u_2} [inst : AddCommMonoid G] [inst_1 : LinearOrder G] [inst_2 : AddCommMonoid M]
  [inst_3 : PartialOrder M] [Archimedean M] (f : G →+ M), StrictMono ⇑f → Archimedean G

instance OrderDual.instMulArchimedean E0 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : PartialOrder G] [IsOrderedMonoid G] [MulArchimedean G],
  MulArchimedean Gᵒᵈ

instance OrderDual.instAddArchimedean E0 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : PartialOrder G] [IsOrderedAddMonoid G] [Archimedean G],
  Archimedean Gᵒᵈ

instance Additive.instArchimedean E0 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : PartialOrder G] [MulArchimedean G], Archimedean (Additive G)

instance Multiplicative.instMulArchimedean E0 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : PartialOrder G] [Archimedean G], MulArchimedean (Multiplicative G)

theorem existsUnique_zpow_near_of_one_lt E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [MulArchimedean G] {a : G},
  1 < a → ∀ (g : G), ∃! k, a ^ k ≤ g ∧ g < a ^ (k + 1)

An archimedean decidable linearly ordered CommGroup has a version of the floor: for a > 1, any g in the group lies between some two consecutive powers of a.

theorem existsUnique_zsmul_near_of_pos E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {a : G},
  0 < a → ∀ (g : G), ∃! k, k • a ≤ g ∧ g < (k + 1) • a

An archimedean decidable linearly ordered AddCommGroup has a version of the floor: for a > 0, any g in the group lies between some two consecutive multiples of a.

theorem existsUnique_zsmul_near_of_pos' E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {a : G},
  0 < a → ∀ (g : G), ∃! k, 0 ≤ g - k • a ∧ g - k • a < a

theorem existsUnique_zpow_near_of_one_lt' E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [MulArchimedean G] {a : G},
  1 < a → ∀ (g : G), ∃! k, 1 ≤ g / a ^ k ∧ g / a ^ k < a

theorem existsUnique_div_zpow_mem_Ico E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [MulArchimedean G] {a : G},
  1 < a → ∀ (b c : G), ∃! m, b / a ^ m ∈ Set.Ico c (c * a)

theorem existsUnique_sub_zsmul_mem_Ico E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {a : G},
  0 < a → ∀ (b c : G), ∃! m, b - m • a ∈ Set.Ico c (c + a)

theorem existsUnique_add_zsmul_mem_Ico E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {a : G},
  0 < a → ∀ (b c : G), ∃! m, b + m • a ∈ Set.Ico c (c + a)

theorem existsUnique_mul_zpow_mem_Ico E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [MulArchimedean G] {a : G},
  1 < a → ∀ (b c : G), ∃! m, b * a ^ m ∈ Set.Ico c (c * a)

theorem existsUnique_add_zsmul_mem_Ioc E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {a : G},
  0 < a → ∀ (b c : G), ∃! m, b + m • a ∈ Set.Ioc c (c + a)

theorem existsUnique_add_zpow_mem_Ioc E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [MulArchimedean G] {a : G},
  1 < a → ∀ (b c : G), ∃! m, b * a ^ m ∈ Set.Ioc c (c * a)

theorem existsUnique_sub_zpow_mem_Ioc E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [MulArchimedean G] {a : G},
  1 < a → ∀ (b c : G), ∃! m, b / a ^ m ∈ Set.Ioc c (c * a)

theorem existsUnique_sub_zsmul_mem_Ioc E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {a : G},
  0 < a → ∀ (b c : G), ∃! m, b - m • a ∈ Set.Ioc c (c + a)

instance instIsDirectedOrder E0 #

∀ {R : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R] [IsOrderedRing R] [Archimedean R], IsDirectedOrder R

theorem add_one_pow_unbounded_of_pos E1 #

∀ {R : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R] [IsStrictOrderedRing R] [Archimedean R] {y : R} (x : R),
  0 < y → ∃ n, x < (y + 1) ^ n

theorem pow_unbounded_of_one_lt E1 #

∀ {R : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R] [IsStrictOrderedRing R] [Archimedean R] {y : R}
  [ExistsAddOfLE R] (x : R), 1 < y → ∃ n, x < y ^ n

instance instIsCodirectedOrder E0 #

∀ {R : Type u_3} [inst : Ring R] [inst_1 : PartialOrder R] [IsOrderedRing R] [Archimedean R], IsCodirectedOrder R

theorem exists_floor E1 #

∀ {R : Type u_3} [inst : Ring R] [inst_1 : PartialOrder R] [IsStrictOrderedRing R] [Archimedean R] (x : R),
  ∃ fl, ∀ (z : ℤ), z ≤ fl ↔ ↑z ≤ x

See exists_floor' for a more general version which only assumes the element is bounded by two integers.

theorem exists_nat_pow_near E1 #

∀ {R : Type u_3} [inst : Semiring R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] [Archimedean R] [ExistsAddOfLE R]
  {x y : R}, 1 ≤ x → 1 < y → ∃ n, y ^ n ≤ x ∧ x < y ^ (n + 1)

Every x greater than or equal to 1 is between two successive natural-number powers of every y greater than one.

theorem exists_nat_one_div_lt E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {ε : K},
  0 < ε → ∃ n, 1 / (↑n + 1) < ε

theorem exists_mem_Ico_zpow E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K}
  [ExistsAddOfLE K], 0 < x → 1 < y → ∃ n, x ∈ Set.Ico (y ^ n) (y ^ (n + 1))

Every positive x is between two successive integer powers of another y greater than one. This is the same as exists_mem_Ioc_zpow, but with ≤ and < the other way around.

theorem exists_mem_Ioc_zpow E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K}
  [ExistsAddOfLE K], 0 < x → 1 < y → ∃ n, x ∈ Set.Ioc (y ^ n) (y ^ (n + 1))

Every positive x is between two successive integer powers of another y greater than one. This is the same as exists_mem_Ico_zpow, but with ≤ and < the other way around.

theorem exists_pow_lt_of_lt_one E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K}
  [ExistsAddOfLE K], 0 < x → y < 1 → ∃ n, y ^ n < x

For any y < 1 and any positive x, there exists n : ℕ with y ^ n < x.

theorem exists_nat_pow_near_of_lt_one E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K}
  [ExistsAddOfLE K], 0 < x → x ≤ 1 → 0 < y → y < 1 → ∃ n, y ^ (n + 1) < x ∧ x ≤ y ^ n

Given x and y between 0 and 1, x is between two successive powers of y. This is the same as exists_nat_pow_near, but for elements between 0 and 1

theorem exists_pow_btwn_of_lt_mul E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] [ExistsAddOfLE K]
  {a b c : K}, a < b * c → 0 < b → b ≤ 1 → 0 < c → c < 1 → ∃ n, a < c ^ n ∧ c ^ n < b

If a < b * c, 0 < b ≤ 1 and 0 < c < 1, then there is a power c ^ n with n : ℕ strictly between a and b.

theorem exists_zpow_btwn_of_lt_mul E1 #

∀ {K : Type u_4} [inst : Semifield K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] [ExistsAddOfLE K]
  {a b c : K}, a < b * c → 0 < b → 0 < c → c < 1 → ∃ n, a < c ^ n ∧ c ^ n < b

If a < b * c, b is positive and 0 < c < 1, then there is a power c ^ n with n : ℤ strictly between a and b.

theorem archimedean_iff_nat_lt E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K],
  Archimedean K ↔ ∀ (x : K), ∃ n, x < ↑n

theorem archimedean_iff_nat_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K],
  Archimedean K ↔ ∀ (x : K), ∃ n, x ≤ ↑n

theorem archimedean_iff_int_lt E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K],
  Archimedean K ↔ ∀ (x : K), ∃ n, x < ↑n

theorem archimedean_iff_int_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K],
  Archimedean K ↔ ∀ (x : K), ∃ n, x ≤ ↑n

theorem archimedean_iff_rat_lt E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K],
  Archimedean K ↔ ∀ (x : K), ∃ q, x < ↑q

theorem archimedean_iff_rat_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K],
  Archimedean K ↔ ∀ (x : K), ∃ q, x ≤ ↑q

instance instArchimedeanRat E0 #

Archimedean ℚ

theorem exists_rat_gt E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] (x : K), ∃ q, x < ↑q

theorem exists_rat_lt E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] (x : K), ∃ q, ↑q < x

theorem exists_div_btwn E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K} {n : ℕ},
  x < y → (y - x)⁻¹ < ↑n → ∃ z, x < ↑z / ↑n ∧ ↑z / ↑n < y

theorem exists_rat_btwn E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K},
  x < y → ∃ q, x < ↑q ∧ ↑q < y

theorem exists_rat_mem_uIoo E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K},
  x ≠ y → ∃ q, ↑q ∈ Set.uIoo x y

theorem exists_pow_btwn E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {n : ℕ},
  n ≠ 0 → ∀ {x y : K}, x < y → 0 < y → ∃ q, 0 < q ∧ x < q ^ n ∧ q ^ n < y

theorem exists_rat_pow_btwn E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {n : ℕ},
  n ≠ 0 → ∀ {x y : K}, x < y → 0 < y → ∃ q, 0 < q ∧ x < ↑q ^ n ∧ ↑q ^ n < y

There is a rational power between any two positive elements of an archimedean ordered field.

theorem le_of_forall_rat_lt_imp_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K},
  (∀ (q : ℚ), ↑q < x → ↑q ≤ y) → x ≤ y

theorem le_of_forall_lt_rat_imp_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K},
  (∀ (q : ℚ), y < ↑q → x ≤ ↑q) → x ≤ y

theorem le_iff_forall_rat_lt_imp_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K},
  x ≤ y ↔ ∀ (q : ℚ), ↑q < x → ↑q ≤ y

theorem le_iff_forall_lt_rat_imp_le E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x y : K},
  x ≤ y ↔ ∀ (q : ℚ), y < ↑q → x ≤ ↑q

theorem exists_pos_rat_lt E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {x : K},
  0 < x → ∃ q, 0 < q ∧ ↑q < x

theorem exists_rat_near E1 #

∀ {K : Type u_4} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [Archimedean K] {ε : K} (x : K),
  0 < ε → ∃ q, |x - ↑q| < ε

instance instArchimedeanNat E0 #

Archimedean ℕ

instance instArchimedeanInt E0 #

Archimedean ℤ

instance Nonneg.instArchimedean E0 #

∀ {M : Type u_2} [inst : AddCommMonoid M] [inst_1 : PartialOrder M] [inst_2 : IsOrderedAddMonoid M] [Archimedean M],
  Archimedean (Nonneg M)

instance Nonneg.instMulArchimedean E0 #

∀ {R : Type u_3} [inst : CommSemiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R] [Archimedean R]
  [ExistsAddOfLE R], MulArchimedean (Nonneg R)

instance instArchimedeanNNRat E0 #

Archimedean ℚ≥0

instance instMulArchimedeanNNRat E0 #

MulArchimedean ℚ≥0

def Archimedean.floorRing E1 #

(R : Type u_5) → [inst : Ring R] → [inst_1 : LinearOrder R] → [IsStrictOrderedRing R] → [Archimedean R] → FloorRing R

A linear ordered archimedean ring is a floor ring. This is not an instance because in some cases we have a computable floor function.

instance FloorRing.archimedean E0 #

∀ (K : Type u_5) [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] [FloorRing K], Archimedean K

A linear ordered field that is a floor ring is archimedean.

instance AddUnits.instAddArchimedean E0 #

∀ (M : Type u_5) [inst : AddCommMonoid M] [inst_1 : PartialOrder M] [Archimedean M], Archimedean (AddUnits M)

instance Units.instMulArchimedean E0 #

∀ (M : Type u_5) [inst : CommMonoid M] [inst_1 : PartialOrder M] [MulArchimedean M], MulArchimedean Mˣ

instance WithBot.instArchimedean E0 #

∀ (M : Type u_5) [inst : AddCommMonoid M] [inst_1 : PartialOrder M] [Archimedean M], Archimedean (WithBot M)

instance WithZero.instMulArchimedean E0 #

∀ (M : Type u_5) [inst : CommMonoid M] [inst_1 : PartialOrder M] [MulArchimedean M], MulArchimedean (WithZero M)