Skip to content

Conversation

@themathqueen
Copy link
Collaborator

@themathqueen themathqueen commented Dec 27, 2025

Now that range and ker take in a LinearMap instead of a LinearMapClass, these lemmas are the same thing as the linear map versions.


Open in Gitpod

@github-actions
Copy link

github-actions bot commented Dec 27, 2025

PR summary a36c84ab82

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IsIdempotentElem.ker_eq_range_one_sub
+ IsIdempotentElem.range_eq_ker_one_sub
- ContinuousLinearMap.IsIdempotentElem.isSymmetric_iff_orthogonal_range

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

@github-actions github-actions bot added the t-topology Topological spaces, uniform spaces, metric spaces, filters label Dec 27, 2025
@j-loreaux j-loreaux added the awaiting-author A reviewer has asked the author a question or requested changes. label Dec 31, 2025
@themathqueen themathqueen removed the awaiting-author A reviewer has asked the author a question or requested changes. label Dec 31, 2025
U.starProjection.ker = Uᗮ := by
rw [(isIdempotentElem_starProjection U).ker_eq_range, ← starProjection_orthogonal',
range_starProjection]
rw [LinearMap.IsIdempotentElem.ker_eq_range U.isIdempotentElem_starProjection.toLinearMap,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does dot notation not work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not here because both ContinuousLinearMap and LinearMap namespaces are opened, so Lean gets confused which ker_eq_range to use. We would be able to use dot notation after removing the deprecation in 6 months.

@Ruben-VandeVelde Ruben-VandeVelde added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 1, 2026
@themathqueen themathqueen removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 1, 2026
@ocfnash
Copy link
Contributor

ocfnash commented Jan 2, 2026

Thanks!

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Jan 2, 2026
mathlib-bors bot pushed a commit that referenced this pull request Jan 2, 2026
…33341)

Now that `range` and `ker` take in a `LinearMap` instead of a `LinearMapClass`, these lemmas are the same thing as the linear map versions.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 2, 2026

Build failed:

@ocfnash
Copy link
Contributor

ocfnash commented Jan 2, 2026

I think that's a spurious bors failure so let's try again:

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Jan 2, 2026
…33341)

Now that `range` and `ker` take in a `LinearMap` instead of a `LinearMapClass`, these lemmas are the same thing as the linear map versions.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 2, 2026

Pull request successfully merged into master.

Build succeeded!

And happy new year! 🎉

@mathlib-bors mathlib-bors bot changed the title chore(Topology/Algebra/Module/LinearMap): deprecate duplicate lemmas [Merged by Bors] - chore(Topology/Algebra/Module/LinearMap): deprecate duplicate lemmas Jan 2, 2026
@mathlib-bors mathlib-bors bot closed this Jan 2, 2026
@themathqueen themathqueen deleted the deprecate_range_eq_ker branch January 2, 2026 16:21
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-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants