Ciao Preprocessor (integrated Alpha version)
| This is an alpha distribution, meant only for testing. Please do let us
| know at ciaopp-bugclip.dia.fi.upm.es any problems you may have.
{loaded in 3384.211 msec.}
{preprocessed for plai in 4.0 msec.}
{analyzed by plai using det with local-control off in 4.001 msec.}
{written file /tmp/tmpUW2BV9/lateinst_det_co.pl}
:- module(_1,[p/3],[assertions]).
:- entry p(A,B,C).
:- true pred p(A,B,C)
: ( native_props:mshare([[A],[A,B],[A,B,C],[A,C],[B],[B,C],[C]]), term(A), term(B), term(C) )
=> ( native_props:mshare([[A,B]]), ground([C]), term(A), term(B), rt2(C) )
+ ( is_det, mut_exclusive ).
:- true pred p(A,B,C)
: ( native_props:mshare([[A,B]]), ground([C]), term(A), term(B), rt1(C) )
=> ( native_props:mshare([[A,B]]), ground([C]), term(A), term(B), rt2(C) )
+ ( is_det, mut_exclusive ).
p(X,X,a) :- !.
p(X,Y,Z) :-
eq(Z,a),
eq(X,Y),
p(X,Y,Z).
:- true pred eq(X,_1)
: ( native_props:mshare([[X,_1]]), term(X), term(_1) )
=> ( native_props:mshare([[X,_1]]), term(X), term(_1) )
+ ( is_det, mut_exclusive ).
:- true pred eq(X,a)
: ( ground([X]), rt1(X) )
=> ( ground([X]), rt1(X) )
+ ( is_det, mut_exclusive ).
:- true pred eq(X,_1)
: ( native_props:mshare([[X],[X,_1],[_1]]), term(X), term(_1) )
=> ( native_props:mshare([[X,_1]]), term(X), term(_1) )
+ ( is_det, mut_exclusive ).
:- true pred eq(X,a)
: ( native_props:mshare([[X]]), term(X) )
=> ( ground([X]), rt1(X) )
+ ( is_det, mut_exclusive ).
eq(X,X).
:- regtype rt2/1.
rt2(a).
:- regtype rt1/1.
rt1(a).