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