Skip to content

Commit b4872ae

Browse files
committed
.
1 parent 91e2c4a commit b4872ae

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

QCLib/LinearAlgebra/StdBasis.lean

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,16 @@ theorem Matrix.UnitaryGroup.ext_col [DecidableEq ι]
6464

6565
variable [DecidableEq ι]
6666

67-
theorem Matrix.UnitaryGroup.ext_smul_basis [Nonempty ι]
67+
open Matrix in
68+
@[simp]
69+
theorem Matrix.unitaryGroup.smul_euclidean_vec_def
70+
{α m : Type*} [Fintype m] [DecidableEq m] [CommRing α] [StarRing α]
71+
(U : unitaryGroup m α) (v : EuclideanSpace α m) : U • v = WithLp.toLp 2 (↑U *ᵥ v.ofLp) :=
72+
PiLp.ext (congrFun rfl)
73+
74+
theorem Matrix.UnitaryGroup.ext_smul_basis
6875
{U V : Matrix.unitaryGroup ι ℂ} : (∀ i : ι, (U • δ[i]) = V • δ[i]) → U = V := by
69-
simp [basisVector_def, basisFun_apply, Submonoid.smul_def, ]
70-
sorry
76+
simpa [basisVector_def ] using ext_col
7177

7278
@[simp]
7379
theorem Matrix.UnitaryGroup.diagonal_smul_basisVector

0 commit comments

Comments
 (0)