R
↳Dependency Pair Analysis
*'(x, +(y, z)) -> +'(*(x, y), *(x, z))
*'(x, +(y, z)) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, z)
*'(+(y, z), x) -> +'(*(x, y), *(x, z))
*'(+(y, z), x) -> *'(x, y)
*'(+(y, z), x) -> *'(x, z)
*'(*(x, y), z) -> *'(x, *(y, z))
*'(*(x, y), z) -> *'(y, z)
+'(+(x, y), z) -> +'(x, +(y, z))
+'(+(x, y), z) -> +'(y, z)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳Nar
+'(+(x, y), z) -> +'(y, z)
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
+'(+(x, y), z) -> +'(y, z)
+'(x1, x2) -> +'(x1, x2)
+(x1, x2) -> +(x1, x2)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 3
↳Dependency Graph
→DP Problem 2
↳Nar
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Narrowing Transformation
*'(*(x, y), z) -> *'(y, z)
*'(*(x, y), z) -> *'(x, *(y, z))
*'(x, +(y, z)) -> *'(x, z)
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z), x) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, y)
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
two new Dependency Pairs are created:
*'(*(x, y), z) -> *'(x, *(y, z))
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳Forward Instantiation Transformation
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(x, +(y, z)) -> *'(x, z)
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z), x) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, y)
*'(*(x, y), z) -> *'(y, z)
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
three new Dependency Pairs are created:
*'(x, +(y, z)) -> *'(x, y)
*'(+(y'', z''), +(y0, z)) -> *'(+(y'', z''), y0)
*'(*(x'', y''), +(y0, z)) -> *'(*(x'', y''), y0)
*'(*(x'', *(x'''', y'''')), +(y', z)) -> *'(*(x'', *(x'''', y'''')), y')
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳FwdInst
...
→DP Problem 5
↳Forward Instantiation Transformation
*'(+(y'', z''), +(y0, z)) -> *'(+(y'', z''), y0)
*'(*(x'', *(x'''', y'''')), +(y', z)) -> *'(*(x'', *(x'''', y'''')), y')
*'(*(x'', y''), +(y0, z)) -> *'(*(x'', y''), y0)
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(*(x, y), z) -> *'(y, z)
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z), x) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, z)
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
eight new Dependency Pairs are created:
*'(x, +(y, z)) -> *'(x, z)
*'(x'', +(y, +(y'', z''))) -> *'(x'', +(y'', z''))
*'(+(y'', z'''), +(y, z'')) -> *'(+(y'', z'''), z'')
*'(*(x'', y''), +(y, z'')) -> *'(*(x'', y''), z'')
*'(*(x'', y0''), +(y, +(y'''', z''''))) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'', *(x'''', y'''')), +(y, z')) -> *'(*(x'', *(x'''', y'''')), z')
*'(+(y'''', z''''), +(y, +(y0'', z''))) -> *'(+(y'''', z''''), +(y0'', z''))
*'(*(x'''', y''''), +(y, +(y0'', z''))) -> *'(*(x'''', y''''), +(y0'', z''))
*'(*(x'''', *(x'''''', y'''''')), +(y, +(y''', z''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳FwdInst
...
→DP Problem 6
↳Forward Instantiation Transformation
*'(*(x'''', *(x'''''', y'''''')), +(y, +(y''', z''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(*(x'''', y''''), +(y, +(y0'', z''))) -> *'(*(x'''', y''''), +(y0'', z''))
*'(*(x'', *(x'''', y'''')), +(y, z')) -> *'(*(x'', *(x'''', y'''')), z')
*'(*(x'', y0''), +(y, +(y'''', z''''))) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'', y''), +(y, z'')) -> *'(*(x'', y''), z'')
*'(+(y'''', z''''), +(y, +(y0'', z''))) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y'', z'''), +(y, z'')) -> *'(+(y'', z'''), z'')
*'(*(x'', *(x'''', y'''')), +(y', z)) -> *'(*(x'', *(x'''', y'''')), y')
*'(*(x'', y''), +(y0, z)) -> *'(*(x'', y''), y0)
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
*'(x'', +(y, +(y'', z''))) -> *'(x'', +(y'', z''))
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(*(x, y), z) -> *'(y, z)
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z), x) -> *'(x, y)
*'(+(y'', z''), +(y0, z)) -> *'(+(y'', z''), y0)
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
three new Dependency Pairs are created:
*'(+(y, z), x) -> *'(x, y)
*'(+(y0, z), +(y'', z'')) -> *'(+(y'', z''), y0)
*'(+(y0, z), *(x'', y'')) -> *'(*(x'', y''), y0)
*'(+(y', z), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), y')
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳FwdInst
...
→DP Problem 7
↳Forward Instantiation Transformation
*'(*(x'''', y''''), +(y, +(y0'', z''))) -> *'(*(x'''', y''''), +(y0'', z''))
*'(*(x'', *(x'''', y'''')), +(y, z')) -> *'(*(x'', *(x'''', y'''')), z')
*'(*(x'', y0''), +(y, +(y'''', z''''))) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'', y''), +(y, z'')) -> *'(*(x'', y''), z'')
*'(+(y0, z), +(y'', z'')) -> *'(+(y'', z''), y0)
*'(+(y'''', z''''), +(y, +(y0'', z''))) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y'', z'''), +(y, z'')) -> *'(+(y'', z'''), z'')
*'(*(x'', *(x'''', y'''')), +(y', z)) -> *'(*(x'', *(x'''', y'''')), y')
*'(*(x'', y''), +(y0, z)) -> *'(*(x'', y''), y0)
*'(+(y', z), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), y')
*'(+(y0, z), *(x'', y'')) -> *'(*(x'', y''), y0)
*'(+(y'', z''), +(y0, z)) -> *'(+(y'', z''), y0)
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
*'(+(y, z), x) -> *'(x, z)
*'(x'', +(y, +(y'', z''))) -> *'(x'', +(y'', z''))
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(*(x, y), z) -> *'(y, z)
*'(*(x'''', *(x'''''', y'''''')), +(y, +(y''', z''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
18 new Dependency Pairs are created:
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z''), +(y'', z''')) -> *'(+(y'', z'''), z'')
*'(+(y, z''), *(x'', y'')) -> *'(*(x'', y''), z'')
*'(+(y, +(y'''', z'''')), *(x'', y0'')) -> *'(*(x'', y0''), +(y'''', z''''))
*'(+(y, z'), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), z')
*'(+(y, +(y0'', z'')), +(y'''', z'''')) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y, +(y0'', z'')), *(x'''', y'''')) -> *'(*(x'''', y''''), +(y0'', z''))
*'(+(y, +(y''', z'')), *(x'''', *(x'''''', y''''''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(+(y, +(y'', +(y'''', z''''))), x') -> *'(x', +(y'', +(y'''', z'''')))
*'(+(y, +(y'', z''0')), +(y'''', z''''')) -> *'(+(y'''', z'''''), +(y'', z''0'))
*'(+(y, +(y'', z'''')), *(x'''', y'''')) -> *'(*(x'''', y''''), +(y'', z''''))
*'(+(y, +(y'', +(y'''''', z''''''))), *(x'''', y0'''')) -> *'(*(x'''', y0''''), +(y'', +(y'''''', z'''''')))
*'(+(y, +(y'', z''')), *(x'''', *(x'''''', y''''''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y'', z'''))
*'(+(y, +(y'', +(y0'''', z''''))), +(y'''''', z'''''')) -> *'(+(y'''''', z''''''), +(y'', +(y0'''', z'''')))
*'(+(y, +(y'', +(y0'''', z''''))), *(x'''''', y'''''')) -> *'(*(x'''''', y''''''), +(y'', +(y0'''', z'''')))
*'(+(y, +(y'', +(y''''', z''''))), *(x'''''', *(x'''''''', y''''''''))) -> *'(*(x'''''', *(x'''''''', y'''''''')), +(y'', +(y''''', z'''')))
*'(+(y, +(y'''', z'''')), +(y0'', z'')) -> *'(+(y0'', z''), +(y'''', z''''))
*'(+(y, *(x'''', y'''')), +(y0'', z'')) -> *'(+(y0'', z''), *(x'''', y''''))
*'(+(y, *(x'''', *(x'''''', y''''''))), +(y''', z'')) -> *'(+(y''', z''), *(x'''', *(x'''''', y'''''')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳FwdInst
...
→DP Problem 8
↳Forward Instantiation Transformation
*'(+(y, *(x'''', *(x'''''', y''''''))), +(y''', z'')) -> *'(+(y''', z''), *(x'''', *(x'''''', y'''''')))
*'(+(y, *(x'''', y'''')), +(y0'', z'')) -> *'(+(y0'', z''), *(x'''', y''''))
*'(+(y, +(y'''', z'''')), +(y0'', z'')) -> *'(+(y0'', z''), +(y'''', z''''))
*'(+(y, +(y'', +(y0'''', z''''))), +(y'''''', z'''''')) -> *'(+(y'''''', z''''''), +(y'', +(y0'''', z'''')))
*'(+(y, +(y'', z''0')), +(y'''', z''''')) -> *'(+(y'''', z'''''), +(y'', z''0'))
*'(+(y, +(y0'', z'')), +(y'''', z'''')) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y, z''), +(y'', z''')) -> *'(+(y'', z'''), z'')
*'(+(y, +(y'', +(y''''', z''''))), *(x'''''', *(x'''''''', y''''''''))) -> *'(*(x'''''', *(x'''''''', y'''''''')), +(y'', +(y''''', z'''')))
*'(+(y, +(y'', +(y0'''', z''''))), *(x'''''', y'''''')) -> *'(*(x'''''', y''''''), +(y'', +(y0'''', z'''')))
*'(+(y, +(y'', z''')), *(x'''', *(x'''''', y''''''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y'', z'''))
*'(+(y, +(y'', +(y'''''', z''''''))), *(x'''', y0'''')) -> *'(*(x'''', y0''''), +(y'', +(y'''''', z'''''')))
*'(+(y, +(y'', z'''')), *(x'''', y'''')) -> *'(*(x'''', y''''), +(y'', z''''))
*'(+(y0, z), +(y'', z'')) -> *'(+(y'', z''), y0)
*'(+(y'''', z''''), +(y, +(y0'', z''))) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y'', z'''), +(y, z'')) -> *'(+(y'', z'''), z'')
*'(+(y, +(y'', +(y'''', z''''))), x') -> *'(x', +(y'', +(y'''', z'''')))
*'(+(y, +(y''', z'')), *(x'''', *(x'''''', y''''''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(+(y, +(y0'', z'')), *(x'''', y'''')) -> *'(*(x'''', y''''), +(y0'', z''))
*'(+(y, z'), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), z')
*'(+(y, +(y'''', z'''')), *(x'', y0'')) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'''', *(x'''''', y'''''')), +(y, +(y''', z''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(*(x'', *(x'''', y'''')), +(y, z')) -> *'(*(x'', *(x'''', y'''')), z')
*'(*(x'', y0''), +(y, +(y'''', z''''))) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'', y''), +(y, z'')) -> *'(*(x'', y''), z'')
*'(*(x'', *(x'''', y'''')), +(y', z)) -> *'(*(x'', *(x'''', y'''')), y')
*'(*(x'', y''), +(y0, z)) -> *'(*(x'', y''), y0)
*'(+(y, z''), *(x'', y'')) -> *'(*(x'', y''), z'')
*'(+(y', z), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), y')
*'(+(y0, z), *(x'', y'')) -> *'(*(x'', y''), y0)
*'(+(y'', z''), +(y0, z)) -> *'(+(y'', z''), y0)
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
*'(x'', +(y, +(y'', z''))) -> *'(x'', +(y'', z''))
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(*(x, y), z) -> *'(y, z)
*'(*(x'''', y''''), +(y, +(y0'', z''))) -> *'(*(x'''', y''''), +(y0'', z''))
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost
11 new Dependency Pairs are created:
*'(*(x, y), z) -> *'(y, z)
*'(*(x, *(x'', y'')), z'') -> *'(*(x'', y''), z'')
*'(*(x, *(x'', y0'')), +(y'''', z'''')) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x, *(x'', *(x'''', y''''))), z') -> *'(*(x'', *(x'''', y'''')), z')
*'(*(x, *(x'''', y'''')), +(y0'', z'')) -> *'(*(x'''', y''''), +(y0'', z''))
*'(*(x, *(x'''', *(x'''''', y''''''))), +(y''', z'')) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(*(x, y0), +(y'', +(y'''', z''''))) -> *'(y0, +(y'', +(y'''', z'''')))
*'(*(x, *(x'''', y'''')), +(y'', z'''')) -> *'(*(x'''', y''''), +(y'', z''''))
*'(*(x, *(x'''', y0'''')), +(y'', +(y'''''', z''''''))) -> *'(*(x'''', y0''''), +(y'', +(y'''''', z'''''')))
*'(*(x, *(x'''', *(x'''''', y''''''))), +(y'', z''')) -> *'(*(x'''', *(x'''''', y'''''')), +(y'', z'''))
*'(*(x, *(x'''''', y'''''')), +(y'', +(y0'''', z''''))) -> *'(*(x'''''', y''''''), +(y'', +(y0'''', z'''')))
*'(*(x, *(x'''''', *(x'''''''', y''''''''))), +(y'', +(y''''', z''''))) -> *'(*(x'''''', *(x'''''''', y'''''''')), +(y'', +(y''''', z'''')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳FwdInst
...
→DP Problem 9
↳Remaining Obligation(s)
*'(+(y, *(x'''', y'''')), +(y0'', z'')) -> *'(+(y0'', z''), *(x'''', y''''))
*'(+(y, +(y'''', z'''')), +(y0'', z'')) -> *'(+(y0'', z''), +(y'''', z''''))
*'(+(y, +(y'', +(y0'''', z''''))), +(y'''''', z'''''')) -> *'(+(y'''''', z''''''), +(y'', +(y0'''', z'''')))
*'(+(y, +(y'', z''0')), +(y'''', z''''')) -> *'(+(y'''', z'''''), +(y'', z''0'))
*'(+(y, +(y0'', z'')), +(y'''', z'''')) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y, z''), +(y'', z''')) -> *'(+(y'', z'''), z'')
*'(+(y, +(y'', +(y''''', z''''))), *(x'''''', *(x'''''''', y''''''''))) -> *'(*(x'''''', *(x'''''''', y'''''''')), +(y'', +(y''''', z'''')))
*'(+(y, +(y'', +(y0'''', z''''))), *(x'''''', y'''''')) -> *'(*(x'''''', y''''''), +(y'', +(y0'''', z'''')))
*'(+(y, +(y'', z''')), *(x'''', *(x'''''', y''''''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y'', z'''))
*'(+(y, +(y'', +(y'''''', z''''''))), *(x'''', y0'''')) -> *'(*(x'''', y0''''), +(y'', +(y'''''', z'''''')))
*'(+(y, +(y'', z'''')), *(x'''', y'''')) -> *'(*(x'''', y''''), +(y'', z''''))
*'(+(y0, z), +(y'', z'')) -> *'(+(y'', z''), y0)
*'(+(y'''', z''''), +(y, +(y0'', z''))) -> *'(+(y'''', z''''), +(y0'', z''))
*'(+(y'', z'''), +(y, z'')) -> *'(+(y'', z'''), z'')
*'(+(y, +(y'', +(y'''', z''''))), x') -> *'(x', +(y'', +(y'''', z'''')))
*'(+(y, +(y''', z'')), *(x'''', *(x'''''', y''''''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(+(y, +(y0'', z'')), *(x'''', y'''')) -> *'(*(x'''', y''''), +(y0'', z''))
*'(+(y, z'), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), z')
*'(+(y, +(y'''', z'''')), *(x'', y0'')) -> *'(*(x'', y0''), +(y'''', z''''))
*'(+(y, z''), *(x'', y'')) -> *'(*(x'', y''), z'')
*'(*(x, *(x'''''', *(x'''''''', y''''''''))), +(y'', +(y''''', z''''))) -> *'(*(x'''''', *(x'''''''', y'''''''')), +(y'', +(y''''', z'''')))
*'(*(x, *(x'''''', y'''''')), +(y'', +(y0'''', z''''))) -> *'(*(x'''''', y''''''), +(y'', +(y0'''', z'''')))
*'(*(x, *(x'''', *(x'''''', y''''''))), +(y'', z''')) -> *'(*(x'''', *(x'''''', y'''''')), +(y'', z'''))
*'(*(x, *(x'''', y0'''')), +(y'', +(y'''''', z''''''))) -> *'(*(x'''', y0''''), +(y'', +(y'''''', z'''''')))
*'(*(x, *(x'''', y'''')), +(y'', z'''')) -> *'(*(x'''', y''''), +(y'', z''''))
*'(*(x, y0), +(y'', +(y'''', z''''))) -> *'(y0, +(y'', +(y'''', z'''')))
*'(*(x, *(x'''', *(x'''''', y''''''))), +(y''', z'')) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(*(x, *(x'''', y'''')), +(y0'', z'')) -> *'(*(x'''', y''''), +(y0'', z''))
*'(*(x, *(x'', y0'')), +(y'''', z'''')) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'''', *(x'''''', y'''''')), +(y, +(y''', z''))) -> *'(*(x'''', *(x'''''', y'''''')), +(y''', z''))
*'(*(x'''', y''''), +(y, +(y0'', z''))) -> *'(*(x'''', y''''), +(y0'', z''))
*'(*(x'', *(x'''', y'''')), +(y, z')) -> *'(*(x'', *(x'''', y'''')), z')
*'(*(x'', y0''), +(y, +(y'''', z''''))) -> *'(*(x'', y0''), +(y'''', z''''))
*'(*(x'', y''), +(y, z'')) -> *'(*(x'', y''), z'')
*'(*(x'', *(x'''', y'''')), +(y', z)) -> *'(*(x'', *(x'''', y'''')), y')
*'(*(x, *(x'', *(x'''', y''''))), z') -> *'(*(x'', *(x'''', y'''')), z')
*'(*(x'', y''), +(y0, z)) -> *'(*(x'', y''), y0)
*'(*(x, *(x'', y'')), z'') -> *'(*(x'', y''), z'')
*'(+(y', z), *(x'', *(x'''', y''''))) -> *'(*(x'', *(x'''', y'''')), y')
*'(+(y'', z''), +(y0, z)) -> *'(+(y'', z''), y0)
*'(*(x, y0), +(y'', z'')) -> *'(x, +(*(y0, y''), *(y0, z'')))
*'(x'', +(y, +(y'', z''))) -> *'(x'', +(y'', z''))
*'(*(x, *(x'', y'')), z'') -> *'(x, *(x'', *(y'', z'')))
*'(+(y0, z), *(x'', y'')) -> *'(*(x'', y''), y0)
*'(+(y, *(x'''', *(x'''''', y''''''))), +(y''', z'')) -> *'(+(y''', z''), *(x'''', *(x'''''', y'''''')))
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
innermost