PossibleDownsetConflict.hascasl.output revision bf089e1d4db3bf389ac1a352f4242e82c8f2b3c2
type s, t
class b < {x . x < s}
%% assume s < t
class a < {x . x < t}
class a < b
class a < {y . y < t}
%% ok (but only for simple tokens)
class a < {y . y < s}
class c, d < Type
class a < (c, d)
class e < a
%% ok
class h < e
%% ok
class h < (a, b)
%% ok
class e < {x . x < t}
%% Classes ---------------------------------------------------------------
a < ({y . y < s}, {x . x < t}, b, c, d)
b < {x . x < s}
c < Type
d < Type
e < ({x . x < t}, a)
h < (a, b, e)
%% Type Constructors -----------------------------------------------------
Logical : Type := Unit ->? Unit
Pred : Type -> Type := \ a : Type . a_v-1 ->? Unit
Unit : Type
__*__ : +Type -> +Type -> Type
__-->__ : -Type -> +Type -> Type < (__-->?__, __->__)
__-->?__ : -Type -> +Type -> Type < __->?__
__->__ : -Type -> +Type -> Type < __->?__
__->?__ : -Type -> +Type -> Type
s : Type
t : Type
%% 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)%
bottom : forall a : Type . a_v-1 %(fun)%
def__ : forall a : Type . a_v-1 ->? Unit %(fun)%
false : Unit %(fun)%
not__ : ? Unit ->? Unit %(fun)%
true : Unit %(fun)%
�__ : ? Unit ->? Unit %(fun)%
%% Diagnostics -----------------------------------------------------------
*** Warning 7.7, redeclared class 'a'
*** Warning 9.7, redeclared class 'a'
*** Warning 11.7, redeclared class 'a'
*** Warning 15.7, redeclared class 'a'
*** Warning 21.7, redeclared class 'h'
*** Warning 23.7, redeclared class 'e'