Zulip Chat Archive
Stream: Is there code for X?
Topic: Restricting a function f : α → N to the unit group Nˣ
Mitchell Lee (Mar 12 2024 at 01:08):
Any monoid homomorphism f : M →* N
can be restricted to the unit group Nˣ
, provided we have (hf : ∀ (x : M), IsUnit (f x))
. This is IsUnit.liftRight.
What if the M
is replaced by an arbitrary type α
, and the monoid homomorphism f
by an arbitrary function α → N
?
Johan Commelin (Mar 12 2024 at 04:07):
In that case I don't think there is API for that
Eric Wieser (Mar 17 2024 at 00:00):
Does the lift
tactic work?
Mitchell Lee (Mar 17 2024 at 03:39):
Ah, I didn't know about that one; thanks
Last updated: May 02 2025 at 03:31 UTC