Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
TRS Standard pair #516966124
details
property
value
status
complete
benchmark
addList.xml
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n010.star.cs.uiowa.edu
space
Secret_06_TRS
run statistics
property
value
solver
ttt2-1.20
configuration
ttt2
runtime (wallclock)
8.41182518005 seconds
cpu usage
32.114782575
max memory
1.659465728E9
stage attributes
key
value
output-size
29174
starexec-result
YES
output
/export/starexec/sandbox2/solver/bin/starexec_run_ttt2 /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES Problem: isEmpty(cons(x,xs)) -> false() isEmpty(nil()) -> true() isZero(0()) -> true() isZero(s(x)) -> false() head(cons(x,xs)) -> x tail(cons(x,xs)) -> xs tail(nil()) -> nil() append(nil(),x) -> cons(x,nil()) append(cons(y,ys),x) -> cons(y,append(ys,x)) p(s(s(x))) -> s(p(s(x))) p(s(0())) -> 0() p(0()) -> 0() inc(s(x)) -> s(inc(x)) inc(0()) -> s(0()) addLists(xs,ys,zs) -> if(isEmpty(xs),isEmpty(ys),isZero(head(xs)),tail(xs),tail(ys),cons(p(head(xs)),tail(xs)), cons(inc(head(ys)),tail(ys)),zs,append(zs,head(ys))) if(true(),true(),b,xs,ys,xs2,ys2,zs,zs2) -> zs if(true(),false(),b,xs,ys,xs2,ys2,zs,zs2) -> differentLengthError() if(false(),true(),b,xs,ys,xs2,ys2,zs,zs2) -> differentLengthError() if(false(),false(),false(),xs,ys,xs2,ys2,zs,zs2) -> addLists(xs2,ys2,zs) if(false(),false(),true(),xs,ys,xs2,ys2,zs,zs2) -> addLists(xs,ys,zs2) addList(xs,ys) -> addLists(xs,ys,nil()) Proof: DP Processor: DPs: append#(cons(y,ys),x) -> append#(ys,x) p#(s(s(x))) -> p#(s(x)) inc#(s(x)) -> inc#(x) addLists#(xs,ys,zs) -> append#(zs,head(ys)) addLists#(xs,ys,zs) -> head#(ys) addLists#(xs,ys,zs) -> inc#(head(ys)) addLists#(xs,ys,zs) -> p#(head(xs)) addLists#(xs,ys,zs) -> tail#(ys) addLists#(xs,ys,zs) -> tail#(xs) addLists#(xs,ys,zs) -> head#(xs) addLists#(xs,ys,zs) -> isZero#(head(xs)) addLists#(xs,ys,zs) -> isEmpty#(ys) addLists#(xs,ys,zs) -> isEmpty#(xs) addLists#(xs,ys,zs) -> if#(isEmpty(xs),isEmpty(ys),isZero(head(xs)),tail(xs),tail(ys),cons(p(head(xs)),tail(xs)), cons(inc(head(ys)),tail(ys)),zs,append(zs,head(ys))) if#(false(),false(),false(),xs,ys,xs2,ys2,zs,zs2) -> addLists#(xs2,ys2,zs) if#(false(),false(),true(),xs,ys,xs2,ys2,zs,zs2) -> addLists#(xs,ys,zs2) addList#(xs,ys) -> addLists#(xs,ys,nil()) TRS: isEmpty(cons(x,xs)) -> false() isEmpty(nil()) -> true() isZero(0()) -> true() isZero(s(x)) -> false() head(cons(x,xs)) -> x tail(cons(x,xs)) -> xs tail(nil()) -> nil() append(nil(),x) -> cons(x,nil()) append(cons(y,ys),x) -> cons(y,append(ys,x)) p(s(s(x))) -> s(p(s(x))) p(s(0())) -> 0() p(0()) -> 0() inc(s(x)) -> s(inc(x)) inc(0()) -> s(0()) addLists(xs,ys,zs) -> if(isEmpty(xs),isEmpty(ys),isZero(head(xs)),tail(xs),tail(ys),cons(p(head(xs)),tail(xs)), cons(inc(head(ys)),tail(ys)),zs,append(zs,head(ys))) if(true(),true(),b,xs,ys,xs2,ys2,zs,zs2) -> zs if(true(),false(),b,xs,ys,xs2,ys2,zs,zs2) -> differentLengthError() if(false(),true(),b,xs,ys,xs2,ys2,zs,zs2) -> differentLengthError() if(false(),false(),false(),xs,ys,xs2,ys2,zs,zs2) -> addLists(xs2,ys2,zs) if(false(),false(),true(),xs,ys,xs2,ys2,zs,zs2) -> addLists(xs,ys,zs2) addList(xs,ys) -> addLists(xs,ys,nil()) TDG Processor: DPs: append#(cons(y,ys),x) -> append#(ys,x) p#(s(s(x))) -> p#(s(x)) inc#(s(x)) -> inc#(x) addLists#(xs,ys,zs) -> append#(zs,head(ys)) addLists#(xs,ys,zs) -> head#(ys) addLists#(xs,ys,zs) -> inc#(head(ys)) addLists#(xs,ys,zs) -> p#(head(xs)) addLists#(xs,ys,zs) -> tail#(ys) addLists#(xs,ys,zs) -> tail#(xs) addLists#(xs,ys,zs) -> head#(xs) addLists#(xs,ys,zs) -> isZero#(head(xs)) addLists#(xs,ys,zs) -> isEmpty#(ys) addLists#(xs,ys,zs) -> isEmpty#(xs) addLists#(xs,ys,zs) -> if#(isEmpty(xs),isEmpty(ys),isZero(head(xs)),tail(xs),tail(ys),cons(p(head(xs)),tail(xs)), cons(inc(head(ys)),tail(ys)),zs,append(zs,head(ys))) if#(false(),false(),false(),xs,ys,xs2,ys2,zs,zs2) -> addLists#(xs2,ys2,zs) if#(false(),false(),true(),xs,ys,xs2,ys2,zs,zs2) -> addLists#(xs,ys,zs2) addList#(xs,ys) -> addLists#(xs,ys,nil())
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to TRS Standard