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.Field.Basic

150 declarations and 1 deprecated aliases. Mathlib docs · Source

Lemmas about (linear) ordered (semi)fields

Relating one division and involving 1

Relating two divisions, involving 1

Results about halving.

The equalities also hold in semifields of characteristic 0.

Miscellaneous lemmas

Results about IsGLB

Results about IsLUB

Lemmas about pos, nonneg, nonpos, neg

Relating one division with another term

Bi-implications of inequalities using inversions

Monotonicity results involving inversion

Relating two divisions

Relating one division and involving 1

Relating two divisions, involving 1

Results about halving

Miscellaneous lemmas

theorem le_div_self E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 ≤ a → 0 < b → b ≤ 1 → a ≤ a / b

theorem one_le_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < b → (1 ≤ a / b ↔ b ≤ a)

theorem div_le_one E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < b → (a / b ≤ 1 ↔ a ≤ b)

theorem one_lt_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < b → (1 < a / b ↔ b < a)

theorem div_lt_one E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < b → (a / b < 1 ↔ a < b)

theorem one_div_le E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → 0 < b → (1 / a ≤ b ↔ 1 / b ≤ a)

theorem one_div_lt E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → 0 < b → (1 / a < b ↔ 1 / b < a)

theorem le_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → 0 < b → (a ≤ 1 / b ↔ b ≤ 1 / a)

theorem lt_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → 0 < b → (a < 1 / b ↔ b < 1 / a)

theorem Bound.one_lt_div_of_pos_of_lt E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α}, 0 < b → b < a → 1 < a / b

theorem Bound.div_lt_one_of_pos_of_lt E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α}, 0 < b → a < b → a / b < 1

theorem one_div_le_one_div_of_le E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → a ≤ b → 1 / b ≤ 1 / a

theorem one_div_lt_one_div_of_lt E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → a < b → 1 / b < 1 / a

theorem le_of_one_div_le_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → 1 / a ≤ 1 / b → b ≤ a

theorem lt_of_one_div_lt_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α},
  0 < a → 1 / a < 1 / b → b < a

theorem div_le_self E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  0 ≤ a → 1 ≤ b → a / b ≤ a

theorem div_lt_self E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  0 < a → 1 < b → a / b < a

theorem one_div_le_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  0 < a → 0 < b → (1 / a ≤ 1 / b ↔ b ≤ a)

For the single implications with fewer assumptions, see one_div_le_one_div_of_le and le_of_one_div_le_one_div

theorem one_div_lt_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  0 < a → 0 < b → (1 / a < 1 / b ↔ b < a)

For the single implications with fewer assumptions, see one_div_lt_one_div_of_lt and lt_of_one_div_lt_one_div

theorem one_lt_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 < a → a < 1 → 1 < 1 / a

theorem one_le_one_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 < a → a ≤ 1 → 1 ≤ 1 / a

theorem half_pos E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 < a → 0 < a / 2

theorem one_half_pos E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α], 0 < 1 / 2

theorem half_le_self_iff E0 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  a / 2 ≤ a ↔ 0 ≤ a

theorem half_lt_self_iff E0 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  a / 2 < a ↔ 0 < a

theorem half_le_self E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 ≤ a → a / 2 ≤ a

Alias of the reverse direction of half_le_self_iff.

theorem half_lt_self E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 < a → a / 2 < a

Alias of the reverse direction of half_lt_self_iff.

theorem div_two_lt_of_pos E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 < a → a / 2 < a

Alias of half_lt_self.


Alias of the reverse direction of half_lt_self_iff.

theorem one_half_lt_one E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α], 1 / 2 < 1

theorem two_inv_lt_one E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α], 2⁻¹ < 1

theorem left_lt_add_div_two E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  a < (a + b) / 2 ↔ a < b

theorem add_div_two_lt_right E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  (a + b) / 2 < b ↔ a < b

theorem add_thirds E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] (a : α),
  a / 3 + a / 3 + a / 3 = a

theorem div_pos_iff_of_pos_left E0 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  0 < a → (0 < a / b ↔ 0 < b)

theorem div_pos_iff_of_pos_right E0 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α],
  0 < b → (0 < a / b ↔ 0 < a)

theorem div_mul_le_div_mul_of_div_le_div E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b c d e : α}
  [IsStrictOrderedRing α], a / b ≤ c / d → 0 ≤ e → a / (b * e) ≤ c / (d * e)

theorem mul_le_mul_of_mul_div_le E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b c d : α},
  a * (b / c) ≤ d → 0 < c → b * a ≤ d * c

