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 3420.214 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using eterms with local-control off in 4.001 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using shfr with local-control off in 0.0 msec.}
{preprocessed for nfg in 0.0 msec.}
{analyzed by nfg in 0.0 msec.}
{analysis information stored in 0.0 msec.}
{NOTE (infercost): Using non-parametric cost analysis}
{preprocessed for lower bounds cost analysis in 0.0 msec.}
{lower bounds cost analysis performed in 0.0 msec.}
{lower bounds cost information stored in 0.0 msec.}
{preprocessed for upper bounds cost analysis in 0.0 msec.}
{upper bounds cost analysis performed in 4.0 msec.}
{upper bounds cost information stored in 0.0 msec.}
{written file /tmp/tmpdDG9Hf/less-fb_eterms_shfr_nfg_steps_ualb_co.pl}
:- module(_1,[less/2],[assertions,regtypes,nativeprops]).
:- entry less(A,B)
: ground(B).
:- true pred less(A,B)
: ( term(A), gnd(B) )
=> ( rt6(A), rt8(B) ).
:- true pred less(A,B)
: ( native_props:mshare([[A]]), ground([B]) )
=> ground([A,B]).
:- true pred less(A,B)
: ( term(A), gnd(B) )
=> ( rt6(A), rt8(B) )
+ ( possibly_fails, not_covered ).
:- true pred less(A,B)
: ( term(A), gnd(B) )
=> ( rt6(A), rt8(B), size_lb(A,size(B)), size_lb(B,size(B)), size_ub(A,size(B)+1), size_ub(B,size(B)) )
+ ( steps_lb(0), steps_ub(2*size(B)) ).
less(0,s(_1)).
less(s(X),s(Y)) :-
less(X,Y).
:- regtype rt6/1.
rt6(0).
rt6(s(A)) :-
rt6(A).
:- regtype rt9/1.
rt9(A) :-
gnd(A).
:- regtype rt8/1.
rt8(s(A)) :-
rt9(A).