Skip to content

[Merged by Bors] - chore(LinearAlgebra/AffineSpace): move ContinuousAffineEquiv to Topology/Algebra - #29779

Closed
Vierkantor wants to merge 2 commits into
leanprover-community:masterfrom
Vierkantor:move_ContinuousAffineEquiv
Closed

Vierkantor wants to merge 2 commits into
leanprover-community:masterfrom
Vierkantor:move_ContinuousAffineEquiv

Conversation

@Vierkantor

@Vierkantor Vierkantor commented Sep 18, 2025 •

Copy link
Copy Markdown
Contributor

The file defining ConfinuousAffineMap lives in Topology/Algebra, so we should have ContinuousAffineEquiv in the same place. (And this is also where the other algebraic morphisms live: continuous mul equivs, continuous linear equivs, ...) This removes the only direct import of Mathlib/Topology into Mathlib/LinearAlgebra. (We still have some indirect dependencies!)


Open in Gitpod

…pology/Algebra`

The file defining `ConfinuousAffineMap` lives in `Topology/Algebra`, so we should have `ContinuousAffineEquiv` in the same place. (And this is also where the other algebraic morphisms live: continuous mul equivs, continuous linear equivs, ...) This removes the only import of Mathlib/Topology into Mathlib/LinearAlgebra.
@github-actions

github-actions Bot commented Sep 18, 2025 •

Copy link
Copy Markdown

PR summary e942f24680

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.LinearAlgebra.AffineSpace.ContinuousAffineEquiv -1214
Mathlib.Topology.Algebra.ContinuousAffineEquiv 1214

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/declarations_diff.sh <optional_commit>

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

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


No changes to technical debt.

You can run this locally as

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

note: file Mathlib/LinearAlgebra/AffineSpace/ContinuousAffineEquiv.lean` was renamed to `Mathlib/Topology/Algebra/ContinuousAffineEquiv.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

@github-actions github-actions Bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Sep 18, 2025
@Vierkantor Vierkantor added the t-topology Topological spaces, uniform spaces, metric spaces, filters label Sep 18, 2025
@grunweg

grunweg commented Sep 20, 2025

Copy link
Copy Markdown
Contributor

Thanks for doing this! This change makes sense to me, so
maintainer merge
(Can you add the module deprecation in a follow-up? Thank you!)

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by grunweg.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Sep 20, 2025
@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Sep 20, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Sep 20, 2025
…pology/Algebra` (#29779)

The file defining `ConfinuousAffineMap` lives in `Topology/Algebra`, so we should have `ContinuousAffineEquiv` in the same place. (And this is also where the other algebraic morphisms live: continuous mul equivs, continuous linear equivs, ...) This removes the only direct import of Mathlib/Topology into Mathlib/LinearAlgebra. (We still have some indirect dependencies!)

Co-authored-by: Anne C.A. Baanen <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Sep 20, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(LinearAlgebra/AffineSpace): move ContinuousAffineEquiv to Topology/Algebra [Merged by Bors] - chore(LinearAlgebra/AffineSpace): move ContinuousAffineEquiv to Topology/Algebra Sep 20, 2025
@mathlib-bors mathlib-bors Bot closed this Sep 20, 2025
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…pology/Algebra` (leanprover-community#29779)

The file defining `ConfinuousAffineMap` lives in `Topology/Algebra`, so we should have `ContinuousAffineEquiv` in the same place. (And this is also where the other algebraic morphisms live: continuous mul equivs, continuous linear equivs, ...) This removes the only direct import of Mathlib/Topology into Mathlib/LinearAlgebra. (We still have some indirect dependencies!)

Co-authored-by: Anne C.A. Baanen <[email protected]>
zhuyizheng pushed a commit to zhuyizheng/mathlib4 that referenced this pull request Oct 2, 2025
…pology/Algebra` (leanprover-community#29779)

The file defining `ConfinuousAffineMap` lives in `Topology/Algebra`, so we should have `ContinuousAffineEquiv` in the same place. (And this is also where the other algebraic morphisms live: continuous mul equivs, continuous linear equivs, ...) This removes the only direct import of Mathlib/Topology into Mathlib/LinearAlgebra. (We still have some indirect dependencies!)

Co-authored-by: Anne C.A. Baanen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

file-removed A Lean module was (re)moved without a `deprecated_module` annotation ready-to-merge This PR has been sent to bors. t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants