0 Prolog
↳1 PrologToPiTRSProof (⇐)
↳2 PiTRS
↳3 DependencyPairsProof (⇔)
↳4 PiDP
↳5 DependencyGraphProof (⇔)
↳6 PiDP
↳7 PiDPToQDPProof (⇐)
↳8 QDP
↳9 QDPOrderProof (⇔)
↳10 QDP
↳11 QDPOrderProof (⇔)
↳12 QDP
↳13 DependencyGraphProof (⇔)
↳14 QDP
↳15 UsableRulesProof (⇔)
↳16 QDP
↳17 QReductionProof (⇔)
↳18 QDP
↳19 UsableRulesReductionPairsProof (⇔)
↳20 QDP
↳21 PisEmptyProof (⇔)
↳22 TRUE
↳23 PrologToPiTRSProof (⇐)
↳24 PiTRS
↳25 DependencyPairsProof (⇔)
↳26 PiDP
↳27 DependencyGraphProof (⇔)
↳28 PiDP
↳29 PiDPToQDPProof (⇔)
↳30 QDP
↳31 QDPOrderProof (⇔)
↳32 QDP
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
POL(.(x1, x2)) = x1 + x2
POL(0) = 1
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3)) = x1 + x2
POL(U1_g(x1, x2, x3)) = 0
POL(U2_g(x1)) = 0
POL(U3_g(x1)) = 0
POL([]) = 0
POL(p_in_g(x1)) = 0
POL(p_out_g) = 0
POL(s(x1)) = x1
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
POL(.(x1, x2)) = 1 + x2
POL(0) = 0
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3)) = 1 + x2
POL(U1_g(x1, x2, x3)) = 0
POL(U2_g(x1)) = 0
POL(U3_g(x1)) = 0
POL([]) = 0
POL(p_in_g(x1)) = 0
POL(p_out_g) = 0
POL(s(x1)) = 0
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
No rules are removed from R.
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
POL(.(x1, x2)) = 2·x1 + x2
POL(P_IN_G(x1)) = 2·x1
POL(s(x1)) = 2·x1
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
p_in_g(x0)
U3_g(x0, x1)
U1_g(x0, x1, x2, x3)
U2_g(x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
POL(.(x1, x2)) = x1 + x2
POL(0) = 1
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3, x4)) = x2 + x3
POL(U1_g(x1, x2, x3, x4)) = x1 + x2 + x3
POL(U2_g(x1, x2, x3, x4)) = x1
POL(U3_g(x1, x2)) = x2
POL([]) = 0
POL(p_in_g(x1)) = x1
POL(p_out_g(x1)) = 0
POL(s(x1)) = x1
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
p_in_g(x0)
U3_g(x0, x1)
U1_g(x0, x1, x2, x3)
U2_g(x0, x1, x2, x3)