law z_ev

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

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/proofs/crypto/poly1305/value.bend as V

337law z_ev:
338  for +one: Nat
339  for +h1: {one == 1n : Nat}
340  for +r: List<&2, U32>
341  for +h: List<&2, U32>
342  for +c: List<&2, U32>
343  for +hh: {V.fit_all(h, 8n) == True{} : Bool}
344  for +hcf: {V.fit_all(c, 8n) == True{} : Bool}
345  for +hrl: {V.len(r) == 16n : Nat}
346  for +hrf: {V.fit_all(r, 8n) == True{} : Bool}
347  {V.ev(zz(r, h, c)) == Nat.mul(Nat.add(V.ev(h), V.ev(c)), V.ev(r)) : Nat}

Uses (26)

Used by (1)