Skip to content

[Merged by Bors] - chore: golf using custom elaborators#36235

Closed
grunweg wants to merge 6 commits intoleanprover-community:masterfrom
grunweg:custom-elabs-temp
Closed

[Merged by Bors] - chore: golf using custom elaborators#36235
grunweg wants to merge 6 commits intoleanprover-community:masterfrom
grunweg:custom-elabs-temp

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Mar 5, 2026

The final pieces from #30357.


I'm happy to split these changes further if you prefer.

Open in Gitpod

@grunweg grunweg requested a review from PatrickMassot March 5, 2026 23:14
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

PR summary d39c0a2262

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Geometry.Manifold.Complex 2587 2590 +3 (+0.12%)
Mathlib.Geometry.Manifold.ContMDiffMap 2225 2227 +2 (+0.09%)
Mathlib.Geometry.Manifold.VectorBundle.Tangent 2233 2235 +2 (+0.09%)
Mathlib.Geometry.Manifold.BumpFunction 2541 2543 +2 (+0.08%)
Import changes for all files
Files Import difference
4 files Mathlib.Geometry.Manifold.BumpFunction Mathlib.Geometry.Manifold.ContMDiffMap Mathlib.Geometry.Manifold.VectorBundle.Pullback Mathlib.Geometry.Manifold.VectorBundle.Tangent
2
Mathlib.Geometry.Manifold.Complex 3

Declarations diff

+-+- contMDiffAt
+-+- mdifferentiableOn
+-+-+- contMDiff

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-differential-geometry Manifolds etc label Mar 5, 2026
Copy link
Copy Markdown
Member

@PatrickMassot PatrickMassot left a comment

Choose a reason for hiding this comment

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

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 6, 2026

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

@mathlib-triage mathlib-triage bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Mar 6, 2026
and that local structomorphisms are `C^n` with `C^n` inverses.
-/

assert_not_exists mfderiv
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For the record: this change (and its analogue in the two other files) just adds an assert_not_exists which is already transitively implied - to make this clearer.

Co-authored-by: Patrick Massot <patrickmassot@free.fr>
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Mar 6, 2026

Thanks for the review!
bors merge

@mathlib-triage mathlib-triage bot added the ready-to-merge This PR has been sent to bors. label Mar 6, 2026
mathlib-bors bot pushed a commit that referenced this pull request Mar 6, 2026
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 6, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: golf using custom elaborators [Merged by Bors] - chore: golf using custom elaborators Mar 6, 2026
@mathlib-bors mathlib-bors bot closed this Mar 6, 2026
@grunweg grunweg deleted the custom-elabs-temp branch March 6, 2026 17:06
xroblot pushed a commit to xroblot/mathlib4 that referenced this pull request Mar 8, 2026
xroblot pushed a commit to xroblot/mathlib4 that referenced this pull request Mar 9, 2026
seewoo5 pushed a commit to seewoo5/mathlib4 that referenced this pull request Mar 9, 2026
xroblot pushed a commit to xroblot/mathlib4 that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). ready-to-merge This PR has been sent to bors. t-differential-geometry Manifolds etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants