NLA-lib Explorer

NLAlib.SpectralBisection.readsOnly_activeStoresStep

Library · theorem

Active stored outcomes have exactly their result footprint; inactive slots read no cells.

NLAlib.SpectralBisection.readsOnly_activeStoresStep {K : Type} (M : Ops.Machine K) (R : K)
  (n d lo : ℕ) (ma ua qa ea sz kd kp : ℕ × ℕ) {k : ℕ} (step : EighStep K k) (pos : ℕ) :
  Ops.Store.ReadsOnly (SpectralBisection.activeStepFp n d lo ma ua qa ea sz kd kp step) fun s ↦
    if 0 < k then
      SpectralBisection.StoresStep M R n d lo ma ua qa ea sz kd kp step { store := s, pos := pos }
    else True

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.StepRead.