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 3392.211 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using det with local-control off in 4.0 msec.}
{written file /tmp/tmpwMWErp/equality1_det_co.pl}
:- module(_1,[q/2],[assertions]).

:- entry q(A,B).

:- true pred q(A,B)
         : ( native_props:mshare([[A],[A,B],[B]]), term(A), term(B) )
        => ( native_props:mshare([[A,B]]), term(A), term(B) )
         + ( is_det, mut_exclusive ).

q(X,Y) :-
        X==Y,
        p(X,Y).

:- true pred p(X,Y)
         : ( native_props:mshare([[X],[X,Y],[Y]]), term(X), term(Y) )
        => ( native_props:mshare([[X,Y]]), term(X), term(Y) )
         + ( is_det, mut_exclusive ).

p(X,X) :- !.
p(X,Y) :-
        p(X,Y).