law to_nat_mul

lawful-words@0.1.0.0 · LAWS.bend:118

import lawful-words@0.1.0.0/LAWS.bend as LAWS
import Base

118law to_nat_mul:
119  for a: U32
120  for b: U32
121  {U32.to_nat(U32.mul(a, b)) == Nat.mod(Nat.mul(U32.to_nat(a), U32.to_nat(b)), Nat.pow(2n, 32n)) : Nat}

Uses (8)

Used by (0)

No other definition uses this definition.