ProofWord.wbit: def of lawful-words@0.1.0.0 Import: import lawful-words@0.1.0.0/proof_word.bend as ProofWord Lines 777-789 of lawful-words@0.1.0.0/proof_word.bend: https://jend.leeeet.dev/read.txt?path=lawful-words@0.1.0.0/proof_word.bend&start_line=777&end_line=789 import Base # Bit k of a word (False from n up). def wbit(n: Nat, w: Word(n), k: Nat) -> Bool: match n: case 0n: False{} case 1n+p: match w: case WCon{b, t}: match k: case 0n: b case 1n+j: wbit(p, t, j) Uses (4): 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.Con