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 / V05. Groups

Mathlib.Algebra.Group.Units.Basic

123 declarations and 4 deprecated aliases. Mathlib docs · Source

Units (i.e., invertible elements) of a monoid

An element of a Monoid is a unit if it has a two-sided inverse. This file contains the basic lemmas on units in a monoid, especially focusing on singleton types and unique types.

TODO

The results here should be used to golf the basic Group lemmas.

IsUnit predicate

theorem unique_zero E1 #

∀ {α : Type u_1} [inst : Unique α] [inst_1 : Zero α], default = 0

theorem unique_one E1 #

∀ {α : Type u_1} [inst : Unique α] [inst_1 : One α], default = 1

theorem Units.mul_inv_cancel_right E0 #

∀ {α : Type u} [inst : Monoid α] (a : α) (b : αˣ), a * ↑b * ↑b⁻¹ = a

theorem AddUnits.add_neg_cancel_right E0 #

∀ {α : Type u} [inst : AddMonoid α] (a : α) (b : AddUnits α), a + ↑b + ↑(-b) = a

theorem AddUnits.neg_add_cancel_right E0 #

∀ {α : Type u} [inst : AddMonoid α] (a : α) (b : AddUnits α), a + ↑(-b) + ↑b = a

theorem Units.inv_mul_cancel_right E0 #

∀ {α : Type u} [inst : Monoid α] (a : α) (b : αˣ), a * ↑b⁻¹ * ↑b = a

theorem AddUnits.add_right_inj E0 #

∀ {α : Type u} [inst : AddMonoid α] (a : AddUnits α) {b c : α}, ↑a + b = ↑a + c ↔ b = c

theorem Units.mul_right_inj E0 #

∀ {α : Type u} [inst : Monoid α] (a : αˣ) {b c : α}, ↑a * b = ↑a * c ↔ b = c

theorem AddUnits.add_left_inj E0 #

∀ {α : Type u} [inst : AddMonoid α] (a : AddUnits α) {b c : α}, b + ↑a = c + ↑a ↔ b = c

theorem Units.mul_left_inj E0 #

∀ {α : Type u} [inst : Monoid α] (a : αˣ) {b c : α}, b * ↑a = c * ↑a ↔ b = c

theorem Units.mul_inv_eq_iff_eq_mul E1 #

∀ {α : Type u} [inst : Monoid α] (b : αˣ) {a c : α}, a * ↑b⁻¹ = c ↔ a = c * ↑b

theorem AddUnits.add_neg_eq_iff_eq_add E1 #

∀ {α : Type u} [inst : AddMonoid α] (b : AddUnits α) {a c : α}, a + ↑(-b) = c ↔ a = c + ↑b

theorem AddUnits.neg_eq_of_add_eq_zero_left E1 #

∀ {α : Type u} [inst : AddMonoid α] {u : AddUnits α} {a : α}, a + ↑u = 0 → ↑(-u) = a

theorem Units.inv_eq_of_mul_eq_one_left E1 #

∀ {α : Type u} [inst : Monoid α] {u : αˣ} {a : α}, a * ↑u = 1 → ↑u⁻¹ = a

theorem Units.inv_eq_of_mul_eq_one_right E1 #

∀ {α : Type u} [inst : Monoid α] {u : αˣ} {a : α}, ↑u * a = 1 → ↑u⁻¹ = a

theorem AddUnits.neg_eq_of_add_eq_zero_right E1 #

∀ {α : Type u} [inst : AddMonoid α] {u : AddUnits α} {a : α}, ↑u + a = 0 → ↑(-u) = a

theorem Units.mul_inv_eq_one E0 #

∀ {α : Type u} [inst : Monoid α] {u : αˣ} {a : α}, a * ↑u⁻¹ = 1 ↔ a = ↑u

theorem AddUnits.add_neg_eq_zero E0 #

∀ {α : Type u} [inst : AddMonoid α] {u : AddUnits α} {a : α}, a + ↑(-u) = 0 ↔ a = ↑u

theorem Units.inv_mul_eq_one E0 #

∀ {α : Type u} [inst : Monoid α] {u : αˣ} {a : α}, ↑u⁻¹ * a = 1 ↔ ↑u = a

theorem AddUnits.neg_add_eq_zero E0 #

∀ {α : Type u} [inst : AddMonoid α] {u : AddUnits α} {a : α}, ↑(-u) + a = 0 ↔ ↑u = a

theorem Units.mul_eq_one_iff_eq_inv E1 #

∀ {α : Type u} [inst : Monoid α] {u : αˣ} {a : α}, a * ↑u = 1 ↔ a = ↑u⁻¹

theorem AddUnits.add_eq_zero_iff_eq_neg E1 #

∀ {α : Type u} [inst : AddMonoid α] {u : AddUnits α} {a : α}, a + ↑u = 0 ↔ a = ↑(-u)

theorem AddUnits.add_eq_zero_iff_neg_eq E0 #

∀ {α : Type u} [inst : AddMonoid α] {u : AddUnits α} {a : α}, ↑u + a = 0 ↔ ↑(-u) = a

theorem Units.mul_eq_one_iff_inv_eq E0 #

∀ {α : Type u} [inst : Monoid α] {u : αˣ} {a : α}, ↑u * a = 1 ↔ ↑u⁻¹ = a

theorem Units.inv_unique E1 #

∀ {α : Type u} [inst : Monoid α] {u₁ u₂ : αˣ}, ↑u₁ = ↑u₂ → ↑u₁⁻¹ = ↑u₂⁻¹

theorem AddUnits.neg_unique E1 #

∀ {α : Type u} [inst : AddMonoid α] {u₁ u₂ : AddUnits α}, ↑u₁ = ↑u₂ → ↑(-u₁) = ↑(-u₂)

theorem Units.val_inv_inj E0 #

∀ {α : Type u} [inst : Monoid α] {u₁ u₂ : αˣ}, ↑u₁⁻¹ = ↑u₂⁻¹ ↔ ↑u₁ = ↑u₂

theorem AddUnits.val_neg_inj E0 #

∀ {α : Type u} [inst : AddMonoid α] {u₁ u₂ : AddUnits α}, ↑(-u₁) = ↑(-u₂) ↔ ↑u₁ = ↑u₂

theorem AddUnits.add_neg_eq_add_neg_iff E0 #

∀ {α : Type u} [inst : AddCommMonoid α] (a c : α) (b d : AddUnits α), a + ↑(-b) = c + ↑(-d) ↔ a + ↑d = c + ↑b

theorem Units.mul_inv_eq_mul_inv_iff E0 #

∀ {α : Type u} [inst : CommMonoid α] (a c : α) (b d : αˣ), a * ↑b⁻¹ = c * ↑d⁻¹ ↔ a * ↑d = c * ↑b

theorem Units.inv_mul_eq_inv_mul_iff E0 #

∀ {α : Type u} [inst : CommMonoid α] (a c : α) (b d : αˣ), ↑b⁻¹ * a = ↑d⁻¹ * c ↔ a * ↑d = c * ↑b

theorem AddUnits.neg_add_eq_neg_add_iff E0 #

∀ {α : Type u} [inst : AddCommMonoid α] (a c : α) (b d : AddUnits α), ↑(-b) + a = ↑(-d) + c ↔ a + ↑d = c + ↑b

theorem divp_left_inj E0 #

∀ {α : Type u} [inst : Monoid α] (u : αˣ) {a b : α}, a /ₚ u = b /ₚ u ↔ a = b

theorem divp_eq_iff_mul_eq E0 #

∀ {α : Type u} [inst : Monoid α] {x : α} {u : αˣ} {y : α}, x /ₚ u = y ↔ y * ↑u = x

theorem divp_eq_one_iff_eq E0 #

∀ {α : Type u} [inst : Monoid α] {a : α} {u : αˣ}, a /ₚ u = 1 ↔ a = ↑u

theorem inv_eq_one_divp' E1 #

∀ {α : Type u} [inst : Monoid α] (u : αˣ), ↑(1 / u) = 1 /ₚ u

theorem mul_eq_one E0 #

∀ {α : Type u} [inst : Monoid α] [IsDedekindFiniteMonoid α] [Subsingleton αˣ] {a b : α}, a * b = 1 ↔ a = 1 ∧ b = 1

theorem add_eq_zero E0 #

∀ {α : Type u} [inst : AddMonoid α] [IsDedekindFiniteAddMonoid α] [Subsingleton (AddUnits α)] {a b : α},
  a + b = 0 ↔ a = 0 ∧ b = 0

theorem mul_ne_one E1 #

∀ {α : Type u} [inst : Monoid α] [IsDedekindFiniteMonoid α] [Subsingleton αˣ] {a b : α}, a * b ≠ 1 ↔ a ≠ 1 ∨ b ≠ 1

theorem add_ne_zero E1 #

∀ {α : Type u} [inst : AddMonoid α] [IsDedekindFiniteAddMonoid α] [Subsingleton (AddUnits α)] {a b : α},
  a + b ≠ 0 ↔ a ≠ 0 ∨ b ≠ 0

theorem divp_mul_eq_mul_divp E1 #

∀ {α : Type u} [inst : CommMonoid α] (x y : α) (u : αˣ), x /ₚ u * y = x * y /ₚ u

theorem divp_eq_divp_iff E0 #

∀ {α : Type u} [inst : CommMonoid α] {x y : α} {ux uy : αˣ}, x /ₚ ux = y /ₚ uy ↔ x * ↑uy = y * ↑ux

theorem divp_mul_divp E1 #

∀ {α : Type u} [inst : CommMonoid α] (x y : α) (ux uy : αˣ), x /ₚ ux * (y /ₚ uy) = x * y /ₚ (ux * uy)

theorem isUnit_of_subsingleton E1 #

∀ {M : Type u_1} [inst : Monoid M] [Subsingleton M] (a : M), IsUnit a

theorem isAddUnit_of_subsingleton E1 #

∀ {M : Type u_1} [inst : AddMonoid M] [Subsingleton M] (a : M), IsAddUnit a

instance instCanLiftAddUnitsValIsAddUnit E0 #

∀ {M : Type u_1} [inst : AddMonoid M], CanLift M (AddUnits M) AddUnits.val IsAddUnit

instance instCanLiftUnitsValIsUnit E0 #

∀ {M : Type u_1} [inst : Monoid M], CanLift M Mˣ Units.val IsUnit

instance instUniqueUnitsOfSubsingleton E0 #

{M : Type u_1} → [inst : Monoid M] → [Subsingleton M] → Unique Mˣ

A subsingleton Monoid has a unique unit.

instance instUniqueAddUnitsOfSubsingleton E0 #

{M : Type u_1} → [inst : AddMonoid M] → [Subsingleton M] → Unique (AddUnits M)

A subsingleton AddMonoid has a unique additive unit.

theorem IsAddUnit.add_left_inj E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a b c : M}, IsAddUnit a → (b + a = c + a ↔ b = c)

theorem IsUnit.mul_left_inj E1 #

∀ {M : Type u_1} [inst : Monoid M] {a b c : M}, IsUnit a → (b * a = c * a ↔ b = c)

theorem IsAddUnit.add_right_inj E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a b c : M}, IsAddUnit a → (a + b = a + c ↔ b = c)

theorem IsUnit.mul_right_inj E1 #

∀ {M : Type u_1} [inst : Monoid M] {a b c : M}, IsUnit a → (a * b = a * c ↔ b = c)

theorem IsAddUnit.add_left_cancel E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a b c : M}, IsAddUnit a → a + b = a + c → b = c

theorem IsUnit.mul_left_cancel E1 #

∀ {M : Type u_1} [inst : Monoid M] {a b c : M}, IsUnit a → a * b = a * c → b = c

theorem IsAddUnit.add_right_cancel E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a b c : M}, IsAddUnit b → a + b = c + b → a = c

theorem IsUnit.mul_right_cancel E1 #

∀ {M : Type u_1} [inst : Monoid M] {a b c : M}, IsUnit b → a * b = c * b → a = c

theorem IsUnit.mul_eq_right E1 #

∀ {M : Type u_1} [inst : Monoid M] {a b : M}, IsUnit b → (a * b = b ↔ a = 1)

theorem IsAddUnit.add_eq_right E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a b : M}, IsAddUnit b → (a + b = b ↔ a = 0)

theorem IsAddUnit.add_eq_left E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a b : M}, IsAddUnit a → (a + b = a ↔ b = 0)

theorem IsUnit.mul_eq_left E1 #

∀ {M : Type u_1} [inst : Monoid M] {a b : M}, IsUnit a → (a * b = a ↔ b = 1)

theorem IsAddUnit.add_right_injective E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a : M}, IsAddUnit a → Function.Injective fun x ↦ a + x

theorem IsUnit.mul_right_injective E1 #

∀ {M : Type u_1} [inst : Monoid M] {a : M}, IsUnit a → Function.Injective fun x ↦ a * x

theorem IsUnit.mul_left_injective E1 #

∀ {M : Type u_1} [inst : Monoid M] {b : M}, IsUnit b → Function.Injective fun x ↦ x * b

theorem IsAddUnit.add_left_injective E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {b : M}, IsAddUnit b → Function.Injective fun x ↦ x + b

theorem IsAddUnit.isAddUnit_iff_addLeft_bijective E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a : M}, IsAddUnit a ↔ Function.Bijective fun x ↦ a + x

