NLA-lib Explorer

NLAlib.frobInner_eq_re_trace

Library · theorem

frobInner A B unfolds to \operatorname{Re} \operatorname{tr}(\mathbf{A}^{\mathsf{H}}\mathbf{B}). This is the only bridge between the two pairings.

NLAlib.frobInner_eq_re_trace.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3} {n : Type u_4}
  [Fintype m] [Fintype n] (A B : Matrix m n 𝕜) : frobInner A B = RCLike.re (Aᴴ * B).trace

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.