Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Higher Order Rewriting Union Beta pair #487093657
details
property
value
status
complete
benchmark
h45.xml
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n146.star.cs.uiowa.edu
space
Hamana_Kikuchi_18
run statistics
property
value
solver
Wanda 2.2a
configuration
default
runtime (wallclock)
0.528712 seconds
cpu usage
0.529136
user time
0.484317
system time
0.044819
max virtual memory
130444.0
max residence set size
15152.0
stage attributes
key
value
starexec-result
YES
output
YES We consider the system theBenchmark. Alphabet: 0 : [] --> nat mult : [] --> nat -> nat -> nat plus : [] --> nat -> nat -> nat plus3 : [] --> nat -> nat -> nat -> nat rec : [] --> nat -> nat -> (nat -> nat -> nat) -> nat s : [] --> nat -> nat succ2 : [] --> nat -> nat -> nat Rules: rec 0 x (/\y./\z.f y z) => x rec (s x) y (/\z./\u.f z u) => f x (rec x y (/\v./\w.f v w)) succ2 x y => s y plus x y => rec x y (/\z./\u.succ2 z u) plus3 x y z => plus x (plus y z) mult x y => rec x 0 (/\z./\u.plus3 y z u) Using the transformations described in [Kop11], this system can be brought in a form without leading free variables in the left-hand side, and where the left-hand side of a variable is always a functional term or application headed by a functional term. We now transform the resulting AFS into an AFSM by replacing all free variables by meta-variables (with arity 0). This leads to the following AFSM: Alphabet: 0 : [] --> nat mult : [nat * nat] --> nat plus : [nat * nat] --> nat plus3 : [nat * nat * nat] --> nat rec : [nat * nat * nat -> nat -> nat] --> nat s : [nat] --> nat succ2 : [nat * nat] --> nat ~AP1 : [nat -> nat -> nat * nat] --> nat -> nat Rules: rec(0, X, /\x./\y.~AP1(F, x) y) => X rec(s(X), Y, /\x./\y.~AP1(F, x) y) => ~AP1(F, X) rec(X, Y, /\z./\u.~AP1(F, z) u) succ2(X, Y) => s(Y) plus(X, Y) => rec(X, Y, /\x./\y.succ2(x, y)) plus3(X, Y, Z) => plus(X, plus(Y, Z)) mult(X, Y) => rec(X, 0, /\x./\y.plus3(Y, x, y)) rec(0, X, /\x./\y.mult(x, y)) => X rec(0, X, /\x./\y.plus(x, y)) => X rec(0, X, /\x./\y.plus3(Y, x, y)) => X rec(0, X, /\x./\y.succ2(x, y)) => X rec(s(X), Y, /\x./\y.mult(x, y)) => mult(X, rec(X, Y, /\z./\u.mult(z, u))) rec(s(X), Y, /\x./\y.plus(x, y)) => plus(X, rec(X, Y, /\z./\u.plus(z, u))) rec(s(X), Y, /\x./\y.plus3(Z, x, y)) => plus3(Z, X, rec(X, Y, /\z./\u.plus3(Z, z, u))) rec(s(X), Y, /\x./\y.succ2(x, y)) => succ2(X, rec(X, Y, /\z./\u.succ2(z, u))) ~AP1(F, X) => F X Symbol ~AP1 is an encoding for application that is only used in innocuous ways. We can simplify the program (without losing non-termination) by removing it. Additionally, we can remove some (now-)redundant rules. This gives: Alphabet: 0 : [] --> nat mult : [nat * nat] --> nat plus : [nat * nat] --> nat plus3 : [nat * nat * nat] --> nat rec : [nat * nat * nat -> nat -> nat] --> nat s : [nat] --> nat succ2 : [nat * nat] --> nat Rules: rec(0, X, /\x./\y.Y(x, y)) => X rec(s(X), Y, /\x./\y.Z(x, y)) => Z(X, rec(X, Y, /\z./\u.Z(z, u))) succ2(X, Y) => s(Y) plus(X, Y) => rec(X, Y, /\x./\y.succ2(x, y)) plus3(X, Y, Z) => plus(X, plus(Y, Z)) mult(X, Y) => rec(X, 0, /\x./\y.plus3(Y, x, y)) We use rule removal, following [Kop12, Theorem 2.23]. This gives the following requirements (possibly using Theorems 2.25 and 2.26 in [Kop12]): rec(0, X, /\x./\y.Y(x, y)) >? X rec(s(X), Y, /\x./\y.Z(x, y)) >? Z(X, rec(X, Y, /\z./\u.Z(z, u))) succ2(X, Y) >? s(Y) plus(X, Y) >? rec(X, Y, /\x./\y.succ2(x, y)) plus3(X, Y, Z) >? plus(X, plus(Y, Z)) mult(X, Y) >? rec(X, 0, /\x./\y.plus3(Y, x, y)) We use a recursive path ordering as defined in [Kop12, Chapter 5]. Argument functions: [[0]] = _|_ We choose Lex = {} and Mul = {mult, plus, plus3, rec, s, succ2}, and the following precedence: mult > plus3 > plus > succ2 > s > rec Taking the argument function into account, and fixing the greater / greater equal choices, the constraints can be denoted as follows: rec(_|_, X, /\x./\y.Y(x, y)) >= X rec(s(X), Y, /\x./\y.Z(x, y)) > Z(X, rec(X, Y, /\x./\y.Z(x, y))) succ2(X, Y) >= s(Y)
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Higher Order Rewriting Union Beta