Term Rewriting System R:
[x, y, z]
+(x, 0) -> x
+(minus(x), x) -> 0
minus(0) -> 0
minus(minus(x)) -> x
minus(+(x, y)) -> +(minus(y), minus(x))
*(x, 1) -> x
*(x, 0) -> 0
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(x, minus(y)) -> minus(*(x, y))

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

MINUS(+(x, y)) -> +'(minus(y), minus(x))
MINUS(+(x, y)) -> MINUS(y)
MINUS(+(x, y)) -> MINUS(x)
*'(x, +(y, z)) -> +'(*(x, y), *(x, z))
*'(x, +(y, z)) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, z)
*'(x, minus(y)) -> MINUS(*(x, y))
*'(x, minus(y)) -> *'(x, y)

Furthermore, R contains two SCCs.


   R
DPs
       →DP Problem 1
Forward Instantiation Transformation
       →DP Problem 2
Remaining


Dependency Pairs:

MINUS(+(x, y)) -> MINUS(x)
MINUS(+(x, y)) -> MINUS(y)


Rules:


+(x, 0) -> x
+(minus(x), x) -> 0
minus(0) -> 0
minus(minus(x)) -> x
minus(+(x, y)) -> +(minus(y), minus(x))
*(x, 1) -> x
*(x, 0) -> 0
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(x, minus(y)) -> minus(*(x, y))


Strategy:

innermost




On this DP problem, a Forward Instantiation SCC transformation can be performed.
As a result of transforming the rule

MINUS(+(x, y)) -> MINUS(y)
one new Dependency Pair is created:

MINUS(+(x, +(x'', y''))) -> MINUS(+(x'', y''))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 3
Forward Instantiation Transformation
       →DP Problem 2
Remaining


Dependency Pairs:

MINUS(+(x, +(x'', y''))) -> MINUS(+(x'', y''))
MINUS(+(x, y)) -> MINUS(x)


Rules:


+(x, 0) -> x
+(minus(x), x) -> 0
minus(0) -> 0
minus(minus(x)) -> x
minus(+(x, y)) -> +(minus(y), minus(x))
*(x, 1) -> x
*(x, 0) -> 0
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(x, minus(y)) -> minus(*(x, y))


Strategy:

innermost




On this DP problem, a Forward Instantiation SCC transformation can be performed.
As a result of transforming the rule

MINUS(+(x, y)) -> MINUS(x)
two new Dependency Pairs are created:

MINUS(+(+(x'', y''), y)) -> MINUS(+(x'', y''))
MINUS(+(+(x'', +(x'''', y'''')), y)) -> MINUS(+(x'', +(x'''', y'''')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
Remaining Obligation(s)




The following remains to be proven:


   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
Remaining Obligation(s)




The following remains to be proven:

Innermost Termination of R could not be shown.
Duration:
0:00 minutes