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.
{Reading /tmp/tmpJmUeJ1/giesl97.pl
}
{loaded in 3328.207 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using det with local-control off in 8.0 msec.}
{written file /tmp/tmpJmUeJ1/giesl97_det_co.pl}
:- module(_1,[f/3],[assertions]).
:- entry f(A,B,C)
: ground(A).
:- true pred f(A,B,C)
: ( native_props:mshare([[B],[B,C],[C]]), ground([A]), gnd(A), term(B), term(C) )
=> ( native_props:mshare([[B]]), ground([A,C]), rt14(A), term(B), rt10(C) )
+ ( is_det, mut_exclusive ).
:- true pred f(A,B,C)
: ( native_props:mshare([[B],[B,C],[C]]), ground([A]), rt4(A), term(B), term(C) )
=> ( native_props:mshare([[B]]), ground([A,C]), rt11(A), term(B), rt10(C) )
+ ( is_det, mut_exclusive ).
:- true pred f(A,B,C)
: ( native_props:mshare([[B],[C]]), var(C), ground([A]), gnd(A), term(B), term(C) )
=> ( native_props:mshare([[B]]), ground([A,C]), rt8(A), term(B), rt4(C) )
+ ( is_det, mut_exclusive ).
:- true pred f(A,B,C)
: ( native_props:mshare([[B],[C]]), var(C), ground([A]), rt3(A), term(B), term(C) )
=> ( native_props:mshare([[B]]), ground([A,C]), rt5(A), term(B), rt4(C) )
+ ( is_det, mut_exclusive ).
f(0,Y,0).
f(s(X),Y,Z) :-
f(X,Y,U),
f(U,Y,Z).
:- regtype rt16/1.
rt16(0).
rt16(s(A)) :-
rt9(A).
:- regtype rt15/1.
rt15(0).
rt15(s(A)) :-
rt16(A).
:- regtype rt14/1.
rt14(0).
rt14(s(A)) :-
rt15(A).
:- regtype rt10/1.
rt10(0).
:- regtype rt4/1.
rt4(0).
:- regtype rt11/1.
rt11(0).
:- regtype rt9/1.
rt9(0).
rt9(s(A)) :-
rt9(A).
:- regtype rt8/1.
rt8(0).
rt8(s(A)) :-
rt9(A).
:- regtype rt3/1.
rt3(0).
:- regtype rt5/1.
rt5(0).