Mathlib.Algebra.GroupWithZero.Units.Basic
109 declarations and 3 deprecated aliases. Mathlib docs · Source
theorem Units.mk0.congr_simp E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (a a_1 : G₀) (e_a : a = a_1) (ha : a ≠ 0), Units.mk0 a ha = Units.mk0 a_1 ⋯
theorem Units.ne_zero E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] [Nontrivial M₀] (u : M₀ˣ), ↑u ≠ 0
An element of the unit group of a nonzero monoid with zero represented as an element of the monoid is nonzero.
theorem Units.mul_left_eq_zero E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (u : M₀ˣ) {a : M₀}, a * ↑u = 0 ↔ a = 0
theorem Units.mul_right_eq_zero E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (u : M₀ˣ) {a : M₀}, ↑u * a = 0 ↔ a = 0
theorem IsUnit.ne_zero E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] [Nontrivial M₀] {a : M₀}, IsUnit a → a ≠ 0
theorem IsUnit.mul_right_eq_zero E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a b : M₀}, IsUnit a → (a * b = 0 ↔ b = 0)
theorem IsUnit.mul_left_eq_zero E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a b : M₀}, IsUnit b → (a * b = 0 ↔ a = 0)
theorem isUnit_zero_iff E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀], IsUnit 0 ↔ 0 = 1
theorem not_isUnit_zero E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] [Nontrivial M₀], ¬IsUnit 0
def Ring.inverse E3 #
{M₀ : Type u_2} → [MonoidWithZero M₀] → M₀ → M₀
Introduce a function inverse on a monoid with zero M₀, which sends x to x⁻¹ if x is
invertible and to 0 otherwise. This definition is somewhat ad hoc, but one needs a fully (rather
than partially) defined inverse function for some purposes, including for calculus.
Note that while this is in the Ring namespace for brevity, it requires the weaker assumption
MonoidWithZero M₀ instead of Ring M₀.
def Ring.«term_⁻¹ʳ» E1 #
Lean.TrailingParserDescr
Introduce a function inverse on a monoid with zero M₀, which sends x to x⁻¹ if x is
invertible and to 0 otherwise. This definition is somewhat ad hoc, but one needs a fully (rather
than partially) defined inverse function for some purposes, including for calculus.
Note that while this is in the Ring namespace for brevity, it requires the weaker assumption
MonoidWithZero M₀ instead of Ring M₀.
theorem Ring.inverse_unit E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (u : M₀ˣ), Ring.inverse ↑u = ↑u⁻¹
By definition, if x is invertible then inverse x = x⁻¹.
theorem Ring.inverse_of_isUnit E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {x : M₀} (h : IsUnit x), Ring.inverse x = ↑h.unit⁻¹
theorem Ring.inverse_non_unit E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x : M₀), ¬IsUnit x → Ring.inverse x = 0
By definition, if x is not invertible then inverse x = 0.
theorem Ring.mul_inverse_cancel E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x : M₀), IsUnit x → x * Ring.inverse x = 1
theorem Ring.inverse_mul_cancel E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x : M₀), IsUnit x → Ring.inverse x * x = 1
theorem Ring.mul_inverse_cancel_right E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x y : M₀), IsUnit x → y * x * Ring.inverse x = y
theorem Ring.inverse_mul_cancel_right E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x y : M₀), IsUnit x → y * Ring.inverse x * x = y
theorem Ring.mul_inverse_cancel_left E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x y : M₀), IsUnit x → x * (Ring.inverse x * y) = y
theorem Ring.inverse_mul_cancel_left E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x y : M₀), IsUnit x → Ring.inverse x * (x * y) = y
theorem Ring.inverse_mul_eq_iff_eq_mul E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x y z : M₀), IsUnit x → (Ring.inverse x * y = z ↔ y = x * z)
theorem Ring.inverse_one E0 #
∀ (M₀ : Type u_2) [inst : MonoidWithZero M₀], Ring.inverse 1 = 1
theorem Ring.inverse_zero E0 #
∀ (M₀ : Type u_2) [inst : MonoidWithZero M₀], Ring.inverse 0 = 0
theorem Ring.inverse_inverse E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a : M₀}, IsUnit a → Ring.inverse (Ring.inverse a) = a
theorem IsUnit.ringInverse E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a : M₀}, IsUnit a → IsUnit (Ring.inverse a)
theorem isUnit_ringInverse E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a : M₀}, IsUnit (Ring.inverse a) ↔ IsUnit a
theorem Ring.inverse_mul E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a b : M₀},
IsUnit a ∨ IsUnit b → Ring.inverse (a * b) = Ring.inverse b * Ring.inverse a
theorem Ring.isUnit_iff_inverse_ne_zero E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] [Nontrivial M₀] {x : M₀}, IsUnit x ↔ Ring.inverse x ≠ 0
theorem Ring.not_isUnit_iff_inverse_eq_zero E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] [Nontrivial M₀] {x : M₀}, ¬IsUnit x ↔ Ring.inverse x = 0
theorem Ring.isUnit_iff_mul_inverse_cancel E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {x : M₀}, IsUnit x ↔ x * Ring.inverse x = 1
theorem Ring.isUnit_iff_inverse_mul_cancel E1 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] (x : M₀), IsUnit x ↔ Ring.inverse x * x = 1
theorem Ring.inverse_inverse_inverse E0 #
∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] {a : M₀}, Ring.inverse (Ring.inverse (Ring.inverse a)) = Ring.inverse a
def Units.mk0 E1 #
{G₀ : Type u_3} → [inst : GroupWithZero G₀] → (a : G₀) → a ≠ 0 → G₀ˣ
Embed a non-zero element of a GroupWithZero into the unit group.
By combining this function with the operations on units,
or the /ₚ operation, it is possible to write a division
as a partial function with three arguments.
theorem Units.mk0_one E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (h : optParam (1 ≠ 0) ⋯), Units.mk0 1 h = 1
theorem Units.val_mk0 E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀} (h : a ≠ 0), ↑(Units.mk0 a h) = a
theorem Units.mk0_val E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (u : G₀ˣ) (h : ↑u ≠ 0), Units.mk0 (↑u) h = u
theorem Units.mul_inv' E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (u : G₀ˣ), ↑u * (↑u)⁻¹ = 1
theorem Units.inv_mul' E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (u : G₀ˣ), (↑u)⁻¹ * ↑u = 1
theorem Units.mk0_inj E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀} (ha : a ≠ 0) (hb : b ≠ 0),
Units.mk0 a ha = Units.mk0 b hb ↔ a = b
theorem Units.exists0 E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {p : G₀ˣ → Prop}, (∃ g, p g) ↔ ∃ g, ∃ (hg : g ≠ 0), p (Units.mk0 g hg)
In a group with zero, an existential over a unit can be rewritten in terms of Units.mk0.
theorem Units.exists0' E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {p : (g : G₀) → g ≠ 0 → Prop}, (∃ g, ∃ (hg : g ≠ 0), p g hg) ↔ ∃ g, p ↑g ⋯
An alternative version of Units.exists0. This one is useful if Lean cannot
figure out p when using Units.exists0 from right to left.
theorem Units.exists_iff_ne_zero E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {p : G₀ → Prop}, (∃ u, p ↑u) ↔ ∃ x, x ≠ 0 ∧ p x
theorem IsUnit.mk0 E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (x : G₀), x ≠ 0 → IsUnit x
theorem isUnit_iff_ne_zero E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, IsUnit a ↔ a ≠ 0
theorem Ne.isUnit E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → IsUnit a
Alias of the reverse direction of isUnit_iff_ne_zero.
instance GroupWithZero.noZeroDivisors E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀], NoZeroDivisors G₀
theorem Units.mk0_mul E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (x y : G₀) (hxy : x * y ≠ 0),
Units.mk0 (x * y) hxy = Units.mk0 x ⋯ * Units.mk0 y ⋯
theorem div_ne_zero E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, a ≠ 0 → b ≠ 0 → a / b ≠ 0
theorem div_eq_zero_iff E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, a / b = 0 ↔ a = 0 ∨ b = 0
theorem div_ne_zero_iff E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, a / b ≠ 0 ↔ a ≠ 0 ∧ b ≠ 0
theorem div_self E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → a / a = 1
theorem div_self_eq_one₀ E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a / a = 1 ↔ a ≠ 0
theorem inv_mul_eq_iff_eq_mul₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, a ≠ 0 → (a⁻¹ * b = c ↔ b = a * c)
theorem mul_inv_eq_iff_eq_mul₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, b ≠ 0 → (a * b⁻¹ = c ↔ a = c * b)
theorem mul_inv_eq_one₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, b ≠ 0 → (a * b⁻¹ = 1 ↔ a = b)
theorem inv_mul_eq_one₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, a ≠ 0 → (a⁻¹ * b = 1 ↔ a = b)
theorem mul_eq_one_iff_eq_inv₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, b ≠ 0 → (a * b = 1 ↔ a = b⁻¹)
theorem mul_eq_one_iff_inv_eq₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, a ≠ 0 → (a * b = 1 ↔ a⁻¹ = b)
theorem mul_eq_of_eq_mul_inv₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, a ≠ 0 → a = c * b⁻¹ → a * b = c
A variant of eq_mul_inv_iff_mul_eq₀ that moves the nonzero hypothesis to another variable.
theorem mul_eq_of_eq_inv_mul₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, b ≠ 0 → b = a⁻¹ * c → a * b = c
A variant of eq_inv_mul_iff_mul_eq₀ that moves the nonzero hypothesis to another variable.
theorem div_mul_cancel₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {b : G₀} (a : G₀), b ≠ 0 → a / b * b = a
theorem mul_one_div_cancel E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → a * (1 / a) = 1
theorem one_div_mul_cancel E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → 1 / a * a = 1
theorem div_left_inj₀ E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, c ≠ 0 → (a / c = b / c ↔ a = b)
theorem div_eq_iff E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, b ≠ 0 → (a / b = c ↔ a = c * b)
theorem div_eq_iff_mul_eq E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, b ≠ 0 → (a / b = c ↔ c * b = a)
theorem div_eq_of_eq_mul E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, b ≠ 0 → a = c * b → a / b = c
theorem div_eq_one_iff_eq E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, b ≠ 0 → (a / b = 1 ↔ a = b)
theorem div_mul_cancel_right₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {b : G₀}, b ≠ 0 → ∀ (a : G₀), b / (a * b) = a⁻¹
theorem mul_div_mul_right E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {c : G₀} (a b : G₀), c ≠ 0 → a * c / (b * c) = a / b
theorem mul_mul_div E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {b : G₀} (a : G₀), b ≠ 0 → a = a * b * (1 / b)
theorem div_div_div_cancel_right₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {c : G₀}, c ≠ 0 → ∀ (a b : G₀), a / c / (b / c) = a / b
theorem div_mul_div_cancel₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b c : G₀}, b ≠ 0 → a / b * (b / c) = a / c
theorem div_mul_cancel_of_imp E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, (b = 0 → a = 0) → a / b * b = a
theorem mul_div_cancel_of_imp E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a b : G₀}, (b = 0 → a = 0) → a * b / b = a
theorem divp_mk0 E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {b : G₀} (a : G₀) (hb : b ≠ 0), a /ₚ Units.mk0 b hb = a / b
theorem pow_sub₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {m n : ℕ} (a : G₀), a ≠ 0 → n ≤ m → a ^ (m - n) = a ^ m * (a ^ n)⁻¹
theorem pow_sub_of_lt E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {m n : ℕ} (a : G₀), n < m → a ^ (m - n) = a ^ m * (a ^ n)⁻¹
theorem inv_pow_sub₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀} {m n : ℕ}, a ≠ 0 → n ≤ m → a⁻¹ ^ (m - n) = (a ^ m)⁻¹ * a ^ n
theorem inv_pow_sub_of_lt E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {m n : ℕ} (a : G₀), n < m → a⁻¹ ^ (m - n) = (a ^ m)⁻¹ * a ^ n
theorem zpow_sub₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (m n : ℤ), a ^ (m - n) = a ^ m / a ^ n
theorem zpow_natCast_sub_natCast₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (m n : ℕ), a ^ (↑m - ↑n) = a ^ m / a ^ n
theorem zpow_natCast_sub_one₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (n : ℕ), a ^ (↑n - 1) = a ^ n / a
theorem zpow_one_sub_natCast₀ E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (n : ℕ), a ^ (1 - ↑n) = a / a ^ n
theorem zpow_ne_zero E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀} (n : ℤ), a ≠ 0 → a ^ n ≠ 0
theorem zpow_eq_zero_iff E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀} {n : ℤ}, n ≠ 0 → (a ^ n = 0 ↔ a = 0)
theorem zpow_ne_zero_iff E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀} {n : ℤ}, n ≠ 0 → (a ^ n ≠ 0 ↔ a ≠ 0)
theorem zpow_neg_mul_zpow_self E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] {a : G₀} (n : ℤ), a ≠ 0 → a ^ (-n) * a ^ n = 1
theorem Ring.inverse_eq_inv E1 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀] (a : G₀), Ring.inverse a = a⁻¹
theorem Ring.inverse_eq_inv' E0 #
∀ {G₀ : Type u_3} [inst : GroupWithZero G₀], Ring.inverse = Inv.inv
instance CommGroupWithZero.toDivisionCommMonoid E0 #
{G₀ : Type u_3} → [CommGroupWithZero G₀] → DivisionCommMonoid G₀
theorem div_mul_cancel_left₀ E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (b : G₀), a / (a * b) = b⁻¹
theorem mul_div_cancel_left_of_imp E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b : G₀}, (a = 0 → b = 0) → a * b / a = b
theorem mul_div_cancel_of_imp' E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b : G₀}, (b = 0 → a = 0) → b * (a / b) = a
theorem mul_div_cancel₀ E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {b : G₀} (a : G₀), b ≠ 0 → b * (a / b) = a
theorem mul_div_mul_left E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {c : G₀} (a b : G₀), c ≠ 0 → c * a / (c * b) = a / b
theorem mul_eq_mul_of_div_eq_div E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {b d : G₀} (a c : G₀), b ≠ 0 → d ≠ 0 → a / b = c / d → a * d = c * b
theorem div_eq_div_iff E0 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b c d : G₀}, b ≠ 0 → d ≠ 0 → (a / b = c / d ↔ a * d = c * b)
theorem mul_inv_eq_mul_inv_iff E0 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b c d : G₀}, b ≠ 0 → d ≠ 0 → (a * b⁻¹ = c * d⁻¹ ↔ a * d = c * b)
theorem inv_mul_eq_inv_mul_iff E0 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b c d : G₀}, b ≠ 0 → d ≠ 0 → (b⁻¹ * a = d⁻¹ * c ↔ a * d = c * b)
theorem div_eq_div_iff_div_eq_div' E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b c d : G₀}, b ≠ 0 → c ≠ 0 → (a / b = c / d ↔ a / c = b / d)
The CommGroupWithZero version of div_eq_div_iff_div_eq_div.
theorem div_eq_div_of_div_eq_div E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b c d : G₀}, c ≠ 0 → d ≠ 0 → a / b = c / d → a / c = b / d
theorem div_div_cancel₀ E0 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b : G₀}, a ≠ 0 → a / (a / b) = b
theorem div_div_cancel_left₀ E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a b : G₀}, a ≠ 0 → a / b / a = b⁻¹
theorem div_helper E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a : G₀} (b : G₀), a ≠ 0 → 1 / (a * b) * a = 1 / b
theorem div_div_div_cancel_left₀ E1 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {c : G₀} (a b : G₀), c ≠ 0 → c / a / (c / b) = b / a
theorem div_mul_div_cancel₀' E0 #
∀ {G₀ : Type u_3} [inst : CommGroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (b c : G₀), a / b * (c / a) = c / b
def groupWithZeroOfIsUnitOrEqZero E1 #
{M : Type u_4} → [Nontrivial M] → [hM : MonoidWithZero M] → (∀ (a : M), IsUnit a ∨ a = 0) → GroupWithZero M
Constructs a GroupWithZero structure on a MonoidWithZero
consisting only of units and 0.
def commGroupWithZeroOfIsUnitOrEqZero E1 #
{M : Type u_4} → [Nontrivial M] → [hM : CommMonoidWithZero M] → (∀ (a : M), IsUnit a ∨ a = 0) → CommGroupWithZero M
Constructs a CommGroupWithZero structure on a CommMonoidWithZero
consisting only of units and 0.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
div_div_cancel_left' | div_div_cancel_left₀ | 2026-11-07 |
div_div_div_cancel_left' | div_div_div_cancel_left₀ | 2026-11-07 |
div_left_inj' | div_left_inj₀ | 2026-11-07 |