NLAlib.ShiftedQR.roundedAbort_writes
Library · theorem
The abort writes the failure word 1 and the stack count 0, on any machine whose literals 0 and 1 are exact. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.ShiftedQR.roundedAbort_writes {O Q : Type} [Ops.Has Ops.IndexOp O] {M : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} (hL : Ops.IsIndexLit M I) {B : ℕ} (hN : Ops.IsExactNatLit id M B)
(hB : 1 ≤ B) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {st f : ℕ × ℕ} (hst : st.2 < m.store.len st.1)
(hf : f.2 < m.store.len f.1)
(hd : Ops.Fp.Disj (Ops.Store.inBlock f.1 f.2 1) (Ops.Store.inBlock st.1 st.2 1)) :
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)
(fun m' ↦ m'.store.get f.1 f.2 = some 1 ∧ m'.store.get st.1 st.2 = some 0) mImport NLAlib.Eigensolvers.ShiftedQR.RoundedSolveBackward.