law to_nat_shl

lawful-words@0.1.0.0 · LAWS.bend:195

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

195law to_nat_shl:
196  for a: U32
197  {U32.to_nat(U32.shl(a)) == Nat.mod(Nat.mul(U32.to_nat(a), 2n), Nat.pow(2n, 32n)) : Nat}

Uses (8)

Used by (0)

No other definition uses this definition.