Skip to content

Commit

Permalink
feat(group_theory/torsion): all torsion monoids are groups (#12432)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Rodriguez <ericrboidi@gmail.com>
  • Loading branch information
Julian and ericrbg committed Mar 3, 2022
1 parent 1af53ff commit 5371338
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/group_theory/torsion.lean
Expand Up @@ -43,6 +43,17 @@ end monoid

open monoid

/-- Torsion monoids are really groups. -/
@[to_additive "Torsion additive monoids are really additive groups"]
noncomputable def is_torsion.group [monoid G] (tG : is_torsion G) : group G :=
{ inv := λ g, g ^ (order_of g - 1),
mul_left_inv := λ g,
begin
erw [←pow_succ', tsub_add_cancel_of_le, pow_order_of_eq_one],
exact order_of_pos' (tG g)
end,
..‹monoid G› }

variables [group G] {N : subgroup G}

/--Subgroups of torsion groups are torsion groups. -/
Expand Down

0 comments on commit 5371338

Please sign in to comment.