Direct plain list lookup and first occurrence #
Unary dropping uses the existing full-prefix fold and the codec's bare tail machine. Fixed-default lookup uses the bare head machine, without an inhabitedness assumption. First occurrence uses the original credited Boolean/counter fold.
Drop a unary number of elements, retaining arbitrary sized list encodings.
Read an optional head in any list encoding, without an inhabitant of the element type.
Look up a computed unary index, returning none outside a computed list. The list certificate
determines its encoding before proof search checks the corresponding operation and size rules.
Lookup with an explicit default and unary index, in any sized list encoding.
The first occurrence, or the list length when absent; the returned index is unary.
Find a computed value's first occurrence in a computed list.