NLA-lib Explorer

NLAlib.SpectralBisection.signParameters_writes

Library · theorem

The sign parameters are the supplied tolerance and the actual product of the stored two and radius words. Source and destination regions may lie in one buffer when disjoint. A fragment of NLAlib.SpectralBisection.bisectionRoutine.

NLAlib.SpectralBisection.signParameters_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}
  {μ : Ops.Mem K} {d : ℕ} {lv par two sp : ℕ × ℕ} (R β t : K)
  (hR : μ.store.get lv.1 (lv.2 + 2 * d) = some R) (hβ : μ.store.get par.1 (par.2 + 2) = some β)
  (ht : μ.store.get two.1 two.2 = some t) (hroom : sp.2 + 2 ≤ μ.store.len sp.1)
  (hsep : (Ops.Fp.cells [(lv.1, lv.2 + 2 * d), two]).Disj (Ops.Store.inBlock sp.1 sp.2 2)) :
  Ops.Writes Ops.Mode.total I τ SpectralBisection.signParameters
    (Ops.Env.frame [d] [lv, par, two, sp]) (Ops.Store.inBlock sp.1 sp.2 2)
    (fun μ' ↦ μ'.pos = μ.pos ∧ μ'.store.readBlock sp.1 sp.2 2 = some [β, M.mul t R]) μ

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.NodeScalars.