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.GroupWithZero.Defs

130 declarations. Mathlib docs · Source

Typeclasses for groups with an adjoined zero element

This file provides just the typeclass definitions, and the projection lemmas that expose their members.

Main definitions

  • GroupWithZero
  • CommGroupWithZero

def GroupWithZero.ctorIdx E1 #

{G₀ : Type u} → GroupWithZero G₀ → ℕ

def SemigroupWithZero.ctorIdx E1 #

{S₀ : Type u} → SemigroupWithZero S₀ → ℕ

def CommGroupWithZero.ctorIdx E1 #

{G₀ : Type u_2} → CommGroupWithZero G₀ → ℕ

def MonoidWithZero.ctorIdx E1 #

{M₀ : Type u} → MonoidWithZero M₀ → ℕ

def MulZeroClass.ctorIdx E1 #

{M₀ : Type u} → MulZeroClass M₀ → ℕ

def MulZeroOneClass.ctorIdx E1 #

{M₀ : Type u} → MulZeroOneClass M₀ → ℕ

def CommMonoidWithZero.ctorIdx E1 #

{M₀ : Type u_2} → CommMonoidWithZero M₀ → ℕ

class MulZeroClass E1 #

Type u → Type u

Typeclass for expressing that a type M₀ with multiplication and a zero satisfies 0 * a = 0 and a * 0 = 0 for all a : M₀.

instance MulZeroClass.toMul E0 #

{M₀ : Type u} → [self : MulZeroClass M₀] → Mul M₀

ctor MulZeroClass.mk E0 #

{M₀ : Type u} →
  [toMul : Mul M₀] → [toZero : Zero M₀] → (∀ (a : M₀), 0 * a = 0) → (∀ (a : M₀), a * 0 = 0) → MulZeroClass M₀

instance MulZeroClass.toZero E0 #

{M₀ : Type u} → [self : MulZeroClass M₀] → Zero M₀

theorem MulZeroClass.zero_mul E0 #

∀ {M₀ : Type u} [self : MulZeroClass M₀] (a : M₀), 0 * a = 0

Zero is a left absorbing element for multiplication

theorem MulZeroClass.mul_zero E0 #

∀ {M₀ : Type u} [self : MulZeroClass M₀] (a : M₀), a * 0 = 0

Zero is a right absorbing element for multiplication

class IsLeftCancelMulZero E1 #

(M₀ : Type u) → [Mul M₀] → [Zero M₀] → Prop

A mixin for left cancellative multiplication by nonzero elements.

ctor IsLeftCancelMulZero.mk E0 #

∀ {M₀ : Type u} [inst : Mul M₀] [inst_1 : Zero M₀], (∀ {a : M₀}, a ≠ 0 → IsLeftRegular a) → IsLeftCancelMulZero M₀

theorem isLeftCancelMulZero_iff E0 #

∀ (M₀ : Type u) [inst : Mul M₀] [inst_1 : Zero M₀], IsLeftCancelMulZero M₀ ↔ ∀ {a : M₀}, a ≠ 0 → IsLeftRegular a

theorem IsLeftCancelMulZero.mul_left_cancel_of_ne_zero E1 #

∀ {M₀ : Type u} {inst : Mul M₀} {inst_1 : Zero M₀} [self : IsLeftCancelMulZero M₀] {a : M₀}, a ≠ 0 → IsLeftRegular a

Multiplication by a nonzero element is left cancellative.

theorem mul_left_cancel₀ E1 #

∀ {M₀ : Type u_1} [inst : Mul M₀] [inst_1 : Zero M₀] [IsLeftCancelMulZero M₀] {a b c : M₀},
  a ≠ 0 → a * b = a * c → b = c

theorem mul_right_injective₀ E1 #

∀ {M₀ : Type u_1} [inst : Mul M₀] [inst_1 : Zero M₀] [IsLeftCancelMulZero M₀] {a : M₀},
  a ≠ 0 → Function.Injective fun x ↦ a * x

theorem mul_right_inj' E1 #

∀ {M₀ : Type u_1} [inst : Mul M₀] [inst_1 : Zero M₀] [IsLeftCancelMulZero M₀] {a b c : M₀},
  a ≠ 0 → (a * b = a * c ↔ b = c)