theorem IsUnit.isUnit_iff_mulLeft_bijective E1 #

∀ {M : Type u_1} [inst : Monoid M] {a : M}, IsUnit a ↔ Function.Bijective fun x ↦ a * x

theorem IsUnit.isUnit_iff_mulRight_bijective E1 #

∀ {M : Type u_1} [inst : Monoid M] {a : M}, IsUnit a ↔ Function.Bijective fun x ↦ x * a

theorem IsAddUnit.isAddUnit_iff_addRight_bijective E1 #

∀ {M : Type u_1} [inst : AddMonoid M] {a : M}, IsAddUnit a ↔ Function.Bijective fun x ↦ x + a

theorem IsUnit.mul_inv_cancel_right E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {b : α}, IsUnit b → ∀ (a : α), a * b * b⁻¹ = a

theorem IsAddUnit.add_neg_cancel_right E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {b : α}, IsAddUnit b → ∀ (a : α), a + b + -b = a

theorem IsAddUnit.neg_add_cancel_right E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {b : α}, IsAddUnit b → ∀ (a : α), a + -b + b = a

theorem IsUnit.inv_mul_cancel_right E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {b : α}, IsUnit b → ∀ (a : α), a * b⁻¹ * b = a

theorem IsAddUnit.neg_add_eq_iff_eq_add E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b c : α}, IsAddUnit a → (-a + b = c ↔ b = a + c)

theorem IsUnit.inv_mul_eq_iff_eq_mul E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b c : α}, IsUnit a → (a⁻¹ * b = c ↔ b = a * c)

theorem IsAddUnit.add_neg_eq_iff_eq_add E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b c : α}, IsAddUnit b → (a + -b = c ↔ a = c + b)

theorem IsUnit.mul_inv_eq_iff_eq_mul E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b c : α}, IsUnit b → (a * b⁻¹ = c ↔ a = c * b)

theorem IsAddUnit.add_neg_eq_zero E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b : α}, IsAddUnit b → (a + -b = 0 ↔ a = b)

theorem IsUnit.mul_inv_eq_one E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b : α}, IsUnit b → (a * b⁻¹ = 1 ↔ a = b)

theorem IsAddUnit.neg_add_eq_zero E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b : α}, IsAddUnit a → (-a + b = 0 ↔ a = b)

theorem IsUnit.inv_mul_eq_one E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b : α}, IsUnit a → (a⁻¹ * b = 1 ↔ a = b)

theorem IsAddUnit.add_eq_zero_iff_eq_neg E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b : α}, IsAddUnit b → (a + b = 0 ↔ a = -b)

theorem IsUnit.mul_eq_one_iff_eq_inv E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b : α}, IsUnit b → (a * b = 1 ↔ a = b⁻¹)

theorem IsUnit.mul_eq_one_iff_inv_eq E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b : α}, IsUnit a → (a * b = 1 ↔ a⁻¹ = b)

theorem IsAddUnit.add_eq_zero_iff_neg_eq E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b : α}, IsAddUnit a → (a + b = 0 ↔ -a = b)

theorem IsAddUnit.sub_add_cancel E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {b : α}, IsAddUnit b → ∀ (a : α), a - b + b = a

theorem IsUnit.div_mul_cancel E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {b : α}, IsUnit b → ∀ (a : α), a / b * b = a

theorem IsAddUnit.add_sub_cancel_right E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {b : α}, IsAddUnit b → ∀ (a : α), a + b - b = a

theorem IsUnit.mul_div_cancel_right E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {b : α}, IsUnit b → ∀ (a : α), a * b / b = a

theorem IsAddUnit.add_zero_sub_cancel E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a : α}, IsAddUnit a → a + (0 - a) = 0

theorem IsUnit.mul_one_div_cancel E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a : α}, IsUnit a → a * (1 / a) = 1

theorem IsAddUnit.zero_sub_add_cancel E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a : α}, IsAddUnit a → 0 - a + a = 0

theorem IsUnit.one_div_mul_cancel E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a : α}, IsUnit a → 1 / a * a = 1

theorem IsAddUnit.sub_left_inj E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b c : α}, IsAddUnit c → (a - c = b - c ↔ a = b)

theorem IsUnit.div_left_inj E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b c : α}, IsUnit c → (a / c = b / c ↔ a = b)

theorem IsUnit.div_eq_iff E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b c : α}, IsUnit b → (a / b = c ↔ a = c * b)

