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 3376.211 msec.}
{preprocessed for plai in 4.0 msec.}
{analyzed by plai using det with local-control off in 0.0 msec.}
{written file /tmp/tmptCaDX1/pl2.3.1_det_co.pl}
:- module(_1,[p/2],[assertions]).
:- entry p(A,B)
: ground(A).
:- true pred p(A,B)
: ( native_props:mshare([[B]]), ground([A]), gnd(A), term(B) )
=> ( ground([A,B]), gnd(A), gnd(B) )
+ ( non_det, not_mut_exclusive ).
:- true pred p(A,B)
: ( native_props:mshare([[B]]), ground([A]), rt1(A), term(B) )
=> ( ground([A,B]), rt1(A), rt1(B) )
+ ( is_det, mut_exclusive ).
p(X,Z) :-
q(X,Y),
p(Y,Z).
p(X,X).
:- true pred q(_1,_2)
: ( native_props:mshare([[_2]]), var(_2), ground([_1]), rt1(_1), term(_2) ).
:- true pred q(_1,_2)
: ( native_props:mshare([[_2]]), var(_2), ground([_1]), gnd(_1), term(_2) )
=> ( ground([_1,_2]), rt0(_1), rt1(_2) )
+ ( is_det, mut_exclusive ).
q(a,b).
:- regtype rt1/1.
rt1(b).
:- regtype rt0/1.
rt0(a).