NatOrder.strict_follow: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/nat_order.bend as NatOrder Lines 345-355 of stelliferous@0.0.2.0/proofs/nat_order.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/nat_order.bend&start_line=345&end_line=355 import Base import stelliferous@0.0.2.0/proofs/word_encoding.bend as WordEncoding # Order structure shared by padding, allocation and mixed-radix indexing. def strict_follow(+a: Nat,+b: Nat,h: {Nat.is_lt(a,b) == True{} : Bool}) -> {Nat.is_le(1n+a,b) == True{} : Bool}: match a b: case 0n 0n: Empty.absurd({False{} == True{} : Bool},WordEncoding.false_true(h)) case 0n 1n+b: zero_le(b) case 1n+a 0n: Empty.absurd({False{} == True{} : Bool},WordEncoding.false_true(h)) case 1n+a 1n+b: strict_follow(a,b,h) Uses (7): 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=stelliferous@0.0.2.0/proofs/nat_order.bend&name=zero_le https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/word_encoding.bend&name=false_true