theorem monotone_div_right_of_nonneg E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α},
  0 ≤ a → Monotone fun x ↦ x / a

theorem strictMono_div_right_of_pos E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α},
  0 < a → StrictMono fun x ↦ x / a

theorem Monotone.div_const E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {β : Type u_3} [inst_3 : Preorder β]
  {f : β → α}, Monotone f → ∀ {c : α}, 0 ≤ c → Monotone fun x ↦ f x / c

theorem StrictMono.div_const E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α]
  {β : Type u_3} [inst_4 : Preorder β] {f : β → α}, StrictMono f → ∀ {c : α}, 0 < c → StrictMono fun x ↦ f x / c

instance LinearOrderedSemiField.toDenselyOrdered E0 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α],
  DenselyOrdered α

theorem one_div_strictAntiOn E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α],
  StrictAntiOn (fun x ↦ 1 / x) (Set.Ioi 0)

theorem one_div_pow_le_one_div_pow_of_le E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 ≤ a → ∀ {m n : ℕ}, m ≤ n → 1 / a ^ n ≤ 1 / a ^ m

theorem one_div_pow_lt_one_div_pow_of_lt E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 < a → ∀ {m n : ℕ}, m < n → 1 / a ^ n < 1 / a ^ m

theorem one_div_pow_anti E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 ≤ a → Antitone fun n ↦ 1 / a ^ n

theorem one_div_pow_strictAnti E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 < a → StrictAnti fun n ↦ 1 / a ^ n

theorem inv_strictAntiOn E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α],
  StrictAntiOn (fun x ↦ x⁻¹) (Set.Ioi 0)

theorem inv_pow_le_inv_pow_of_le E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 ≤ a → ∀ {m n : ℕ}, m ≤ n → (a ^ n)⁻¹ ≤ (a ^ m)⁻¹

theorem inv_pow_lt_inv_pow_of_lt E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 < a → ∀ {m n : ℕ}, m < n → (a ^ n)⁻¹ < (a ^ m)⁻¹

theorem inv_pow_anti E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 ≤ a → Antitone fun n ↦ (a ^ n)⁻¹

theorem inv_pow_strictAnti E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  1 < a → StrictAnti fun n ↦ (a ^ n)⁻¹

theorem le_iff_forall_one_lt_le_mul₀ E1 #

∀ {α : Type u_3} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  0 ≤ b → (a ≤ b ↔ ∀ (ε : α), 1 < ε → a ≤ b * ε)

theorem div_nat_le_self_of_nonneg E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 ≤ a → ∀ (n : ℕ), a / ↑n ≤ a

theorem div_nat_lt_self_of_pos_of_two_le E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a : α} [IsStrictOrderedRing α],
  0 < a → ∀ {n : ℕ}, 2 ≤ n → a / ↑n < a

theorem IsGLB.mul_left E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α]
  {s : Set α}, 0 ≤ a → IsGLB s b → IsGLB ((fun b ↦ a * b) '' s) (a * b)

theorem IsGLB.mul_right E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α]
  {s : Set α}, 0 ≤ a → IsGLB s b → IsGLB ((fun b ↦ b * a) '' s) (b * a)

theorem IsLUB.mul_left E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α]
  {s : Set α}, 0 ≤ a → IsLUB s b → IsLUB ((fun b ↦ a * b) '' s) (a * b)

theorem IsLUB.mul_right E1 #

∀ {α : Type u_1} [inst : Semifield α] [inst_1 : PartialOrder α] [PosMulReflectLT α] {a b : α} [IsStrictOrderedRing α]
  {s : Set α}, 0 ≤ a → IsLUB s b → IsLUB ((fun b ↦ b * a) '' s) (b * a)

theorem exists_pos_mul_lt E1 #

∀ {α : Type u_3} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a : α},
  0 < a → ∀ (b : α), ∃ c, 0 < c ∧ b * c < a

theorem exists_pos_lt_mul E1 #

∀ {α : Type u_3} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a : α},
  0 < a → ∀ (b : α), ∃ c, 0 < c ∧ b < c * a

theorem min_div_div_right E1 #

∀ {α : Type u_3} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {c : α},
  0 ≤ c → ∀ (a b : α), min (a / c) (b / c) = min a b / c

theorem max_div_div_right E1 #

∀ {α : Type u_3} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {c : α},
  0 ≤ c → ∀ (a b : α), max (a / c) (b / c) = max a b / c

