NLA-lib Explorer

NLAlib.SpectralBisection.bottomResult_writes

Library · theorem

Literal identity and zero eigenvalues are initialized from output capacity alone. A fragment of NLAlib.SpectralBisection.bisectionRoutine.

NLAlib.SpectralBisection.bottomResult_writes {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  {M : Ops.Machine K} {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I) {τ : Ops.Tape K}
  {m : Ops.Mem K} {k : ℕ} {u e : ℕ × ℕ} (hl : m.Live [u, e])
  (hu : u.2 + 2 * (k * k) ≤ m.store.len u.1) (he : e.2 + k ≤ m.store.len e.1)
  (hdis : Ops.Fp.Disj (Ops.Store.inBlock u.1 u.2 (2 * (k * k))) (Ops.Store.inBlock e.1 e.2 k)) :
  Ops.Writes Ops.Mode.total I τ SpectralBisection.bottomResult (Ops.Env.frame [k] [u, e])
    (Ops.Store.inBlock u.1 u.2 (2 * (k * k)) ⊔ Ops.Store.inBlock e.1 e.2 k)
    (fun m' ↦ m'.pos = m.pos ∧ SpectralBisection.BottomOutput M k u e m'.store) m

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.BottomResult.