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.Equiv

85 declarations. Mathlib docs · Source

theorem MonoidHom.mk.congr_simp E1 #

∀ {M : Type u_10} {N : Type u_11} [inst : MulOne M] [inst_1 : MulOne N] (toOneHom toOneHom_1 : OneHom M N)
  (e_toOneHom : toOneHom = toOneHom_1)
  (map_mul' : ∀ (x y : M), toOneHom.toFun (x * y) = toOneHom.toFun x * toOneHom.toFun y),
  { toOneHom := toOneHom, map_mul' := map_mul' } = { toOneHom := toOneHom_1, map_mul' := ⋯ }

theorem OneHom.mk.congr_simp E1 #

∀ {M : Type u_10} {N : Type u_11} [inst : One M] [inst_1 : One N] (toFun toFun_1 : M → N) (e_toFun : toFun = toFun_1)
  (map_one' : toFun 1 = 1), { toFun := toFun, map_one' := map_one' } = { toFun := toFun_1, map_one' := ⋯ }

def toUnits E1 #

{G : Type u_5} → [inst : Group G] → G ≃* Gˣ

A group is isomorphic to its group of units.

theorem val_toAddUnits_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (x : G), ↑(toAddUnits x) = x

theorem val_toUnits_apply E0 #

∀ {G : Type u_5} [inst : Group G] (x : G), ↑(toUnits x) = x

def toAddUnits E1 #

{G : Type u_5} → [inst : AddGroup G] → G ≃+ AddUnits G

An additive group is isomorphic to its group of additive units

theorem toUnits_symm_apply E0 #

∀ {G : Type u_5} [inst : Group G] (x : Gˣ), toUnits.symm x = ↑x

theorem toAddUnits_symm_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (x : AddUnits G), toAddUnits.symm x = ↑x

theorem toUnits_val_apply E0 #

∀ {G : Type u_6} [inst : Group G] (x : Gˣ), toUnits ↑x = x

theorem toAddUnits_val_apply E0 #

∀ {G : Type u_6} [inst : AddGroup G] (x : AddUnits G), toAddUnits ↑x = x

def Units.mapEquiv E1 #

{M : Type u_3} → {N : Type u_4} → [inst : Monoid M] → [inst_1 : Monoid N] → M ≃* N → Mˣ ≃* Nˣ

A multiplicative equivalence of monoids defines a multiplicative equivalence of their groups of units.

def AddUnits.mapEquiv E1 #

{M : Type u_3} → {N : Type u_4} → [inst : AddMonoid M] → [inst_1 : AddMonoid N] → M ≃+ N → AddUnits M ≃+ AddUnits N

An additive equivalence of additive monoids defines an additive equivalence of their groups of additive units.

theorem Units.mapEquiv_symm E0 #

∀ {M : Type u_3} {N : Type u_4} [inst : Monoid M] [inst_1 : Monoid N] (h : M ≃* N),
  (Units.mapEquiv h).symm = Units.mapEquiv h.symm

theorem AddUnits.mapEquiv_symm E0 #

∀ {M : Type u_3} {N : Type u_4} [inst : AddMonoid M] [inst_1 : AddMonoid N] (h : M ≃+ N),
  (AddUnits.mapEquiv h).symm = AddUnits.mapEquiv h.symm

theorem AddUnits.coe_mapEquiv E0 #

∀ {M : Type u_3} {N : Type u_4} [inst : AddMonoid M] [inst_1 : AddMonoid N] (h : M ≃+ N) (x : AddUnits M),
  ↑((AddUnits.mapEquiv h) x) = h ↑x

theorem Units.coe_mapEquiv E0 #

∀ {M : Type u_3} {N : Type u_4} [inst : Monoid M] [inst_1 : Monoid N] (h : M ≃* N) (x : Mˣ),
  ↑((Units.mapEquiv h) x) = h ↑x

def Units.mulLeft E1 #

{M : Type u_3} → [inst : Monoid M] → Mˣ → Equiv.Perm M

Left multiplication by a unit of a monoid is a permutation of the underlying type.

theorem Units.mulLeft_apply E0 #

∀ {M : Type u_3} [inst : Monoid M] (u : Mˣ), ⇑u.mulLeft = fun x ↦ ↑u * x

def AddUnits.addLeft E1 #

{M : Type u_3} → [inst : AddMonoid M] → AddUnits M → Equiv.Perm M

Left addition of an additive unit is a permutation of the underlying type.

theorem AddUnits.addLeft_apply E0 #

∀ {M : Type u_3} [inst : AddMonoid M] (u : AddUnits M), ⇑u.addLeft = fun x ↦ ↑u + x

theorem AddUnits.addLeft_symm E0 #

∀ {M : Type u_3} [inst : AddMonoid M] (u : AddUnits M), Equiv.symm u.addLeft = (-u).addLeft

theorem Units.mulLeft_symm E0 #

∀ {M : Type u_3} [inst : Monoid M] (u : Mˣ), Equiv.symm u.mulLeft = u⁻¹.mulLeft

theorem AddUnits.addLeft_bijective E1 #

∀ {M : Type u_3} [inst : AddMonoid M] (a : AddUnits M), Function.Bijective fun x ↦ ↑a + x

theorem Units.mulLeft_bijective E1 #

∀ {M : Type u_3} [inst : Monoid M] (a : Mˣ), Function.Bijective fun x ↦ ↑a * x

def Units.mulRight E1 #

{M : Type u_3} → [inst : Monoid M] → Mˣ → Equiv.Perm M

Right multiplication by a unit of a monoid is a permutation of the underlying type.

theorem AddUnits.addRight_apply E0 #

∀ {M : Type u_3} [inst : AddMonoid M] (u : AddUnits M), ⇑u.addRight = fun x ↦ x + ↑u

def AddUnits.addRight E1 #

{M : Type u_3} → [inst : AddMonoid M] → AddUnits M → Equiv.Perm M

Right addition of an additive unit is a permutation of the underlying type.

theorem Units.mulRight_apply E0 #

∀ {M : Type u_3} [inst : Monoid M] (u : Mˣ), ⇑u.mulRight = fun x ↦ x * ↑u

theorem AddUnits.addRight_symm E0 #

∀ {M : Type u_3} [inst : AddMonoid M] (u : AddUnits M), Equiv.symm u.addRight = (-u).addRight

theorem Units.mulRight_symm E0 #

∀ {M : Type u_3} [inst : Monoid M] (u : Mˣ), Equiv.symm u.mulRight = u⁻¹.mulRight

theorem AddUnits.addRight_bijective E1 #

∀ {M : Type u_3} [inst : AddMonoid M] (a : AddUnits M), Function.Bijective fun x ↦ x + ↑a

theorem Units.mulRight_bijective E1 #

∀ {M : Type u_3} [inst : Monoid M] (a : Mˣ), Function.Bijective fun x ↦ x * ↑a

def Equiv.mulLeft E1 #

{G : Type u_5} → [Group G] → G → Equiv.Perm G

Left multiplication in a Group is a permutation of the underlying type.

def Equiv.addLeft E1 #

{G : Type u_5} → [AddGroup G] → G → Equiv.Perm G

Left addition in an AddGroup is a permutation of the underlying type.

theorem Equiv.coe_mulLeft E0 #

∀ {G : Type u_5} [inst : Group G] (a : G), ⇑(Equiv.mulLeft a) = fun x ↦ a * x

theorem Equiv.coe_addLeft E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), ⇑(Equiv.addLeft a) = fun x ↦ a + x

theorem Equiv.mulLeft_symm_apply E0 #

∀ {G : Type u_5} [inst : Group G] (a : G), ⇑(Equiv.symm (Equiv.mulLeft a)) = fun x ↦ a⁻¹ * x

Extra simp lemma that dsimp can use. simp will never use this.

theorem Equiv.addLeft_symm_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), ⇑(Equiv.symm (Equiv.addLeft a)) = fun x ↦ -a + x

