law capacity_rejection

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/blake/blake2s/laws.bend:44

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake2s/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2s/blake2s.bend as K

44law capacity_rejection:
45  for a: Array<U32>
46  for +n: Nat
47  for +capacity: U32
48  for invalid: {Nat.is_le(n,Nat.mul(4n,U32.to_nat(capacity))) == False{} : Bool}
49  {K.sized(n,(a,capacity)) == None{} : Maybe<&1,Array<U32>>}

Uses (12)

Used by (0)

No other definition uses this definition.