theorem inv_lt_zero' E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a : α},
  a⁻¹ < 0 ↔ a < 0

A version of inv_lt_zero which holds with different assumptions. In particular, the type must be a field, not just a GroupWithZero, but the order assumptions replace LinearOrder and PosMulMono with PartialOrder, IsStrictOrderedRing and PosMulReflectLT. Thus neither version is more general than the other. This one applies, for instance, to ℂ.

theorem inv_nonpos' E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a : α},
  a⁻¹ ≤ 0 ↔ a ≤ 0

A version of inv_nonpos which holds with different assumptions. In particular, the type must be a field, not just a GroupWithZero, but the order assumptions replace LinearOrder and PosMulMono with PartialOrder, IsStrictOrderedRing and PosMulReflectLT. Thus neither version is more general than the other. This one applies, for instance, to ℂ.

theorem div_nonneg_of_nonpos E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a ≤ 0 → b ≤ 0 → 0 ≤ a / b

theorem div_pos_of_neg_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → 0 < a / b

theorem div_neg_of_neg_of_pos E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → 0 < b → a / b < 0

theorem div_neg_of_pos_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  0 < a → b < 0 → a / b < 0

theorem div_le_iff_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (b / c ≤ a ↔ a * c ≤ b)

theorem div_le_iff_of_neg' E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (b / c ≤ a ↔ c * a ≤ b)

theorem le_div_iff_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (a ≤ b / c ↔ b ≤ a * c)

theorem le_div_iff_of_neg' E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (a ≤ b / c ↔ b ≤ c * a)

theorem div_lt_iff_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (b / c < a ↔ a * c < b)

theorem div_lt_iff_of_neg' E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (b / c < a ↔ c * a < b)

theorem lt_div_iff_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (a < b / c ↔ b < a * c)

theorem lt_div_iff_of_neg' E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (a < b / c ↔ b < c * a)

theorem div_le_one_of_ge E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b ≤ a → b ≤ 0 → a / b ≤ 1

theorem inv_le_inv_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a⁻¹ ≤ b⁻¹ ↔ b ≤ a)

theorem inv_le_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a⁻¹ ≤ b ↔ b⁻¹ ≤ a)

theorem le_inv_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a ≤ b⁻¹ ↔ b ≤ a⁻¹)

theorem inv_lt_inv_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a⁻¹ < b⁻¹ ↔ b < a)

theorem inv_lt_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a⁻¹ < b ↔ b⁻¹ < a)

theorem lt_inv_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a < b⁻¹ ↔ b < a⁻¹)

theorem sub_inv_antitoneOn_Ioi E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {c : α},
  AntitoneOn (fun x ↦ (x - c)⁻¹) (Set.Ioi c)

theorem sub_inv_antitoneOn_Iio E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {c : α},
  AntitoneOn (fun x ↦ (x - c)⁻¹) (Set.Iio c)

theorem sub_inv_antitoneOn_Icc_right E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < a → AntitoneOn (fun x ↦ (x - c)⁻¹) (Set.Icc a b)

theorem sub_inv_antitoneOn_Icc_left E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  b < c → AntitoneOn (fun x ↦ (x - c)⁻¹) (Set.Icc a b)

theorem inv_antitoneOn_Ioi E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α],
  AntitoneOn (fun x ↦ x⁻¹) (Set.Ioi 0)

theorem inv_antitoneOn_Iio E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α],
  AntitoneOn (fun x ↦ x⁻¹) (Set.Iio 0)

theorem inv_antitoneOn_Icc_right E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  0 < a → AntitoneOn (fun x ↦ x⁻¹) (Set.Icc a b)

theorem inv_antitoneOn_Icc_left E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → AntitoneOn (fun x ↦ x⁻¹) (Set.Icc a b)

theorem div_le_div_of_nonpos_of_le E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c ≤ 0 → b ≤ a → a / c ≤ b / c

theorem div_lt_div_of_neg_of_lt E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → b < a → a / c < b / c

theorem div_le_div_right_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (a / c ≤ b / c ↔ b ≤ a)

theorem div_lt_div_right_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b c : α},
  c < 0 → (a / c < b / c ↔ b < a)

theorem one_le_div_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → (1 ≤ a / b ↔ a ≤ b)

theorem div_le_one_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → (a / b ≤ 1 ↔ b ≤ a)

theorem one_lt_div_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → (1 < a / b ↔ a < b)

theorem div_lt_one_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → (a / b < 1 ↔ b < a)

theorem one_div_le_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (1 / a ≤ b ↔ 1 / b ≤ a)

