law sub_value

bend-osdev-word64@0.1.1.0 · LAWS.bend:148

import bend-osdev-word64@0.1.1.0/LAWS.bend as LAWS
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W

148law sub_value:
149  for +a: W.W64
150  for +b: W.W64
151  for h: {Nat.is_le(W.W64.to_nat(b), W.W64.to_nat(a)) == True{} : Bool}
152  {W.W64.to_nat(W.W64.sub(a, b)) == Nat.sub(W.W64.to_nat(a), W.W64.to_nat(b)) : Nat}

Uses (20)

Used by (0)

No other definition uses this definition.