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.GroupTheory.SpecificGroups.KleinFour

29 declarations. Mathlib docs · Source

Klein Four Group

The Klein (Vierergruppe) four-group is a non-cyclic abelian group with four elements, in which each element is self-inverse and in which composing any two of the three non-identity elements produces the third one.

Main definitions

  • IsKleinFour : A mixin class which states that the group has order four and exponent two.
  • mulEquiv' : An equivalence between a Klein four-group and a group of exponent two which preserves the identity is in fact an isomorphism.
  • mulEquiv: Any two Klein four-groups are isomorphic via any identity-preserving equivalence.

References

  • https://en.wikipedia.org/wiki/Klein_four-group
  • https://en.wikipedia.org/wiki/Alternating_group

TODO

  • Prove an IsKleinFour group is isomorphic to the normal subgroup of alternatingGroup (Fin 4) with the permutation cycles V = {(), (1 2)(3 4), (1 3)(2 4), (1 4)(2 3)}. This is the kernel of the surjection of alternatingGroup (Fin 4) onto alternatingGroup (Fin 3) ≃ (ZMod 3). In other words, we have the exact sequence V → A₄ → A₃.

  • The outer automorphism group of A₆ is the Klein four-group V = (ZMod 2) × (ZMod 2), and is related to the outer automorphism of S₆. The extra outer automorphism in A₆ swaps the 3-cycles (like (1 2 3)) with elements of shape 3² (like (1 2 3)(4 5 6)).

Tags

non-cyclic abelian group

Klein four-groups as a mixin class

class IsAddKleinFour E1 #

(G : Type u_1) → [AddGroup G] → Prop

An (additive) Klein four-group is an (additive) group of cardinality four and exponent two.

ctor IsAddKleinFour.mk E0 #

∀ {G : Type u_1} [inst : AddGroup G], Nat.card G = 4 → AddMonoid.exponent G = 2 → IsAddKleinFour G

theorem IsAddKleinFour.card_four E0 #

∀ {G : Type u_1} {inst : AddGroup G} [self : IsAddKleinFour G], Nat.card G = 4

theorem IsAddKleinFour.exponent_two E0 #

∀ {G : Type u_1} {inst : AddGroup G} [self : IsAddKleinFour G], AddMonoid.exponent G = 2

class IsKleinFour E3 #

(G : Type u_1) → [Group G] → Prop

A Klein four-group is a group of cardinality four and exponent two.

ctor IsKleinFour.mk E0 #

∀ {G : Type u_1} [inst : Group G], Nat.card G = 4 → Monoid.exponent G = 2 → IsKleinFour G

theorem IsKleinFour.card_four E0 #

∀ {G : Type u_1} {inst : Group G} [self : IsKleinFour G], Nat.card G = 4

theorem IsKleinFour.exponent_two E0 #

∀ {G : Type u_1} {inst : Group G} [self : IsKleinFour G], Monoid.exponent G = 2

instance instIsAddKleinFourProdZModOfNatNat E0 #

IsAddKleinFour (ZMod 2 × ZMod 2)

instance instIsAddKleinFourAdditiveOfIsKleinFour E0 #

∀ {G : Type u_1} [inst : Group G] [IsKleinFour G], IsAddKleinFour (Additive G)

instance instIsKleinFourMultiplicativeOfIsAddKleinFour E0 #

∀ {G : Type u_1} [inst : AddGroup G] [IsAddKleinFour G], IsKleinFour (Multiplicative G)

theorem IsAddKleinFour.isAddCommutative E1 #

∀ {G : Type u_1} [inst : AddGroup G] [IsAddKleinFour G], IsAddCommutative G

theorem IsKleinFour.isMulCommutative E1 #

∀ {G : Type u_1} [inst : Group G] [IsKleinFour G], IsMulCommutative G

theorem IsKleinFour.instFinite E1 #

∀ {G : Type u_1} [inst : Group G] [IsKleinFour G], Finite G

This instance is scoped, because it always applies (which makes linting and typeclass inference potentially a lot slower).

theorem IsAddKleinFour.instFinite E1 #

∀ {G : Type u_1} [inst : AddGroup G] [IsAddKleinFour G], Finite G

This instance is scoped, because it always applies (which makes linting and typeclass inference potentially a lot slower).

