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 = aand∀ a, a⁻¹ * a = 1and associativity.Group.ofRightAxioms: Define a group structure on a Type by proving∀ a, a * 1 = aand∀ a, a * a⁻¹ = 1and 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].