PROOFDiv.wd.wv: def of bend-osdev-word64@0.1.1.1 Import: import bend-osdev-word64@0.1.1.1/PROOF_div.bend as PROOFDiv Lines 138-144 of bend-osdev-word64@0.1.1.1/PROOF_div.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-word64@0.1.1.1/PROOF_div.bend&start_line=138&end_line=144 import Base import bend-osdev-u32@0.1.0.0/u32.bend as U # the value of a word one bit longer def wd.wv(p: Nat, x: Bool, t: Word(p)) -> {Word.to_nat(1n+p, WCon{x, t}) == Nat.add(U.U32Nat.bit(x), Nat.double(Word.to_nat(p, t))) : Nat}: match x: case True{}: {==} case False{}: {==} Uses (8): 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=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.double 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.to_nat https://jend.leeeet.dev/definition.txt?path=bend-osdev-u32@0.1.0.0/u32.bend&name=U32Nat.bit