law u32_sub_value

bend-osdev-u32@0.1.0.0 · LAWS.bend:186

import bend-osdev-u32@0.1.0.0/LAWS.bend as LAWS
import Base

186law u32_sub_value:
187  for +a: U32
188  for +b: U32
189  for h: {Nat.is_le(U32.to_nat(b), U32.to_nat(a)) == True{} : Bool}
190  {U32.to_nat(U32.sub(a, b)) == Nat.sub(U32.to_nat(a), U32.to_nat(b)) : Nat}

Uses (8)

Used by (2)