Skip to content

[Merged by Bors] - feat: transfer IsTopologicalAddGroup and ContinuousSMul across continuous linear equivalences#36435

Closed
grunweg wants to merge 17 commits intoleanprover-community:masterfrom
grunweg:transport-lemmas
Closed

[Merged by Bors] - feat: transfer IsTopologicalAddGroup and ContinuousSMul across continuous linear equivalences#36435
grunweg wants to merge 17 commits intoleanprover-community:masterfrom
grunweg:transport-lemmas

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Mar 10, 2026

and use this to remove mathematically superfluous typeclass hypotheses in the tensoriality criterion.
Follow-up to #36277/#36432.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 10, 2026

PR summary aeed612d5d

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Geometry.Manifold.VectorBundle.Tensoriality 2249 2252 +3 (+0.13%)
Import changes for all files
Files Import difference
Mathlib.Geometry.Manifold.VectorBundle.Tensoriality 3

Declarations diff

+ ContinuousLinearEquiv.continuousSMul
+ ContinuousMulEquiv.isTopologicalGroup
+ toContinuousAddEquiv
+ toContinuousAddEquiv_coe

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

@mathlib-dependent-issues mathlib-dependent-issues bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Mar 10, 2026
@github-actions github-actions 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 10, 2026
@grunweg grunweg added t-differential-geometry Manifolds etc and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Mar 10, 2026
@mathlib-dependent-issues
Copy link
Copy Markdown

This PR/issue depends on:

@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Mar 17, 2026

@ocfnash Since you asked for this change, would you like to take a look? No particular urgency on my side.

@ocfnash ocfnash self-assigned this Mar 18, 2026
@ocfnash ocfnash added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 20, 2026
grunweg and others added 2 commits March 20, 2026 15:17
Co-authored-by: Oliver Nash <7734364+ocfnash@users.noreply.github.com>
@grunweg grunweg removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 20, 2026
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Mar 20, 2026

I consider this ready for another look.

@ocfnash ocfnash added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 20, 2026
@grunweg grunweg removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 20, 2026
Comment on lines +86 to +87
@[implicit_reducible]
def ContinuousLinearEquiv.isTopologicalAddGroup
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't understand why this is not caught by a linter but shouldn't this be:

Suggested change
@[implicit_reducible]
def ContinuousLinearEquiv.isTopologicalAddGroup
lemma ContinuousLinearEquiv.isTopologicalAddGroup

Copy link
Copy Markdown
Contributor

@ocfnash ocfnash Mar 20, 2026

Choose a reason for hiding this comment

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

I wonder if instead of adding this we added ContinuousLinearEquiv.toContinuousAddEquiv. What do you think?

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.

That could be nicer: I just did so.

Comment on lines +95 to +96
@[implicit_reducible]
def ContinuousLinearEquiv.continuousSMul
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
@[implicit_reducible]
def ContinuousLinearEquiv.continuousSMul
lemma ContinuousLinearEquiv.continuousSMul

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.

Indeed, that looks like a linter bug: I raised it on zulip.

@ocfnash
Copy link
Copy Markdown
Contributor

ocfnash commented Mar 20, 2026

Thanks!

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Mar 20, 2026
…uous linear equivalences (#36435)

and use this to remove mathematically superfluous typeclass hypotheses in the tensoriality criterion.
Follow-up to #36277/#36432.
@mathlib-triage mathlib-triage bot added the ready-to-merge This PR has been sent to bors. label Mar 20, 2026
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 20, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: transfer IsTopologicalAddGroup and ContinuousSMul across continuous linear equivalences [Merged by Bors] - feat: transfer IsTopologicalAddGroup and ContinuousSMul across continuous linear equivalences Mar 20, 2026
@mathlib-bors mathlib-bors bot closed this Mar 20, 2026
justus-springer pushed a commit to justus-springer/mathlib4 that referenced this pull request Mar 28, 2026
…uous linear equivalences (leanprover-community#36435)

and use this to remove mathematically superfluous typeclass hypotheses in the tensoriality criterion.
Follow-up to leanprover-community#36277/leanprover-community#36432.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

5 participants