theorem one_div_lt_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (1 / a < b ↔ 1 / b < a)

theorem le_one_div_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a ≤ 1 / b ↔ b ≤ 1 / a)

theorem lt_one_div_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (a < 1 / b ↔ b < 1 / a)

theorem one_div_le_one_div_of_neg_of_le E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → a ≤ b → 1 / b ≤ 1 / a

theorem one_div_lt_one_div_of_neg_of_lt E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → a < b → 1 / b < 1 / a

theorem le_of_neg_of_one_div_le_one_div E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → 1 / a ≤ 1 / b → b ≤ a

theorem lt_of_neg_of_one_div_lt_one_div E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < 0 → 1 / a < 1 / b → b < a

theorem one_div_le_one_div_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (1 / a ≤ 1 / b ↔ b ≤ a)

For the single implications with fewer assumptions, see one_div_lt_one_div_of_neg_of_lt and lt_of_one_div_lt_one_div

theorem one_div_lt_one_div_of_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < 0 → b < 0 → (1 / a < 1 / b ↔ b < a)

For the single implications with fewer assumptions, see one_div_lt_one_div_of_lt and lt_of_one_div_lt_one_div

theorem one_div_lt_neg_one E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a : α},
  a < 0 → -1 < a → 1 / a < -1

theorem one_div_le_neg_one E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a : α},
  a < 0 → -1 ≤ a → 1 / a ≤ -1

theorem sub_self_div_two E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] (a : α), a - a / 2 = a / 2

theorem div_two_sub_self E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] (a : α), a / 2 - a = -(a / 2)

theorem add_sub_div_two_lt E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  a < b → a + (b - a) / 2 < b

theorem sub_one_div_inv_le_two E2 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a : α},
  2 ≤ a → (1 - 1 / a)⁻¹ ≤ 2

An inequality involving 2.

theorem mul_sub_mul_div_mul_neg_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] {a b c d : α},
  c ≠ 0 → d ≠ 0 → ((a * d - b * c) / (c * d) < 0 ↔ a / c < b / d)

theorem mul_sub_mul_div_mul_nonpos_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] {a b c d : α},
  c ≠ 0 → d ≠ 0 → ((a * d - b * c) / (c * d) ≤ 0 ↔ a / c ≤ b / d)

theorem mul_sub_mul_div_mul_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] {a b c d : α},
  c ≠ 0 → d ≠ 0 → a / c < b / d → (a * d - b * c) / (c * d) < 0

Alias of the reverse direction of mul_sub_mul_div_mul_neg_iff.

theorem div_lt_div_of_mul_sub_mul_div_neg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] {a b c d : α},
  c ≠ 0 → d ≠ 0 → (a * d - b * c) / (c * d) < 0 → a / c < b / d

Alias of the forward direction of mul_sub_mul_div_mul_neg_iff.

theorem div_le_div_of_mul_sub_mul_div_nonpos E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] {a b c d : α},
  c ≠ 0 → d ≠ 0 → (a * d - b * c) / (c * d) ≤ 0 → a / c ≤ b / d

Alias of the forward direction of mul_sub_mul_div_mul_nonpos_iff.

theorem mul_sub_mul_div_mul_nonpos E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] {a b c d : α},
  c ≠ 0 → d ≠ 0 → a / c ≤ b / d → (a * d - b * c) / (c * d) ≤ 0

Alias of the reverse direction of mul_sub_mul_div_mul_nonpos_iff.

theorem exists_add_lt_and_pos_of_lt E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : PartialOrder α] [PosMulReflectLT α] [IsStrictOrderedRing α] {a b : α},
  b < a → ∃ c, b + c < a ∧ 0 < c

theorem div_pos_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  0 < a / b ↔ 0 < a ∧ 0 < b ∨ a < 0 ∧ b < 0

theorem div_neg_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  a / b < 0 ↔ 0 < a ∧ b < 0 ∨ a < 0 ∧ 0 < b

theorem div_nonneg_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  0 ≤ a / b ↔ 0 ≤ a ∧ 0 ≤ b ∨ a ≤ 0 ∧ b ≤ 0

theorem div_nonpos_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  a / b ≤ 0 ↔ 0 ≤ a ∧ b ≤ 0 ∨ a ≤ 0 ∧ 0 ≤ b

theorem one_lt_div_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  1 < a / b ↔ 0 < b ∧ b < a ∨ b < 0 ∧ a < b