Extra simp lemma that dsimp can use. simp will never use this.

theorem Equiv.mulLeft_symm E0 #

∀ {G : Type u_5} [inst : Group G] (a : G), Equiv.symm (Equiv.mulLeft a) = Equiv.mulLeft a⁻¹

theorem Equiv.addLeft_symm E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), Equiv.symm (Equiv.addLeft a) = Equiv.addLeft (-a)

theorem Group.mulLeft_bijective E1 #

∀ {G : Type u_5} [inst : Group G] (a : G), Function.Bijective fun x ↦ a * x

theorem AddGroup.addLeft_bijective E1 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), Function.Bijective fun x ↦ a + x

def Equiv.mulRight E1 #

{G : Type u_5} → [Group G] → G → Equiv.Perm G

Right multiplication in a Group is a permutation of the underlying type.

def Equiv.addRight E1 #

{G : Type u_5} → [AddGroup G] → G → Equiv.Perm G

Right addition in an AddGroup is a permutation of the underlying type.

theorem Equiv.coe_addRight E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), ⇑(Equiv.addRight a) = fun x ↦ x + a

theorem Equiv.coe_mulRight E0 #

∀ {G : Type u_5} [inst : Group G] (a : G), ⇑(Equiv.mulRight a) = fun x ↦ x * a

