Skip to content

chore: Golf proofs in FDeriv/Symmetric and DominatedConvergence#37785

Open
yuanyi-350 wants to merge 30 commits intoleanprover-community:masterfrom
yuanyi-350:golf_49
Open

chore: Golf proofs in FDeriv/Symmetric and DominatedConvergence#37785
yuanyi-350 wants to merge 30 commits intoleanprover-community:masterfrom
yuanyi-350:golf_49

Conversation

@yuanyi-350
Copy link
Copy Markdown
Collaborator

This PR shortens two proofs by using existing lemmas and more standard constructions.

  • In Analysis/Calculus/FDeriv/Symmetric, it replaces a manual construction of the restricted second derivative with bilinearRestrictScalars, and streamlines the ContDiffWithinAt.isSymmSndFDerivWithinAt argument by passing through the corresponding ContDiffAt result.
  • In MeasureTheory/Integral/Lebesgue/DominatedConvergence, it replaces the recursive max construction with a finite iSup over Set.Iic n, which simplifies the measurability, monotonicity, and integral comparison arguments.

Open in Gitpod

@yuanyi-350 yuanyi-350 requested a review from loefflerd April 8, 2026 02:43
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

PR summary 56c5f346fa

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).

@yuanyi-350 yuanyi-350 marked this pull request as draft April 8, 2026 02:45
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 8, 2026

This pull request is now in draft mode. No active bors state needed cleanup.

While this PR remains draft, bors will ignore commands on this PR. Mark it ready for review before using commands like bors r+ or bors try.

@yuanyi-350 yuanyi-350 marked this pull request as ready for review April 8, 2026 02:55
@yuanyi-350 yuanyi-350 added the easy < 20s of review time. See the lifecycle page for guidelines. label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant