Module docstring
{"# Monoid homomorphisms and units
This file allows to lift monoid homomorphisms to group homomorphisms of their units subgroups. It
also contains unrelated results about Units that depend on MonoidHom.
Main declarations
Units.map: Turn a homomorphism fromαtoβmonoids into a homomorphism fromαˣtoβˣ.MonoidHom.toHomUnits: Turn a homomorphism from a groupαtoβinto a homomorphism fromαtoβˣ.IsLocalHom: A predicate on monoid maps, requiring that it maps nonunits to nonunits. For local rings, this means that the image of the unique maximal ideal is again contained in the unique maximal ideal. This is developed earlier, and in the generality of monoids, as it allows its use in non-local-ring related contexts, but it does have the strange consequence that it does not require local rings, or even rings.
TODO
The results that don't mention homomorphisms should be proved (earlier?) in a different file and be
used to golf the basic Group lemmas.
Add a @[to_additive] version of IsLocalHom.
"}