law array_find_same

bend-osdev-algo@0.1.0.0 · LAWS.bend:310

import bend-osdev-algo@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-array@0.1.0.0/array.bend as AR
import bend-osdev-algo@0.1.0.0/bsearch.bend as S

310law array_find_same:
311  for +d: Nat
312  for a: Array<U32>
313  for hp: {AR.Arrays.is_perfect(U32, d, a) == True{} : Bool}
314  for hd: {Nat.is_lt(d, 32n) == True{} : Bool}
315  for n: U32
316  for key: U32
317  {Pair.fst(Array<U32>, Maybe<&2, U32>, S.bsearch.array_find(a, n, key)) == a : Array<U32>}

Uses (11)

Used by (0)

No other definition uses this definition.