law first2_hit

lawful-bytes@0.1.1.0 · proof_list.bend:472

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

472law first2_hit:
473  for +xs: List<&2, U32>
474  for +from: Nat
475  for +to: Nat
476  for +c1: U32
477  for +c2: U32
478  for +hft: {Nat.is_le(from, to) == True{} : Bool}
479  for +ht: {Nat.is_le(to, List.length(&2, U32, xs)) == True{} : Bool}
480  for +hlt: {Nat.is_lt(D.first2(xs, from, to, c1, c2), to) == True{} : Bool}
481  {D.has2(xs, D.first2(xs, from, to, c1, c2), c1, c2) == True{} : Bool}

Uses (12)

Used by (1)