NLAlib.SpectralBisection.leafValues_writes
Library · theorem
A leaf's eigenvalues are copied from its stored real diagonal or initialized to literal zero. A readable source and disjoint output capacity suffice for total execution. A fragment of NLAlib.SpectralBisection.bisectionRoutine.
NLAlib.SpectralBisection.leafValues_writes {Op Tst K : Type} [Ops.Has Ops.ScalarOp Op]
{M : Ops.Machine K} {I : Ops.Interp Op Tst K} (hI : Ops.IsScalar M I) (diagonal : Bool)
{τ : Ops.Tape K} {m : Ops.Mem K} {n : ℕ} {a e : ℕ × ℕ} {v : ℕ → K}
(ha : m.store.HoldsVec a.1 a.2 (2 * (n * n)) v) (he : e.2 + n ≤ m.store.len e.1)
(hdisj : Ops.Fp.Disj (Ops.Store.inBlock e.1 e.2 n) (Ops.Store.inBlock a.1 a.2 (2 * (n * n)))) :
Ops.Writes Ops.Mode.total I τ (SpectralBisection.leafValues diagonal) (Ops.Env.frame [n] [a, e])
(Ops.Store.inBlock e.1 e.2 n)
(fun m' ↦
(m'.store.HoldsVec e.1 e.2 n fun i ↦
if diagonal = true then v (2 * (i * n + i)) else M.lit 0) ∧
m'.pos = m.pos)
mImport NLAlib.Eigensolvers.SpectralBisection.Leaf.