The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.Normed.Algebra.MatrixExponential

18 declarations. Mathlib docs ยท Source

Lemmas about the matrix exponential

In this file, we provide results about NormedSpace.exp on Matrixs over a topological or normed algebra. Note that generic results over all topological spaces such as NormedSpace.exp_zero can be used on matrices without issue, so are not repeated here. The topological results specific to matrices are:

  • Matrix.exp_transpose
  • Matrix.exp_conjTranspose
  • Matrix.exp_diagonal
  • Matrix.exp_blockDiagonal
  • Matrix.exp_blockDiagonal'

Lemmas like NormedSpace.exp_add_of_commute require a canonical norm on the type; while there are multiple sensible choices for the norm of a Matrix (Matrix.normedAddCommGroup, Matrix.frobeniusNormedAddCommGroup, Matrix.linftyOpNormedAddCommGroup), none of them are canonical. In an application where a particular norm is chosen using attribute [local instance], then the usual lemmas about NormedSpace.exp are fine. When choosing a norm is undesirable, the results in this file can be used.

In this file, we copy across the lemmas about NormedSpace.exp, but hide the requirement for a norm inside the proof.

  • Matrix.exp_add_of_commute
  • Matrix.exp_sum_of_commute
  • Matrix.exp_nsmul
  • Matrix.isUnit_exp
  • Matrix.exp_units_conj
  • Matrix.exp_units_conj'

Additionally, we prove some results about matrix.has_inv and matrix.div_inv_monoid, as the results for general rings are instead stated about Ring.inverse:

  • Matrix.exp_neg
  • Matrix.exp_zsmul
  • Matrix.exp_conj
  • Matrix.exp_conj'

TODO

  • Show that Matrix.det (NormedSpace.exp A) = NormedSpace.exp (Matrix.trace A)

References

  • https://en.wikipedia.org/wiki/Matrix_exponential

theorem Matrix.exp_diagonal E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : Ring ๐”ธ]
  [inst_3 : TopologicalSpace ๐”ธ] [inst_4 : IsTopologicalRing ๐”ธ] [T2Space ๐”ธ] [Algebra โ„š ๐”ธ] (v : m โ†’ ๐”ธ),
  NormedSpace.exp (Matrix.diagonal v) = Matrix.diagonal (NormedSpace.exp v)

theorem Matrix.exp_blockDiagonal E1 #

โˆ€ {m : Type u_1} {n : Type u_2} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : Fintype n]
  [inst_3 : DecidableEq n] [inst_4 : Ring ๐”ธ] [inst_5 : TopologicalSpace ๐”ธ] [inst_6 : IsTopologicalRing ๐”ธ] [T2Space ๐”ธ]
  [Algebra โ„š ๐”ธ] (v : m โ†’ Matrix n n ๐”ธ),
  NormedSpace.exp (Matrix.blockDiagonal v) = Matrix.blockDiagonal (NormedSpace.exp v)

theorem Matrix.exp_blockDiagonal' E1 #

โˆ€ {m : Type u_1} {n' : m โ†’ Type u_3} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m]
  [inst_2 : (i : m) โ†’ Fintype (n' i)] [inst_3 : (i : m) โ†’ DecidableEq (n' i)] [inst_4 : Ring ๐”ธ]
  [inst_5 : TopologicalSpace ๐”ธ] [inst_6 : IsTopologicalRing ๐”ธ] [T2Space ๐”ธ] [Algebra โ„š ๐”ธ]
  (v : (i : m) โ†’ Matrix (n' i) (n' i) ๐”ธ),
  NormedSpace.exp (Matrix.blockDiagonal' v) = Matrix.blockDiagonal' (NormedSpace.exp v)

theorem Matrix.exp_conjTranspose E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : Ring ๐”ธ]
  [inst_3 : TopologicalSpace ๐”ธ] [inst_4 : IsTopologicalRing ๐”ธ] [T2Space ๐”ธ] [inst_6 : StarRing ๐”ธ] [ContinuousStar ๐”ธ]
  (A : Matrix m m ๐”ธ), NormedSpace.exp A.conjTranspose = (NormedSpace.exp A).conjTranspose

theorem Matrix.IsHermitian.exp E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : Ring ๐”ธ]
  [inst_3 : TopologicalSpace ๐”ธ] [inst_4 : IsTopologicalRing ๐”ธ] [T2Space ๐”ธ] [inst_6 : StarRing ๐”ธ] [ContinuousStar ๐”ธ]
  {A : Matrix m m ๐”ธ}, A.IsHermitian โ†’ (NormedSpace.exp A).IsHermitian

theorem Matrix.BlockTriangular.exp E1 #