theorem mul_eq_mul_left_iff E0 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [IsLeftCancelMulZero M₀] {a b c : M₀}, a * b = a * c ↔ b = c ∨ a = 0

class IsRightCancelMulZero E1 #

(M₀ : Type u) → [Mul M₀] → [Zero M₀] → Prop

A mixin for right cancellative multiplication by nonzero elements.

ctor IsRightCancelMulZero.mk E0 #

∀ {M₀ : Type u} [inst : Mul M₀] [inst_1 : Zero M₀], (∀ {a : M₀}, a ≠ 0 → IsRightRegular a) → IsRightCancelMulZero M₀

theorem isRightCancelMulZero_iff E0 #

∀ (M₀ : Type u) [inst : Mul M₀] [inst_1 : Zero M₀], IsRightCancelMulZero M₀ ↔ ∀ {a : M₀}, a ≠ 0 → IsRightRegular a

theorem IsRightCancelMulZero.mul_right_cancel_of_ne_zero E1 #

∀ {M₀ : Type u} {inst : Mul M₀} {inst_1 : Zero M₀} [self : IsRightCancelMulZero M₀] {a : M₀}, a ≠ 0 → IsRightRegular a

Multiplication by a nonzero element is right cancellative.

theorem mul_right_cancel₀ E1 #

∀ {M₀ : Type u_1} [inst : Mul M₀] [inst_1 : Zero M₀] [IsRightCancelMulZero M₀] {a b c : M₀},
  b ≠ 0 → a * b = c * b → a = c

theorem mul_left_injective₀ E1 #

∀ {M₀ : Type u_1} [inst : Mul M₀] [inst_1 : Zero M₀] [IsRightCancelMulZero M₀] {b : M₀},
  b ≠ 0 → Function.Injective fun a ↦ a * b

theorem mul_left_inj' E1 #

∀ {M₀ : Type u_1} [inst : Mul M₀] [inst_1 : Zero M₀] [IsRightCancelMulZero M₀] {a b c : M₀},
  c ≠ 0 → (a * c = b * c ↔ a = b)

theorem mul_eq_mul_right_iff E0 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [IsRightCancelMulZero M₀] {a b c : M₀}, a * c = b * c ↔ a = b ∨ c = 0

class IsCancelMulZero E1 #

(M₀ : Type u) → [Mul M₀] → [Zero M₀] → Prop

A mixin for cancellative multiplication by nonzero elements.

theorem isCancelMulZero_iff E0 #

∀ (M₀ : Type u) [inst : Mul M₀] [inst_1 : Zero M₀],
  IsCancelMulZero M₀ ↔ IsLeftCancelMulZero M₀ ∧ IsRightCancelMulZero M₀

instance IsCancelMulZero.toIsLeftCancelMulZero E0 #

∀ {M₀ : Type u} {inst : Mul M₀} {inst_1 : Zero M₀} [self : IsCancelMulZero M₀], IsLeftCancelMulZero M₀

ctor IsCancelMulZero.mk E0 #

∀ {M₀ : Type u} [inst : Mul M₀] [inst_1 : Zero M₀] [toIsLeftCancelMulZero : IsLeftCancelMulZero M₀]
  [toIsRightCancelMulZero : IsRightCancelMulZero M₀], IsCancelMulZero M₀

instance IsCancelMulZero.toIsRightCancelMulZero E0 #

∀ {M₀ : Type u} {inst : Mul M₀} {inst_1 : Zero M₀} [self : IsCancelMulZero M₀], IsRightCancelMulZero M₀

theorem isCancelMulZero_iff_forall_isRegular E1 #

∀ {M₀ : Type u_2} [inst : Mul M₀] [inst_1 : Zero M₀], IsCancelMulZero M₀ ↔ ∀ {a : M₀}, a ≠ 0 → IsRegular a

class NoZeroDivisors E1 #

(M₀ : Type u_2) → [Mul M₀] → [Zero M₀] → Prop

Predicate typeclass for expressing that a * b = 0 implies a = 0 or b = 0 for all a and b of type M₀. It is weaker than IsCancelMulZero in general, but equivalent to it if M₀ is a (not necessarily unital or associative) ring.

theorem noZeroDivisors_iff E0 #

∀ (M₀ : Type u_2) [inst : Mul M₀] [inst_1 : Zero M₀], NoZeroDivisors M₀ ↔ ∀ {a b : M₀}, a * b = 0 → a = 0 ∨ b = 0

ctor NoZeroDivisors.mk E0 #

∀ {M₀ : Type u_2} [inst : Mul M₀] [inst_1 : Zero M₀], (∀ {a b : M₀}, a * b = 0 → a = 0 ∨ b = 0) → NoZeroDivisors M₀

class SemigroupWithZero E1 #

Type u → Type u

A type S₀ is a "semigroup with zero” if it is a semigroup with zero element, and 0 is left and right absorbing.

theorem SemigroupWithZero.zero_mul E1 #

∀ {S₀ : Type u} [self : SemigroupWithZero S₀] (a : S₀), 0 * a = 0

Zero is a left absorbing element for multiplication

instance SemigroupWithZero.toMulZeroClass E0 #

{S₀ : Type u} → [self : SemigroupWithZero S₀] → MulZeroClass S₀

instance SemigroupWithZero.toSemigroup E0 #

{S₀ : Type u} → [self : SemigroupWithZero S₀] → Semigroup S₀

abbrev SemigroupWithZero.toZero E1 #

{S₀ : Type u} → [self : SemigroupWithZero S₀] → Zero S₀

ctor SemigroupWithZero.mk E0 #

{S₀ : Type u} →
  [toSemigroup : Semigroup S₀] →
    [toZero : Zero S₀] → (∀ (a : S₀), 0 * a = 0) → (∀ (a : S₀), a * 0 = 0) → SemigroupWithZero S₀

theorem SemigroupWithZero.mul_zero E1 #

∀ {S₀ : Type u} [self : SemigroupWithZero S₀] (a : S₀), a * 0 = 0

Zero is a right absorbing element for multiplication

class MulZeroOneClass E1 #

Type u → Type u

A typeclass for non-associative monoids with zero elements.

instance MulZeroOneClass.toMulOneClass E0 #

{M₀ : Type u} → [self : MulZeroOneClass M₀] → MulOneClass M₀

theorem MulZeroOneClass.zero_mul E1 #

∀ {M₀ : Type u} [self : MulZeroOneClass M₀] (a : M₀), 0 * a = 0

Zero is a left absorbing element for multiplication

abbrev MulZeroOneClass.toZero E1 #

{M₀ : Type u} → [self : MulZeroOneClass M₀] → Zero M₀

instance MulZeroOneClass.toMulZeroClass E0 #

{M₀ : Type u} → [self : MulZeroOneClass M₀] → MulZeroClass M₀

ctor MulZeroOneClass.mk E0 #

{M₀ : Type u} →
  [toMulOneClass : MulOneClass M₀] →
    [toZero : Zero M₀] → (∀ (a : M₀), 0 * a = 0) → (∀ (a : M₀), a * 0 = 0) → MulZeroOneClass M₀

theorem MulZeroOneClass.mul_zero E1 #

∀ {M₀ : Type u} [self : MulZeroOneClass M₀] (a : M₀), a * 0 = 0

Zero is a right absorbing element for multiplication

class MonoidWithZero E3 #

Type u → Type u

A type M₀ is a “monoid with zero” if it is a monoid with zero element, and 0 is left and right absorbing.

theorem MonoidWithZero.zero_mul E1 #

∀ {M₀ : Type u} [self : MonoidWithZero M₀] (a : M₀), 0 * a = 0

Zero is a left absorbing element for multiplication

instance MonoidWithZero.toSemigroupWithZero E0 #

{M₀ : Type u} → [self : MonoidWithZero M₀] → SemigroupWithZero M₀

theorem MonoidWithZero.mul_zero E1 #

∀ {M₀ : Type u} [self : MonoidWithZero M₀] (a : M₀), a * 0 = 0

Zero is a right absorbing element for multiplication

instance MonoidWithZero.toMulZeroOneClass E0 #

