NLA-lib Explorer

NLAlib.Ops.IsToNat

Library · def

The contract of the conversion to an index: the floor of a nonnegative value; failure on a negative value.

NLAlib.Ops.IsToNat {K Op Tst : Type} [Ops.Has Ops.IdxTst Tst] (dec : K → ℝ)
  (I : Ops.Interp Op Tst K) : Prop

Full source on GitHub

Import NLAlib.Ops.Catalog.Compare.