law pre_get

lawful-fields@0.1.1.0 · proof_cut.bend:431

import lawful-fields@0.1.1.0/proof_cut.bend as ProofCut
import Base

431law pre_get:
432  for +xs: List<&2, U32>
433  for +s: Nat
434  for +x: U32
435  for +t: List<&2, U32>
436  for +hp: {List.take(&2, U32, List.drop(&2, U32, xs, s), 1n+List.length(&2, U32, t)) == x <> t : List<&2, U32>}
437  {List.get(&2, U32, xs, s) == Some{x} : Maybe<&2, U32>}

Uses (12)

Used by (1)