YES Termination w.r.t. Q proof of /home/cern_httpd/provide/research/cycsrs/tpdb/TPDB-d9b80194f163/SRS_Standard/ICFP_2010/212774.srs

(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

0(0(1(2(x)))) → 0(2(0(1(1(x)))))
0(1(2(2(x)))) → 0(2(2(1(0(x)))))
0(1(2(2(x)))) → 1(0(2(2(0(x)))))
0(1(2(3(x)))) → 0(2(0(1(3(x)))))
0(1(2(3(x)))) → 0(2(3(3(1(x)))))
0(2(1(2(x)))) → 0(2(2(0(1(x)))))
0(2(1(2(x)))) → 0(2(2(2(1(x)))))
0(2(1(2(x)))) → 0(2(2(2(1(1(x))))))
0(3(2(2(x)))) → 3(4(0(2(2(x)))))
0(3(2(2(x)))) → 0(2(2(2(2(3(x))))))
0(4(1(2(x)))) → 0(2(2(1(4(x)))))
0(4(1(2(x)))) → 4(0(2(0(1(x)))))
0(5(0(1(x)))) → 0(2(0(2(5(1(x))))))
0(5(0(5(x)))) → 0(2(0(5(5(x)))))
0(5(2(1(x)))) → 0(2(2(5(1(x)))))
0(5(2(5(x)))) → 0(2(2(5(5(x)))))
0(5(4(2(x)))) → 4(0(2(2(0(5(x))))))
2(1(0(3(x)))) → 4(0(2(2(3(1(x))))))
2(1(0(4(x)))) → 1(4(0(2(2(2(x))))))
2(5(4(2(x)))) → 4(0(2(2(5(x)))))
0(0(1(0(4(x))))) → 0(0(2(0(1(4(x))))))
0(0(5(4(2(x))))) → 0(4(0(0(2(5(x))))))
0(1(0(1(2(x))))) → 0(2(0(1(4(1(x))))))
0(1(2(0(3(x))))) → 0(2(0(4(1(3(x))))))
0(1(2(2(2(x))))) → 0(2(2(2(1(2(x))))))
0(1(2(3(2(x))))) → 1(3(4(0(2(2(x))))))
0(1(3(2(3(x))))) → 0(0(2(3(3(1(x))))))
0(1(3(4(2(x))))) → 0(2(3(4(1(1(x))))))
0(2(1(0(1(x))))) → 0(0(2(0(1(1(x))))))
0(2(1(2(2(x))))) → 0(2(0(2(2(1(x))))))
0(2(3(0(5(x))))) → 0(2(0(0(5(3(x))))))
0(3(0(1(3(x))))) → 0(0(4(3(1(3(x))))))
0(3(0(4(1(x))))) → 0(0(1(4(4(3(x))))))
0(3(2(0(4(x))))) → 4(0(0(2(3(4(x))))))
0(4(5(2(3(x))))) → 0(2(2(3(4(5(x))))))
0(5(0(0(3(x))))) → 0(2(0(3(0(5(x))))))
0(5(0(1(2(x))))) → 0(0(2(0(1(5(x))))))
0(5(1(4(2(x))))) → 0(2(0(1(4(5(x))))))
0(5(2(5(1(x))))) → 0(2(0(5(5(1(x))))))
2(1(0(0(4(x))))) → 1(4(4(0(0(2(x))))))
2(5(0(0(3(x))))) → 0(2(0(0(5(3(x))))))
2(5(3(0(1(x))))) → 5(0(2(2(3(1(x))))))
5(0(1(2(2(x))))) → 5(1(0(2(0(2(x))))))
5(2(0(1(2(x))))) → 1(5(4(0(2(2(x))))))
5(2(1(0(1(x))))) → 0(2(3(1(5(1(x))))))
5(2(3(0(1(x))))) → 1(5(0(2(2(3(x))))))
5(3(0(4(1(x))))) → 4(5(0(2(3(1(x))))))

Q is empty.

(1) QTRS Reverse (EQUIVALENT transformation)

We applied the QTRS Reverse Processor [REVERSE].

(2) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

2(1(0(0(x)))) → 1(1(0(2(0(x)))))
2(2(1(0(x)))) → 0(1(2(2(0(x)))))
2(2(1(0(x)))) → 0(2(2(0(1(x)))))
3(2(1(0(x)))) → 3(1(0(2(0(x)))))
3(2(1(0(x)))) → 1(3(3(2(0(x)))))
2(1(2(0(x)))) → 1(0(2(2(0(x)))))
2(1(2(0(x)))) → 1(2(2(2(0(x)))))
2(1(2(0(x)))) → 1(1(2(2(2(0(x))))))
2(2(3(0(x)))) → 2(2(0(4(3(x)))))
2(2(3(0(x)))) → 3(2(2(2(2(0(x))))))
2(1(4(0(x)))) → 4(1(2(2(0(x)))))
2(1(4(0(x)))) → 1(0(2(0(4(x)))))
1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
2(4(5(0(x)))) → 5(0(2(2(0(4(x))))))
3(0(1(2(x)))) → 1(3(2(2(0(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
2(4(5(2(x)))) → 5(2(2(0(4(x)))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
2(4(5(0(0(x))))) → 5(2(0(0(4(0(x))))))
2(1(0(1(0(x))))) → 1(4(1(0(2(0(x))))))
3(0(2(1(0(x))))) → 3(1(4(0(2(0(x))))))
2(2(2(1(0(x))))) → 2(1(2(2(2(0(x))))))
2(3(2(1(0(x))))) → 2(2(0(4(3(1(x))))))
3(2(3(1(0(x))))) → 1(3(3(2(0(0(x))))))
2(4(3(1(0(x))))) → 1(1(4(3(2(0(x))))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
2(2(1(2(0(x))))) → 1(2(2(0(2(0(x))))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))
3(1(0(3(0(x))))) → 3(1(3(4(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
3(2(5(4(0(x))))) → 5(4(3(2(2(0(x))))))
3(0(0(5(0(x))))) → 5(0(3(0(2(0(x))))))
2(1(0(5(0(x))))) → 5(1(0(2(0(0(x))))))
2(4(1(5(0(x))))) → 5(4(1(0(2(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
3(0(0(5(2(x))))) → 3(5(0(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
2(2(1(0(5(x))))) → 2(0(2(0(1(5(x))))))
2(1(0(2(5(x))))) → 2(2(0(4(5(1(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))

Q is empty.

(3) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(4) Obligation:

Q DP problem:
The TRS P consists of the following rules:

21(1(0(0(x)))) → 11(1(0(2(0(x)))))
21(1(0(0(x)))) → 11(0(2(0(x))))
21(1(0(0(x)))) → 21(0(x))
21(2(1(0(x)))) → 11(2(2(0(x))))
21(2(1(0(x)))) → 21(2(0(x)))
21(2(1(0(x)))) → 21(0(x))
21(2(1(0(x)))) → 21(2(0(1(x))))
21(2(1(0(x)))) → 21(0(1(x)))
21(2(1(0(x)))) → 11(x)
31(2(1(0(x)))) → 31(1(0(2(0(x)))))
31(2(1(0(x)))) → 11(0(2(0(x))))
31(2(1(0(x)))) → 21(0(x))
31(2(1(0(x)))) → 11(3(3(2(0(x)))))
31(2(1(0(x)))) → 31(3(2(0(x))))
31(2(1(0(x)))) → 31(2(0(x)))
21(1(2(0(x)))) → 11(0(2(2(0(x)))))
21(1(2(0(x)))) → 21(2(0(x)))
21(1(2(0(x)))) → 11(2(2(2(0(x)))))
21(1(2(0(x)))) → 21(2(2(0(x))))
21(1(2(0(x)))) → 11(1(2(2(2(0(x))))))
21(2(3(0(x)))) → 21(2(0(4(3(x)))))
21(2(3(0(x)))) → 21(0(4(3(x))))
21(2(3(0(x)))) → 41(3(x))
21(2(3(0(x)))) → 31(x)
21(2(3(0(x)))) → 31(2(2(2(2(0(x))))))
21(2(3(0(x)))) → 21(2(2(2(0(x)))))
21(2(3(0(x)))) → 21(2(2(0(x))))
21(2(3(0(x)))) → 21(2(0(x)))
21(2(3(0(x)))) → 21(0(x))
21(1(4(0(x)))) → 41(1(2(2(0(x)))))
21(1(4(0(x)))) → 11(2(2(0(x))))
21(1(4(0(x)))) → 21(2(0(x)))
21(1(4(0(x)))) → 21(0(x))
21(1(4(0(x)))) → 11(0(2(0(4(x)))))
21(1(4(0(x)))) → 21(0(4(x)))
21(1(4(0(x)))) → 41(x)
11(0(5(0(x)))) → 11(5(2(0(2(0(x))))))
11(0(5(0(x)))) → 51(2(0(2(0(x)))))
11(0(5(0(x)))) → 21(0(2(0(x))))
11(0(5(0(x)))) → 21(0(x))
51(0(5(0(x)))) → 51(5(0(2(0(x)))))
51(0(5(0(x)))) → 51(0(2(0(x))))
51(0(5(0(x)))) → 21(0(x))
11(2(5(0(x)))) → 11(5(2(2(0(x)))))
11(2(5(0(x)))) → 51(2(2(0(x))))
11(2(5(0(x)))) → 21(2(0(x)))
11(2(5(0(x)))) → 21(0(x))
51(2(5(0(x)))) → 51(5(2(2(0(x)))))
51(2(5(0(x)))) → 51(2(2(0(x))))
51(2(5(0(x)))) → 21(2(0(x)))
51(2(5(0(x)))) → 21(0(x))
21(4(5(0(x)))) → 51(0(2(2(0(4(x))))))
21(4(5(0(x)))) → 21(2(0(4(x))))
21(4(5(0(x)))) → 21(0(4(x)))
21(4(5(0(x)))) → 41(x)
31(0(1(2(x)))) → 11(3(2(2(0(4(x))))))
31(0(1(2(x)))) → 31(2(2(0(4(x)))))
31(0(1(2(x)))) → 21(2(0(4(x))))
31(0(1(2(x)))) → 21(0(4(x)))
31(0(1(2(x)))) → 41(x)
41(0(1(2(x)))) → 21(2(2(0(4(1(x))))))
41(0(1(2(x)))) → 21(2(0(4(1(x)))))
41(0(1(2(x)))) → 21(0(4(1(x))))
41(0(1(2(x)))) → 41(1(x))
41(0(1(2(x)))) → 11(x)
21(4(5(2(x)))) → 51(2(2(0(4(x)))))
21(4(5(2(x)))) → 21(2(0(4(x))))
21(4(5(2(x)))) → 21(0(4(x)))
21(4(5(2(x)))) → 41(x)
41(0(1(0(0(x))))) → 41(1(0(2(0(0(x))))))
41(0(1(0(0(x))))) → 11(0(2(0(0(x)))))
41(0(1(0(0(x))))) → 21(0(0(x)))
21(4(5(0(0(x))))) → 51(2(0(0(4(0(x))))))
21(4(5(0(0(x))))) → 21(0(0(4(0(x)))))
21(4(5(0(0(x))))) → 41(0(x))
21(1(0(1(0(x))))) → 11(4(1(0(2(0(x))))))
21(1(0(1(0(x))))) → 41(1(0(2(0(x)))))
21(1(0(1(0(x))))) → 11(0(2(0(x))))
21(1(0(1(0(x))))) → 21(0(x))
31(0(2(1(0(x))))) → 31(1(4(0(2(0(x))))))
31(0(2(1(0(x))))) → 11(4(0(2(0(x)))))
31(0(2(1(0(x))))) → 41(0(2(0(x))))
31(0(2(1(0(x))))) → 21(0(x))
21(2(2(1(0(x))))) → 21(1(2(2(2(0(x))))))
21(2(2(1(0(x))))) → 11(2(2(2(0(x)))))
21(2(2(1(0(x))))) → 21(2(2(0(x))))
21(2(2(1(0(x))))) → 21(2(0(x)))
21(2(2(1(0(x))))) → 21(0(x))
21(3(2(1(0(x))))) → 21(2(0(4(3(1(x))))))
21(3(2(1(0(x))))) → 21(0(4(3(1(x)))))
21(3(2(1(0(x))))) → 41(3(1(x)))
21(3(2(1(0(x))))) → 31(1(x))
21(3(2(1(0(x))))) → 11(x)
31(2(3(1(0(x))))) → 11(3(3(2(0(0(x))))))
31(2(3(1(0(x))))) → 31(3(2(0(0(x)))))
31(2(3(1(0(x))))) → 31(2(0(0(x))))
31(2(3(1(0(x))))) → 21(0(0(x)))
21(4(3(1(0(x))))) → 11(1(4(3(2(0(x))))))
21(4(3(1(0(x))))) → 11(4(3(2(0(x)))))
21(4(3(1(0(x))))) → 41(3(2(0(x))))
21(4(3(1(0(x))))) → 31(2(0(x)))
21(4(3(1(0(x))))) → 21(0(x))
11(0(1(2(0(x))))) → 11(1(0(2(0(0(x))))))
11(0(1(2(0(x))))) → 11(0(2(0(0(x)))))
11(0(1(2(0(x))))) → 21(0(0(x)))
21(2(1(2(0(x))))) → 11(2(2(0(2(0(x))))))
21(2(1(2(0(x))))) → 21(2(0(2(0(x)))))
21(2(1(2(0(x))))) → 21(0(2(0(x))))
51(0(3(2(0(x))))) → 31(5(0(0(2(0(x))))))
51(0(3(2(0(x))))) → 51(0(0(2(0(x)))))
31(1(0(3(0(x))))) → 31(1(3(4(0(0(x))))))
31(1(0(3(0(x))))) → 11(3(4(0(0(x)))))
31(1(0(3(0(x))))) → 31(4(0(0(x))))
31(1(0(3(0(x))))) → 41(0(0(x)))
11(4(0(3(0(x))))) → 31(4(4(1(0(0(x))))))
11(4(0(3(0(x))))) → 41(4(1(0(0(x)))))
11(4(0(3(0(x))))) → 41(1(0(0(x))))
11(4(0(3(0(x))))) → 11(0(0(x)))
41(0(2(3(0(x))))) → 41(3(2(0(0(4(x))))))
41(0(2(3(0(x))))) → 31(2(0(0(4(x)))))
41(0(2(3(0(x))))) → 21(0(0(4(x))))
41(0(2(3(0(x))))) → 41(x)
31(2(5(4(0(x))))) → 51(4(3(2(2(0(x))))))
31(2(5(4(0(x))))) → 41(3(2(2(0(x)))))
31(2(5(4(0(x))))) → 31(2(2(0(x))))
31(2(5(4(0(x))))) → 21(2(0(x)))
31(2(5(4(0(x))))) → 21(0(x))
31(0(0(5(0(x))))) → 51(0(3(0(2(0(x))))))
31(0(0(5(0(x))))) → 31(0(2(0(x))))
31(0(0(5(0(x))))) → 21(0(x))
21(1(0(5(0(x))))) → 51(1(0(2(0(0(x))))))
21(1(0(5(0(x))))) → 11(0(2(0(0(x)))))
21(1(0(5(0(x))))) → 21(0(0(x)))
21(4(1(5(0(x))))) → 51(4(1(0(2(0(x))))))
21(4(1(5(0(x))))) → 41(1(0(2(0(x)))))
21(4(1(5(0(x))))) → 11(0(2(0(x))))
21(4(1(5(0(x))))) → 21(0(x))
11(5(2(5(0(x))))) → 11(5(5(0(2(0(x))))))
11(5(2(5(0(x))))) → 51(5(0(2(0(x)))))
11(5(2(5(0(x))))) → 51(0(2(0(x))))
11(5(2(5(0(x))))) → 21(0(x))
41(0(0(1(2(x))))) → 21(0(0(4(4(1(x))))))
41(0(0(1(2(x))))) → 41(4(1(x)))
41(0(0(1(2(x))))) → 41(1(x))
41(0(0(1(2(x))))) → 11(x)
31(0(0(5(2(x))))) → 31(5(0(0(2(0(x))))))
31(0(0(5(2(x))))) → 51(0(0(2(0(x)))))
31(0(0(5(2(x))))) → 21(0(x))
11(0(3(5(2(x))))) → 11(3(2(2(0(5(x))))))
11(0(3(5(2(x))))) → 31(2(2(0(5(x)))))
11(0(3(5(2(x))))) → 21(2(0(5(x))))
11(0(3(5(2(x))))) → 21(0(5(x)))
11(0(3(5(2(x))))) → 51(x)
21(2(1(0(5(x))))) → 21(0(2(0(1(5(x))))))
21(2(1(0(5(x))))) → 21(0(1(5(x))))
21(2(1(0(5(x))))) → 11(5(x))
21(1(0(2(5(x))))) → 21(2(0(4(5(1(x))))))
21(1(0(2(5(x))))) → 21(0(4(5(1(x)))))
21(1(0(2(5(x))))) → 41(5(1(x)))
21(1(0(2(5(x))))) → 51(1(x))
21(1(0(2(5(x))))) → 11(x)
11(0(1(2(5(x))))) → 11(5(1(3(2(0(x))))))
11(0(1(2(5(x))))) → 51(1(3(2(0(x)))))
11(0(1(2(5(x))))) → 11(3(2(0(x))))
11(0(1(2(5(x))))) → 31(2(0(x)))
11(0(1(2(5(x))))) → 21(0(x))
11(0(3(2(5(x))))) → 31(2(2(0(5(1(x))))))
11(0(3(2(5(x))))) → 21(2(0(5(1(x)))))
11(0(3(2(5(x))))) → 21(0(5(1(x))))
11(0(3(2(5(x))))) → 51(1(x))
11(0(3(2(5(x))))) → 11(x)
11(4(0(3(5(x))))) → 11(3(2(0(5(4(x))))))
11(4(0(3(5(x))))) → 31(2(0(5(4(x)))))
11(4(0(3(5(x))))) → 21(0(5(4(x))))
11(4(0(3(5(x))))) → 51(4(x))
11(4(0(3(5(x))))) → 41(x)

The TRS R consists of the following rules:

2(1(0(0(x)))) → 1(1(0(2(0(x)))))
2(2(1(0(x)))) → 0(1(2(2(0(x)))))
2(2(1(0(x)))) → 0(2(2(0(1(x)))))
3(2(1(0(x)))) → 3(1(0(2(0(x)))))
3(2(1(0(x)))) → 1(3(3(2(0(x)))))
2(1(2(0(x)))) → 1(0(2(2(0(x)))))
2(1(2(0(x)))) → 1(2(2(2(0(x)))))
2(1(2(0(x)))) → 1(1(2(2(2(0(x))))))
2(2(3(0(x)))) → 2(2(0(4(3(x)))))
2(2(3(0(x)))) → 3(2(2(2(2(0(x))))))
2(1(4(0(x)))) → 4(1(2(2(0(x)))))
2(1(4(0(x)))) → 1(0(2(0(4(x)))))
1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
2(4(5(0(x)))) → 5(0(2(2(0(4(x))))))
3(0(1(2(x)))) → 1(3(2(2(0(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
2(4(5(2(x)))) → 5(2(2(0(4(x)))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
2(4(5(0(0(x))))) → 5(2(0(0(4(0(x))))))
2(1(0(1(0(x))))) → 1(4(1(0(2(0(x))))))
3(0(2(1(0(x))))) → 3(1(4(0(2(0(x))))))
2(2(2(1(0(x))))) → 2(1(2(2(2(0(x))))))
2(3(2(1(0(x))))) → 2(2(0(4(3(1(x))))))
3(2(3(1(0(x))))) → 1(3(3(2(0(0(x))))))
2(4(3(1(0(x))))) → 1(1(4(3(2(0(x))))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
2(2(1(2(0(x))))) → 1(2(2(0(2(0(x))))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))
3(1(0(3(0(x))))) → 3(1(3(4(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
3(2(5(4(0(x))))) → 5(4(3(2(2(0(x))))))
3(0(0(5(0(x))))) → 5(0(3(0(2(0(x))))))
2(1(0(5(0(x))))) → 5(1(0(2(0(0(x))))))
2(4(1(5(0(x))))) → 5(4(1(0(2(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
3(0(0(5(2(x))))) → 3(5(0(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
2(2(1(0(5(x))))) → 2(0(2(0(1(5(x))))))
2(1(0(2(5(x))))) → 2(2(0(4(5(1(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs with 166 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

Q DP problem:
The TRS P consists of the following rules:

11(0(3(2(5(x))))) → 11(x)
11(4(0(3(5(x))))) → 41(x)
41(0(1(2(x)))) → 41(1(x))
41(0(1(2(x)))) → 11(x)
41(0(2(3(0(x))))) → 41(x)
41(0(0(1(2(x))))) → 41(4(1(x)))
41(0(0(1(2(x))))) → 41(1(x))
41(0(0(1(2(x))))) → 11(x)

The TRS R consists of the following rules:

2(1(0(0(x)))) → 1(1(0(2(0(x)))))
2(2(1(0(x)))) → 0(1(2(2(0(x)))))
2(2(1(0(x)))) → 0(2(2(0(1(x)))))
3(2(1(0(x)))) → 3(1(0(2(0(x)))))
3(2(1(0(x)))) → 1(3(3(2(0(x)))))
2(1(2(0(x)))) → 1(0(2(2(0(x)))))
2(1(2(0(x)))) → 1(2(2(2(0(x)))))
2(1(2(0(x)))) → 1(1(2(2(2(0(x))))))
2(2(3(0(x)))) → 2(2(0(4(3(x)))))
2(2(3(0(x)))) → 3(2(2(2(2(0(x))))))
2(1(4(0(x)))) → 4(1(2(2(0(x)))))
2(1(4(0(x)))) → 1(0(2(0(4(x)))))
1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
2(4(5(0(x)))) → 5(0(2(2(0(4(x))))))
3(0(1(2(x)))) → 1(3(2(2(0(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
2(4(5(2(x)))) → 5(2(2(0(4(x)))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
2(4(5(0(0(x))))) → 5(2(0(0(4(0(x))))))
2(1(0(1(0(x))))) → 1(4(1(0(2(0(x))))))
3(0(2(1(0(x))))) → 3(1(4(0(2(0(x))))))
2(2(2(1(0(x))))) → 2(1(2(2(2(0(x))))))
2(3(2(1(0(x))))) → 2(2(0(4(3(1(x))))))
3(2(3(1(0(x))))) → 1(3(3(2(0(0(x))))))
2(4(3(1(0(x))))) → 1(1(4(3(2(0(x))))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
2(2(1(2(0(x))))) → 1(2(2(0(2(0(x))))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))
3(1(0(3(0(x))))) → 3(1(3(4(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
3(2(5(4(0(x))))) → 5(4(3(2(2(0(x))))))
3(0(0(5(0(x))))) → 5(0(3(0(2(0(x))))))
2(1(0(5(0(x))))) → 5(1(0(2(0(0(x))))))
2(4(1(5(0(x))))) → 5(4(1(0(2(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
3(0(0(5(2(x))))) → 3(5(0(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
2(2(1(0(5(x))))) → 2(0(2(0(1(5(x))))))
2(1(0(2(5(x))))) → 2(2(0(4(5(1(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(8) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(9) Obligation:

Q DP problem:
The TRS P consists of the following rules:

11(0(3(2(5(x))))) → 11(x)
11(4(0(3(5(x))))) → 41(x)
41(0(1(2(x)))) → 41(1(x))
41(0(1(2(x)))) → 11(x)
41(0(2(3(0(x))))) → 41(x)
41(0(0(1(2(x))))) → 41(4(1(x)))
41(0(0(1(2(x))))) → 41(1(x))
41(0(0(1(2(x))))) → 11(x)

The TRS R consists of the following rules:

1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(10) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 3 less nodes.

(11) Obligation:

Q DP problem:
The TRS P consists of the following rules:

11(4(0(3(5(x))))) → 41(x)
41(0(1(2(x)))) → 11(x)
11(0(3(2(5(x))))) → 11(x)
41(0(2(3(0(x))))) → 41(x)
41(0(0(1(2(x))))) → 11(x)

The TRS R consists of the following rules:

1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(12) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

11(4(0(3(5(x))))) → 41(x)
41(0(1(2(x)))) → 11(x)
11(0(3(2(5(x))))) → 11(x)
41(0(2(3(0(x))))) → 41(x)
41(0(0(1(2(x))))) → 11(x)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • 41(0(2(3(0(x))))) → 41(x)
    The graph contains the following edges 1 > 1

  • 11(0(3(2(5(x))))) → 11(x)
    The graph contains the following edges 1 > 1

  • 11(4(0(3(5(x))))) → 41(x)
    The graph contains the following edges 1 > 1

  • 41(0(1(2(x)))) → 11(x)
    The graph contains the following edges 1 > 1

  • 41(0(0(1(2(x))))) → 11(x)
    The graph contains the following edges 1 > 1

(15) YES

(16) Obligation:

Q DP problem:
The TRS P consists of the following rules:

31(1(0(3(0(x))))) → 31(4(0(0(x))))
31(1(0(3(0(x))))) → 31(1(3(4(0(0(x))))))

The TRS R consists of the following rules:

2(1(0(0(x)))) → 1(1(0(2(0(x)))))
2(2(1(0(x)))) → 0(1(2(2(0(x)))))
2(2(1(0(x)))) → 0(2(2(0(1(x)))))
3(2(1(0(x)))) → 3(1(0(2(0(x)))))
3(2(1(0(x)))) → 1(3(3(2(0(x)))))
2(1(2(0(x)))) → 1(0(2(2(0(x)))))
2(1(2(0(x)))) → 1(2(2(2(0(x)))))
2(1(2(0(x)))) → 1(1(2(2(2(0(x))))))
2(2(3(0(x)))) → 2(2(0(4(3(x)))))
2(2(3(0(x)))) → 3(2(2(2(2(0(x))))))
2(1(4(0(x)))) → 4(1(2(2(0(x)))))
2(1(4(0(x)))) → 1(0(2(0(4(x)))))
1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
2(4(5(0(x)))) → 5(0(2(2(0(4(x))))))
3(0(1(2(x)))) → 1(3(2(2(0(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
2(4(5(2(x)))) → 5(2(2(0(4(x)))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
2(4(5(0(0(x))))) → 5(2(0(0(4(0(x))))))
2(1(0(1(0(x))))) → 1(4(1(0(2(0(x))))))
3(0(2(1(0(x))))) → 3(1(4(0(2(0(x))))))
2(2(2(1(0(x))))) → 2(1(2(2(2(0(x))))))
2(3(2(1(0(x))))) → 2(2(0(4(3(1(x))))))
3(2(3(1(0(x))))) → 1(3(3(2(0(0(x))))))
2(4(3(1(0(x))))) → 1(1(4(3(2(0(x))))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
2(2(1(2(0(x))))) → 1(2(2(0(2(0(x))))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))
3(1(0(3(0(x))))) → 3(1(3(4(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
3(2(5(4(0(x))))) → 5(4(3(2(2(0(x))))))
3(0(0(5(0(x))))) → 5(0(3(0(2(0(x))))))
2(1(0(5(0(x))))) → 5(1(0(2(0(0(x))))))
2(4(1(5(0(x))))) → 5(4(1(0(2(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
3(0(0(5(2(x))))) → 3(5(0(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
2(2(1(0(5(x))))) → 2(0(2(0(1(5(x))))))
2(1(0(2(5(x))))) → 2(2(0(4(5(1(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(17) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(18) Obligation:

Q DP problem:
The TRS P consists of the following rules:

31(1(0(3(0(x))))) → 31(4(0(0(x))))
31(1(0(3(0(x))))) → 31(1(3(4(0(0(x))))))

The TRS R consists of the following rules:

4(0(0(1(2(x))))) → 2(0(0(4(4(1(x))))))
3(2(1(0(x)))) → 3(1(0(2(0(x)))))
3(2(1(0(x)))) → 1(3(3(2(0(x)))))
3(0(1(2(x)))) → 1(3(2(2(0(4(x))))))
3(0(2(1(0(x))))) → 3(1(4(0(2(0(x))))))
3(2(3(1(0(x))))) → 1(3(3(2(0(0(x))))))
3(1(0(3(0(x))))) → 3(1(3(4(0(0(x))))))
3(2(5(4(0(x))))) → 5(4(3(2(2(0(x))))))
3(0(0(5(0(x))))) → 5(0(3(0(2(0(x))))))
3(0(0(5(2(x))))) → 3(5(0(0(2(0(x))))))
1(0(5(0(x)))) → 1(5(2(0(2(0(x))))))
1(2(5(0(x)))) → 1(5(2(2(0(x)))))
1(0(1(2(0(x))))) → 1(1(0(2(0(0(x))))))
1(4(0(3(0(x))))) → 3(4(4(1(0(0(x))))))
1(5(2(5(0(x))))) → 1(5(5(0(2(0(x))))))
1(0(3(5(2(x))))) → 1(3(2(2(0(5(x))))))
1(0(1(2(5(x))))) → 1(5(1(3(2(0(x))))))
1(0(3(2(5(x))))) → 3(2(2(0(5(1(x))))))
1(4(0(3(5(x))))) → 1(3(2(0(5(4(x))))))
4(0(1(2(x)))) → 2(2(2(0(4(1(x))))))
4(0(1(0(0(x))))) → 4(1(0(2(0(0(x))))))
4(0(2(3(0(x))))) → 4(3(2(0(0(4(x))))))
5(0(5(0(x)))) → 5(5(0(2(0(x)))))
5(2(5(0(x)))) → 5(5(2(2(0(x)))))
5(0(3(2(0(x))))) → 3(5(0(0(2(0(x))))))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(19) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 2 less nodes.

(20) TRUE