Zulip Chat Archive
Stream: Is there code for X?
Topic: There's MonoidHom and AddMonoidHom but I need something else
ohhaimark (Oct 29 2025 at 14:11):
I want to have a hom instance for a map from angles to rotation matrices, but those go from an AddMonoid to a Monoid. Am I missing something?
Riccardo Brasca (Oct 29 2025 at 14:13):
You can consider a MonoidHom from Multiplicative angles. See docs#Multiplicative.
Aaron Liu (Oct 29 2025 at 15:32):
You could consider going from Circle
Kenny Lau (Oct 29 2025 at 15:37):
clearly nobody knows about Orientation.rotation (and yeah it's a bit bad)
Kenny Lau (Oct 29 2025 at 15:38):
maybe it's time for an AddMulHom
Kenny Lau (Oct 29 2025 at 15:38):
we can make its symbol +→*
Aaron Liu (Oct 29 2025 at 15:42):
it's an exponential map
Aaron Liu (Oct 29 2025 at 15:43):
and if you also add in logarithmic maps you end up with six new ways to compose them together and fourteen new associativity lemmas
Kenny Lau (Oct 29 2025 at 15:51):
sounds fun
Yury G. Kudryashov (Oct 29 2025 at 16:25):
We already have docs#AddChar
Last updated: Dec 20 2025 at 21:32 UTC