law mul_ev

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

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/spec/lib/common.bend as C
import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Li

181law mul_ev:
182  for +x: List<&2, U32>
183  for +r: List<&2, U32>
184  for +bx: Nat
185  for +br: Nat
186  for +hx: {le_all(x, bx) == True{} : Bool}
187  for +hr: {le_all(r, br) == True{} : Bool}
188  for +hf: {C.fits(32n, Nat.mul(List.length(&2, U32, r), Nat.mul(bx, br))) == True{} : Bool}
189  {ev(Li.mul(x, r)) == Nat.mul(ev(x), ev(r)) : Nat}

Uses (33)

Used by (1)