NLA-lib Explorer

NLAlib.ShiftedQR.shIterationOutcome_of_mem

Library · theorem

The outcome of an iteration read back from its measurable form (NLAlib.ShiftedQR.measurableSet_iterationOutcome) at a memory holding \mathbf{H}.

NLAlib.ShiftedQR.shIterationOutcome_of_mem {n : ℕ} {u : ℝ} {k : ℕ}
  {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {γ tv ε : ℝ} {a : ℕ × ℕ} {F : Ops.Fp}
  {m m' : Ops.Mem ℝ} (hH : HoldsMatrix a H m.store)
  (h :
    Ops.Store.EqOff F m.store m'.store ∧
      (∀ j < 2 * ((n + 1) * (n + 1)), (m'.store.get a.1 (a.2 + j)).isSome = true) ∧
        IsPerturbedUnitarySimilar (storedMatrix a (n + 1) (n + 1) m.store)
            (storedMatrix a (n + 1) (n + 1) m'.store) ε ∧
          IsUpperHessenberg (storedMatrix a (n + 1) (n + 1) m'.store) ∧
            ((∃ i,
                n ≤ ↑i + k ∧
                  (1 - u) ^ 2 * ‖storedMatrix a (n + 1) (n + 1) m'.store i.succ i.castSucc‖ ^ 2 ≤
                    tv) ∨
              hessenbergPotential k (storedMatrix a (n + 1) (n + 1) m'.store) ≤
                1.002 * (1 - γ) * hessenbergPotential k (storedMatrix a (n + 1) (n + 1) m.store))) :
  Ops.Store.EqOff F m.store m'.store ∧ ShiftedQR.ShIterationOutcome u k H γ tv ε a m'

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedIteration.