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

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

APP(app(*, x), app(app(+, y), z)) -> APP(app(+, app(app(*, x), y)), app(app(*, x), z))
APP(app(*, x), app(app(+, y), z)) -> APP(+, app(app(*, x), y))
APP(app(*, x), app(app(+, y), z)) -> APP(app(*, x), y)
APP(app(*, x), app(app(+, y), z)) -> APP(app(*, x), z)
APP(app(*, app(app(+, y), z)), x) -> APP(app(+, app(app(*, x), y)), app(app(*, x), z))
APP(app(*, app(app(+, y), z)), x) -> APP(+, app(app(*, x), y))
APP(app(*, app(app(+, y), z)), x) -> APP(app(*, x), y)
APP(app(*, app(app(+, y), z)), x) -> APP(*, x)
APP(app(*, app(app(+, y), z)), x) -> APP(app(*, x), z)
APP(app(*, app(app(*, x), y)), z) -> APP(app(*, x), app(app(*, y), z))
APP(app(*, app(app(*, x), y)), z) -> APP(app(*, y), z)
APP(app(*, app(app(*, x), y)), z) -> APP(*, y)
APP(app(+, app(app(+, x), y)), z) -> APP(app(+, x), app(app(+, y), z))
APP(app(+, app(app(+, x), y)), z) -> APP(app(+, y), z)
APP(app(+, app(app(+, x), y)), z) -> APP(+, y)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Polynomial Ordering


Dependency Pairs:

APP(app(+, app(app(+, x), y)), z) -> APP(app(+, y), z)
APP(app(+, app(app(+, x), y)), z) -> APP(app(+, x), app(app(+, y), z))
APP(app(*, app(app(*, x), y)), z) -> APP(app(*, y), z)
APP(app(*, app(app(*, x), y)), z) -> APP(app(*, x), app(app(*, y), z))
APP(app(*, app(app(+, y), z)), x) -> APP(app(*, x), z)
APP(app(*, app(app(+, y), z)), x) -> APP(app(*, x), y)
APP(app(*, app(app(+, y), z)), x) -> APP(app(+, app(app(*, x), y)), app(app(*, x), z))
APP(app(*, x), app(app(+, y), z)) -> APP(app(*, x), z)
APP(app(*, x), app(app(+, y), z)) -> APP(app(*, x), y)
APP(app(*, x), app(app(+, y), z)) -> APP(app(+, app(app(*, x), y)), app(app(*, x), z))


Rules:


app(app(*, x), app(app(+, y), z)) -> app(app(+, app(app(*, x), y)), app(app(*, x), z))
app(app(*, app(app(+, y), z)), x) -> app(app(+, app(app(*, x), y)), app(app(*, x), z))
app(app(*, app(app(*, x), y)), z) -> app(app(*, x), app(app(*, y), z))
app(app(+, app(app(+, x), y)), z) -> app(app(+, x), app(app(+, y), z))





The following dependency pairs can be strictly oriented:

APP(app(*, app(app(+, y), z)), x) -> APP(app(+, app(app(*, x), y)), app(app(*, x), z))
APP(app(*, x), app(app(+, y), z)) -> APP(app(+, app(app(*, x), y)), app(app(*, x), z))


Additionally, the following rules can be oriented:

app(app(*, x), app(app(+, y), z)) -> app(app(+, app(app(*, x), y)), app(app(*, x), z))
app(app(*, app(app(+, y), z)), x) -> app(app(+, app(app(*, x), y)), app(app(*, x), z))
app(app(*, app(app(*, x), y)), z) -> app(app(*, x), app(app(*, y), z))
app(app(+, app(app(+, x), y)), z) -> app(app(+, x), app(app(+, y), z))


Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(*)=  1  
  POL(app(x1, x2))=  x1  
  POL(+)=  0  
  POL(APP(x1, x2))=  x1  

resulting in one new DP problem.



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




The following remains to be proven:
Dependency Pairs:

APP(app(+, app(app(+, x), y)), z) -> APP(app(+, y), z)
APP(app(+, app(app(+, x), y)), z) -> APP(app(+, x), app(app(+, y), z))
APP(app(*, app(app(*, x), y)), z) -> APP(app(*, y), z)
APP(app(*, app(app(*, x), y)), z) -> APP(app(*, x), app(app(*, y), z))
APP(app(*, app(app(+, y), z)), x) -> APP(app(*, x), z)
APP(app(*, app(app(+, y), z)), x) -> APP(app(*, x), y)
APP(app(*, x), app(app(+, y), z)) -> APP(app(*, x), z)
APP(app(*, x), app(app(+, y), z)) -> APP(app(*, x), y)


Rules:


app(app(*, x), app(app(+, y), z)) -> app(app(+, app(app(*, x), y)), app(app(*, x), z))
app(app(*, app(app(+, y), z)), x) -> app(app(+, app(app(*, x), y)), app(app(*, x), z))
app(app(*, app(app(*, x), y)), z) -> app(app(*, x), app(app(*, y), z))
app(app(+, app(app(+, x), y)), z) -> app(app(+, x), app(app(+, y), z))




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