YES
0 RelTRS
↳1 RelTRStoRelADPProof (⇔, 0 ms)
↳2 RelADPP
↳3 RelADPDepGraphProof (⇔, 0 ms)
↳4 RelADPP
↳5 RelADPCleverAfsProof (⇒, 54 ms)
↳6 QDP
↳7 MRRProof (⇔, 0 ms)
↳8 QDP
↳9 QDPOrderProof (⇔, 0 ms)
↳10 QDP
↳11 PisEmptyProof (⇔, 0 ms)
↳12 YES
f(s(x), y, y) → f(y, x, s(x))
rand(x) → rand(s(x))
rand(x) → x
We upgrade the RelTRS problem to an equivalent Relative ADP Problem [IJCAR24].
f(s(x), y, y) → F(y, x, s(x))
rand(x) → RAND(s(x))
rand(x) → x
We use the relative dependency graph processor [IJCAR24].
The approximation of the Relative Dependency Graph contains:
1 SCC with nodes from P_abs,
0 Lassos,
Result: This relative DT problem is equivalent to 1 subproblem.
f(s(x), y, y) → F(y, x, s(x))
rand(x) → rand(s(x))
rand(x) → x
Furthermore, We use an argument filter [LPAR04].
Filtering:s_1 =
f_3 = 1
F_3 = 2
rand_1 =
Found this filtering by looking at the following order that orders at least one DP strictly:Combined order from the following AFS and order.
F(x1, x2, x3) = F(x1, x2)
s(x1) = s(x1)
f(x1, x2, x3) = f(x1, x3)
Recursive path order with status [RPO].
Quasi-Precedence:
F2 > s1 > f2
F2: multiset
s1: multiset
f2: multiset
F(s0(x), y) → F(y, x)
f(s0(x), y) → f(y, s0(x))
rand0(x) → rand0(s0(x))
rand0(x) → x
rand0(x) → x
POL(F(x1, x2)) = 2·x1 + 2·x2
POL(f(x1, x2)) = x1 + x2
POL(rand0(x1)) = 1 + x1
POL(s0(x1)) = x1
F(s0(x), y) → F(y, x)
f(s0(x), y) → f(y, s0(x))
rand0(x) → rand0(s0(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(s0(x), y) → F(y, x)
trivial
s0_1=1
rand0=2
F_2=1
f=1
f(s0(x), y) → f(y, s0(x))
rand0(x) → rand0(s0(x))
f(s0(x), y) → f(y, s0(x))
rand0(x) → rand0(s0(x))