Skip to content

[Merged by Bors] - feat(Archive): Buffon's Needle - #10189

Closed
enricozb wants to merge 20 commits into
masterfrom
enricozb/buffon
Closed

enricozb wants to merge 20 commits into
masterfrom
enricozb/buffon

Conversation

@enricozb

@enricozb enricozb commented Feb 2, 2024 •

Copy link
Copy Markdown
Contributor

@enricozb enricozb changed the title Enricozb/buffon Formalization of Buffon's Needle Feb 2, 2024
@enricozb
enricozb marked this pull request as ready for review February 3, 2024 01:51
@enricozb enricozb added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Feb 3, 2024
@jcommelin jcommelin changed the title Formalization of Buffon's Needle feat(Archive): Buffon's Needle Feb 3, 2024

@jcommelin jcommelin left a comment

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.

A super minor comment. A longer review should maybe be done by someone with a bit more familiarity with integration/measure theory in mathlib.

@tb65536 tb65536 added the t-measure-probability Measure theory / Probability theory label Feb 6, 2024

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this! A few stylistic comments below. Maybe we could also add some more documentation about how the proof works, next to each of the main lemmas?

@enricozb

Copy link
Copy Markdown
Contributor Author

Thanks for the thorough reviews!

Since there have been some changes to pdf.IsUniform, I was able to remove some unnecessary lemmas. And I think the naming and styling is in line with the guide.

@kex-y

kex-y commented Feb 19, 2024

Copy link
Copy Markdown
Member

There was a new PR which changed uniform distribution a bit. Can you merge master and see if it still compiles?

@enricozb

Copy link
Copy Markdown
Contributor Author

There was a new PR which changed uniform distribution a bit. Can you merge master and see if it still compiles?

Indeed some of my rewrites that made use of the old definition (Measure.map B ℙ = (μ s)⁻¹ • μ.restrict s) have broken.

@enricozb

Copy link
Copy Markdown
Contributor Author

Ok, looks like it wasn't hard to fix. Updated

@enricozb
enricozb requested a review from kex-y February 19, 2024 11:59

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't know enough about probability to be confident in my review, but it mostly looks good to me. You might want to merge master into this branch to make sure nothing broke since you made the PR

@ghost ghost added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Mar 21, 2024
@ghost

ghost commented Mar 24, 2024

Copy link
Copy Markdown

This PR/issue depends on:

@enricozb enricozb added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Mar 30, 2024

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Apr 18, 2024

@eric-wieser eric-wieser left a comment

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.

LGTM, thanks! Just some very minor style nits; feel free to merge after addressing the ones you agree with.

@eric-wieser

Copy link
Copy Markdown
Member

bors d+

@mathlib-bors

mathlib-bors Bot commented Apr 22, 2024

Copy link
Copy Markdown
Contributor

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

@github-actions github-actions Bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Apr 22, 2024
@enricozb

Copy link
Copy Markdown
Contributor Author

bors r+

@mathlib-bors

mathlib-bors Bot commented Apr 23, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Archive): Buffon's Needle [Merged by Bors] - feat(Archive): Buffon's Needle Apr 23, 2024
@mathlib-bors mathlib-bors Bot closed this Apr 23, 2024
@mathlib-bors
mathlib-bors Bot deleted the enricozb/buffon branch April 23, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants