Documentation

LeanPool.Monlib4.LinearAlgebra.ToMatrixOfEquiv

Linear equivalence conjugation compatibility #

Mathlib's LinearEquiv.conjAlgEquiv is the current version of the upstream LinearEquiv.innerConj construction used by the Monlib4 IncludeBlock slice.

noncomputable def OrthonormalBasis.toMatrix {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} {E : Type u_3} [Fintype n] [DecidableEq n] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] [FiniteDimensional ๐•œ E] (b : OrthonormalBasis n ๐•œ E) :
(E โ†’โ‚—[๐•œ] E) โ‰ƒโ‹†โ‚[๐•œ] Matrix n n ๐•œ

Star-algebra equivalence from endomorphisms of a finite-dimensional inner-product space to matrices in an orthonormal basis.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem OrthonormalBasis.toMatrix_apply {๐•œ : Type u_3} [RCLike ๐•œ] {n : Type u_1} {E : Type u_2} [Fintype n] [DecidableEq n] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] [FiniteDimensional ๐•œ E] (b : OrthonormalBasis n ๐•œ E) (x : E โ†’โ‚—[๐•œ] E) (i j : n) :
    b.toMatrix x i j = inner ๐•œ (b i) (x (b j))
    theorem OrthonormalBasis.toMatrix_symm_apply {๐•œ : Type u_3} [RCLike ๐•œ] {n : Type u_1} {E : Type u_2} [Fintype n] [DecidableEq n] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] [FiniteDimensional ๐•œ E] (b : OrthonormalBasis n ๐•œ E) (x : Matrix n n ๐•œ) :
    b.toMatrix.symm x = โˆ‘ i : n, โˆ‘ j : n, x i j โ€ข โ†‘(((InnerProductSpace.rankOne ๐•œ) (b i)) (b j))
    theorem OrthonormalBasis.toMatrix_symm_apply' {๐•œ : Type u_3} [RCLike ๐•œ] {n : Type u_1} {E : Type u_2} [Fintype n] [DecidableEq n] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] [FiniteDimensional ๐•œ E] (b : OrthonormalBasis n ๐•œ E) (x : Matrix n n ๐•œ) :
    b.toMatrix.symm x = โˆ‘ i : n, โˆ‘ j : n, x i j โ€ข โ†‘(((InnerProductSpace.rankOne ๐•œ) (b i)) (b j))
    theorem orthonormalBasis_toMatrix_eq_basis_toMatrix {๐•œ : Type u_3} [RCLike ๐•œ] {n : Type u_1} {E : Type u_2} [Fintype n] [DecidableEq n] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] [FiniteDimensional ๐•œ E] (b : OrthonormalBasis n ๐•œ E) :
    def EuclideanSpace.orthonormalBasis (ฮน : Type u_1) (๐•œ : Type u_3) [RCLike ๐•œ] [Fintype ฮน] :
    OrthonormalBasis ฮน ๐•œ (EuclideanSpace ๐•œ ฮน)

    Alias of EuclideanSpace.basisFun.


    The basis Pi.basisFun, bundled as an orthonormal basis of EuclideanSpace ๐•œ ฮน.

    Equations
    Instances For
      theorem EuclideanSpace.orthonormalBasis.repr_eq_one {๐•œ : Type u_2} [RCLike ๐•œ] {n : Type u_1} [Fintype n] :
      (orthonormalBasis n ๐•œ).repr = 1
      theorem LinearEquiv.one_symm {R : Type u_1} {E : Type u_2} [Semiring R] [AddCommMonoid E] [Module R E] :
      symm 1 = 1
      theorem LinearEquiv.toLinearMap_one {R : Type u_1} {E : Type u_2} [Semiring R] [AddCommMonoid E] [Module R E] :
      โ†‘1 = 1
      theorem LinearEquiv.refl_conj {R : Type u_1} {E : Type u_2} [CommSemiring R] [AddCommMonoid E] [Module R E] :
      (refl R E).conj = 1
      theorem LinearEquiv.conj_hMul {R : Type u_1} {E : Type u_2} {F : Type u_3} [CommSemiring R] [AddCommMonoid E] [AddCommMonoid F] [Module R E] [Module R F] (f : E โ‰ƒโ‚—[R] F) (x y : Module.End R E) :
      f.conj (x * y) = f.conj x * f.conj y
      theorem LinearEquiv.conj_apply_one {R : Type u_1} {E : Type u_2} {F : Type u_3} [CommSemiring R] [AddCommMonoid E] [AddCommMonoid F] [Module R E] [Module R F] (f : E โ‰ƒโ‚—[R] F) :
      f.conj 1 = 1
      theorem LinearEquiv.conj_one {R : Type u_1} {E : Type u_2} [CommSemiring R] [AddCommMonoid E] [Module R E] :
      conj 1 = 1
      theorem LinearEquiv.one_apply {R : Type u_1} {E : Type u_2} [CommSemiring R] [AddCommMonoid E] [Module R E] (x : E) :
      1 x = x
      def LinearEquiv.innerConj {R : Type u_1} {E : Type u_2} {F : Type u_3} [CommSemiring R] [AddCommMonoid E] [AddCommMonoid F] [Module R E] [Module R F] (e : E โ‰ƒโ‚—[R] F) :

      Conjugate endomorphism algebras along a linear equivalence.

      Equations
      Instances For
        theorem LinearEquiv.innerConj_apply {R : Type u_1} {E : Type u_2} {F : Type u_3} [CommSemiring R] [AddCommMonoid E] [AddCommMonoid F] [Module R E] [Module R F] (e : E โ‰ƒโ‚—[R] F) (f : Module.End R E) :
        e.innerConj f = โ†‘e โˆ˜โ‚— f โˆ˜โ‚— โ†‘e.symm
        theorem Matrix.stdBasis_repr_eq_reshape {R : Type u_1} {I : Type u_2} {J : Type u_3} [Fintype I] [Finite J] [CommSemiring R] :
        theorem LinearMap.toLin_stdBasis_stdBasis {R : Type u_5} {I : Type u_4} {J : Type u_3} [Fintype I] [Fintype J] [CommSemiring R] [DecidableEq I] [DecidableEq J] {K : Type u_1} {L : Type u_2} [Fintype K] [Finite L] (x : Matrix (K ร— L) (I ร— J) R) :
        def LinearMap.toMatrixOfAlgEquiv {R : Type u_1} {I : Type u_2} {J : Type u_3} [Fintype I] [Fintype J] [CommSemiring R] [DecidableEq I] [DecidableEq J] :

        Identify endomorphisms of a matrix space with matrices on the reshaped index type.

        Equations
        Instances For
          theorem LinearMap.toMatrixOfAlgEquiv_apply' {R : Type u_1} {I : Type u_3} {J : Type u_2} [Fintype I] [Fintype J] [CommSemiring R] [DecidableEq I] [DecidableEq J] (x : Matrix I J R โ†’โ‚—[R] Matrix I J R) (ij kl : I ร— J) :
          toMatrixOfAlgEquiv x ij kl = x (Matrix.single kl.1 kl.2 1) ij.1 ij.2
          def Matrix.toLinOfAlgEquiv {R : Type u_1} {I : Type u_2} {J : Type u_3} [Fintype I] [Fintype J] [CommSemiring R] [DecidableEq I] [DecidableEq J] :

          The inverse algebra equivalence turning a matrix on I ร— J into an endomorphism of Matrix I J R.

          Equations
          Instances For
            theorem Matrix.toLinOfAlgEquiv_apply {R : Type u_3} {I : Type u_2} {J : Type u_1} [Fintype I] [Fintype J] [CommSemiring R] [DecidableEq I] [DecidableEq J] (x : Matrix (I ร— J) (I ร— J) R) (y : Matrix I J R) :
            def Matrix.rankOneStdBasis {R : Type u_1} [CommSemiring R] {I : Type u_2} {J : Type u_3} [DecidableEq I] [DecidableEq J] (ij kl : I ร— J) (r : R) :

            Rank-one endomorphism on the standard basis of a matrix space.

            Equations
            Instances For
              theorem Matrix.rankOneStdBasis_apply {R : Type u_3} [CommSemiring R] {I : Type u_1} {J : Type u_2} [DecidableEq I] [DecidableEq J] (ij kl : I ร— J) (r : R) (x : Matrix I J R) :
              (rankOneStdBasis ij kl r) x = single ij.1 ij.2 (r โ€ข r โ€ข x kl.1 kl.2)
              theorem Matrix.toLinOfAlgEquiv_eq {R : Type u_3} {I : Type u_2} {J : Type u_1} [Fintype I] [Fintype J] [CommSemiring R] [DecidableEq I] [DecidableEq J] (x : Matrix (I ร— J) (I ร— J) R) :
              toLinOfAlgEquiv x = โˆ‘ ij : I ร— J, โˆ‘ kl : I ร— J, x ij kl โ€ข rankOneStdBasis ij kl 1
              theorem innerAut_toMatrix {n : Type u_1} {๐•œ : Type u_2} [Fintype n] [DecidableEq n] [RCLike ๐•œ] (U : โ†ฅ(Matrix.unitaryGroup n ๐•œ)) :
              LinearMap.toMatrixOfAlgEquiv (Matrix.innerAut U) = Matrix.kroneckerMap (fun (x1 x2 : ๐•œ) => x1 * x2) (โ†‘U) (โ†‘U).conj
              theorem innerAut_coord {n : Type u_1} {๐•œ : Type u_2} [Fintype n] [DecidableEq n] [RCLike ๐•œ] (U : โ†ฅ(Matrix.unitaryGroup n ๐•œ)) (ij kl : n ร— n) :
              LinearMap.toMatrixOfAlgEquiv (Matrix.innerAut U) ij kl = โ†‘U ij.1 kl.1 * star (โ†‘U ij.2 kl.2)
              theorem innerAut_inv_coord {n : Type u_1} [Fintype n] [DecidableEq n] (U : โ†ฅ(Matrix.unitaryGroup n โ„‚)) (ij kl : n ร— n) :
              LinearMap.toMatrixOfAlgEquiv (Matrix.innerAut Uโปยน) ij kl = โ†‘U kl.2 ij.2 * star (โ†‘U kl.1 ij.1)