NLAlib.SpectralBisection.BottomOutput.readBlocks
Library · theorem
The boundary predicate exposes the two actual packed mathematical output blocks.
NLAlib.SpectralBisection.BottomOutput.readBlocks {K : Type} {M : Ops.Machine K} {k : ℕ}
{u e : ℕ × ℕ} {s : Ops.Store K} (h : SpectralBisection.BottomOutput M k u e s) (pos : ℕ) :
{ store := s, pos := pos }.readBlocks [u, e] [2 * (k * k), k] =
some
[(Ops.EntryCodec.pair K).packFinMatrix
(of fun i j ↦ (if i = j then M.lit 1 else M.lit 0, M.lit 0)),
List.replicate k (M.lit 0)]Import NLAlib.Eigensolvers.SpectralBisection.BottomResult.