{M₀ : Type u} → [self : MonoidWithZero M₀] → MulZeroOneClass M₀

abbrev MonoidWithZero.toZero E1 #

{M₀ : Type u} → [self : MonoidWithZero M₀] → Zero M₀

instance MonoidWithZero.toMonoid E0 #

{M₀ : Type u} → [self : MonoidWithZero M₀] → Monoid M₀

ctor MonoidWithZero.mk E0 #

{M₀ : Type u} →
  [toMonoid : Monoid M₀] → [toZero : Zero M₀] → (∀ (a : M₀), 0 * a = 0) → (∀ (a : M₀), a * 0 = 0) → MonoidWithZero M₀

theorem pow_mul_apply_eq_pow_mul E1 #

∀ {M₀ : Type u_1} [inst : MonoidWithZero M₀] {M : Type u_2} [inst_1 : Monoid M] (f : M₀ → M) {x : M₀},
  (∀ (y : M₀), f (x * y) = f x * f y) → ∀ (n : ℕ) (y : M₀), f (x ^ n * y) = f x ^ n * f y

If x is multiplicative with respect to f, then so is any x^n.

class CommMonoidWithZero E1 #

Type u_2 → Type u_2

A type M is a commutative “monoid with zero” if it is a commutative monoid with zero element, and 0 is left and right absorbing.

instance CommMonoidWithZero.toCommMonoid E0 #

{M₀ : Type u_2} → [self : CommMonoidWithZero M₀] → CommMonoid M₀

theorem CommMonoidWithZero.zero_mul E1 #

∀ {M₀ : Type u_2} [self : CommMonoidWithZero M₀] (a : M₀), 0 * a = 0

Zero is a left absorbing element for multiplication

instance CommMonoidWithZero.toMonoidWithZero E0 #

{M₀ : Type u_2} → [self : CommMonoidWithZero M₀] → MonoidWithZero M₀

abbrev CommMonoidWithZero.toZero E1 #

{M₀ : Type u_2} → [self : CommMonoidWithZero M₀] → Zero M₀

ctor CommMonoidWithZero.mk E0 #

{M₀ : Type u_2} →
  [toCommMonoid : CommMonoid M₀] →
    [toZero : Zero M₀] → (∀ (a : M₀), 0 * a = 0) → (∀ (a : M₀), a * 0 = 0) → CommMonoidWithZero M₀

theorem CommMonoidWithZero.mul_zero E1 #

∀ {M₀ : Type u_2} [self : CommMonoidWithZero M₀] (a : M₀), a * 0 = 0

Zero is a right absorbing element for multiplication

instance IsLeftCancelMulZero.to_noZeroDivisors E0 #

∀ (M₀ : Type u_1) [inst : MulZeroClass M₀] [IsLeftCancelMulZero M₀], NoZeroDivisors M₀

instance IsRightCancelMulZero.to_noZeroDivisors E0 #

∀ (M₀ : Type u_1) [inst : MulZeroClass M₀] [IsRightCancelMulZero M₀], NoZeroDivisors M₀

theorem IsLeftCancelMulZero.to_isRightCancelMulZero E1 #

∀ {M₀ : Type u_1} [inst : CommMagma M₀] [inst_1 : Zero M₀] [IsLeftCancelMulZero M₀], IsRightCancelMulZero M₀

theorem IsRightCancelMulZero.to_isLeftCancelMulZero E1 #

∀ {M₀ : Type u_1} [inst : CommMagma M₀] [inst_1 : Zero M₀] [IsRightCancelMulZero M₀], IsLeftCancelMulZero M₀

theorem IsLeftCancelMulZero.to_isCancelMulZero E1 #

∀ {M₀ : Type u_1} [inst : CommMagma M₀] [inst_1 : Zero M₀] [IsLeftCancelMulZero M₀], IsCancelMulZero M₀

theorem IsRightCancelMulZero.to_isCancelMulZero E1 #

∀ {M₀ : Type u_1} [inst : CommMagma M₀] [inst_1 : Zero M₀] [IsRightCancelMulZero M₀], IsCancelMulZero M₀

class MulDivCancelClass E1 #

(M₀ : Type u_2) → [MonoidWithZero M₀] → [Div M₀] → Prop

Prop-valued mixin for a monoid with zero to be equipped with a cancelling division.

The obvious use case is groups with zero, but this condition is also satisfied by ℕ, ℤ and, more generally, any Euclidean domain.

ctor MulDivCancelClass.mk E0 #

∀ {M₀ : Type u_2} [inst : MonoidWithZero M₀] [inst_1 : Div M₀],
  (∀ (a b : M₀), b ≠ 0 → a * b / b = a) → MulDivCancelClass M₀

theorem MulDivCancelClass.mul_div_cancel E1 #

∀ {M₀ : Type u_2} {inst : MonoidWithZero M₀} {inst_1 : Div M₀} [self : MulDivCancelClass M₀] (a b : M₀),
  b ≠ 0 → a * b / b = a

theorem mul_div_cancel_right₀ E0 #

∀ {M₀ : Type u_1} [inst : MonoidWithZero M₀] [inst_1 : Div M₀] [MulDivCancelClass M₀] (a : M₀) {b : M₀},
  b ≠ 0 → a * b / b = a

theorem mul_div_cancel_left₀ E0 #

∀ {M₀ : Type u_1} [inst : CommMonoidWithZero M₀] [inst_1 : Div M₀] [MulDivCancelClass M₀] (b : M₀) {a : M₀},
  a ≠ 0 → a * b / a = b

class GroupWithZero E3 #

Type u → Type u

A type G₀ is a “group with zero” if it is a monoid with zero element (distinct from 1) such that every nonzero element is invertible. The type is required to come with an “inverse” function, and the inverse of 0 must be 0.

Examples include division rings and the ordered monoids that are the target of valuations in general valuation theory.

theorem GroupWithZero.div_eq_mul_inv E2 #

∀ {G₀ : Type u} [self : GroupWithZero G₀] (a b : G₀), a / b = a * b⁻¹

a / b := a * b⁻¹

instance GroupWithZero.toMonoidWithZero E0 #

{G₀ : Type u} → [self : GroupWithZero G₀] → MonoidWithZero G₀

abbrev GroupWithZero.toInv E1 #

{G₀ : Type u} → [self : GroupWithZero G₀] → Inv G₀

instance GroupWithZero.toDivInvMonoid E0 #

{G₀ : Type u} → [self : GroupWithZero G₀] → DivInvMonoid G₀

theorem GroupWithZero.zpow_zero' E2 #

∀ {G₀ : Type u} [self : GroupWithZero G₀] (a : G₀), a ^ 0 = 1

a ^ 0 = 1

theorem GroupWithZero.zpow_neg' E2 #

∀ {G₀ : Type u} [self : GroupWithZero G₀] (n : ℕ) (a : G₀), a ^ Int.negSucc n = (a ^ ↑n.succ)⁻¹

a ^ -(n + 1) = (a ^ (n + 1))⁻¹

abbrev GroupWithZero.toDiv E1 #

{G₀ : Type u} → [self : GroupWithZero G₀] → Div G₀

ctor GroupWithZero.mk E0 #

{G₀ : Type u} →
  [toMonoidWithZero : MonoidWithZero G₀] →
    [toInv : Inv G₀] →
      [toDiv : Div G₀] →
        [toZPow : ZPow G₀] →
          autoParam (∀ (a b : G₀), a / b = a * b⁻¹) DivInvMonoid.div_eq_mul_inv._autoParam →
            autoParam (∀ (a : G₀), a ^ 0 = 1) DivInvMonoid.zpow_zero'._autoParam →
              autoParam (∀ (n : ℕ) (a : G₀), a ^ ↑n.succ = a ^ ↑n * a) DivInvMonoid.zpow_succ'._autoParam →
                autoParam (∀ (n : ℕ) (a : G₀), a ^ Int.negSucc n = (a ^ ↑n.succ)⁻¹) DivInvMonoid.zpow_neg'._autoParam →
                  [toNontrivial : Nontrivial G₀] → 0⁻¹ = 0 → (∀ (a : G₀), a ≠ 0 → a * a⁻¹ = 1) → GroupWithZero G₀

theorem GroupWithZero.zpow_succ' E2 #

