NLA-lib Explorer

NLAlib.SpectralBisection.StoresRecords.next_inputs

Library · theorem

Every node reached at the next depth reads the actual packed matrix and size produced by its reached parent's represented mathematical outcome.

NLAlib.SpectralBisection.StoresRecords.next_inputs {K : Type} {M : Ops.Machine K}
  {F : FloatMachine K ℕ ℕ} {n fuel d lo : ℕ} {R0 beta : K} {root y : EighNode K} {path : List Bool}
  {ma ua qa ea sz kd kp : ℕ × ℕ} {m : Ops.Mem K}
  (hRecords : SpectralBisection.StoresRecords M F n fuel R0 beta root d ma ua qa ea sz kd kp m)
  (hlen : path.length = d + 1) (h : eighLoc F n fuel R0 beta 0 0 root path = some (lo, y)) :
  m.store.get sz.1 (sz.2 + n * (d + 1) + lo) = some (M.lit ↑y.k) ∧
    m.store.readBlock ma.1 (ma.2 + 2 * (n * n) * (d + 1) + 2 * n * lo) (2 * (y.k * y.k)) =
      some ((Ops.EntryCodec.pair K).packFinMatrix y.A)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.LevelSuccessor.