Idris2Doc : Algebra.Preorder

Algebra.Preorder

(source)

Definitions

interfacePreorder : Type->Type
  Preorder defines a binary relation using the `<=` operator

Parameters: a
Methods:
(<=) : a->a->Bool
Fixity Declaration: infix operator, level 6
preorderRefl : x<=x=True
preorderTrans : x<=y=True->y<=z=True->x<=z=True

Implementation: 
PreorderZeroOneOmega
(<=) : Preordera=>a->a->Bool
Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
preorderRefl : {auto__con : Preordera} ->x<=x=True
Totality: total
Visibility: public export
preorderTrans : {auto__con : Preordera} ->x<=y=True->y<=z=True->x<=z=True
Totality: total
Visibility: public export
lub : Preordera=>a->a->a
  Least Upper Bound, replace max using only Preorder

Totality: total
Visibility: export
glb : Preordera=>a->a->a
  Greatest Lower Bound, replaces min using only Preorder

Totality: total
Visibility: export
(<) : (Preordera, Eqa) =>a->a->Bool
  Strict less-than using the relation from a preorder

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
interfaceTop : Type->Type
  The greatest bound of a bounded lattice, we only need to know about preorders however

Parameters: a
Constraints: Preorder a
Methods:
top : a
topAbs : x<=top=True

Implementation: 
TopZeroOneOmega
top : Topa=>a
Totality: total
Visibility: public export
topAbs : {auto__con : Topa} ->x<=top=True
Totality: total
Visibility: public export