ProofZb.zb_byte: law of lawful-words@0.1.0.0 Import: import lawful-words@0.1.0.0/proof_zb.bend as ProofZb Lines 84-92 of lawful-words@0.1.0.0/proof_zb.bend: https://jend.leeeet.dev/read.txt?path=lawful-words@0.1.0.0/proof_zb.bend&start_line=84&end_line=92 import Base # One byte of the zero-byte test, with no borrow in. law zb_byte: for +n: Nat for +x: Word(8n) for +r: Word(n) for +kr: Word(n) for +hr: Word(n) {allz(Nat.add(8n, n), zf(Nat.add(8n, n), app8(n, x, r), app8(n, one8(), kr), app8(n, h8(), hr), True{})) == Bool.and(Bool.not(allz(8n, x)), allz(n, zf(n, r, kr, hr, True{}))) : Bool} Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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=Word https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=lawful-words@0.1.0.0/proof_zb.bend&name=allz https://jend.leeeet.dev/definition.txt?path=lawful-words@0.1.0.0/proof_zb.bend&name=app8 https://jend.leeeet.dev/definition.txt?path=lawful-words@0.1.0.0/proof_zb.bend&name=h8 https://jend.leeeet.dev/definition.txt?path=lawful-words@0.1.0.0/proof_zb.bend&name=one8 https://jend.leeeet.dev/definition.txt?path=lawful-words@0.1.0.0/proof_zb.bend&name=zf