@@ -401,7 +401,6 @@ lemma reindexₗ_apply {l o : Type*} [Semiring R] [AddCommMonoid A] [Module R A]
401401 {eₘ : m ≃ l} {eₙ : n ≃ o} {M : CStarMatrix m n A} {i : l} {j : o} :
402402 reindexₗ R A eₘ eₙ M i j = Matrix.reindex eₘ eₙ M i j := rfl
403403
404- set_option backward.isDefEq.respectTransparency false in
405404/-- The natural map that reindexes a matrix's rows and columns with equivalent types is an
406405equivalence. -/
407406def reindexₐ (R) (A) [Fintype m] [Fintype n] [Semiring R] [AddCommMonoid A] [Mul A] [Module R A]
@@ -418,7 +417,7 @@ def reindexₐ (R) (A) [Fintype m] [Fintype n] [Semiring R] [AddCommMonoid A] [M
418417 unfold reindexₗ
419418 dsimp only [Equiv.toFun_as_coe, Equiv.invFun_as_coe, Matrix.reindex_symm, AddHom.toFun_eq_coe,
420419 AddHom.coe_mk, Matrix.reindex_apply, Matrix.submatrix_apply]
421- rw [Matrix. star_apply, Matrix. star_apply]
420+ rw [star_apply, star_apply]
422421 simp [Matrix.submatrix_apply] }
423422
424423@[simp]
@@ -474,7 +473,7 @@ def toOneByOne [Unique n] [Semiring R] [AddCommMonoid A] [Mul A] [Star A] [Modul
474473
475474end basic
476475
477- variable [Fintype m] [NonUnitalCStarAlgebra A] [PartialOrder A] [StarOrderedRing A]
476+ variable [Fintype m] [NonUnitalCStarAlgebra A]
478477
479478set_option backward.isDefEq.respectTransparency false in
480479/-- Interpret a `CStarMatrix m n A` as a continuous linear map acting on `C⋆ᵐᵒᵈ (n → A)`. -/
@@ -537,23 +536,24 @@ open WithCStarModule in
537536lemma toCLM_apply_single_apply [DecidableEq m] {M : CStarMatrix m n A} {i : m} {j : n} (a : A) :
538537 (toCLM M) (equiv _ _ |>.symm <| Pi.single i a) j = a * M i j := by simp
539538
540- open WithCStarModule in
541- lemma mul_entry_mul_eq_inner_toCLM [Fintype n] [DecidableEq m] [DecidableEq n]
542- {M : CStarMatrix m n A} {i : m} {j : n} (a b : A) :
543- a * M i j * star b
544- = ⟪equiv _ _ |>.symm (Pi.single j b), toCLM M (equiv _ _ |>.symm <| Pi.single i a)⟫_A := by
545- simp [mul_assoc, inner_def]
546-
547- set_option backward.isDefEq.respectTransparency false in
548539lemma toCLM_injective : Function.Injective (toCLM (A := A) (m := m) (n := n)) := by
549540 classical
550541 rw [injective_iff_map_eq_zero]
551542 intro M h
552543 ext i j
553- rw [Matrix. zero_apply, ← norm_eq_zero, ← sq_eq_zero_iff, sq, ← CStarRing.norm_star_mul_self,
544+ rw [zero_apply, ← norm_eq_zero, ← sq_eq_zero_iff, sq, ← CStarRing.norm_star_mul_self,
554545 ← toCLM_apply_single_apply]
555546 simp [h]
556547
548+ variable [PartialOrder A] [StarOrderedRing A]
549+
550+ open WithCStarModule in
551+ lemma mul_entry_mul_eq_inner_toCLM [Fintype n] [DecidableEq m] [DecidableEq n]
552+ {M : CStarMatrix m n A} {i : m} {j : n} (a b : A) :
553+ a * M i j * star b
554+ = ⟪equiv _ _ |>.symm (Pi.single j b), toCLM M (equiv _ _ |>.symm <| Pi.single i a)⟫_A := by
555+ simp [mul_assoc, inner_def]
556+
557557variable [Fintype n]
558558
559559open WithCStarModule in
0 commit comments