Skip to content

Commit

Permalink
feat(group_theory/subgroup/basic): apply_mem_map_injective (#9637)
Browse files Browse the repository at this point in the history
A translation of `function.injective.mem_set_image`.
  • Loading branch information
tb65536 committed Oct 11, 2021
1 parent 957f64e commit 30cf8b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/group_theory/subgroup/basic.lean
Expand Up @@ -842,6 +842,11 @@ lemma mem_map_equiv {f : G ≃* N} {K : subgroup G} {x : N} :
x ∈ K.map f.to_monoid_hom ↔ f.symm x ∈ K :=
@set.mem_image_equiv _ _ ↑K f.to_equiv x

@[to_additive]
lemma mem_map_iff_mem {f : G →* N} (hf : function.injective f) {K : subgroup G} {x : G} :
f x ∈ K.map f ↔ x ∈ K :=
hf.mem_set_image

@[to_additive]
lemma map_equiv_eq_comap_symm (f : G ≃* N) (K : subgroup G) :
K.map f.to_monoid_hom = K.comap f.symm.to_monoid_hom :=
Expand Down
5 changes: 5 additions & 0 deletions src/group_theory/submonoid/operations.lean
Expand Up @@ -208,6 +208,11 @@ mem_map_of_mem f x.prop
lemma map_map (g : N →* P) (f : M →* N) : (S.map f).map g = S.map (g.comp f) :=
set_like.coe_injective $ image_image _ _ _

@[to_additive]
lemma mem_map_iff_mem {f : M →* N} (hf : function.injective f) {S : submonoid M} {x : M} :
f x ∈ S.map f ↔ x ∈ S :=
hf.mem_set_image

@[to_additive]
lemma map_le_iff_le_comap {f : M →* N} {S : submonoid M} {T : submonoid N} :
S.map f ≤ T ↔ S ≤ T.comap f :=
Expand Down

0 comments on commit 30cf8b7

Please sign in to comment.