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]
@[simp]
@[simp]
In a commutative monoid M, Submonoid.square M is the submonoid of squares in M.
Instances For
In a commutative additive monoid M, AddSubmonoid.even M
is the submonoid of even elements in M.
Instances For
@[simp]
theorem
Submonoid.square_toSubsemigroup
{M : Type u_1}
[CommMonoid M]
:
(square M).toSubsemigroup = Subsemigroup.square M
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
In an abelian group G, Subgroup.square G is the subgroup of squares in G.
Instances For
In an abelian additive group G, AddSubgroup.even G is
the subgroup of even elements in G.
Instances For
@[simp]
theorem
Subgroup.square_toSubmonoid
{G : Type u_1}
[CommGroup G]
:
(square G).toSubmonoid = Submonoid.square G
@[simp]
theorem
AddSubgroup.even_toAddSubmonoid
{G : Type u_1}
[AddCommGroup G]
:
(even G).toAddSubmonoid = AddSubmonoid.even G
@[simp]
@[simp]
@[simp]