Squares and even elements #
This file defines the subgroup of squares / even elements in an abelian group.
In a commutative semigroup S
, Subsemigroup.square S
is the subsemigroup of squares in S
.
Instances For
In a commutative additive semigroup S
, AddSubsemigroup.even S
is the subsemigroup of even elements in S
.
Instances For
@[simp]
@[simp]
In a commutative monoid M
, Submonoid.square M
is the submonoid of squares in M
.
Equations
- Submonoid.square M = { toSubsemigroup := Subsemigroup.square M, one_mem' := ⋯ }
Instances For
In a commutative additive monoid M
, AddSubmonoid.even M
is the submonoid of even elements in M
.
Equations
- AddSubmonoid.even M = { toAddSubsemigroup := AddSubsemigroup.even M, zero_mem' := ⋯ }
Instances For
@[simp]
@[simp]
@[simp]
@[simp]
In an abelian group G
, Subgroup.square G
is the subgroup of squares in G
.
Equations
- Subgroup.square G = { toSubmonoid := Submonoid.square G, inv_mem' := ⋯ }
Instances For
In an abelian additive group G
, AddSubgroup.even G
is
the subgroup of even elements in G
.
Equations
- AddSubgroup.even G = { toAddSubmonoid := AddSubmonoid.even G, neg_mem' := ⋯ }
Instances For
@[simp]
@[simp]
@[simp]