NLA-lib Explorer

NLAlib.HoldsSlottedLog.of_validate

Library · theorem

Validating the pending slot: a store that agrees with a stored log off the valid word of the pending slot, and holds a positive word there, holds the log with the pending slot accepted.

NLAlib.HoldsSlottedLog.of_validate {lg : ℕ × ℕ} {ns w : ℕ} {L : List (Option (List GivensEntry))}
  {P : List GivensEntry} {s s' : Ops.Store ℝ} {v : ℝ} (h : HoldsSlottedLog lg ns w L P s)
  (hL : L.length < ns)
  (hfr : Ops.Store.EqOff (Ops.Store.inBlock lg.1 (lg.2 + L.length * (1 + 5 * w)) 1) s s')
  (hv : s'.get lg.1 (lg.2 + L.length * (1 + 5 * w)) = some v) (hv0 : 0 < v) :
  HoldsSlottedLog lg ns w (L ++ [some P]) [] s'

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensLog.