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 3388.212 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using det with local-control off in 4.001 msec.}
{written file /tmp/tmpLS9C2L/pl3.5.6a_det_co.pl}
:- module(_1,[p/1],[assertions]).

:- entry p(A).

:- true pred p(A)
         : ( native_props:mshare([[A]]), term(A) )
        => ( ground([A]), rt3(A) )
         + ( is_det, mut_exclusive ).

p([A]) :-
        l([A]).

:- true pred r(_1)
         : ( native_props:mshare([[_1]]), term(_1) )
        => ( ground([_1]), rt1(_1) )
         + ( is_det, mut_exclusive ).

r(1).

:- true pred l([_1])
         : ( native_props:mshare([[_1]]), term(_1) )
        => ( ground([_1]), rt1(_1) )
         + ( is_det, mut_exclusive ).

:- true pred l(_1)
         : ( ground([_1]), rt0(_1) )
        => ( ground([_1]), rt2(_1) )
         + ( is_det, mut_exclusive ).

l([]).
l([H|T]) :-
        r(H),
        l(T).


:- regtype rt3/1.

rt3([A]) :-
        rt1(A).


:- regtype rt1/1.

rt1(1).


:- regtype rt0/1.

rt0([]).


:- regtype rt2/1.

rt2([]).