theorem IsAddKleinFour.card_four' E0 #

∀ {G : Type u_1} [inst : AddGroup G] [inst_1 : Fintype G] [IsAddKleinFour G], Fintype.card G = 4

theorem IsKleinFour.card_four' E0 #

∀ {G : Type u_1} [inst : Group G] [inst_1 : Fintype G] [IsKleinFour G], Fintype.card G = 4

theorem IsKleinFour.not_isCyclic E1 #

∀ {G : Type u_1} [inst : Group G] [IsKleinFour G], ¬IsCyclic G

theorem IsAddKleinFour.not_isAddCyclic E1 #

∀ {G : Type u_1} [inst : AddGroup G] [IsAddKleinFour G], ¬IsAddCyclic G

theorem IsAddKleinFour.neg_eq_self E1 #

∀ {G : Type u_1} [inst : AddGroup G] [IsAddKleinFour G] (x : G), -x = x

theorem IsKleinFour.inv_eq_self E1 #

∀ {G : Type u_1} [inst : Group G] [IsKleinFour G] (x : G), x⁻¹ = x

theorem IsKleinFour.mul_self E1 #

∀ {G : Type u_1} [inst : Group G] [IsKleinFour G] (x : G), x * x = 1

theorem IsAddKleinFour.add_self E1 #

∀ {G : Type u_1} [inst : AddGroup G] [IsAddKleinFour G] (x : G), x + x = 0

def IsKleinFour.mulEquiv' E3 #

{G₁ : Type u_2} →
  {G₂ : Type u_3} →
    [inst : Group G₁] →
      [inst_1 : Group G₂] → [IsKleinFour G₁] → (e : G₁ ≃ G₂) → e 1 = 1 → Monoid.exponent G₂ = 2 → G₁ ≃* G₂

An equivalence between an IsKleinFour group G₁ and a group G₂ of exponent two which sends 1 : G₁ to 1 : G₂ is in fact an isomorphism.

def IsAddKleinFour.addEquiv' E1 #

{G₁ : Type u_2} →
  {G₂ : Type u_3} →
    [inst : AddGroup G₁] →
      [inst_1 : AddGroup G₂] → [IsAddKleinFour G₁] → (e : G₁ ≃ G₂) → e 0 = 0 → AddMonoid.exponent G₂ = 2 → G₁ ≃+ G₂

An equivalence between an IsAddKleinFour group G₁ and a group G₂ of exponent two which sends 0 : G₁ to 0 : G₂ is in fact an isomorphism.

abbrev IsKleinFour.mulEquiv E3 #

{G₁ : Type u_2} →
  {G₂ : Type u_3} →
    [inst : Group G₁] → [inst_1 : Group G₂] → [IsKleinFour G₁] → [IsKleinFour G₂] → (e : G₁ ≃ G₂) → e 1 = 1 → G₁ ≃* G₂

Any two IsKleinFour groups are isomorphic via any equivalence which sends the identity of one group to the identity of the other.

abbrev IsAddKleinFour.addEquiv E1 #

{G₁ : Type u_2} →
  {G₂ : Type u_3} →
    [inst : AddGroup G₁] →
      [inst_1 : AddGroup G₂] → [IsAddKleinFour G₁] → [IsAddKleinFour G₂] → (e : G₁ ≃ G₂) → e 0 = 0 → G₁ ≃+ G₂

Any two IsAddKleinFour groups are isomorphic via any equivalence which sends the identity of one group to the identity of the other.

theorem IsKleinFour.nonempty_mulEquiv E1 #

∀ {G₁ : Type u_2} {G₂ : Type u_3} [inst : Group G₁] [inst_1 : Group G₂] [IsKleinFour G₁] [IsKleinFour G₂],
  Nonempty (G₁ ≃* G₂)

Any two IsKleinFour groups are isomorphic.

theorem IsAddKleinFour.nonempty_addEquiv E1 #

∀ {G₁ : Type u_2} {G₂ : Type u_3} [inst : AddGroup G₁] [inst_1 : AddGroup G₂] [IsAddKleinFour G₁] [IsAddKleinFour G₂],
  Nonempty (G₁ ≃+ G₂)

Any two IsAddKleinFour groups are isomorphic.