NLA-lib Explorer

NLAlib.Ops.BackwardStep.of_specNorm_sub_le

Library · theorem

A step that returns an exact unitary similarity up to an error is a backward step: if from every memory holding \mathbf{A} the run of c ends holding \mathbf{B} with \|\mathbf{B} - \mathbf{U}^{\mathsf{H}}\mathbf{A}\mathbf{U}\|_2 \le \varepsilon for some \mathbf{U} with orthonormal columns, it is a backward step for the perturbed unitary similarity with error \varepsilon. The form a rounded kernel contract gives.

NLAlib.Ops.BackwardStep.of_specNorm_sub_le.{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 ∧ specNorm (B - Uᴴ * A * U) ≤ ε ∧ S' B m') m) :
  Ops.BackwardStep md I τ c ρ F (fun ε A B ↦ IsPerturbedUnitarySimilar A B ε) S S' ε

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsUnitarySimilarity.