WordConversion.le_predecessor: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/word_conversion.bend as WordConversion Lines 66-72 of bendtorch-core@0.1.0.0/src/tensor/word_conversion.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/word_conversion.bend&start_line=66&end_line=72 import Base import bendtorch-core@0.1.0.0/src/storage/arith.bend as Arith def le_predecessor(+number: Nat, +bound: Nat, within: {Nat.is_le(1n+number, bound) == True{} : Bool}) -> {Nat.is_le(number, bound) == True{} : Bool}: match bound: case 0n: Empty.absurd({Nat.is_le(number, 0n) == True{} : Bool}, Arith.clash(within)) case 1n+p: Arith.le_succ(number, p, within) 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.is_le https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/arith.bend&name=clash https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/arith.bend&name=le_succ