Documentation

Mathlib.Algebra.Ring.Invertible

Theorems about invertible elements in rings #

def invertibleNeg {α : Type u} [Mul α] [One α] [HasDistribNeg α] (a : α) [Invertible a] :

-⅟a is the inverse of -a

Equations
Instances For
    @[simp]
    theorem invOf_neg {α : Type u} [Monoid α] [HasDistribNeg α] (a : α) [Invertible a] [Invertible (-a)] :
    ⅟ (-a) = -⅟ a
    @[simp]
    theorem one_sub_invOf_two {α : Type u} [Ring α] [Invertible 2] :
    1 - ⅟ 2 = ⅟ 2
    @[simp]
    theorem pos_of_invertible_cast {α : Type u} [NonAssocSemiring α] [Nontrivial α] (n : ℕ) [Invertible ↑n] :
    0 < n
    theorem invOf_add_invOf {α : Type u} [Semiring α] (a b : α) [Invertible a] [Invertible b] :
    ⅟ a + ⅟ b = ⅟ a * (a + b) * ⅟ b
    theorem invOf_sub_invOf {α : Type u} [Ring α] (a b : α) [Invertible a] [Invertible b] :
    ⅟ a - ⅟ b = ⅟ a * (b - a) * ⅟ b

    A version of inv_sub_inv' for invOf.

    theorem Ring.inverse_add_inverse {α : Type u} [Semiring α] {a b : α} (h : IsUnit a ↔ IsUnit b) :
    inverse a + inverse b = inverse a * (a + b) * inverse b

    A version of inv_add_inv' for Ring.inverse.

    theorem Ring.inverse_sub_inverse {α : Type u} [Ring α] {a b : α} (h : IsUnit a ↔ IsUnit b) :
    inverse a - inverse b = inverse a * (b - a) * inverse b

    A version of inv_sub_inv' for Ring.inverse.