PROOFOrder.cm.eq_of_le: def of bend-osdev-u32@0.1.0.0 Import: import bend-osdev-u32@0.1.0.0/PROOF_order.bend as PROOFOrder Lines 96-104 of bend-osdev-u32@0.1.0.0/PROOF_order.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-u32@0.1.0.0/PROOF_order.bend&start_line=96&end_line=104 import Base # is_le(c) and not is_lt(c): c is EQ def cm.eq_of_le(c: Cmp, +e: {Cmp.is_le(c) == True{} : Bool}, +f: {Cmp.is_lt(c) == False{} : Bool}) -> {c == EQ{} : Cmp}: match c: case LT{}: Empty.absurd({LT{} == EQ{} : Cmp}, ab.tf(f)) case EQ{}: {==} case GT{}: Empty.absurd({GT{} == EQ{} : Cmp}, ab.ft(e)) 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=Cmp https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp.is_le https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Empty.absurd https://jend.leeeet.dev/definition.txt?path=bend-osdev-u32@0.1.0.0/PROOF_order.bend&name=ab.ft https://jend.leeeet.dev/definition.txt?path=bend-osdev-u32@0.1.0.0/PROOF_order.bend&name=ab.tf