YES
0 RelTRS
↳1 RelTRStoRelADPProof (⇔, 0 ms)
↳2 RelADPP
↳3 RelADPReductionPairProof (⇔, 56 ms)
↳4 RelADPP
↳5 RelADPRuleRemovalProof (⇔, 0 ms)
↳6 RelADPP
↳7 RelADPReductionPairProof (⇔, 0 ms)
↳8 RelADPP
↳9 DAbsisEmptyProof (⇔, 0 ms)
↳10 YES
p(0, y) → y
p(s(x), y) → s(p(x, y))
p(x, y) → p(x, s(y))
We upgrade the RelTRS problem to an equivalent Relative ADP Problem [IJCAR24].
p(0, y) → y
p(s(x), y) → s(P(x, y))
p(x, y) → P(x, s(y))
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:
p(0, y) → y
p(s(x), y) → s(P(x, y))
p(x, y) → P(x, s(y))
POL(0) = 1
POL(P(x1, x2)) = x1
POL(p(x1, x2)) = x2
POL(s(x1)) = x1
p(s(x), y) → s(P(x, y))
p(0, y) → y
p(x, y) → P(x, s(y))
We use the rule removal processor [IJCAR24].
The following rules can be ordered strictly and therefore removed:
p(0, y) → y
p(s(x), y) → s(P(x, y))
p(x, y) → P(x, s(y))
POL(0) = 1
POL(P(x1, x2)) = 2·x1 + x2
POL(p(x1, x2)) = 1 + 2·x1 + x2
POL(s(x1)) = x1
p(s(x), y) → s(P(x, y))
p(x, y) → P(x, s(y))
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:
p(s(x), y) → s(P(x, y))
POL(P(x1, x2)) = 3·x1
POL(p(x1, x2)) = 2 + 2·x1
POL(s(x1)) = 2 + x1
p(s(x), y) → s(p(x, y))
p(x, y) → P(x, s(y))