Skip to content

Giry monad for probabilities - #1177

Open
hoheinzollern wants to merge 1 commit into
math-comp:masterfrom
hoheinzollern:giry
Open

Giry monad for probabilities#1177
hoheinzollern wants to merge 1 commit into
math-comp:masterfrom
hoheinzollern:giry

Conversation

@hoheinzollern

Copy link
Copy Markdown
Member
Motivation for this change

Introducing the Giry monad for probabilities, draft PR for now to track progress.

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Reminder to reviewers

@CohenCyril

Copy link
Copy Markdown
Member

@hoheinzollern @affeldt-aist shouldn't this work depend on monae now?

@affeldt-aist

Copy link
Copy Markdown
Member

shouldn't this work depend on monae now?

one thing is that monae is not yet ported to mathcomp-analysis 1.0.0, that makes it more difficult @t6s

@affeldt-aist
affeldt-aist marked this pull request as ready for review October 27, 2024 05:09
@hoheinzollern

Copy link
Copy Markdown
Member Author

shouldn't this work depend on monae now?

one thing is that monae is not yet ported to mathcomp-analysis 1.0.0, that makes it more difficult @t6s

For reference, this is now solved in monae 0.9.0

Comment thread theories/probability.v
Context d {T : measurableType d} {R : realType} d' {T' : measurableType d'}.
Let G := pprobability T R.

Definition ret : R.-pker T ~> T := kdirac (@measurable_id _ _ setT).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these names (ret, bind, and related lemmas) seem too generic to be exported raw. what about putting them in a module?

@affeldt-aist affeldt-aist added this to the 1.19.0 milestone Aug 12, 2026
@affeldt-aist

Copy link
Copy Markdown
Member

Set milestone 1.19.0.
We need to decide what to do with this PR since there is now a giry.v file in MathComp-Analysis.
Main question: what to do with monae?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants