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] - feat(measure_theory): cleanup and generalize measure' #3648

Closed
wants to merge 12 commits into from

Conversation

fpvandoorn
Copy link
Member

There were two functions measure' and outer_measure' with undescriptive names, and which were not very general

rename measure' -> extend
rename outer_measure' -> induced_outer_measure
generalize both extend and induced_outer_measure to an arbitrary subset of set α (instead of just the measurable sets). Most lemmas still hold in full generality, sometimes with a couple more assumptions. For the lemmas that need more assumptions, we have also kept the version that is just for is_measurable.
Move functions extend, induced_outer_measure and trim to outer_measure.lean.
rename caratheodory_is_measurable -> of_function_caratheodory
rename trim_ge -> le_trim
Make the section on caratheodory sets not private (and give a more descriptive name to lemmas).
Style in measurable_space and outer_measure


The changes in measurable_space are almost exclusively style changes.

@fpvandoorn fpvandoorn requested a review from urkud July 31, 2020 20:46
@fpvandoorn fpvandoorn added the awaiting-review The author would like community review of the PR label Jul 31, 2020
@fpvandoorn
Copy link
Member Author

I'm sorry that the diff is not very useful, since I moved lemmas in the process. Perhaps it's helpful to see the diffs before the move:
https://github.com/leanprover-community/mathlib/pull/3648/files/b210aa10d10ecbd16ec9acefce2e9c141c72041f
and the diff after the move:
https://github.com/leanprover-community/mathlib/pull/3648/files/d8b39c495f0c062e97a731f0a4555784dec6890a..44af9833848a1148af6aab467c2a483eaaec2616

also add nolint inhabited for equiv
src/data/equiv/basic.lean Outdated Show resolved Hide resolved
@urkud
Copy link
Member

urkud commented Aug 1, 2020

LGTM modulo 1 comment
bors d+

@bors
Copy link

bors bot commented Aug 1, 2020

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

@fpvandoorn
Copy link
Member Author

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Aug 2, 2020
bors bot pushed a commit that referenced this pull request Aug 2, 2020
There were two functions `measure'` and `outer_measure'` with undescriptive names, and which were not very general

rename `measure'` -> `extend`
rename `outer_measure'` -> `induced_outer_measure`
generalize both `extend` and `induced_outer_measure` to an arbitrary subset of `set α` (instead of just the measurable sets). Most lemmas still hold in full generality, sometimes with a couple more assumptions. For the lemmas that need more assumptions, we have also kept the version that is just for `is_measurable`.
Move functions `extend`, `induced_outer_measure` and `trim` to `outer_measure.lean`.
rename `caratheodory_is_measurable` -> `of_function_caratheodory`
rename `trim_ge` -> `le_trim`
Make the section on caratheodory sets not private (and give a more descriptive name to lemmas).
Style in `measurable_space` and `outer_measure`
@bors
Copy link

bors bot commented Aug 2, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(measure_theory): cleanup and generalize measure' [Merged by Bors] - feat(measure_theory): cleanup and generalize measure' Aug 2, 2020
@bors bors bot closed this Aug 2, 2020
@bors bors bot deleted the haar-7 branch August 2, 2020 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants