law take_prefix

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/poly1305/mac.bend:59

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/mac.bend as Mac
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/poly1305.bend as R
import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Li

59law take_prefix:
60  for +n: Nat
61  for +xs: List<&2, U32>
62  {Li.take(n, xs) == R.prefix(n, xs) : List<&2, U32>}

Uses (6)

Used by (3)