NLA-lib Explorer

NLAlib.Ops.BackwardStep.of_unitarySimilar

Library · theorem

An exact unitary similarity is a backward step with error 0: if from every memory holding \mathbf{A} the run of c ends holding \mathbf{U}^{\mathsf{H}}\mathbf{A}\mathbf{U} for some \mathbf{U} with orthonormal columns, it is a backward step for the perturbed unitary similarity with error 0.

NLAlib.Ops.BackwardStep.of_unitarySimilar.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K}
  {τ : Ops.Tape K} {c : Ops.Stmt Op Tst} {ρ : Ops.Env} {F : Ops.Fp}
  {S S' : Matrix n n 𝕜 → Ops.Mem K → Prop}
  (h :
    ∀ (A : Matrix n n 𝕜) (m : Ops.Mem K),
      S A m →
        Ops.Writes md I τ c ρ F (fun m' ↦ ∃ U B, HasOrthonormalCols U ∧ B = Uᴴ * A * U ∧ S' B m')
          m) :
  Ops.BackwardStep md I τ c ρ F (fun ε A B ↦ IsPerturbedUnitarySimilar A B ε) S S' 0

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsUnitarySimilarity.