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 3376.211 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using eterms with local-control off in 4.0 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 4.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 0.0 msec.}
{upper bounds cost information stored in 0.0 msec.}
{written file /tmp/tmpjz0D2J/basic_append_eterms_shfr_nfg_steps_ualb_co.pl}
:- module(_1,[app/3],[assertions,regtypes,nativeprops]).

:- entry app(A,B,C)
         : ( ground(A), ground(B) ).

:- true pred app(A,B,C)
         : ( gnd(A), gnd(B), term(C) )
        => ( list(A,gnd), gnd(B), gnd(C) ).

:- true pred app(A,B,C)
         : ( native_props:mshare([[C]]), ground([A,B]) )
        => ground([A,B,C]).

:- true pred app(A,B,C)
         : ( gnd(A), gnd(B), term(C) )
        => ( list(A,gnd), gnd(B), gnd(C) )
         + ( possibly_fails, not_covered ).

:- true pred app(A,B,C)
         : ( gnd(A), gnd(B), term(C) )
        => ( list(A,gnd), gnd(B), gnd(C), size_lb(A,length(A)), size_lb(B,size(B)), size_lb(C,size(B)+length(A)), size_ub(A,length(A)), size_ub(B,size(B)), size_ub(C,inf) )
         + ( steps_lb(0), steps_ub(length(A)+1) ).

app([],X,X).
app([X|Xs],Ys,[X|Zs]) :-
        app(Xs,Ys,Zs).