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.Ring.Units

22 declarations. Mathlib docs · Source

instance Units.instNeg E0 #

{α : Type u} → [inst : Monoid α] → [HasDistribNeg α] → Neg αˣ

Each element of the group of units of a ring has an additive inverse.

theorem Units.val_neg E0 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α] (u : αˣ), ↑(-u) = -↑u

Representing an element of a ring's unit group as an element of the ring commutes with mapping this element to its additive inverse.

theorem Units.coe_neg_one E0 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α], ↑(-1) = -1

theorem Units.val_eq_neg_one E0 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α] {a : αˣ}, ↑a = -1 ↔ a = -1

instance Units.instHasDistribNeg E0 #

{α : Type u} → [inst : Monoid α] → [HasDistribNeg α] → HasDistribNeg αˣ

theorem Units.neg_divp E1 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α] (a : α) (u : αˣ), -(a /ₚ u) = -a /ₚ u

theorem Units.divp_add_divp_same E1 #

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

theorem Units.add_divp E1 #

∀ {α : Type u} [inst : Semiring α] (a b : α) (u : αˣ), a + b /ₚ u = (a * ↑u + b) /ₚ u

theorem Units.divp_add E1 #

∀ {α : Type u} [inst : Semiring α] (a b : α) (u : αˣ), a /ₚ u + b = (a + b * ↑u) /ₚ u

theorem Units.divp_sub_divp_same E1 #

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

theorem Units.sub_divp E1 #

∀ {α : Type u} [inst : Ring α] (a b : α) (u : αˣ), a - b /ₚ u = (a * ↑u - b) /ₚ u

theorem Units.divp_sub E1 #

∀ {α : Type u} [inst : Ring α] (a b : α) (u : αˣ), a /ₚ u - b = (a - b * ↑u) /ₚ u

theorem Units.map_neg E0 #

∀ {α : Type u} {β : Type v} [inst : Ring α] {F : Type u_1} [inst_1 : Ring β] [inst_2 : FunLike F α β]
  [inst_3 : RingHomClass F α β] (f : F) (u : αˣ), (Units.map ↑f) (-u) = -(Units.map ↑f) u

theorem Units.map_neg_one E0 #

∀ {α : Type u} {β : Type v} [inst : Ring α] {F : Type u_1} [inst_1 : Ring β] [inst_2 : FunLike F α β]
  [inst_3 : RingHomClass F α β] (f : F), (Units.map ↑f) (-1) = -1

theorem IsUnit.neg E1 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α] {a : α}, IsUnit a → IsUnit (-a)

theorem IsUnit.neg_iff E0 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α] (a : α), IsUnit (-a) ↔ IsUnit a

theorem isUnit_neg_one E1 #

∀ {α : Type u} [inst : Monoid α] [inst_1 : HasDistribNeg α], IsUnit (-1)

theorem IsUnit.sub_iff E0 #

∀ {α : Type u} [inst : Ring α] {x y : α}, IsUnit (x - y) ↔ IsUnit (y - x)

theorem Units.divp_add_divp E1 #

∀ {α : Type u} [inst : CommSemiring α] (a b : α) (u₁ u₂ : αˣ), a /ₚ u₁ + b /ₚ u₂ = (a * ↑u₂ + ↑u₁ * b) /ₚ (u₁ * u₂)

theorem Units.divp_sub_divp E1 #

∀ {α : Type u} [inst : CommRing α] (a b : α) (u₁ u₂ : αˣ), a /ₚ u₁ - b /ₚ u₂ = (a * ↑u₂ - ↑u₁ * b) /ₚ (u₁ * u₂)

theorem Units.add_eq_mul_one_add_div E1 #

∀ {R : Type x} [inst : Semiring R] {a : Rˣ} {b : R}, ↑a + b = ↑a * (1 + ↑a⁻¹ * b)

theorem RingHom.isUnit_map E1 #

∀ {α : Type u} {β : Type v} [inst : Semiring α] [inst_1 : Semiring β] (f : α →+* β) {a : α}, IsUnit a → IsUnit (f a)