Documentation

Mathlib.Algebra.Group.Subgroup.Even

Squares and even elements #

This file defines the subgroup of squares / even elements in an abelian group.

In a commutative semigroup S, Subsemigroup.squareIn S is the subsemigroup of squares in S.

Equations
Instances For

    In a commutative additive semigroup S, the type AddSubsemigroup.evenIn S is the subsemigroup of even elements of S.

    Equations
    Instances For
      @[simp]
      @[simp]

      In a commutative monoid M, Submonoid.squareIn M is the submonoid of squares in M.

      Equations
      Instances For

        In a commutative additive monoid M, the type AddSubmonoid.evenIn M is the submonoid of even elements of M.

        Equations
        Instances For
          @[simp]
          @[simp]
          @[simp]
          theorem Submonoid.coe_squareIn {M : Type u_1} [CommMonoid M] :
          (Submonoid.squareIn M) = {s : M | IsSquare s}
          @[simp]
          theorem AddSubmonoid.coe_evenIn {M : Type u_1} [AddCommMonoid M] :
          (AddSubmonoid.evenIn M) = {s : M | Even s}

          In an abelian group G, Subgroup.squareIn G is the subgroup of squares in G.

          Equations
          Instances For

            In an abelian additive group G, the type AddSubgroup.evenIn G is the subgroup of even elements in G.

            Equations
            Instances For
              @[simp]
              @[simp]
              @[simp]
              theorem Subgroup.coe_squareIn {G : Type u_1} [CommGroup G] :
              (Subgroup.squareIn G) = {s : G | IsSquare s}
              @[simp]
              theorem AddSubgroup.coe_evenIn {G : Type u_1} [AddCommGroup G] :
              (AddSubgroup.evenIn G) = {s : G | Even s}