Zulip Chat Archive
Stream: new members
Topic: compare different actions
Winston Yin (Jun 06 2021 at 01:12):
I'm trying to consider two different group actions of G on A as examples of mul_action
. If I define both as instances, then when I write g • a
, it would not be clear which of the two actions it refers to. Does that mean I should just write def action1 ... : mul_action G A
and def action2 ... : mul_action G A
, and use the .smul g a
method of each?
Winston Yin (Jun 06 2021 at 01:15):
When I write theorems about the two mul_action
s, would I then have to explicitly provide (ma1 ma2 : mul_action G A)
as variables?
Scott Morrison (Jun 06 2021 at 01:25):
Don't consider two different actions of G
. Instead introduce a type synonym for one of the actions.
Winston Yin (Jun 06 2021 at 01:32):
Could you elaborate on type synonym pls?
Eric Wieser (Jun 06 2021 at 07:19):
An example would be mul_action (opposite M) M
(docs#opposite.monoid.to_opposite_mul_action) vs mul_action M M
(docs#monoid.to_mul_action)
Eric Wieser (Jun 06 2021 at 07:20):
Here docs#opposite is the synonym
Last updated: Dec 20 2023 at 11:08 UTC