-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Amenable monoid actions #7395
base: master
Are you sure you want to change the base?
Conversation
matthias567
commented
Sep 27, 2023
•
edited by eric-wieser
Loading
edited by eric-wieser
Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about redefining ProbabilityMeasure
as extending both Measure
and Mean
? (mostly a question for the resident measure theorists)
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the review delay. Overall, this looks good to me, although I have minor nitpicky comments (which is perfectly normal).
|
||
|
||
/-- For amenable actions, we can pick an invariant mean -/ | ||
noncomputable def invmean_of_amenable (h: Amenable α G) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noncomputable def invmean_of_amenable (h: Amenable α G) : | |
noncomputable def invariantMean_of_amenable (h : Amenable α G) : |
If you have made Amenable
a typeclass, though, I would change this to invMean [Amenable α G]
, where the difference would be necessary to emphasize that it's not the same thing (i.e., we are picking some choice, vs. the space of all invariant means).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll do this. However, this breaks invMean. I might need some help in fixing that (in the commit #8b3e8d7de, this is the comment at the end of the file)
Fix typo Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
add space before colon Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>