โˆ€ {m : Type u_1} {ฮฑ : Type u_4} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : Ring ๐”ธ]
  [inst_3 : TopologicalSpace ๐”ธ] [inst_4 : IsTopologicalRing ๐”ธ] [T2Space ๐”ธ] [inst_6 : LinearOrder ฮฑ] [Algebra โ„š ๐”ธ]
  {M : Matrix m m ๐”ธ} {b : m โ†’ ฮฑ}, M.BlockTriangular b โ†’ (NormedSpace.exp M).BlockTriangular b

theorem Matrix.exp_transpose E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : CommRing ๐”ธ]
  [inst_3 : TopologicalSpace ๐”ธ] [inst_4 : IsTopologicalRing ๐”ธ] [Algebra โ„š ๐”ธ] [T2Space ๐”ธ] (A : Matrix m m ๐”ธ),
  NormedSpace.exp A.transpose = (NormedSpace.exp A).transpose

theorem Matrix.IsSymm.exp E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : CommRing ๐”ธ]
  [inst_3 : TopologicalSpace ๐”ธ] [inst_4 : IsTopologicalRing ๐”ธ] [Algebra โ„š ๐”ธ] [T2Space ๐”ธ] {A : Matrix m m ๐”ธ},
  A.IsSymm โ†’ (NormedSpace.exp A).IsSymm

theorem Matrix.exp_add_of_commute E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedRing ๐”ธ] [NormedAlgebra โ„š ๐”ธ]
  [CompleteSpace ๐”ธ] (A B : Matrix m m ๐”ธ), Commute A B โ†’ NormedSpace.exp (A + B) = NormedSpace.exp A * NormedSpace.exp B

theorem Matrix.exp_sum_of_commute E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedRing ๐”ธ] [NormedAlgebra โ„š ๐”ธ]
  [CompleteSpace ๐”ธ] {ฮน : Type u_6} (s : Finset ฮน) (f : ฮน โ†’ Matrix m m ๐”ธ) (h : (โ†‘s).Pairwise (Function.onFun Commute f)),
  NormedSpace.exp (โˆ‘ i โˆˆ s, f i) = s.noncommProd (fun i โ†ฆ NormedSpace.exp (f i)) โ‹ฏ

theorem Matrix.exp_nsmul E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedRing ๐”ธ] [NormedAlgebra โ„š ๐”ธ]
  [CompleteSpace ๐”ธ] (n : โ„•) (A : Matrix m m ๐”ธ), NormedSpace.exp (n โ€ข A) = NormedSpace.exp A ^ n

theorem Matrix.isUnit_exp E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedRing ๐”ธ] [NormedAlgebra โ„š ๐”ธ]
  [CompleteSpace ๐”ธ] (A : Matrix m m ๐”ธ), IsUnit (NormedSpace.exp A)

theorem Matrix.exp_units_conj E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedRing ๐”ธ] [NormedAlgebra โ„š ๐”ธ]
  [CompleteSpace ๐”ธ] (U : (Matrix m m ๐”ธ)หฃ) (A : Matrix m m ๐”ธ),
  NormedSpace.exp (โ†‘U * A * โ†‘Uโปยน) = โ†‘U * NormedSpace.exp A * โ†‘Uโปยน

theorem Matrix.exp_units_conj' E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedRing ๐”ธ] [NormedAlgebra โ„š ๐”ธ]
  [CompleteSpace ๐”ธ] (U : (Matrix m m ๐”ธ)หฃ) (A : Matrix m m ๐”ธ),
  NormedSpace.exp (โ†‘Uโปยน * A * โ†‘U) = โ†‘Uโปยน * NormedSpace.exp A * โ†‘U

theorem Matrix.exp_neg E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedCommRing ๐”ธ]
  [NormedAlgebra โ„š ๐”ธ] [CompleteSpace ๐”ธ] (A : Matrix m m ๐”ธ), NormedSpace.exp (-A) = (NormedSpace.exp A)โปยน

theorem Matrix.exp_zsmul E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedCommRing ๐”ธ]
  [NormedAlgebra โ„š ๐”ธ] [CompleteSpace ๐”ธ] (z : โ„ค) (A : Matrix m m ๐”ธ), NormedSpace.exp (z โ€ข A) = NormedSpace.exp A ^ z

theorem Matrix.exp_conj E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedCommRing ๐”ธ]
  [NormedAlgebra โ„š ๐”ธ] [CompleteSpace ๐”ธ] (U A : Matrix m m ๐”ธ),
  IsUnit U โ†’ NormedSpace.exp (U * A * Uโปยน) = U * NormedSpace.exp A * Uโปยน

theorem Matrix.exp_conj' E1 #

โˆ€ {m : Type u_1} {๐”ธ : Type u_5} [inst : Fintype m] [inst_1 : DecidableEq m] [inst_2 : NormedCommRing ๐”ธ]
  [NormedAlgebra โ„š ๐”ธ] [CompleteSpace ๐”ธ] (U A : Matrix m m ๐”ธ),
  IsUnit U โ†’ NormedSpace.exp (Uโปยน * A * U) = Uโปยน * NormedSpace.exp A * U