NLA-lib Explorer

NLAlib.SpectralBisection.StoresLevel.nodeAtSlot_size

Library · theorem

The actual size word is the literal of the typed mathematical slot lookup.

NLAlib.SpectralBisection.StoresLevel.nodeAtSlot_size {K : Type} {M : Ops.Machine K}
  {F : FloatMachine K ℕ ℕ} {n fuel d lo : ℕ} {R0 beta : K} {root : EighNode K} {ma sz lv : ℕ × ℕ}
  {m : Ops.Mem K} (h : SpectralBisection.StoresLevel M F n fuel R0 beta root d ma sz lv m)
  (hlo : lo < n) :
  m.store.get sz.1 (sz.2 + n * d + lo) =
    some (M.lit ↑(SpectralBisection.nodeAtSlot F n fuel R0 beta root d lo).k)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.SlotNodes.