mathlib4 review helperopen PRs by @themathqueen on leanprover-community/mathlib4

← queue

#46959 feat(Algebra/Star/PartialIsometry): tfae for idempotent elements

t-algebra CI success

+154 −51 · 6 files · 23 commits · head 7355f0b · updated today · Files changed on GitHub

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
github-actions[bot] · comment · 2026-12-04
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 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.lean +1 −0

public import Mathlib.Algebra.Order.Star.Conjneg
1167public import Mathlib.Algebra.Order.Star.Conjugate
1168public import Mathlib.Algebra.Order.Star.Int
1169public import Mathlib.Algebra.Order.Star.Orthogonal
1170public import Mathlib.Algebra.Order.Star.PartialIsometry
1171public import Mathlib.Algebra.Order.Star.Pi
1172public import Mathlib.Algebra.Order.Star.Prod
1173public import Mathlib.Algebra.Order.Star.Projection

Mathlib/Algebra/Order/Star/PartialIsometry.lean +47 −0 new file

1/-
2Copyright (c) 2026 Monica Omar. All rights reserved.
3Released under Apache 2.0 license as described in the file LICENSE.
4Authors: Monica Omar
5-/
6module
7
8public import Mathlib.Algebra.Order.Star.Basic
9public import Mathlib.Algebra.Star.PartialIsometry
11set_option doc.verso true
12set_option doc.verso.suggestions false
14/-! # Partial isometries on star ordered rings
16This file collects some results on star partial isometries on star ordered rings.
17In particular, an element is a star projection if and only if it is a nonnegative
18star partial isometry. -/
20public section
22variable {R : Type*}
23 [NonUnitalRing R] [StarRing R] [PartialOrder R] [StarOrderedRing R] [IsProperStar R]
lemma IsStarPartialIsometry.isStarProjection_of_nonneg newL25–35
25/-- In a star-ordered ring with a proper star, a nonnegative star partial isometry is a
26star projection. -/
27lemma IsStarPartialIsometry.isStarProjection_of_nonneg {x : R}
28 (hx : IsStarPartialIsometry x) (hx₀ : 0 ≤ x) : IsStarProjection x := by
29 have h₃ : x * x * x = x := by simpa [hx₀.star_eq] using hx.mul_star_mul_self
30 have hx' : IsSelfAdjoint (x * x - x) := by simp [IsSelfAdjoint, hx₀.star_eq]
31 refine ⟨sub_eq_zero.mp <| star_mul_self_eq_zero.mp ?_, hx₀.star_eq⟩
32 refine le_antisymm (neg_nonneg.mp ?_) (star_mul_self_nonneg _)
33 calc
34 0 ≤ (x * x - x) * x * (x * x - x) := hx'.conjugate_nonneg hx₀
35 _ = -(star (x * x - x) * (x * x - x)) := by noncomm_ring [h₃, ↓hx'.star_eq]
lemma isStarProjection_iff_isStarPartialIsometry_and_nonneg newL37–39
37lemma isStarProjection_iff_isStarPartialIsometry_and_nonneg {x : R} :
38 IsStarProjection x ↔ IsStarPartialIsometry x ∧ 0 ≤ x :=
39 ⟨fun hx ↦ ⟨hx.isStarPartialIsometry, hx.nonneg⟩, fun hx ↦ hx.1.isStarProjection_of_nonneg hx.2⟩
lemma IsStarPartialIsometry.nonneg_iff_isIdempotentElem newL41–47
41/-- In a star-ordered ring with a proper star, star partial isometries are nonnegative
42if and only if they are idempotent. -/
43lemma IsStarPartialIsometry.nonneg_iff_isIdempotentElem {x : R} (hx : IsStarPartialIsometry x) :
44 0 ≤ x ↔ IsIdempotentElem x := by
45 revert hx
46 rw [← and_congr_left_iff, and_comm, ← isStarProjection_iff_isStarPartialIsometry_and_nonneg,
47 isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry]

Mathlib/Algebra/Star/PartialIsometry.lean +67 −1

An element `x` is a *star partial isometry* (`IsStarPartialIsometry`) when `x *
18In a ⋆-ring with a proper star, a partial isometry `x` is equivalent to `star x * x`
19being a star projection.
20This is of course equivalent to `star x * x` being an idempotent.
−See `isStarPartialIsometry_tfae` for a list of equivalences. -/
21See `isStarPartialIsometry_tfae` for a list of equivalences.
23In a ⋆-ring with a proper star, star projections are precisely idempotent normal elements,
24and also idempotent star partial isometries. See `IsIdempotentElem.isStarProjection_tfae` for a list
25of equivalences for idempotent elements. -/
27public section
lemma isIdempotentElem_star_mul_self_iff_isIdempotentElem_mul_star_self :
183 isIdempotentElem_star_mul_self_iff_isIdempotentElem_self_mul_star :=
184 isIdempotentElem_star_mul_self_iff_isIdempotentElem_mul_star_self
lemma isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry newL186–194
186/-- In a ⋆-ring with a proper star, an element is a star projection if and only if it is
187idempotent and a star partial isometry. -/
188lemma isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry :
189 IsStarProjection x ↔ IsIdempotentElem x ∧ IsStarPartialIsometry x := by
190 refine ⟨fun h ↦ ⟨h.isIdempotentElem, h.isStarPartialIsometry⟩, fun ⟨hx₁, hx₂⟩ ↦ ?_⟩
191 rw [isStarProjection_iff_star_mul_self_eq_self, ← sub_eq_zero, ← star_mul_self_eq_zero]
192 simp only [star_sub, star_mul, star_star, mul_sub, ← mul_assoc, sub_mul,
193 hx₂.star_mul_mul_star_self]
194 simp [← star_mul, hx₁.eq, mul_assoc]
lemma isStarProjection_iff_isIdempotentElem_and_isStarNormal newL196–203
196/-- In a ⋆-ring with a proper star, an element is a star projection if and only if it is
197idempotent and normal. -/
198lemma isStarProjection_iff_isIdempotentElem_and_isStarNormal :
199 IsStarProjection x ↔ IsIdempotentElem x ∧ IsStarNormal x := by
200 refine ⟨fun h ↦ ⟨h.isIdempotentElem, h.isStarNormal⟩, fun ⟨hx₁, hx₂⟩ ↦ ?_⟩
201 rw [isStarProjection_iff_star_mul_self_eq_self, ← sub_eq_zero, ← star_mul_self_eq_zero]
202 simp [sub_mul, mul_sub]
203 grind [IsIdempotentElem.eq]
lemma IsIdempotentElem.isStarProjection_tfae newL205–219
205/-- Given an element `x` in a ⋆-ring with a proper star, the following are equivalent:
2061. `x` is a star projection,
2072. `x` is self-adjoint,
2083. `x` is normal,
2094. `x` is a star partial isometry. -/
210lemma IsIdempotentElem.isStarProjection_tfae (hx : IsIdempotentElem x) :
211 List.TFAE
212 [ IsStarProjection x,
213 IsSelfAdjoint x,
214 IsStarNormal x,
215 IsStarPartialIsometry x ] := by
216 tfae_have 1 ↔ 2 := by simp [isStarProjection_iff, hx]
217 tfae_have 1 ↔ 3 := by simp [isStarProjection_iff_isIdempotentElem_and_isStarNormal, hx]
218 tfae_have 1 ↔ 4 := by simp [isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry, hx]
219 tfae_finish
lemma IsIdempotentElem.isSelfAdjoint_iff_isStarNormal newL221–224
221/-- In a ⋆-ring with a proper star, idempotent elements are self-adjoint if and only if
222they are normal. -/
223lemma IsIdempotentElem.isSelfAdjoint_iff_isStarNormal (hx : IsIdempotentElem x) :
224 IsSelfAdjoint x ↔ IsStarNormal x := hx.isStarProjection_tfae.out 2 3
lemma IsIdempotentElem.isSelfAdjoint_iff_isStarPartialIsometry newL226–229
226/-- In a ⋆-ring with a proper star, idempotent elements are self-adjoint if and only if
227they are star partial isometries. -/
228lemma IsIdempotentElem.isSelfAdjoint_iff_isStarPartialIsometry (hx : IsIdempotentElem x) :
229 IsSelfAdjoint x ↔ IsStarPartialIsometry x := hx.isStarProjection_tfae.out 2 4
lemma IsIdempotentElem.isStarNormal_iff_isStarPartialIsometry newL231–234
231/-- In a ⋆-ring with a proper star, idempotent elements are normal if and only if
232they are star partial isometries. -/
233lemma IsIdempotentElem.isStarNormal_iff_isStarPartialIsometry (hx : IsIdempotentElem x) :
234 IsStarNormal x ↔ IsStarPartialIsometry x := hx.isStarProjection_tfae.out 3 4
lemma IsStarPartialIsometry.isStarPartialIsometry_mul_iff_commute newL236–246
236lemma IsStarPartialIsometry.isStarPartialIsometry_mul_iff_commute {y : R}
237 (hx : IsStarPartialIsometry x) (hy : IsStarPartialIsometry y) :
238 IsStarPartialIsometry (x * y) ↔ Commute (star x * x) (y * star y) := by
239 refine ⟨fun hxy ↦ ?_, fun h ↦ ?_⟩
240 · suffices IsStarProjection (star x * x * (y * star y)) by
241 rwa [← hx.isStarProjection_star_mul_self.isStarProjection_mul_iff_commute
242 hy.isStarProjection_mul_star_self]
243 rw [isStarProjection_iff_isIdempotentElem_and_isStarPartialIsometry]
244 simp only [isStarPartialIsometry_iff, star_mul, star_star]
245 grind [isStarPartialIsometry_iff, isIdempotentElem_iff, star_mul]
246 · grind [isStarPartialIsometry_iff, star_mul]
248end IsProperStar

Mathlib/Algebra/Star/StarProjection.lean +25 −2

set_option doc.verso.suggestions false
15# Star projections
17This file defines star projections, which are self-adjoint idempotents.
18Equivalently, `p` is a star projection if and only if `star p * p = p`
19(equivalently, `p * star p = p`) - see `isStarProjection_iff_star_mul_self_eq_self`
20and `isStarProjection_iff_mul_star_self_eq_self`.
22In star-ordered rings, star projections are non-negative.
23(See `IsStarProjection.nonneg` in `Mathlib/Algebra/Order/Star/Basic.lean`.)
lemma _root_.isStarProjection_iff' [Mul R] [Star R] :
44 IsStarProjection p ↔ p * p = p ∧ star p = p :=
45 isStarProjection_iff _
lemma _root_.isStarProjection_iff_star_mul_self_eq_self newL47–52
47lemma _root_.isStarProjection_iff_star_mul_self_eq_self [Mul R] [StarMul R] :
48 IsStarProjection p ↔ star p * p = p := by
49 refine ⟨fun h ↦ ?_, fun h ↦ ?_⟩
50 · simp [h.isSelfAdjoint.star_eq, h.isIdempotentElem.eq]
51 · have : star p = p := by rw [← h]; simp
52 grind [isStarProjection_iff']
lemma _root_.isStarProjection_iff_mul_star_self_eq_self newL54–59
54lemma _root_.isStarProjection_iff_mul_star_self_eq_self [Mul R] [StarMul R] :
55 IsStarProjection p ↔ p * star p = p := by
56 refine ⟨fun h ↦ ?_, fun h ↦ ?_⟩
57 · simp [h.isSelfAdjoint.star_eq, h.isIdempotentElem.eq]
58 · have : star p = p := by rw [← h]; simp
59 grind [isStarProjection_iff']
61theorem isStarNormal [Mul R] [Star R]
62 (hp : IsStarProjection p) : IsStarNormal p :=
63 hp.isSelfAdjoint.isStarNormal
lemma one_sub_mul_self [Star R] (hp : IsStarProjection p) : (1 - p) * p = 0 :=
106end NonAssocRing
theorem add changedL108–112
108/-- The sum of star projections is a star projection if their product is `0`. -/
−theorem add [NonUnitalNonAssocSemiring R] [StarRing R]
109protected theorem add [NonUnitalNonAssocSemiring R] [StarRing R]
110 (hp : IsStarProjection p) (hq : IsStarProjection q) (hpq : p * q = 0) :
111 IsStarProjection (p + q) where
112 isSelfAdjoint := hp.isSelfAdjoint.add hq.isSelfAdjoint
theorem add [NonUnitalNonAssocSemiring R] [StarRing R]
115 simpa [hp.isSelfAdjoint.star_eq, hq.isSelfAdjoint.star_eq] using congr(star $hpq)
theorem mul changedL117–122
117/-- The product of star projections is a star projection if they commute. -/
−theorem mul [NonUnitalSemiring R] [StarRing R]
118protected theorem mul [NonUnitalSemiring R] [StarRing R]
119 (hp : IsStarProjection p) (hq : IsStarProjection q)
120 (hpq : Commute p q) : IsStarProjection (p * q) where
121 isSelfAdjoint := (IsSelfAdjoint.commute_iff hp.isSelfAdjoint hq.isSelfAdjoint).mp hpq
122 isIdempotentElem := hp.isIdempotentElem.mul_of_commute hpq hq.isIdempotentElem
lemma isStarProjection_mul_iff_commute newL124–128
124lemma isStarProjection_mul_iff_commute [NonUnitalSemiring R] [StarRing R] (hp : IsStarProjection p)
125 (hq : IsStarProjection q) : IsStarProjection (p * q) ↔ Commute p q := by
126 refine ⟨fun h ↦ ?_, fun h ↦ hp.mul hq h⟩
127 rw [hp.isSelfAdjoint.commute_iff hq.isSelfAdjoint]
128 exact h.isSelfAdjoint
130/-- `q - p` is a star projection when `p * q = p`. -/
131theorem sub_of_mul_eq_left [NonUnitalNonAssocRing R] [StarRing R]
132 (hp : IsStarProjection p) (hq : IsStarProjection q) (hpq : p * q = p) :

Mathlib/Analysis/CStarAlgebra/Projection.lean +4 −23

import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Projection
13# Projections in C⋆-algebras
15Here we collect results about projections specific to C⋆-algebras.
−
−## Main results
−
−+ `isStarProjection_iff_isIdempotentElem_and_isStarNormal`: star projections are precisely
− idempotent normal elements.
16-/
18public section
lemma isStarProjection_iff_quasispectrum_subset_and_isSelfAdjoint [Module ℝ A]
31section Normal
32variable [Module ℂ A] [IsScalarTower ℂ A A] [SMulCommClass ℂ A A]
− [NonUnitalContinuousFunctionalCalculus ℂ A IsStarNormal]
−
theorem IsIdempotentElem.isSelfAdjoint_iff_isStarNormal removedLundefined–undefined
−/-- An idempotent element in a non-unital C⋆-algebra is self-adjoint iff it is normal. -/
−theorem IsIdempotentElem.isSelfAdjoint_iff_isStarNormal {p : A} (hp : IsIdempotentElem p) :
− IsSelfAdjoint p ↔ IsStarNormal p := by
− simp only [isSelfAdjoint_iff_isStarNormal_and_quasispectrumRestricts,
− QuasispectrumRestricts.real_iff, and_iff_left_iff_imp]
− intro h x hx
− rcases hp.quasispectrum_subset _ hx with (hx | hx) <;> simp [Set.mem_singleton_iff.mp hx]
theorem isStarProjection_iff_isIdempotentElem_and_isStarNormal newL33–33
−/-- An element in a non-unital C⋆-algebra is a star projection
−if and only if it is idempotent and normal. -/
−theorem isStarProjection_iff_isIdempotentElem_and_isStarNormal {p : A} :
− IsStarProjection p ↔ IsIdempotentElem p ∧ IsStarNormal p :=
− (isStarProjection_iff p).eq ▸ and_congr_right_iff.eq ▸ fun h => h.isSelfAdjoint_iff_isStarNormal
33 [NonUnitalContinuousFunctionalCalculus ℂ A IsStarNormal] [IsProperStar A]
theorem isStarProjection_iff_quasispectrum_subset_and_isStarNormal changedL35–38
35theorem isStarProjection_iff_quasispectrum_subset_and_isStarNormal {p : A} :
36 IsStarProjection p ↔ quasispectrum ℂ p ⊆ {0, 1} ∧ IsStarNormal p :=
− isStarProjection_iff_isIdempotentElem_and_isStarNormal (p := p).eq ▸
37 isStarProjection_iff_isIdempotentElem_and_isStarNormal (x := p).eq ▸
38 and_congr_left_iff.mpr fun h ↦ isIdempotentElem_iff_quasispectrum_subset ℂ p h
40end Normal
lemma isStarProjection_iff_spectrum_subset_and_isSelfAdjoint [Algebra ℝ A]
50 and_congr_left_iff.mpr fun h ↦ isIdempotentElem_iff_spectrum_subset ℝ p h
theorem isStarProjection_iff_spectrum_subset_and_isStarNormal changedL52–56
52theorem isStarProjection_iff_spectrum_subset_and_isStarNormal [Algebra ℂ A]
− [NonUnitalContinuousFunctionalCalculus ℂ A IsStarNormal] {p : A} :
53 [NonUnitalContinuousFunctionalCalculus ℂ A IsStarNormal] [IsProperStar A] {p : A} :
54 IsStarProjection p ↔ spectrum ℂ p ⊆ {0, 1} ∧ IsStarNormal p :=
− isStarProjection_iff_isIdempotentElem_and_isStarNormal (p := p).eq ▸
55 isStarProjection_iff_isIdempotentElem_and_isStarNormal (x := p).eq ▸
56 and_congr_left_iff.mpr fun h ↦ isIdempotentElem_iff_spectrum_subset ℂ p h
58end Unital

Mathlib/Analysis/InnerProductSpace/Adjoint.lean +10 −25

but with stronger type class assumptions (i.e., `CompleteSpace`). -/
434theorem IsStarNormal.orthogonal_range (hT : IsStarNormal T) : T.rangeᗮ = T.ker :=
435 T.orthogonal_range ▸ hT.ker_adjoint_eq_ker
−/- TODO: As we have a more general result of this for elements in non-unital C⋆-algebras
−(see `Mathlib/Analysis/CStarAlgebra/Projection.lean`), we will want to simplify the proof
−by using the complexification of an inner product space over `𝕜`. -/
theorem IsIdempotentElem.isSelfAdjoint_iff_isStarNormal removedLundefined–undefined
−/-- An idempotent operator is self-adjoint iff it is normal. -/
−theorem IsIdempotentElem.isSelfAdjoint_iff_isStarNormal (hT : IsIdempotentElem T) :
− IsSelfAdjoint T ↔ IsStarNormal T := by
− refine ⟨fun h => by rw [isStarNormal_iff, h], fun h => ?_⟩
− suffices T = star T * T from this ▸ IsSelfAdjoint.star_mul_self _
− rw [← sub_eq_zero, ContinuousLinearMap.ext_iff]
− simp_rw [zero_apply, ← norm_eq_zero (E := E)]
− have :=
− calc (∀ x : E, ‖(T - star T * T) x‖ = 0) ↔ ∀ x, ‖(adjoint (1 - T)) (T x)‖ = 0 := by
− simp [star_eq_adjoint, one_def]
− _ ↔ ∀ x, ‖(1 - T) (T x)‖ = 0 := by
− simp only [isStarNormal_iff_norm_eq_adjoint.mp h.one_sub]
− _ ↔ ∀ x, ‖(T - T * T) x‖ = 0 := by simp
− _ ↔ T - T * T = 0 := by simp only [norm_eq_zero, ContinuousLinearMap.ext_iff, zero_apply]
− _ ↔ IsIdempotentElem T := by simp only [sub_eq_zero, IsIdempotentElem, eq_comm]
− exact this.mpr hT
theorem isStarProjection_iff_isIdempotentElem_and_isStarNormal removedLundefined–undefined
−/-- A continuous linear map is a star projection iff it is idempotent and normal. -/
−theorem isStarProjection_iff_isIdempotentElem_and_isStarNormal :
− IsStarProjection T ↔ IsIdempotentElem T ∧ IsStarNormal T := by
− rw [isStarProjection_iff, and_congr_right_iff]
− exact fun h => IsIdempotentElem.isSelfAdjoint_iff_isStarNormal h
437@[deprecated _root_.IsIdempotentElem.isSelfAdjoint_iff_isStarNormal +typeChanged
438 (since := "2026-12-04")]
  • L437 Deprecation without (since := "YYYY-MM-DD"). guide
theorem IsIdempotentElem.isSelfAdjoint_iff_isStarNormal newL439–440
439protected theorem IsIdempotentElem.isSelfAdjoint_iff_isStarNormal (hT : IsIdempotentElem T) :
440 IsSelfAdjoint T ↔ IsStarNormal T := hT.isSelfAdjoint_iff_isStarNormal
442@[deprecated isStarProjection_iff_isIdempotentElem_and_isStarNormal +typeChanged
443 (since := "2026-12-04")]
  • L442 Deprecation without (since := "YYYY-MM-DD"). guide
theorem isStarProjection_iff_isIdempotentElem_and_isStarNormal newL444–446
444protected theorem isStarProjection_iff_isIdempotentElem_and_isStarNormal :
445 IsStarProjection T ↔ IsIdempotentElem T ∧ IsStarNormal T :=
446 isStarProjection_iff_isIdempotentElem_and_isStarNormal
448theorem isStarProjection_iff_isSymmetricProjection :
449 IsStarProjection T ↔ T.IsSymmetricProjection := by
0/23 declarations checked

Your review, as Markdown

Paste it as a comment or a review on the PR. Line links to the head commit unfold into code snippets on GitHub.