law fit_split

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/poly1305/value.bend:703

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/value.bend as Value
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Li

703law fit_split:
704  for +n: Nat
705  for +xs: List<&2, U32>
706  for +k: Nat
707  for +h1: {fit_all(Li.take(n, xs), k) == True{} : Bool}
708  for +h2: {fit_all(Li.skip(n, xs), k) == True{} : Bool}
709  {fit_all(xs, k) == True{} : Bool}

Uses (12)

Used by (1)