NLA-lib Explorer

NLAlib.Ops.Hermitian.completeUpper_eq_hermFrom

Library · theorem

Logical upper and diagonal words yield exactly the existing finite mathematical Hermitian completion. This identifies stored words without assuming exact scalar arithmetic.

NLAlib.Ops.Hermitian.completeUpper_eq_hermFrom {K Su Sg : Type} (M : Ops.Machine K) (dec : K → ℝ)
  (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (unif : K → Su → K) (normal : Sg → K × K) (n : ℕ)
  (U : ℕ → ℕ → K × K) (D : ℕ → K) :
  (of fun i j ↦
      Ops.Hermitian.completeUpper M (fun i j ↦ if i = j then (D i, M.lit 0) else U i j) ↑i ↑j) =
    (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal).hermFrom
      (fun i j ↦ U ↑i ↑j) fun i ↦ D ↑i

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsHermitian.