LAWS.ctz_first_set: law of bend-osdev-algo@0.1.0.0 Import: import bend-osdev-algo@0.1.0.0/LAWS.bend as LAWS Lines 79-83 of bend-osdev-algo@0.1.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-algo@0.1.0.0/LAWS.bend&start_line=79&end_line=83 import Base import bend-osdev-algo@0.1.0.0/algo.bend as A law ctz_first_set: for x: U32 for k: Nat for e: {A.bits32.first_set(x) == Some{k} : Maybe<&2, Nat>} {A.bits32.ctz(x) == k : Nat} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-algo@0.1.0.0/PROOF.bend&name=bitw.ctz_first_set https://jend.leeeet.dev/definition.txt?path=bend-osdev-algo@0.1.0.0/algo.bend&name=bits32.ctz https://jend.leeeet.dev/definition.txt?path=bend-osdev-algo@0.1.0.0/algo.bend&name=bits32.first_set https://jend.leeeet.dev/definition.txt?path=bend-osdev-algo@0.1.0.0/algo.bend&name=bits32.word