NLA-lib Explorer

NLAlib.Schur.conjTranspose_writes_holdsMatrix

Library · theorem

Standard rounding

The stored conjugate transpose: NLAlib.Ops.PairMatrix.conjTranspose of a stored square \mathbf{U} into a block apart from it stores \mathbf{U}^{\mathsf{H}} under the standard model (negation is exact), on every tape. A step in the proof of NLAlib.Schur.schurResidualCheck_meets.

NLAlib.Schur.conjTranspose_writes_holdsMatrix {O Q : Type} [Ops.Has Ops.ScalarOp O]
  {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar M I)
  (hM : Ops.StdModel u id M) {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {N : ℕ} {x y : ℕ × ℕ}
  {U : Matrix (Fin N) (Fin N) ℂ} (hU : HoldsMatrix x U μ.store) (hl : μ.Live [x, y])
  (hy : y.2 + 2 * (N * N) ≤ μ.store.len y.1)
  (hxy :
    Ops.Fp.Disj (Ops.Store.inBlock x.1 x.2 (2 * (N * N)))
      (Ops.Store.inBlock y.1 y.2 (2 * (N * N)))) :
  Ops.Writes Ops.Mode.total I τ Ops.PairMatrix.conjTranspose (Ops.Env.frame [N, N] [x, y])
    (Ops.Store.inBlock y.1 y.2 (2 * (N * N))) (fun μ' ↦ μ'.pos = μ.pos ∧ HoldsMatrix y Uᴴ μ'.store)
    μ

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.ResidualCheck.