1 parent e991aa3 commit d84e271Copy full SHA for d84e271
2 files changed
Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Instances.lean
@@ -272,7 +272,7 @@ lemma Commute.mul_nonneg {a b : A} (ha : 0 ≤ a) (hb : 0 ≤ b) (h : Commute a
272
273
lemma commute_iff_mul_nonneg {a b : A} (ha : 0 ≤ a) (hb : 0 ≤ b) :
274
Commute a b ↔ 0 ≤ a * b :=
275
- ⟨fun h => h.mul_nonneg ha hb,
+ ⟨Commute.mul_nonneg ha hb,
276
fun h => ha.isSelfAdjoint.commute_iff hb.isSelfAdjoint |>.mpr h.isSelfAdjoint⟩
277
278
open NNReal in
Mathlib/LinearAlgebra/Matrix/PosDef.lean
@@ -35,7 +35,7 @@ variable [Fintype m] [Fintype n]
35
variable [Ring R] [PartialOrder R] [StarRing R]
36
variable [CommRing R'] [PartialOrder R'] [StarRing R']
37
variable [RCLike 𝕜]
38
-open Matrix
+open scoped Matrix
39
40
/-!
41
## Positive semidefinite matrices
0 commit comments