∀ {G₀ : Type u} [self : GroupWithZero G₀] (n : ℕ) (a : G₀), a ^ ↑n.succ = a ^ ↑n * a

a ^ (n + 1) = a ^ n * a

instance GroupWithZero.toNontrivial E0 #

∀ {G₀ : Type u} [self : GroupWithZero G₀], Nontrivial G₀

abbrev GroupWithZero.toZPow E1 #

{G₀ : Type u} → [self : GroupWithZero G₀] → ZPow G₀

theorem GroupWithZero.inv_zero E2 #

∀ {G₀ : Type u} [self : GroupWithZero G₀], 0⁻¹ = 0

The inverse of 0 in a group with zero is 0.

theorem GroupWithZero.mul_inv_cancel E2 #

∀ {G₀ : Type u} [self : GroupWithZero G₀] (a : G₀), a ≠ 0 → a * a⁻¹ = 1

Every nonzero element of a group with zero is invertible.

theorem inv_zero E0 #

∀ {G₀ : Type u} [inst : GroupWithZero G₀], 0⁻¹ = 0

theorem mul_inv_cancel₀ E0 #

∀ {G₀ : Type u} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → a * a⁻¹ = 1

instance GroupWithZero.toMulDivCancelClass E0 #

∀ {G₀ : Type u} [inst : GroupWithZero G₀], MulDivCancelClass G₀

class CommGroupWithZero E3 #

Type u_2 → Type u_2

A type G₀ is a commutative “group with zero” if it is a commutative monoid with zero element (distinct from 1) such that every nonzero element is invertible. The type is required to come with an “inverse” function, and the inverse of 0 must be 0.

theorem CommGroupWithZero.mul_inv_cancel E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀] (a : G₀), a ≠ 0 → a * a⁻¹ = 1

Every nonzero element of a group with zero is invertible.

ctor CommGroupWithZero.mk E0 #

{G₀ : Type u_2} →
  [toCommMonoidWithZero : CommMonoidWithZero G₀] →
    [toInv : Inv G₀] →
      [toDiv : Div G₀] →
        [toZPow : ZPow G₀] →
          autoParam (∀ (a b : G₀), a / b = a * b⁻¹) DivInvMonoid.div_eq_mul_inv._autoParam →
            autoParam (∀ (a : G₀), a ^ 0 = 1) DivInvMonoid.zpow_zero'._autoParam →
              autoParam (∀ (n : ℕ) (a : G₀), a ^ ↑n.succ = a ^ ↑n * a) DivInvMonoid.zpow_succ'._autoParam →
                autoParam (∀ (n : ℕ) (a : G₀), a ^ Int.negSucc n = (a ^ ↑n.succ)⁻¹) DivInvMonoid.zpow_neg'._autoParam →
                  [toNontrivial : Nontrivial G₀] → 0⁻¹ = 0 → (∀ (a : G₀), a ≠ 0 → a * a⁻¹ = 1) → CommGroupWithZero G₀

abbrev CommGroupWithZero.toInv E1 #

{G₀ : Type u_2} → [self : CommGroupWithZero G₀] → Inv G₀

theorem CommGroupWithZero.zpow_succ' E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀] (n : ℕ) (a : G₀), a ^ ↑n.succ = a ^ ↑n * a

a ^ (n + 1) = a ^ n * a

abbrev CommGroupWithZero.toZPow E1 #

{G₀ : Type u_2} → [self : CommGroupWithZero G₀] → ZPow G₀

abbrev CommGroupWithZero.toDiv E1 #

{G₀ : Type u_2} → [self : CommGroupWithZero G₀] → Div G₀

theorem CommGroupWithZero.zpow_neg' E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀] (n : ℕ) (a : G₀), a ^ Int.negSucc n = (a ^ ↑n.succ)⁻¹

a ^ -(n + 1) = (a ^ (n + 1))⁻¹

theorem CommGroupWithZero.div_eq_mul_inv E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀] (a b : G₀), a / b = a * b⁻¹

a / b := a * b⁻¹

theorem CommGroupWithZero.inv_zero E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀], 0⁻¹ = 0

