NLA-lib Explorer

NLAlib.Ops.Examples.halveInv_cap

Library · theorem

At the cap, if the fuel is at least the bit length, the word decodes to zero.

NLAlib.Ops.Examples.halveInv_cap {K : Type} {dec : K → ℕ} {m : Ops.Mem K} {x : ℕ × ℕ} {v k : ℕ}
  (hk : v.size ≤ k) (m' : Ops.Mem K) (hinv : Ops.Examples.HalveInv dec m x v k m') :
  ∃ a', m' = m.upd x a' ∧ dec a' = 0

Full source on GitHub

Import NLAlib.Ops.Examples.Loops.