def sub_value
bend-collections-laws-math@1.0.0.0 · proofs/math/typed/w64add.bend:332
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64add.bend as W64add
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/w64.bend as SW
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU
332def sub_value(+a: WU.U64, +b: WU.U64, +h: {Nat.is_le(SW.value(b), SW.value(a)) == True{} : Bool}) -> SW.Sub.value(a, b, h):
333 match a b:
334 case WU.U64{+al, +ah} WU.U64{+bl, +bh}:
335 subval(1n, {==}, al, ah, bl, bh, h)