theorem IsAddUnit.sub_eq_iff E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b c : α}, IsAddUnit b → (a - b = c ↔ a = c + b)

theorem IsAddUnit.sub_eq_of_eq_add E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b c : α}, IsAddUnit b → a = c + b → a - b = c

theorem IsUnit.div_eq_of_eq_mul E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b c : α}, IsUnit b → a = c * b → a / b = c

theorem IsUnit.div_eq_one_iff_eq E0 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b : α}, IsUnit b → (a / b = 1 ↔ a = b)

theorem IsAddUnit.sub_eq_zero_iff_eq E0 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b : α}, IsAddUnit b → (a - b = 0 ↔ a = b)

theorem IsAddUnit.sub_add_left E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {a b : α}, IsAddUnit b → b - (a + b) = 0 - a

theorem IsUnit.div_mul_left E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {a b : α}, IsUnit b → b / (a * b) = 1 / a

theorem IsAddUnit.add_add_sub E1 #

∀ {α : Type u} [inst : SubtractionMonoid α] {b : α} (a : α), IsAddUnit b → a + b + (0 - b) = a

theorem IsUnit.mul_mul_div E1 #

∀ {α : Type u} [inst : DivisionMonoid α] {b : α} (a : α), IsUnit b → a * b * (1 / b) = a

theorem IsAddUnit.sub_add_right E1 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a : α}, IsAddUnit a → ∀ (b : α), a - (a + b) = 0 - b

theorem IsUnit.div_mul_right E1 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a : α}, IsUnit a → ∀ (b : α), a / (a * b) = 1 / b

theorem IsUnit.mul_div_cancel_left E1 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a : α}, IsUnit a → ∀ (b : α), a * b / a = b

theorem IsAddUnit.add_sub_cancel_left E1 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a : α}, IsAddUnit a → ∀ (b : α), a + b - a = b

theorem IsUnit.mul_div_cancel E1 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a : α}, IsUnit a → ∀ (b : α), a * (b / a) = b

theorem IsAddUnit.add_sub_cancel E1 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a : α}, IsAddUnit a → ∀ (b : α), a + (b - a) = b

theorem IsAddUnit.add_eq_add_of_sub_eq_sub E1 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {b d : α},
  IsAddUnit b → IsAddUnit d → ∀ (a c : α), a - b = c - d → a + d = c + b

theorem IsUnit.mul_eq_mul_of_div_eq_div E1 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {b d : α}, IsUnit b → IsUnit d → ∀ (a c : α), a / b = c / d → a * d = c * b

theorem IsAddUnit.sub_eq_sub_iff E0 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a b c d : α},
  IsAddUnit b → IsAddUnit d → (a - b = c - d ↔ a + d = c + b)

theorem IsUnit.div_eq_div_iff E0 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a b c d : α}, IsUnit b → IsUnit d → (a / b = c / d ↔ a * d = c * b)

theorem IsAddUnit.add_neg_eq_add_neg_iff E0 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a b c d : α},
  IsAddUnit b → IsAddUnit d → (a + -b = c + -d ↔ a + d = c + b)

theorem IsUnit.mul_inv_eq_mul_inv_iff E0 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a b c d : α}, IsUnit b → IsUnit d → (a * b⁻¹ = c * d⁻¹ ↔ a * d = c * b)

theorem IsUnit.inv_mul_eq_inv_mul_iff E0 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a b c d : α}, IsUnit b → IsUnit d → (b⁻¹ * a = d⁻¹ * c ↔ a * d = c * b)

theorem IsAddUnit.neg_add_eq_neg_add_iff E0 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a b c d : α},
  IsAddUnit b → IsAddUnit d → (-b + a = -d + c ↔ a + d = c + b)

theorem IsUnit.div_div_cancel E1 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a b : α}, IsUnit a → a / (a / b) = b

theorem IsAddUnit.sub_sub_cancel E1 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a b : α}, IsAddUnit a → a - (a - b) = b

theorem IsAddUnit.sub_sub_cancel_left E1 #

∀ {α : Type u} [inst : SubtractionCommMonoid α] {a b : α}, IsAddUnit a → a - b - a = -b

theorem IsUnit.div_div_cancel_left E1 #

∀ {α : Type u} [inst : DivisionCommMonoid α] {a b : α}, IsUnit a → a / b / a = b⁻¹

Deprecated aliases

NameNew nameSince
add_eq_zero'add_eq_zero2026-07-07
add_ne_zero'add_ne_zero2026-07-07
mul_eq_one'mul_eq_one2026-07-07
mul_ne_one'mul_ne_one2026-07-07