NLA-lib Explorer

NLAlib.Ops.Interp.IsIndex

Library · def

The exactness of an index conversion, imposed by the access model: the number is the function f of the input cells, and the conversion fails exactly where f does (a negative or non-integral value, a value that is not a number): no clamping.

NLAlib.Ops.Interp.IsIndex {Op Tst K : Type} (I : Ops.Interp Op Tst K) (o : Tst)
  (f : List K → Option ℕ) : Prop

Full source on GitHub

Import NLAlib.Ops.Contract.