law first_range
lawful-bytes@0.1.1.0 · proof_list.bend:213
import lawful-bytes@0.1.1.0/proof_list.bend as ProofList
import Base
import lawful-bytes@0.1.1.0/defs.bend as D
213law first_range:
214 for +xs: List<&2, U32>
215 for +from: Nat
216 for +to: Nat
217 for +c: U32
218 for +hft: {Nat.is_le(from, to) == True{} : Bool}
219 for +ht: {Nat.is_le(to, List.length(&2, U32, xs)) == True{} : Bool}
220 {(Nat.is_le(from, D.first(xs, from, to, c)) && Nat.is_le(D.first(xs, from, to, c), to)) == True{} : Bool}