Morphism_Property_Preserves_Closure
Provedclosurehomomorphismsproofwiki
If f is a homomorphism and S is closed under the operation, then the image f(S) is also closed.
Preamble
import Mathlib.Data.Set.Function import Mathlib.Algebra.Group.Defs
Formal statement
theorem Morphism_Property_Preserves_Closure {G H : Type _} [Mul G] [Mul H] (f : G → H) (hf : ∀ a b : G, f (a * b) = f a * f b) (S : Set G) (hS : ∀ a b : G, a ∈ S → b ∈ S → a * b ∈ S) : ∀ a b : H, a ∈ f '' S → b ∈ f '' S → ∃ c ∈ f '' S, c = a * b := by sorrySource