#46959 feat(Algebra/Star/PartialIsometry): tfae for idempotent elements
PR description
An idempotent element in a star ring with a proper star is self-adjoint iff it is normal iff it is a star partial isometry iff it is a star projection.
And a star partial isometry is nonnegative iff it is idempotent.
We change the hypotheses of IsIdempotentElem.isSelfAdjoint_iff_isStarNormal so that it assumes IsProperStar instead of CFC. This allows us to deprecate ContinuousLinearMap.IsIdempotentElem.isSelfAdjoint_iff_isStarNormal and kill a todo without needing heavier machinery such as complexification.
Conversation on GitHub 1
PR summary 7355f0b158
Import changes for modified files
No significant changes to the import graph
<details><summary>Import changes for all files</summary>
|Files|Import difference|
|-|-|
| Mathlib.Algebra.Order.Star.PartialIsometry (new file)|1319|
</details>
<details><summary>
Declarations diff (regex)
</summary>
+ IsIdempotentElem.isSelfAdjoint_iff_isStarPartialIsometry
+ IsIdempotentElem.isStarNormal_iff_isStarPartialIsometry
+ IsIdempotentElem.isStarProjection_tfae
+ IsStarPartialIsometry.isStarPartialIsometry_mul_iff_commute
+ IsStarPartialIsometry.isStarProjection_of_nonneg
+ IsStarPartialIsometry.nonneg_iff_isIdempotentElem
+ _root_.isStarProjection_iff_mul_star_self_eq_self
+ _root_.isStarProjection_iff_star_mul_self_eq_self
+ isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry
+ isStarProjection_iff_isStarPartialIsometry_and_nonneg
+ isStarProjection_mul_iff_commute
<details>
<summary>You can run this locally as follows</summary>
## 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>
</details>
The doc-module for scripts/pr_summary/declarations_diff.sh in the undefined repository contains some details about this script.
</details>
<details><summary>
Declarations diff (Lean)
</summary>
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
7355f0b).
- +11 new declarations
- −0 removed declarations
+IsIdempotentElem.isSelfAdjoint_iff_isStarPartialIsometry
+IsIdempotentElem.isStarNormal_iff_isStarPartialIsometry
+IsIdempotentElem.isStarProjection_tfae
+IsStarPartialIsometry.isStarPartialIsometry_mul_iff_commute
+IsStarPartialIsometry.isStarProjection_of_nonneg
+IsStarPartialIsometry.nonneg_iff_isIdempotentElem
+IsStarProjection.isStarProjection_mul_iff_commute
+isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry
+isStarProjection_iff_isStarPartialIsometry_and_nonneg
+isStarProjection_iff_mul_star_self_eq_self
+isStarProjection_iff_star_mul_self_eq_self
</details>
No changes to strong technical debt. No changes to weak technical debt.
Current commit 7355f0b158 Reference commit e364a07edf
This script lives in the undefined 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.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
Mathlib.lean +1 −0
public import Mathlib.Algebra.Order.Star.ConjnegMathlib/Algebra/Order/Star/PartialIsometry.lean +47 −0 new file
Mathlib/Algebra/Star/PartialIsometry.lean +67 −1
An element `x` is a *star partial isometry* (`IsStarPartialIsometry`) when `x *lemma isIdempotentElem_star_mul_self_iff_isIdempotentElem_mul_star_self :Mathlib/Algebra/Star/StarProjection.lean +25 −2
set_option doc.verso.suggestions falselemma _root_.isStarProjection_iff' [Mul R] [Star R] :lemma one_sub_mul_self [Star R] (hp : IsStarProjection p) : (1 - p) * p = 0 :=theorem add [NonUnitalNonAssocSemiring R] [StarRing R]Mathlib/Analysis/CStarAlgebra/Projection.lean +4 −23
import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Projectionlemma isStarProjection_iff_quasispectrum_subset_and_isSelfAdjoint [Module ℝ A]lemma isStarProjection_iff_spectrum_subset_and_isSelfAdjoint [Algebra ℝ A]Mathlib/Analysis/InnerProductSpace/Adjoint.lean +10 −25
but with stronger type class assumptions (i.e., `CompleteSpace`). -/- L437 Deprecation without
(since := "YYYY-MM-DD"). guide
- L442 Deprecation without
(since := "YYYY-MM-DD"). guide