Skip to content

Commit

Permalink
refactor(group_theory/commutator): Golf proof of commutator_mono (#…
Browse files Browse the repository at this point in the history
…12619)

This PR golfs the proof of `commutator_mono` by using `commutator_le` rather than `closure_mono`.
  • Loading branch information
tb65536 committed Mar 12, 2022
1 parent 72c6979 commit 3d41a5b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/group_theory/commutator.lean
Expand Up @@ -82,11 +82,7 @@ end

lemma commutator_mono {H₁ H₂ K₁ K₂ : subgroup G} (h₁ : H₁ ≤ K₁) (h₂ : H₂ ≤ K₂) :
⁅H₁, H₂⁆ ≤ ⁅K₁, K₂⁆ :=
begin
apply closure_mono,
rintros x ⟨p, hp, q, hq, rfl⟩,
exact ⟨p, h₁ hp, q, h₂ hq, rfl⟩,
end
commutator_le.mpr (λ g₁ hg₁ g₂ hg₂, commutator_mem_commutator (h₁ hg₁) (h₂ hg₂))

lemma commutator_def' (H₁ H₂ : subgroup G) [H₁.normal] [H₂.normal] :
⁅H₁, H₂⁆ = normal_closure {g | ∃ (g₁ ∈ H₁) (g₂ ∈ H₂), ⁅g₁, g₂⁆ = g} :=
Expand Down

0 comments on commit 3d41a5b

Please sign in to comment.