law to_nat_div

lawful-words@0.1.0.0 · LAWS.bend:166

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

166# As in Base, dividing by 0 gives 0 and the remainder is a; so does Nat.
167law to_nat_div:
168  for a: U32
169  for b: U32
170  {U32.to_nat(U32.div(a, b)) == Nat.div(U32.to_nat(a), U32.to_nat(b)) : Nat}

Uses (6)

Used by (0)

No other definition uses this definition.