ProofZb.zf: def of lawful-words@0.1.0.0 Import: import lawful-words@0.1.0.0/proof_zb.bend as ProofZb Lines 36-38 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=36&end_line=38 import Base # The zero-byte flags of v with subtrahend k, flag mask h and carry in c. def zf(+n: Nat, +v: Word(n), k: Word(n), h: Word(n), c: Bool) -> Word(n): Word.and(n, Word.and(n, Word.adc(n, v, k, True{}, c), Word.not(n, v)), h) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.adc https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.not