theorem Equiv.mulRight_symm E0 #

∀ {G : Type u_5} [inst : Group G] (a : G), Equiv.symm (Equiv.mulRight a) = Equiv.mulRight a⁻¹

theorem Equiv.addRight_symm E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), Equiv.symm (Equiv.addRight a) = Equiv.addRight (-a)

theorem Equiv.mulRight_symm_apply E0 #

∀ {G : Type u_5} [inst : Group G] (a : G), ⇑(Equiv.symm (Equiv.mulRight a)) = fun x ↦ x * a⁻¹

Extra simp lemma that dsimp can use. simp will never use this.

theorem Equiv.addRight_symm_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), ⇑(Equiv.symm (Equiv.addRight a)) = fun x ↦ x + -a

Extra simp lemma that dsimp can use. simp will never use this.

theorem AddGroup.addRight_bijective E1 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), Function.Bijective fun x ↦ x + a

theorem Group.mulRight_bijective E1 #

∀ {G : Type u_5} [inst : Group G] (a : G), Function.Bijective fun x ↦ x * a

def Equiv.divLeft E1 #

{G : Type u_5} → [Group G] → G → G ≃ G

A version of Equiv.mulLeft a b⁻¹ that is defeq to a / b.

def Equiv.subLeft E1 #

{G : Type u_5} → [AddGroup G] → G → G ≃ G

A version of Equiv.addLeft a (-b) that is defeq to a - b.

theorem Equiv.divLeft_symm_apply E0 #

∀ {G : Type u_5} [inst : Group G] (a b : G), (Equiv.divLeft a).symm b = b⁻¹ * a

theorem Equiv.subLeft_symm_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a b : G), (Equiv.subLeft a).symm b = -b + a

theorem Equiv.divLeft_apply E0 #

∀ {G : Type u_5} [inst : Group G] (a b : G), (Equiv.divLeft a) b = a / b

theorem Equiv.subLeft_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a b : G), (Equiv.subLeft a) b = a - b

theorem Equiv.divLeft_eq_inv_trans_mulLeft E1 #

∀ {G : Type u_5} [inst : Group G] (a : G), Equiv.divLeft a = Equiv.trans (Equiv.inv G) (Equiv.mulLeft a)

theorem Equiv.subLeft_eq_neg_trans_addLeft E1 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), Equiv.subLeft a = Equiv.trans (Equiv.neg G) (Equiv.addLeft a)

def Equiv.divRight E1 #

{G : Type u_5} → [Group G] → G → G ≃ G

A version of Equiv.mulRight a⁻¹ b that is defeq to b / a.

theorem Equiv.divRight_symm_apply E0 #

∀ {G : Type u_5} [inst : Group G] (a b : G), (Equiv.divRight a).symm b = b * a

def Equiv.subRight E1 #

{G : Type u_5} → [AddGroup G] → G → G ≃ G

A version of Equiv.addRight (-a) b that is defeq to b - a.

theorem Equiv.divRight_apply E0 #

∀ {G : Type u_5} [inst : Group G] (a b : G), (Equiv.divRight a) b = b / a

theorem Equiv.subRight_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a b : G), (Equiv.subRight a) b = b - a

theorem Equiv.subRight_symm_apply E0 #

∀ {G : Type u_5} [inst : AddGroup G] (a b : G), (Equiv.subRight a).symm b = b + a

