Skip to content

feat(MeasureTheory): weaken hypotheses on the continuity-multiplication and xˢ·exp(-xᵖ) integrability lemmas#40587

Open
dennj wants to merge 2 commits into
leanprover-community:masterfrom
dennj:measuretheory
Open

feat(MeasureTheory): weaken hypotheses on the continuity-multiplication and xˢ·exp(-xᵖ) integrability lemmas#40587
dennj wants to merge 2 commits into
leanprover-community:masterfrom
dennj:measuretheory

Conversation

@dennj

@dennj dennj commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

This is a generalization PR:

  • IntervalIntegrable.{smul_continuousOn, continuousOn_smul} and the LocallyIntegrableOn analogues now need only IsBoundedSMul 𝕜 E instead of NormSMulClass 𝕜 E.
  • integrableOn_rpow_mul_exp_neg_rpow / …_mul_rpow are generalized from 1 ≤ p to 0 < p (via u = xᵖ), matching the 0 < p of integral_rpow_mul_exp_neg_rpow.

Both follow from reproving these lemmas through the existing Integrable.bdd_mul/bdd_smul (since IntegrableOn f s μ = Integrable f (μ.restrict s)), which also makes the IntegrableOn.*_continuousOn(_of_subset) helpers redundant; they're removed.

@github-actions github-actions Bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Jun 14, 2026
@github-actions

Copy link
Copy Markdown

Welcome new contributor!

Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests.

We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the awaiting-author tag, or another reason described in the Lifecycle of a PR. The review dashboard has a dedicated webpage which shows whether your PR is on the review queue, and (if not), why.

If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR.

Thank you again for joining our community.

@github-actions

github-actions Bot commented Jun 14, 2026

Copy link
Copy Markdown

PR summary f930c8eda2

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

- IntegrableOn.continuousOn_mul
- IntegrableOn.continuousOn_mul_of_subset
- IntegrableOn.continuousOn_smul
- IntegrableOn.continuousOn_smul_of_subset
- IntegrableOn.mul_continuousOn
- IntegrableOn.mul_continuousOn_of_subset
- IntegrableOn.smul_continuousOn
- IntegrableOn.smul_continuousOn_of_subset

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

Lean-aware diff — post-build, computed from the Lean environment (commit f930c8e).

  • +0 new declarations
  • −8 removed declarations
-MeasureTheory.IntegrableOn.continuousOn_mul
-MeasureTheory.IntegrableOn.continuousOn_mul_of_subset
-MeasureTheory.IntegrableOn.continuousOn_smul
-MeasureTheory.IntegrableOn.continuousOn_smul_of_subset
-MeasureTheory.IntegrableOn.mul_continuousOn
-MeasureTheory.IntegrableOn.mul_continuousOn_of_subset
-MeasureTheory.IntegrableOn.smul_continuousOn
-MeasureTheory.IntegrableOn.smul_continuousOn_of_subset

No changes to strong technical debt.

No changes to weak technical debt.

Current commit f930c8eda2
Reference commit bf69091c35

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the t-measure-probability Measure theory / Probability theory label Jun 14, 2026
@github-actions

github-actions Bot commented Jun 14, 2026

Copy link
Copy Markdown

✅ PR Title Formatted Correctly

The title of this PR has been updated to match our commit style conventions.
Thank you!

@dennj dennj changed the title feat(MeasureTheory/Integral): IntegrableOn.bdd_mul/smul_bdd and refactor the continuity-multiplication lemmas through them feat(MeasureTheory/Integral): added IntegrableOn.bdd_mul/smul_bdd and refactor the continuity-multiplication lemmas through them Jun 14, 2026
@CoolRmal

Copy link
Copy Markdown
Contributor

We already have MeasureTheory.Integrable.bdd_mul and MeasureTheory.Integrable.bdd_smul, and these lemmas can also be directly applied to IntegrableOn as IntegrableOn is just Integrable w.r.t a specific kind of measures. I don't want to discourage new contributors, but I don't see the point of your PR and I suggest you to close it.

@dennj dennj changed the title feat(MeasureTheory/Integral): added IntegrableOn.bdd_mul/smul_bdd and refactor the continuity-multiplication lemmas through them feat(MeasureTheory): weaken hypotheses on the continuity-multiplication and xˢ·exp(-xᵖ) integrability lemmas Jun 14, 2026
@dennj

dennj commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

We already have MeasureTheory.Integrable.bdd_mul and MeasureTheory.Integrable.bdd_smul, and these lemmas can also be directly applied to IntegrableOn as IntegrableOn is just Integrable w.r.t a specific kind of measures. I don't want to discourage new contributors, but I don't see the point of your PR and I suggest you to close it.

Ohh thanks, yes bdd_mul/bdd_smul were duplicated and I removed them.
However the PR contains real generalizations.

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

Labels

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.

2 participants