law hsplit

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/poly1305/final.bend:208

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

208law hsplit:
209  for +h: List<&2, U32>
210  for +hh: {ST.inv(h) == True{} : Bool}
211  {V.ev(h) == Nat.add(V.ev(Li.take(16n, h)), V.pos(16n, V.v(Li.hd0(Li.skip(16n, h))))) : Nat}

Uses (21)

Used by (2)