Skip to content
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

[Merged by Bors] - chore(probability/kernel/composition): redefine kernel.comp using measure.bind, remove kernel.map_measure #19160

Closed
wants to merge 2 commits into from

Conversation

RemyDegenne
Copy link
Collaborator

We replace the definition of kernel.comp with a new one using measure.bind: it removes the need for is_s_finite_kernel hypotheses in the definition and most lemmas. When the kernels are s-finite, the new definition coincides with the old one.

We remove kernel.map_measure because it is exactly the same as measure.bind applied to a kernel.


Open in Gitpod

@RemyDegenne RemyDegenne added awaiting-review The author would like community review of the PR t-measure-probability Measure theory / Probability theory labels Jun 6, 2023
@RemyDegenne RemyDegenne requested a review from a team as a code owner June 6, 2023 07:55
@RemyDegenne RemyDegenne requested a review from JasonKYi June 7, 2023 07:27
Copy link
Collaborator

@sgouezel sgouezel left a comment

Choose a reason for hiding this comment

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

Nice, thanks!
bors d+

src/probability/kernel/composition.lean Show resolved Hide resolved
@bors
Copy link

bors bot commented Jun 7, 2023

✌️ RemyDegenne can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Jun 7, 2023
@RemyDegenne
Copy link
Collaborator Author

bors r+

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jun 7, 2023
bors bot pushed a commit that referenced this pull request Jun 7, 2023
…sure.bind, remove kernel.map_measure (#19160)

We replace the definition of `kernel.comp` with a new one using `measure.bind`: it removes the need for `is_s_finite_kernel` hypotheses in the definition and most lemmas. When the kernels are s-finite, the new definition coincides with the old one.

We remove `kernel.map_measure` because it is exactly the same as `measure.bind` applied to a kernel.



Co-authored-by: RemyDegenne <remydegenne@gmail.com>
@bors
Copy link

bors bot commented Jun 7, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore(probability/kernel/composition): redefine kernel.comp using measure.bind, remove kernel.map_measure [Merged by Bors] - chore(probability/kernel/composition): redefine kernel.comp using measure.bind, remove kernel.map_measure Jun 7, 2023
@bors bors bot closed this Jun 7, 2023
@bors bors bot deleted the RD_comp_is_bind branch June 7, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-measure-probability Measure theory / Probability theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants