law fold_len

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/poly1305/step.bend:123

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/step.bend as Step
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

123law fold_len:
124  for +z: List<&2, U32>
125  for +hl: {Nat.is_le(V.len(z), 33n) == True{} : Bool}
126  {Nat.is_le(V.len(Li.fold(z)), 17n) == True{} : Bool}

Uses (16)

Used by (1)