Skip to content

[Merged by Bors] - feat: convenience API for strict linear maps - #41250

Closed
ADedecker wants to merge 22 commits into
leanprover-community:masterfrom
ADedecker:AD_strict_lm
Closed

ADedecker wants to merge 22 commits into
leanprover-community:masterfrom
ADedecker:AD_strict_lm

Conversation

@ADedecker

@ADedecker ADedecker commented Jul 1, 2026 •

Copy link
Copy Markdown
Member

Everything here follows from the AddGroup case, but it's convenient to have a more adapted bundling.


Open in Gitpod

@github-actions

github-actions Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

PR summary 5d24b7f163

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Topology.Maps.Strict.Module (new file) 1281

Declarations diff (regex)

+ _root_.ContinuousLinearEquiv.quotKerEquivRange
+ isStrictMap_iff_isEmbedding_liftQ_ker
+ isStrictMap_iff_isHomeomorph_quotKerEquivRange
+ isStrictMap_iff_isOpenQuotientMap_rangeRestrict
+ isStrictMap_prodMap
+ isStrictMap_prodMap_iff

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 5d24b7f).

  • +6 new declarations
  • −0 removed declarations
+ContinuousLinearEquiv.quotKerEquivRange
+LinearMap.isStrictMap_iff_isEmbedding_liftQ_ker
+LinearMap.isStrictMap_iff_isHomeomorph_quotKerEquivRange
+LinearMap.isStrictMap_iff_isOpenQuotientMap_rangeRestrict
+LinearMap.isStrictMap_prodMap
+LinearMap.isStrictMap_prodMap_iff

No changes to strong technical debt.

Increase in weak tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type (weak)
5009 1 exposed public sections

Current commit 5d24b7f163
Reference commit 0c00cfd56d

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/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-topology Topological spaces, uniform spaces, metric spaces, filters label Jul 1, 2026
@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 Jul 1, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jul 10, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@themathqueen

Copy link
Copy Markdown
Member

Please merge master

protected lemma isStrictMap_prodMap (hf : IsStrictMap fₗ)
(hg : IsStrictMap gₗ) : IsStrictMap (fₗ.prodMap gₗ) :=
LinearMap.isStrictMap_prodMap_iff.mpr ⟨hf, hg⟩

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

perhaps also add a similar TODO as the one in the Group file? about isStrictMap_piMap

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

In fact MonoidHom.piMap now exists. I'll open a dependent PR with both pi versions if that's fine (I'm trying not to add more material on the Fredholm path).

@themathqueen themathqueen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! This was an easy PR to review since I've done the other one earlier :)

In case you want to add a todo:

maintainer delegate

@github-actions

Copy link
Copy Markdown

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

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 10, 2026

@riccardobrasca riccardobrasca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

bors d+

Comment thread Mathlib/Topology/Maps/Strict/Group.lean Resolved
@mathlib-bors mathlib-bors Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jul 12, 2026
@mathlib-bors

mathlib-bors Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

✌️ ADedecker can now approve this pull request until 2026-07-26 12:19 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

⚠️ This delegation only covers changes within Archive/**, Counterexamples/**, docs/**, DownstreamTest/**, Mathlib/**, MathlibTest/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean; an author commit touching anything else will revoke it. Bors also revokes it if a later push changes too many files for it to check the full list — even if it stays within scope.

@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 12, 2026
@ADedecker

Copy link
Copy Markdown
Member Author

Thanks for the reviews!

bors merge

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Jul 13, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jul 13, 2026
Everything here follows from the AddGroup case, but it's convenient to have a more adapted bundling.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Jul 13, 2026
@mathlib-bors

mathlib-bors Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Jul 13, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jul 13, 2026
Everything here follows from the AddGroup case, but it's convenient to have a more adapted bundling.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Jul 13, 2026
@mathlib-bors

mathlib-bors Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat: convenience API for strict linear maps [Merged by Bors] - feat: convenience API for strict linear maps Jul 13, 2026
@mathlib-bors mathlib-bors Bot closed this Jul 13, 2026
@mathlib-bors mathlib-bors Bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jul 13, 2026
mpacholski pushed a commit to mpacholski/mathlib4 that referenced this pull request Jul 16, 2026
)

Everything here follows from the AddGroup case, but it's convenient to have a more adapted bundling.
mpacholski pushed a commit to mpacholski/mathlib4 that referenced this pull request Jul 30, 2026
)

Everything here follows from the AddGroup case, but it's convenient to have a more adapted bundling.
mpacholski pushed a commit to mpacholski/mathlib4 that referenced this pull request Jul 30, 2026
)

Everything here follows from the AddGroup case, but it's convenient to have a more adapted bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. 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