The inverse of 0 in a group with zero is 0.

theorem CommGroupWithZero.toNontrivial E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀], Nontrivial G₀

theorem CommGroupWithZero.zpow_zero' E1 #

∀ {G₀ : Type u_2} [self : CommGroupWithZero G₀] (a : G₀), a ^ 0 = 1

a ^ 0 = 1

instance CommGroupWithZero.toGroupWithZero E0 #

{G₀ : Type u_2} → [self : CommGroupWithZero G₀] → GroupWithZero G₀

instance CommGroupWithZero.toCommMonoidWithZero E0 #

{G₀ : Type u_2} → [self : CommGroupWithZero G₀] → CommMonoidWithZero G₀

theorem mul_inv_cancel_right₀ E0 #

∀ {G₀ : Type u} [inst : GroupWithZero G₀] {b : G₀}, b ≠ 0 → ∀ (a : G₀), a * b * b⁻¹ = a

theorem mul_inv_cancel_left₀ E0 #

∀ {G₀ : Type u} [inst : GroupWithZero G₀] {a : G₀}, a ≠ 0 → ∀ (b : G₀), a * (a⁻¹ * b) = b

theorem mul_eq_zero_of_left E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] {a : M₀}, a = 0 → ∀ (b : M₀), a * b = 0

theorem mul_eq_zero_of_right E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] (a : M₀) {b : M₀}, b = 0 → a * b = 0

theorem noZeroDivisors_iff_right_eq_zero_of_mul E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀], NoZeroDivisors M₀ ↔ ∀ (x : M₀), x ≠ 0 → ∀ (y : M₀), x * y = 0 → y = 0

theorem noZeroDivisors_iff_left_eq_zero_of_mul E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀], NoZeroDivisors M₀ ↔ ∀ (x : M₀), x ≠ 0 → ∀ (y : M₀), y * x = 0 → y = 0

theorem noZeroDivisors_iff_eq_zero_of_mul E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀],
  NoZeroDivisors M₀ ↔ ∀ (x : M₀), x ≠ 0 → (∀ (y : M₀), x * y = 0 → y = 0) ∧ ∀ (y : M₀), y * x = 0 → y = 0

theorem mul_eq_zero E0 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, a * b = 0 ↔ a = 0 ∨ b = 0

If α has no zero divisors, then the product of two elements equals zero iff one of them equals zero.

theorem zero_eq_mul E0 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, 0 = a * b ↔ a = 0 ∨ b = 0

If α has no zero divisors, then the product of two elements equals zero iff one of them equals zero.

theorem mul_ne_zero_iff E0 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, a * b ≠ 0 ↔ a ≠ 0 ∧ b ≠ 0

If α has no zero divisors, then the product of two elements is nonzero iff both of them are nonzero.

theorem mul_eq_zero_comm E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, a * b = 0 ↔ b * a = 0

If α has no zero divisors, then for elements a, b : α, a * b equals zero iff so is b * a.

theorem mul_ne_zero_comm E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, a * b ≠ 0 ↔ b * a ≠ 0

If α has no zero divisors, then for elements a, b : α, a * b is nonzero iff so is b * a.

theorem mul_self_eq_zero E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a : M₀}, a * a = 0 ↔ a = 0

theorem zero_eq_mul_self E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a : M₀}, 0 = a * a ↔ a = 0

theorem mul_self_ne_zero E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a : M₀}, a * a ≠ 0 ↔ a ≠ 0

theorem zero_ne_mul_self E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a : M₀}, 0 ≠ a * a ↔ a ≠ 0

theorem mul_eq_zero_iff_left E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, a ≠ 0 → (a * b = 0 ↔ b = 0)

theorem mul_eq_zero_iff_right E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, b ≠ 0 → (a * b = 0 ↔ a = 0)

theorem mul_ne_zero_iff_left E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, a ≠ 0 → (a * b ≠ 0 ↔ b ≠ 0)

theorem mul_ne_zero_iff_right E1 #

∀ {M₀ : Type u_1} [inst : MulZeroClass M₀] [NoZeroDivisors M₀] {a b : M₀}, b ≠ 0 → (a * b ≠ 0 ↔ a ≠ 0)