theorem one_le_div_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  1 ≤ a / b ↔ 0 < b ∧ b ≤ a ∨ b < 0 ∧ a ≤ b

theorem div_lt_one_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  a / b < 1 ↔ 0 < b ∧ a < b ∨ b = 0 ∨ b < 0 ∧ b < a

theorem div_le_one_iff E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  a / b ≤ 1 ↔ 0 < b ∧ a ≤ b ∨ b = 0 ∨ b < 0 ∧ b ≤ a

theorem le_of_forall_sub_le E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b : α},
  (∀ ε > 0, b - ε ≤ a) → b ≤ a

theorem le_mul_of_forall_lt₀ E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b c : α},
  (∀ a' > a, ∀ b' > b, c ≤ a' * b') → c ≤ a * b

theorem mul_le_of_forall_lt_of_nonneg E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b c : α},
  0 ≤ a → 0 ≤ c → (∀ a' ≥ 0, a' < a → ∀ b' ≥ 0, b' < b → a' * b' ≤ c) → a * b ≤ c

theorem mul_self_inj_of_nonneg E1 #

∀ {α : Type u_3} [inst : CommRing α] [NoZeroDivisors α] [inst_2 : PartialOrder α] [IsStrictOrderedRing α] {a b : α},
  0 ≤ a → 0 ≤ b → (a * a = b * b ↔ a = b)

theorem min_div_div_right_of_nonpos E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {c : α},
  c ≤ 0 → ∀ (a b : α), min (a / c) (b / c) = max a b / c

theorem max_div_div_right_of_nonpos E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {c : α},
  c ≤ 0 → ∀ (a b : α), max (a / c) (b / c) = min a b / c

theorem abs_inv E0 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] (a : α), |a⁻¹| = |a|⁻¹

theorem abs_div E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] (a b : α), |a / b| = |a| / |b|

theorem abs_one_div E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] (a : α), |1 / a| = 1 / |a|

theorem uniform_continuous_npow_on_bounded E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] (B : α) {ε : α},
  0 < ε → ∀ (n : ℕ), ∃ δ > 0, ∀ (q r : α), |r| ≤ B → |q - r| ≤ δ → |q ^ n - r ^ n| < ε

theorem two_mul_le_add_mul_sq E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] {a b ε : α},
  0 < ε → 2 * a * b ≤ ε * a ^ 2 + ε⁻¹ * b ^ 2

theorem Mathlib.Meta.Positivity.div_nonneg_of_pos_of_nonneg E1 #

∀ {α : Type u_3} [inst : GroupWithZero α] [inst_1 : PartialOrder α] {a b : α} [PosMulReflectLT α],
  0 < a → 0 ≤ b → 0 ≤ a / b

theorem Mathlib.Meta.Positivity.div_nonneg_of_nonneg_of_pos E1 #

∀ {α : Type u_3} [inst : GroupWithZero α] [inst_1 : PartialOrder α] {a b : α} [PosMulReflectLT α],
  0 ≤ a → 0 < b → 0 ≤ a / b

theorem Mathlib.Meta.Positivity.div_ne_zero_of_pos_of_ne_zero E1 #

∀ {α : Type u_3} [inst : GroupWithZero α] [inst_1 : PartialOrder α] {a b : α}, 0 < a → b ≠ 0 → a / b ≠ 0

theorem Mathlib.Meta.Positivity.div_ne_zero_of_ne_zero_of_pos E1 #

∀ {α : Type u_3} [inst : GroupWithZero α] [inst_1 : PartialOrder α] {a b : α}, a ≠ 0 → 0 < b → a / b ≠ 0

theorem Mathlib.Meta.Positivity.zpow_zero_pos E1 #

∀ {α : Type u_4} [inst : Semifield α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α] (a : α), 0 < a ^ 0

def Mathlib.Meta.Positivity.evalDiv E1 #

Mathlib.Meta.Positivity.PositivityExt

The positivity extension which identifies expressions of the form a / b, such that positivity successfully recognises both a and b.

def Mathlib.Meta.Positivity.evalInv E1 #

Mathlib.Meta.Positivity.PositivityExt

The positivity extension which identifies expressions of the form a⁻¹, such that positivity successfully recognises a.

def Mathlib.Meta.Positivity.evalPowZeroInt E1 #

Mathlib.Meta.Positivity.PositivityExt

The positivity extension which identifies expressions of the form a ^ (0:ℤ).

Deprecated aliases

NameNew nameSince
div_nat_le_self_of_nonnnegdiv_nat_le_self_of_nonneg2026-09-17