Mathlib

f: G → H is a homomorphism when f(xy) = f(x)f(y). It is a structure-preserving map.