Order.le_trans3: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/order.bend as Order Lines 5-17 of bend-mathlib@0.8.1.0/order.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/order.bend&start_line=5&end_line=17 import Base # A chain of three comparisons composes. law le_trans3: for ~A: Data for ~le: A -> A -> Bool for ~le_trans: @x: A -> @y: A -> @z: A -> {le(x, y) == True{} : Bool} -> {le(y, z) == True{} : Bool} -> {le(x, z) == True{} : Bool} for +a: A for +b: A for +c: A for +d: A for ab: {le(a, b) == True{} : Bool} for bc: {le(b, c) == True{} : Bool} for cd: {le(c, d) == True{} : Bool} {le(a, d) == True{} : Bool} Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool