NLA-lib Explorer

NLAlib.ShiftedQR.FinishedHolds.cons

Library · theorem

Adding one finished range preserves all earlier output columns when their roots agree and their cells are outside the actual newly written range.

NLAlib.ShiftedQR.FinishedHolds.cons {n : ℕ} {b : ℕ × ℕ} {done : List (ℕ × ℕ)} {r : ℕ × ℕ}
  {roots roots' : Fin (n + 1) → ℂ} {st st' : Ops.Store ℝ}
  (h : ShiftedQR.FinishedHolds b done roots st)
  (hfr : Ops.Store.EqOff (Ops.Store.inBlock b.1 (b.2 + 2 * r.1) (2 * r.2)) st st')
  (hd : ∀ q ∈ done, q.1 + q.2 ≤ r.1 ∨ r.1 + r.2 ≤ q.1)
  (hagree : ∀ q ∈ done, subVec roots' q = subVec roots q)
  (hnew : HoldsMatrix (b.1, b.2 + 2 * r.1) (of fun i x ↦ subVec roots' r i) st') :
  ShiftedQR.FinishedHolds b (r :: done) roots' st'

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.Output.