NLA-lib Explorer

NLAlib.Ops.Examples.index_ctlInterp_toNat

Library · theorem

The index conversion toNat is exact on one cell.

NLAlib.Ops.Examples.index_ctlInterp_toNat (x : ℕ × ℕ) (m : Ops.Mem ℕ) (v : ℕ)
  (h : m.store.get x.1 x.2 = some v) :
  Ops.Examples.ctlInterp.index Ops.Examples.CTst.toNat [x] m = some v

Full source on GitHub

Import NLAlib.Ops.Examples.Control.