Trivial groups

Content created by Egbert Rijke and Fredrik Bakke.

Created on 2023-10-08.
Last modified on 2023-10-09.

module group-theory.trivial-groups where
open import foundation.contractible-types
open import foundation.dependent-pair-types
open import foundation.identity-types
open import foundation.propositions
open import foundation.universe-levels

open import group-theory.groups
open import group-theory.subgroups
open import group-theory.trivial-subgroups


A group is said to be trivial if its underlying type is contractible. In other words, a group is trivial if it consists only of the unit element.


The predicate of being a trivial group

module _
  {l1 : Level} (G : Group l1)

  is-trivial-prop-Group : Prop l1
  is-trivial-prop-Group = is-contr-Prop (type-Group G)

  is-trivial-Group : UU l1
  is-trivial-Group = type-Prop is-trivial-prop-Group

  is-prop-is-trivial-Group : is-prop is-trivial-Group
  is-prop-is-trivial-Group = is-prop-type-Prop is-trivial-prop-Group


The type of subgroups of a trivial group is contractible

module _
  {l1 : Level} (G : Group l1)

    is-contr-subgroup-is-trivial-Group :
      is-trivial-Group G  is-contr (Subgroup l1 G)
    pr1 (is-contr-subgroup-is-trivial-Group H) =
      trivial-Subgroup G
    pr2 (is-contr-subgroup-is-trivial-Group H) K =
      eq-has-same-elements-Subgroup G
        ( trivial-Subgroup G)
        ( K)
        ( λ x 
          ( λ where refl  contains-unit-Subgroup G K) ,
          ( λ _ 
            is-closed-under-eq-Subgroup G
              ( trivial-Subgroup G)
              ( contains-unit-Subgroup G (trivial-Subgroup G))
              ( eq-is-contr H)))

Recent changes