NLA-lib Explorer

NLAlib.ShiftedQR.RangesFit.split

Library · theorem

If the ranges (lo, d) :: rs fit in the order N and i + 1 < d, then so do the ranges rs followed by the two children (lo + i + 1, d - i - 1) and (lo, i + 1) of the split.

NLAlib.ShiftedQR.RangesFit.split {N lo d i : ℕ} {rs : List (ℕ × ℕ)}
  (h : ShiftedQR.RangesFit N ((lo, d) :: rs)) (hi : i + 1 < d) :
  ShiftedQR.RangesFit N (rs ++ [(lo + i + 1, d - i - 1), (lo, i + 1)])

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistTermination.