Skip to content

[Merged by Bors] - feat: mfderiv_smul#34263

Closed
grunweg wants to merge 11 commits intoleanprover-community:masterfrom
grunweg:mfderiv-smul2
Closed

[Merged by Bors] - feat: mfderiv_smul#34263
grunweg wants to merge 11 commits intoleanprover-community:masterfrom
grunweg:mfderiv-smul2

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Jan 22, 2026

Some invisible mathematics is showing up when working with scalar multiplication by a function: a priori, the mfderiv yields an element in a suitable tangent space --- which we identify implicitly with the corresponding vector/scalar. We insert the canonical identification NormedSpace.fromTangentSpace as needed to deal with this.

From the path towards geodesics and the Levi-Civita connection.
Co-authored-by: Patrick Massot patrickmassot@free.fr


Note: the 10-line snippet defining NormedSpace.fromTangentSpace appears both here and in #36279; it can be reviewed in whichever PR is handled first, then the other PR rebased on master.

Open in Gitpod

@github-actions github-actions bot added the t-differential-geometry Manifolds etc label Jan 22, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 22, 2026

PR summary 2050510330

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ HasMFDerivAt.smul
+ NormedSpace.fromTangentSpace
+ fromTangentSpace_mfderiv_smul
+ fromTangentSpace_mfderiv_smul'
+ fromTangentSpace_mfderiv_smul_apply
+ fromTangentSpace_mfderiv_smul_apply'
+ mfderiv_smul

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.


Increase in tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type
10109 1 backward.isDefEq

Current commit 9c0a58ae22
Reference commit 2050510330

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
Copy link
Copy Markdown

github-actions bot commented Jan 22, 2026

✅ PR Title Formatted Correctly

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

@grunweg grunweg added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jan 22, 2026
@grunweg grunweg changed the title Mfderiv smul2 feat: mfderiv_smul Jan 22, 2026
@grunweg grunweg mentioned this pull request Jan 22, 2026
35 tasks
@mathlib-merge-conflicts mathlib-merge-conflicts bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 6, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 6, 2026
grunweg added a commit to grunweg/mathlib4 that referenced this pull request Mar 6, 2026
@grunweg grunweg mentioned this pull request Mar 6, 2026
2 tasks
@grunweg grunweg removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Mar 7, 2026
@hrmacbeth hrmacbeth added the WIP Work in progress label Mar 7, 2026
@ocfnash ocfnash self-assigned this Mar 10, 2026
Copy link
Copy Markdown
Member

@jcommelin jcommelin 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+

Does @PatrickMassot want this email adress, or his uni one, in the co-authored line?

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 10, 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 10, 2026
@PatrickMassot PatrickMassot reopened this Mar 10, 2026
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Mar 10, 2026

Thanks for the review!
bors merge

mathlib-bors bot pushed a commit that referenced this pull request Mar 10, 2026
Some invisible mathematics is showing up when working with scalar multiplication by a function: a priori, the `mfderiv` yields an element in a suitable tangent space --- which we identity implicitly with the corresponding vector/scalar. We insert the canonical identification `NormedSpace.fromTangentSpace` as needed to deal with this.

From the path towards geodesics and the Levi-Civita connection.

Co-authored-by: Patrick Massot [patrickmassot@free.fr](mailto:patrickmassot@free.fr)
Co-authored-by: Patrick Massot <patrickmassot@free.fr>
Co-authored-by: Heather Macbeth <25316162+hrmacbeth@users.noreply.github.com>
@mathlib-triage mathlib-triage bot added the ready-to-merge This PR has been sent to bors. label Mar 10, 2026
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 10, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: mfderiv_smul [Merged by Bors] - feat: mfderiv_smul Mar 10, 2026
@mathlib-bors mathlib-bors bot closed this Mar 10, 2026
@grunweg grunweg deleted the mfderiv-smul2 branch March 10, 2026 17:57
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.

6 participants