Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
TRS Stand 20472 pair #381710396
details
property
value
status
complete
benchmark
parting04_maxsort_h.xml
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n078.star.cs.uiowa.edu
space
AProVE_08
run statistics
property
value
solver
Wanda
configuration
FirstOrder
runtime (wallclock)
0.965782165527 seconds
cpu usage
0.955017425
max memory
4.6514176E7
stage attributes
key
value
output-size
2352
starexec-result
MAYBE
output
/export/starexec/sandbox/solver/bin/starexec_run_FirstOrder /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- MAYBE We consider the system theBenchmark. We are asked to determine termination of the following first-order TRS. 0 : [] --> o cons : [o * o] --> o del : [o * o] --> o eq : [o * o] --> o false : [] --> o ge : [o * o] --> o h : [o] --> o if1 : [o * o * o * o] --> o if2 : [o * o * o * o] --> o max : [o] --> o nil : [] --> o s : [o] --> o sort : [o] --> o true : [] --> o max(nil) => 0 max(cons(X, nil)) => X max(cons(X, cons(Y, Z))) => if1(ge(X, Y), X, Y, Z) if1(true, X, Y, Z) => max(cons(X, Z)) if1(false, X, Y, Z) => max(cons(Y, Z)) del(X, nil) => nil del(X, cons(Y, Z)) => if2(eq(X, Y), X, Y, Z) if2(true, X, Y, Z) => Z if2(false, X, Y, Z) => cons(Y, del(X, Z)) eq(0, 0) => true eq(0, s(X)) => false eq(s(X), 0) => false eq(s(X), s(Y)) => eq(X, Y) sort(nil) => nil sort(cons(X, Y)) => cons(max(cons(X, Y)), sort(h(del(max(cons(X, Y)), cons(X, Y))))) ge(0, 0) => true ge(s(X), 0) => true ge(0, s(X)) => false ge(s(X), s(Y)) => ge(X, Y) h(nil) => nil h(cons(X, Y)) => cons(X, h(Y)) As the system is orthogonal, it is terminating if it is innermost terminating by [Gra95]. Then, by [FuhGieParSchSwi11], it suffices to prove (innermost) termination of the typed system, with sort annotations chosen to respect the rules, as follows: 0 : [] --> gg cons : [gg * xg] --> xg del : [gg * xg] --> xg eq : [gg * gg] --> kg false : [] --> kg ge : [gg * gg] --> kg h : [xg] --> xg if1 : [kg * gg * gg * xg] --> gg if2 : [kg * gg * gg * xg] --> xg max : [xg] --> gg nil : [] --> xg s : [gg] --> gg sort : [xg] --> xg true : [] --> kg +++ Citations +++ [FuhGieParSchSwi11] C. Fuhs, J. Giesl, M. Parting, P. Schneider-Kamp, and S. Swiderski. Proving Termination by Dependency Pairs and Inductive Theorem Proving. In volume 47(2) of Journal of Automated Reasoning. 133--160, 2011. [Gra95] B. Gramlich. Abstract Relations Between Restricted Termination and Confluence Properties of Rewrite Systems. In volume 24(1-2) of Fundamentae Informaticae. 3--23, 1995.
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to TRS Stand 20472