NatToU32Bounds.add_one: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/nat_to_u32_bounds.bend as NatToU32Bounds Lines 29-33 of stelliferous@0.0.2.0/proofs/nat_to_u32_bounds.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/nat_to_u32_bounds.bend&start_line=29&end_line=33 import Base import stelliferous@0.0.2.0/proofs/u32_successor.bend as U32Successor def add_one(+i: U32) -> {U32.add(i,1) == U32.inc(i) : U32}: match i: case U32{+w}: %U32Successor.add_one(32n,w) : {U32{Word.add(32n,w,Word.inc(32n,Word.zero(32n)))} == U32{_} : U32} {==} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.inc https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.inc https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.zero https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/u32_successor.bend&name=add_one