Lemmas.pow2: def of bend-kit-lemmas@0.1.1.0 Import: import bend-kit-lemmas@0.1.1.0/lemmas.bend as Lemmas Lines 5-11 of bend-kit-lemmas@0.1.1.0/lemmas.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-lemmas@0.1.1.0/lemmas.bend&start_line=5&end_line=11 import Base # 2^n, by the doubling that Word.to_nat uses. def pow2(n: Nat) -> Nat: match n: case 0n: 1n case 1n+p: Nat.double(pow2(p)) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.double