Skip to content

refactor: golf Mathlib/MeasureTheory/Function/AEEqOfIntegral#38248

Closed
yuanyi-350 wants to merge 1 commit intoleanprover-community:masterfrom
yuanyi-350:golf_93
Closed

refactor: golf Mathlib/MeasureTheory/Function/AEEqOfIntegral#38248
yuanyi-350 wants to merge 1 commit intoleanprover-community:masterfrom
yuanyi-350:golf_93

Conversation

@yuanyi-350
Copy link
Copy Markdown
Collaborator

This PR selectively ports part of #38108 and only migrates the changes in:

  • Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean

Concretely, this PR:

  • rewrites Integrable.ae_eq_zero_of_forall_setIntegral_eq_zero to use AEFinStronglyMeasurable.ae_eq_zero_of_forall_setIntegral_eq_zero directly instead of going through Lp
  • rewrites Integrable.ae_eq_of_forall_setIntegral_eq to use AEFinStronglyMeasurable.ae_eq_of_forall_setIntegral_eq directly instead of first reducing to the zero case via subtraction

This is a patch-only selective port prepared without running a build.

@github-actions
Copy link
Copy Markdown

PR summary 3853566136

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./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 Apr 19, 2026
@yuanyi-350 yuanyi-350 changed the title refactor: golf only AEEqOfIntegral refactor: golf Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean Apr 19, 2026
@yuanyi-350 yuanyi-350 changed the title refactor: golf Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean refactor: golf Mathlib/MeasureTheory/Function/AEEqOfIntegral Apr 19, 2026
@yuanyi-350 yuanyi-350 requested a review from fpvandoorn April 19, 2026 13:43
@yuanyi-350 yuanyi-350 added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) easy < 20s of review time. See the lifecycle page for guidelines. labels Apr 19, 2026
@mathlib-dependent-issues mathlib-dependent-issues bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Apr 19, 2026
@grunweg grunweg added the LLM-generated PRs with substantial input from LLMs - review accordingly label Apr 19, 2026
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented Apr 19, 2026

Please follow the request made in the comments here and here. Thanks!

@grunweg grunweg added awaiting-author A reviewer has asked the author a question or requested changes. and removed easy < 20s of review time. See the lifecycle page for guidelines. labels Apr 19, 2026
@yuanyi-350 yuanyi-350 closed this Apr 20, 2026
@yuanyi-350 yuanyi-350 deleted the golf_93 branch April 20, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author A reviewer has asked the author a question or requested changes. LLM-generated PRs with substantial input from LLMs - review accordingly t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants