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(LiminfLimsup, LpSeminorm): add lemmas/golf #8300

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Nov 9, 2023

  • Add blimsup_eq_limsup and bliminf_eq_liminf
  • Generalize limsup_nat_add and liminf_nat_add
    to a ConditionallyCompleteLattice.
  • Add Filter.HasBasis.blimsup_eq_iInf_iSup.
  • Add limsup_sup_filter, liminf_sup_filter, blimsup_sup_not,
    bliminf_inf_not, blimsup_not_sup, bliminf_not_inf,
    limsup_piecewise, and liminf_piecewise.
  • Add essSup_piecewise.
  • Assume that the codomain is ℝ≥0∞
    in essSup_indicator_eq_essSup_restrict.
    This allows us to drop assumptions 0 ≤ᵐ[_] f and μ s ≠ 0.
  • Upgrade inequality to an equality in snormEssSup_piecewise_le (now
    snormEssSup_piecewise) and snorm_top_piecewise_le (now
    snorm_top_piecewise).
  • Use new lemmas to golf some proofs.

Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR t-order Order theory t-measure-probability Measure theory / Probability theory labels Nov 9, 2023
Copy link
Contributor

@RemyDegenne RemyDegenne left a comment

Choose a reason for hiding this comment

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

Very nice golf!
bors d+

Mathlib/MeasureTheory/Function/LpSpace.lean Outdated Show resolved Hide resolved
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Nov 10, 2023

✌️ urkud 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-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Nov 10, 2023
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
@urkud
Copy link
Member Author

urkud commented Nov 10, 2023

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Nov 10, 2023
mathlib-bors bot pushed a commit that referenced this pull request Nov 10, 2023
- Add `blimsup_eq_limsup` and `bliminf_eq_liminf`
- Generalize `limsup_nat_add` and `liminf_nat_add`
  to a `ConditionallyCompleteLattice`.
- Add `Filter.HasBasis.blimsup_eq_iInf_iSup`.
- Add `limsup_sup_filter`, `liminf_sup_filter`, `blimsup_sup_not`,
  `bliminf_inf_not`, `blimsup_not_sup`, `bliminf_not_inf`,
  `limsup_piecewise`, and `liminf_piecewise`.
- Add `essSup_piecewise`.
- Assume that the codomain is `ℝ≥0∞`
  in `essSup_indicator_eq_essSup_restrict`.
  This allows us to drop assumptions `0 ≤ᵐ[_] f` and `μ s ≠ 0`.
- Upgrade inequality to an equality in `snormEssSup_piecewise_le` (now
  `snormEssSup_piecewise`) and `snorm_top_piecewise_le` (now
  `snorm_top_piecewise`).
- Use new lemmas to golf some proofs.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Nov 10, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(LiminfLimsup, LpSeminorm): add lemmas/golf [Merged by Bors] - feat(LiminfLimsup, LpSeminorm): add lemmas/golf Nov 10, 2023
@mathlib-bors mathlib-bors bot closed this Nov 10, 2023
@mathlib-bors mathlib-bors bot deleted the YK-limsup branch November 10, 2023 18:21
grunweg pushed a commit that referenced this pull request Dec 15, 2023
- Add `blimsup_eq_limsup` and `bliminf_eq_liminf`
- Generalize `limsup_nat_add` and `liminf_nat_add`
  to a `ConditionallyCompleteLattice`.
- Add `Filter.HasBasis.blimsup_eq_iInf_iSup`.
- Add `limsup_sup_filter`, `liminf_sup_filter`, `blimsup_sup_not`,
  `bliminf_inf_not`, `blimsup_not_sup`, `bliminf_not_inf`,
  `limsup_piecewise`, and `liminf_piecewise`.
- Add `essSup_piecewise`.
- Assume that the codomain is `ℝ≥0∞`
  in `essSup_indicator_eq_essSup_restrict`.
  This allows us to drop assumptions `0 ≤ᵐ[_] f` and `μ s ≠ 0`.
- Upgrade inequality to an equality in `snormEssSup_piecewise_le` (now
  `snormEssSup_piecewise`) and `snorm_top_piecewise_le` (now
  `snorm_top_piecewise`).
- Use new lemmas to golf some proofs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors. t-measure-probability Measure theory / Probability theory t-order Order theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants