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

:- entry less(A,B)
         : ground(B).

:- true pred less(A,B)
         : ( native_props:mshare([[A]]), ground([B]), term(A), gnd(B) )
        => ( ground([A,B]), rt6(A), rt8(B) )
         + ( is_det, mut_exclusive ).

less(0,s(_1)).
less(s(X),s(Y)) :-
        less(X,Y).


:- regtype rt7/1.

rt7(0).
rt7(s(A)) :-
        rt7(A).


:- regtype rt6/1.

rt6(0).
rt6(s(A)) :-
        rt7(A).


:- regtype rt9/1.

rt9(A) :-
        gnd(A).
rt9(s(A)) :-
        rt9(A).


:- regtype rt8/1.

rt8(s(A)) :-
        rt9(A).