NLA-lib Explorer

NLAlib.Ops.Examples.IsHalving

Library · structure

The contracts of the halving loop: half is a function that halves the decoded number, and the test nz is exact.

NLAlib.Ops.Examples.IsHalving {K : Type} (dec : K → ℕ) (h : K → K)
  (I : Ops.Interp Ops.Examples.HOp Ops.Examples.HTst K) : Prop

Full source on GitHub

Import NLAlib.Ops.Examples.Loops.