law take_all

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

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/src/crypto/poly1305/limbs.bend as Li
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/value.bend as V

139law take_all:
140  for +n: Nat
141  for +xs: List<&2, U32>
142  for +h: {Nat.is_le(V.len(xs), n) == True{} : Bool}
143  {Li.take(n, xs) == xs : List<&2, U32>}

Uses (10)

Used by (1)