WordEncoding.shift: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/word_encoding.bend as WordEncoding Lines 15-20 of stelliferous@0.0.2.0/proofs/word_encoding.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/word_encoding.bend&start_line=15&end_line=20 import Base def shift(n: Nat, x: Nat) -> Nat: match n: case 0n: x case 1n+p: Nat.double(shift(p,x)) 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