PROOF.bits.sub_or_r: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/PROOF.bend as PROOF Lines 188-201 of bend-osdev-caps@0.1.0.0/PROOF.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/PROOF.bend&start_line=188&end_line=201 import Base import bend-osdev-caps@0.1.0.0/caps.bend as C def bits.sub_or_r(+n: Nat, +x: Word(n), +c: Word(n)) -> {C.CapBits.subset(n, c, Word.or(n, x, c)) == True{} : Bool}: match n: case 0n: {==} case 1n+n1: match x c: case WCon{True{}, +xt} WCon{True{}, +ct}: bits.sub_or_r(n1, xt, ct) case WCon{True{}, +xt} WCon{False{}, +ct}: bits.sub_or_r(n1, xt, ct) case WCon{False{}, +xt} WCon{True{}, +ct}: bits.sub_or_r(n1, xt, ct) case WCon{False{}, +xt} WCon{False{}, +ct}: bits.sub_or_r(n1, xt, ct) 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.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.or https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapBits.subset