PROOF.fixz: def of bend-osdev-gf@0.1.1.0 Import: import bend-osdev-gf@0.1.1.0/PROOF.bend as PROOF Lines 1875-1878 of bend-osdev-gf@0.1.1.0/PROOF.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-gf@0.1.1.0/PROOF.bend&start_line=1875&end_line=1878 import Base import bend-osdev-gf@0.1.1.0/gf.bend as G # a nonzero byte as itself, and 0 as 1, so that the per-byte facts hold # for every byte and need no hypothesis while they are split into cases def fixz(+x: U32) -> U32: Bool.pick(U32, G.Gf8.is_zero(x), 1, x) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8.is_zero