law word_sub_value
import bend-osdev-u32@0.1.0.0/LAWS.bend as LAWSimport Base
115law word_sub_value:
116 for +n: Nat
117 for +a: Word(n)
118 for +b: Word(n)
119 for h: {Nat.is_le(Word.to_nat(n, b), Word.to_nat(n, a)) == True{} : Bool}
120 {Word.to_nat(n, Word.sub(n, a, b)) == Nat.sub(Word.to_nat(n, a), Word.to_nat(n, b)) : Nat}