Constrain.hascasl.output revision 41859342472c9349707a4bbd7a05340c639013c0
class Eq < Type
class Ord < Eq
type a : Ord
op f : forall e : Ord . e -> e
op c : a
. (fun __=__[a] : forall a : Type . a_v-1 * a_v-1 ->? Unit)
((op f[a] : forall e : Ord . e_v-1 -> e_v-1)
((op f[a] : forall e : Ord . e_v-1 -> e_v-1)(op c : a)),
op c : a)
type t : Eq
op b : t
. (fun __=__[t] : forall a : Type . a_v-1 * a_v-1 ->? Unit)
((op f[t] : forall e : Ord . e_v-1 -> e_v-1)(op b : t), op b : t)
%% Classes ---------------------------------------------------------------
Eq < Type
Ord < Eq
%% Type Constructors -----------------------------------------------------
Logical : Type := Unit ->? Unit
Pred : Type -> Type := \ a : Type . a_v-1 ->? Unit
Unit : Type := Unit
__*__ : Type+ -> Type+ -> Type
__-->__ : Type- -> Type+ -> Type
__-->?__ : Type- -> Type+ -> Type
__->__ : Type- -> Type+ -> Type
__->?__ : Type- -> Type+ -> Type
a : Ord
t : Eq
%% Assumptions -----------------------------------------------------------
__/\__ : ? Unit * ? Unit ->? Unit %(fun)%
__<=>__ : ? Unit * ? Unit ->? Unit %(fun)%
__=__ : forall a : Type . a_v-1 * a_v-1 ->? Unit %(fun)%
__=>__ : ? Unit * ? Unit ->? Unit %(fun)%
__=e=__ : forall a : Type . a_v-1 * a_v-1 ->? Unit %(fun)%
__\/__ : ? Unit * ? Unit ->? Unit %(fun)%
__if__ : ? Unit * ? Unit ->? Unit %(fun)%
__when__else__
: forall a : Type . a_v-1 * ? Unit * a_v-1 ->? a_v-1 %(fun)%
b : t %(op)%
bottom : forall a : Type . a_v-1 %(fun)%
c : a %(op)%
def__ : forall a : Type . a_v-1 ->? Unit %(fun)%
f : forall e : Ord . e_v-1 -> e_v-1 %(op)%
false : Unit %(fun)%
not__ : ? Unit ->? Unit %(fun)%
true : Unit %(fun)%
�__ : ? Unit ->? Unit %(fun)%
%% Sentences -------------------------------------------------------------
(fun __=__[a] : forall a : Type . a_v-1 * a_v-1 ->? Unit)
((op f[a] : forall e : Ord . e_v-1 -> e_v-1)
((op f[a] : forall e : Ord . e_v-1 -> e_v-1)(op c : a)),
op c : a)
(fun __=__[t] : forall a : Type . a_v-1 * a_v-1 ->? Unit)
((op f[t] : forall e : Ord . e_v-1 -> e_v-1)(op b : t), op b : t)
%% Diagnostics -----------------------------------------------------------
*** Error 16.7, unresolved constraint 't : Ord'
*** Hint 16.7,
expected: Ord
found: Eq