WordSubtraction.encoded_subtract_add: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/word_subtraction.bend as WordSubtraction Lines 90-92 of stelliferous@0.0.2.0/proofs/word_subtraction.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/word_subtraction.bend&start_line=90&end_line=92 import Base import stelliferous@0.0.2.0/proofs/word_arithmetic.bend as WordArithmetic def encoded_subtract_add(+a: Nat,+b: Nat) -> {U32.sub(U32.from_nat(Nat.add(a,b)),U32.from_nat(b)) == U32.from_nat(a) : U32}: %WordArithmetic.native_add(a,b) : {U32.sub(_,U32.from_nat(b)) == U32.from_nat(a) : U32} subtract_add(U32.from_nat(a),U32.from_nat(b)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/word_arithmetic.bend&name=native_add https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/word_subtraction.bend&name=subtract_add