law word_sub_not
import bend-kit-lemmas@0.1.1.0/lemmas.bend as Lemmasimport Base
542# Subtraction is addition of the complement with a carry in.
543law word_sub_not:
544 for n: Nat
545 for a: Word(n)
546 for b: Word(n)
547 for +c: Bool
548 {Word.adc(n, a, b, True{}, c) == Word.adc(n, a, Word.not(n, b), False{}, c) : Word(n)}