Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat(group_theory/subgroup): eq_bot_of_card_eq (#8413)
Browse files Browse the repository at this point in the history
Companion lemma to `eq_top_of_card_eq`.
  • Loading branch information
tb65536 committed Jul 24, 2021
1 parent 8a0d5e0 commit 02b37b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/group_theory/subgroup.lean
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ begin
congr
end

@[to_additive] lemma eq_bot_of_card_eq [fintype H] (h : fintype.card H = 1) : H = ⊥ :=
let _ := fintype.card_le_one_iff_subsingleton.mp (le_of_eq h) in by exactI eq_bot_of_subsingleton H

@[to_additive] lemma nontrivial_iff_exists_ne_one (H : subgroup G) :
nontrivial H ↔ ∃ x ∈ H, x ≠ (1:G) :=
subtype.nontrivial_iff_exists_ne (λ x, x ∈ H) (1 : H)
Expand Down

0 comments on commit 02b37b5

Please sign in to comment.