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

10 declarations. Mathlib docs · Source

Commutative structures from unbundled commutativity

This file provides scoped instances that promote algebraic structures satisfying IsMulCommutative or IsAddCommutative to their bundled commutative counterparts.

def IsMulCommutative.instCommMagma E1 #

{M : Type u_2} → [inst : Mul M] → [IsMulCommutative M] → CommMagma M

A magma which IsMulCommutative is a CommMagma.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsAddCommutative.instAddCommMagma E1 #

{M : Type u_2} → [inst : Add M] → [IsAddCommutative M] → AddCommMagma M

An additive magma which IsMulCommutative is a AddCommMagma.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsMulCommutative.instCommSemigroup E1 #

{M : Type u_2} → [inst : Semigroup M] → [IsMulCommutative M] → CommSemigroup M

A Semigroup which IsMulCommutative is a CommSemigroup.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsAddCommutative.instAddCommSemigroup E1 #

{M : Type u_2} → [inst : AddSemigroup M] → [IsAddCommutative M] → AddCommSemigroup M

An AddSemigroup which IsMulCommutative is a AddCommSemigroup.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsMulCommutative.instCommMonoid E1 #

{M : Type u_2} → [inst : Monoid M] → [IsMulCommutative M] → CommMonoid M

A Monoid which IsMulCommutative is a CommMonoid.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsAddCommutative.instAddCommMonoid E1 #

{M : Type u_2} → [inst : AddMonoid M] → [IsAddCommutative M] → AddCommMonoid M

A AddMonoid which IsMulCommutative is a AddCommMonoid.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsMulCommutative.instDivisionCommMonoid E1 #

{M : Type u_2} → [inst : DivisionMonoid M] → [IsMulCommutative M] → DivisionCommMonoid M

A DivisionMonoid which IsMulCommutative is a DivisionCommMonoid.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsAddCommutative.instDivisionAddCommMonoid E1 #

{M : Type u_2} → [inst : SubtractionMonoid M] → [IsAddCommutative M] → SubtractionCommMonoid M

A SubtractionMonoid which IsMulCommutative is a SubtractionCommMonoid.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsMulCommutative.instCommGroup E1 #

{G : Type u_2} → [inst : Group G] → [IsMulCommutative G] → CommGroup G

A Group which IsMulCommutative is a CommGroup.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].

def IsAddCommutative.instAddCommGroup E1 #

{G : Type u_2} → [inst : AddGroup G] → [IsAddCommutative G] → AddCommGroup G

An AddGroup which IsMulCommutative is a AddCommGroup.

This is primarily used to deduce the bundled version from the unbundled one for commutative subobjects in a noncommutative ambient type. As such this is only available inside the IsMulCommutative scope so as to avoid deleterious effects to type class synthesis for bundled commutativity.

See note [commutative subobjects].