law first2_range

lawful-bytes@0.1.1.0 · proof_list.bend:442

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

442law first2_range:
443  for +xs: List<&2, U32>
444  for +from: Nat
445  for +to: Nat
446  for +c1: U32
447  for +c2: U32
448  for +hft: {Nat.is_le(from, to) == True{} : Bool}
449  for +ht: {Nat.is_le(to, List.length(&2, U32, xs)) == True{} : Bool}
450  {(Nat.is_le(from, D.first2(xs, from, to, c1, c2)) && Nat.is_le(D.first2(xs, from, to, c1, c2), to)) == True{} : Bool}

Uses (12)

Used by (1)