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.Algebra.Group.MinimalAxioms

4 declarations. Mathlib docs · Source

Minimal Axioms for a Group

This file defines constructors to define a group structure on a Type, while proving only three equalities.

Main Definitions

  • Group.ofLeftAxioms: Define a group structure on a Type by proving ∀ a, 1 * a = a and ∀ a, a⁻¹ * a = 1 and associativity.
  • Group.ofRightAxioms: Define a group structure on a Type by proving ∀ a, a * 1 = a and ∀ a, a * a⁻¹ = 1 and associativity.

abbrev Group.ofLeftAxioms E3 #

{G : Type u} →
  [inst : Mul G] →
    [inst_1 : Inv G] →
      [inst_2 : One G] →
        (∀ (a b c : G), a * b * c = a * (b * c)) → (∀ (a : G), 1 * a = a) → (∀ (a : G), a⁻¹ * a = 1) → Group G

Define a Group structure on a Type by proving ∀ a, 1 * a = a and ∀ a, a⁻¹ * a = 1. Note that this uses the default definitions for npow, zpow and div. See note [reducible non-instances].

abbrev AddGroup.ofLeftAxioms E1 #

{G : Type u} →
  [inst : Add G] →
    [inst_1 : Neg G] →
      [inst_2 : Zero G] →
        (∀ (a b c : G), a + b + c = a + (b + c)) → (∀ (a : G), 0 + a = a) → (∀ (a : G), -a + a = 0) → AddGroup G

Define an AddGroup structure on a Type by proving ∀ a, 0 + a = a and ∀ a, -a + a = 0. Note that this uses the default definitions for nsmul, zsmul and sub. See note [reducible non-instances].

abbrev Group.ofRightAxioms E3 #

{G : Type u} →
  [inst : Mul G] →
    [inst_1 : Inv G] →
      [inst_2 : One G] →
        (∀ (a b c : G), a * b * c = a * (b * c)) → (∀ (a : G), a * 1 = a) → (∀ (a : G), a * a⁻¹ = 1) → Group G

Define a Group structure on a Type by proving ∀ a, a * 1 = a and ∀ a, a * a⁻¹ = 1. Note that this uses the default definitions for npow, zpow and div. See note [reducible non-instances].

abbrev AddGroup.ofRightAxioms E1 #

{G : Type u} →
  [inst : Add G] →
    [inst_1 : Neg G] →
      [inst_2 : Zero G] →
        (∀ (a b c : G), a + b + c = a + (b + c)) → (∀ (a : G), a + 0 = a) → (∀ (a : G), a + -a = 0) → AddGroup G

Define an AddGroup structure on a Type by proving ∀ a, a + 0 = a and ∀ a, a + -a = 0. Note that this uses the default definitions for nsmul, zsmul and sub. See note [reducible non-instances].