LHFSZWK3U3RF4SBC2OY44PQ47GDELJ4NZOVRR2OBK3YVNNYKSDLAC module Algebra.Relation.Orderimport public Builtinimport public Algebra.Relation.Preorderimport public Algebra.Relation.Equivalenceimport Data.Eitherpublic exportinterface (Equivalence t, Preorder t) => Order t whereLT : t -> t -> TypedecLT : (x, y : t) -> Dec (x `LT` y)proofAntisymetry : (x, y : t) -> x `LTE` y -> y `LTE` x -> x `Equiv` yproofLTThenLTE : {x, y : t} -> x `LT` y -> x `LTE` yproofLTEThenLTOrEquiv : {x, y : t} -> x `LTE` y -> Either (x `LT` y) (x `Equiv` y)
module Algebra.Relation.Preorderimport public Builtin%default totalpublic exportinterface Preorder t whereLTE : t -> t -> TypedecLTE : (x, y : t) -> Dec (x `LTE` y)proofReflexivity : (x : t) -> x `LTE` xproofTransitivity : (x, y, z : t) -> x `LTE` y -> y `LTE` z -> x `LTE` z