YES Termination proof of Relative_05_rt1-4.ari

(0) Obligation:

Relative term rewrite system:
The relative TRS consists of the following R rules:

f(el(x), y) → f(x, el(y))

The relative TRS consists of the following S rules:

l(el(x)) → el(l(x))
f(x, y) → f(l(x), y)
el(r(x)) → r(el(x))
f(x, y) → f(x, r(y))

(1) RelTRStoRelADPProof (EQUIVALENT transformation)

We upgrade the RelTRS problem to an equivalent Relative ADP Problem [IJCAR24].

(2) Obligation:

Relative ADP Problem with
absolute ADPs:

f(el(x), y) → F(x, el(y))
f(el(x), y) → f(x, EL(y))

and relative ADPs:

l(el(x)) → EL(L(x))
f(x, y) → F(L(x), y)
el(r(x)) → r(EL(x))
f(x, y) → F(x, r(y))

(3) RelADPDepGraphProof (EQUIVALENT transformation)

We use the relative dependency graph processor [IJCAR24].
The approximation of the Relative Dependency Graph contains:
1 SCC with nodes from P_abs,
2 Lassos,
Result: This relative DT problem is equivalent to 3 subproblems.

(4) Complex Obligation (AND)

(5) Obligation:

Relative ADP Problem with
absolute ADPs:

f(el(x), y) → F(x, el(y))

and relative ADPs:

f(el(x), y) → f(x, el(y))
f(x, y) → F(x, r(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))
f(x, y) → F(L(x), y)

(6) RelADPReductionPairProof (EQUIVALENT transformation)

We use the reduction pair processor [IJCAR24].
The following rules can be oriented strictly (l^# > ann(r))
and therefore we can remove all of its annotations in the right-hand side:
Absolute ADPs:


f(el(x), y) → F(x, el(y))

Relative ADPs:

f(el(x), y) → f(x, el(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))


The remaining rules can at least be oriented weakly:

Ordered with Polynomial interpretation [POLO]:

POL(EL(x1)) = 2 + x12   
POL(F(x1, x2)) = 2 + x1   
POL(L(x1)) = 0   
POL(el(x1)) = 1 + x1   
POL(f(x1, x2)) = 0   
POL(l(x1)) = x1   
POL(r(x1)) = 2   

(7) Obligation:

Relative ADP Problem with
No absolute ADPs, and relative ADPs:

f(el(x), y) → f(x, el(y))
f(x, y) → F(x, r(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))
f(x, y) → F(L(x), y)

(8) DAbsisEmptyProof (EQUIVALENT transformation)

The relative ADP Problem has an empty P_abs. Hence, no infinite chain exists.

(9) YES

(10) Obligation:

Relative ADP Problem with
absolute ADPs:

f(el(x), y) → f(x, EL(y))

and relative ADPs:

f(el(x), y) → f(x, el(y))
f(x, y) → F(x, r(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))
f(x, y) → F(L(x), y)

(11) RelADPReductionPairProof (EQUIVALENT transformation)

We use the reduction pair processor [IJCAR24].
The following rules can be oriented strictly (l^# > ann(r))
and therefore we can remove all of its annotations in the right-hand side:
Absolute ADPs:


f(el(x), y) → f(x, EL(y))

Relative ADPs:

f(el(x), y) → f(x, el(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))


The remaining rules can at least be oriented weakly:

Ordered with Polynomial interpretation [POLO]:

POL(EL(x1)) = 1   
POL(F(x1, x2)) = 3 + x1   
POL(L(x1)) = 0   
POL(el(x1)) = 3 + 3·x1   
POL(f(x1, x2)) = 0   
POL(l(x1)) = x1   
POL(r(x1)) = 3 + x1   

(12) Obligation:

Relative ADP Problem with
No absolute ADPs, and relative ADPs:

f(el(x), y) → f(x, el(y))
f(x, y) → F(x, r(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))
f(x, y) → F(L(x), y)

(13) DAbsisEmptyProof (EQUIVALENT transformation)

The relative ADP Problem has an empty P_abs. Hence, no infinite chain exists.

(14) YES

(15) Obligation:

Relative ADP Problem with
absolute ADPs:

f(el(x), y) → F(x, el(y))

and relative ADPs:

f(el(x), y) → f(x, el(y))
f(x, y) → F(x, r(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))
f(x, y) → F(L(x), y)

(16) RelADPReductionPairProof (EQUIVALENT transformation)

We use the reduction pair processor [IJCAR24].
The following rules can be oriented strictly (l^# > ann(r))
and therefore we can remove all of its annotations in the right-hand side:
Absolute ADPs:


f(el(x), y) → F(x, el(y))

Relative ADPs:

f(el(x), y) → f(x, el(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))


The remaining rules can at least be oriented weakly:

Ordered with Polynomial interpretation [POLO]:

POL(EL(x1)) = 2 + x12   
POL(F(x1, x2)) = 2 + x1   
POL(L(x1)) = 0   
POL(el(x1)) = 1 + x1   
POL(f(x1, x2)) = 0   
POL(l(x1)) = x1   
POL(r(x1)) = 2   

(17) Obligation:

Relative ADP Problem with
No absolute ADPs, and relative ADPs:

f(el(x), y) → f(x, el(y))
f(x, y) → F(x, r(y))
l(el(x)) → el(l(x))
el(r(x)) → r(el(x))
f(x, y) → F(L(x), y)

(18) DAbsisEmptyProof (EQUIVALENT transformation)

The relative ADP Problem has an empty P_abs. Hence, no infinite chain exists.

(19) YES