WordPowerOfTwo.positive_double: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/word_power_of_two.bend as WordPowerOfTwo Lines 322-325 of stelliferous@0.0.2.0/proofs/word_power_of_two.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/word_power_of_two.bend&start_line=322&end_line=325 import Base import stelliferous@0.0.2.0/proofs/word_encoding.bend as WordEncoding def positive_double(value: Nat,positive: {Nat.is_lt(0n,Nat.double(value)) == True{} : Bool}) -> {Nat.is_lt(0n,value) == True{} : Bool}: match value: case 0n: Empty.absurd({False{} == True{} : Bool},WordEncoding.false_true(positive)) case 1n+rest: {==} 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=Empty.absurd 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 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/word_encoding.bend&name=false_true