theorem Equiv.divRight_eq_mulRight_inv E1 #

∀ {G : Type u_5} [inst : Group G] (a : G), Equiv.divRight a = Equiv.mulRight a⁻¹

theorem Equiv.subRight_eq_addRight_neg E1 #

∀ {G : Type u_5} [inst : AddGroup G] (a : G), Equiv.subRight a = Equiv.addRight (-a)

theorem Equiv.symm_subLeft E1 #

∀ {G : Type u_5} [inst : AddCommGroup G] (a : G), (Equiv.subLeft a).symm = Equiv.subLeft a

theorem Equiv.symm_divLeft E1 #

∀ {G : Type u_5} [inst : CommGroup G] (a : G), (Equiv.divLeft a).symm = Equiv.divLeft a

theorem Equiv.divLeft_involutive E0 #

∀ {G : Type u_5} [inst : CommGroup G] (a : G), Function.Involutive ⇑(Equiv.divLeft a)

theorem Equiv.subLeft_involutive E0 #

∀ {G : Type u_5} [inst : AddCommGroup G] (a : G), Function.Involutive ⇑(Equiv.subLeft a)

def unitsEquivProdSubtype E1 #

(α : Type u_2) → [inst : Monoid α] → αˣ ≃ { p // p.1 * p.2 = 1 ∧ p.2 * p.1 = 1 }

The αˣ type is equivalent to a subtype of α × α.

theorem val_inv_unitsEquivProdSubtype_symm_apply E0 #

∀ (α : Type u_2) [inst : Monoid α] (p : { p // p.1 * p.2 = 1 ∧ p.2 * p.1 = 1 }),
  ↑((unitsEquivProdSubtype α).symm p)⁻¹ = (↑p).2

theorem unitsEquivProdSubtype_apply_coe E0 #

∀ (α : Type u_2) [inst : Monoid α] (u : αˣ), ↑((unitsEquivProdSubtype α) u) = (↑u, ↑u⁻¹)

theorem val_unitsEquivProdSubtype_symm_apply E0 #

∀ (α : Type u_2) [inst : Monoid α] (p : { p // p.1 * p.2 = 1 ∧ p.2 * p.1 = 1 }),
  ↑((unitsEquivProdSubtype α).symm p) = (↑p).1

def MulEquiv.inv E1 #

(G : Type u_6) → [inst : DivisionCommMonoid G] → G ≃* G

In a DivisionCommMonoid, Equiv.inv is a MulEquiv. There is a variant of this MulEquiv.inv' G : G ≃* Gᵐᵒᵖ for the non-commutative case.

theorem AddEquiv.neg_apply E0 #

∀ (G : Type u_6) [inst : SubtractionCommMonoid G] (a : G), (AddEquiv.neg G) a = -a

def AddEquiv.neg E1 #

(G : Type u_6) → [inst : SubtractionCommMonoid G] → G ≃+ G

When the AddGroup is commutative, Equiv.neg is an AddEquiv.

theorem MulEquiv.inv_apply E0 #

∀ (G : Type u_6) [inst : DivisionCommMonoid G] (a : G), (MulEquiv.inv G) a = a⁻¹

theorem AddEquiv.neg_symm E0 #

∀ (G : Type u_6) [inst : SubtractionCommMonoid G], (AddEquiv.neg G).symm = AddEquiv.neg G

theorem MulEquiv.inv_symm E0 #

∀ (G : Type u_6) [inst : DivisionCommMonoid G], (MulEquiv.inv G).symm = MulEquiv.inv G

theorem MulEquiv.isUnit_map E0 #

∀ {F : Type u_1} {M : Type u_3} {N : Type u_4} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : EquivLike F M N]
  [MulEquivClass F M N] (f : F) {x : M}, IsUnit (f x) ↔ IsUnit x

theorem AddEquiv.isAddUnit_map E0 #

∀ {F : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : EquivLike F M N]
  [AddEquivClass F M N] (f : F) {x : M}, IsAddUnit (f x) ↔ IsAddUnit x

instance isLocalHom_equiv E0 #

∀ {F : Type u_1} {M : Type u_3} {N : Type u_4} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : EquivLike F M N]
  [MulEquivClass F M N] (f : F), IsLocalHom f