NLA-lib Explorer

NLAlib.ShiftedQR.roundedAbort_writes_schurCore

Library · theorem

The abort keeps the value-free core: on a machine whose natural literals up to n + 1 are exact, from the geometry of the worklist in Schur mode with some matrix stored, a count \ell \le n + 1 and the accumulator within its factor, roundedAbort writes the failure word and the stack count and leaves the core NLAlib.ShiftedQR.SchurStoredCore (an empty stack). Shared by the trees of NLAlib.ShiftedQR.roundedProcessLargeWith, NLAlib.ShiftedQR.roundedWorklistWith, NLAlib.ShiftedQR.roundedLargeRest.

NLAlib.ShiftedQR.roundedAbort_writes_schurCore {O Q : Type} [Ops.Has Ops.IndexOp O]
  {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} (hL : Ops.IsIndexLit Mch I) {n : ℕ}
  (hN : Ops.IsExactNatLit id Mch (n + 1)) {np : ℕ} {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {P : Prop}
  {U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {u εL : ℝ} {m j ℓ : ℕ} {a t p uo f st w ub r : ℕ × ℕ}
  (hG : ShiftedQR.SchurGeometry (n + 1) np a t p uo f st w ub r μ)
  (hA : ∃ A, HoldsMatrix a A μ.store) (hℓ : ℓ ≤ n + 1)
  (hacc : ShiftedQR.AccumIf P U ((1 + 24 * u) ^ (j * m) * (1 + εL) ^ ℓ) uo μ) :
  Ops.Writes Ops.Mode.total I τ ShiftedQR.roundedAbort (Ops.Env.frame [] [st, f])
    (Ops.Store.inBlock f.1 f.2 1 ⊔ Ops.Store.inBlock st.1 st.2 1)
    (ShiftedQR.SchurStoredCore n P U u εL m a uo f st j) μ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistTermination.