0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇐)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 TRUE
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPOrderProof (⇔)
↳22 QDP
↳23 DependencyGraphProof (⇔)
↳24 TRUE
star1_in_gg(T3, []) → star1_out_gg(T3, [])
star1_in_gg(T5, T6) → U1_gg(T5, T6, app13_in_gag(T5, X11, T6))
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
U1_gg(T5, T6, app13_out_gag(T5, X11, T6)) → star1_out_gg(T5, T6)
star1_in_gg(T5, T6) → U2_gg(T5, T6, app13_in_gag(T5, T7, T6))
U2_gg(T5, T6, app13_out_gag(T5, T7, T6)) → U3_gg(T5, T6, star1_in_gg(T5, T7))
U3_gg(T5, T6, star1_out_gg(T5, T7)) → star1_out_gg(T5, T6)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
star1_in_gg(T3, []) → star1_out_gg(T3, [])
star1_in_gg(T5, T6) → U1_gg(T5, T6, app13_in_gag(T5, X11, T6))
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
U1_gg(T5, T6, app13_out_gag(T5, X11, T6)) → star1_out_gg(T5, T6)
star1_in_gg(T5, T6) → U2_gg(T5, T6, app13_in_gag(T5, T7, T6))
U2_gg(T5, T6, app13_out_gag(T5, T7, T6)) → U3_gg(T5, T6, star1_in_gg(T5, T7))
U3_gg(T5, T6, star1_out_gg(T5, T7)) → star1_out_gg(T5, T6)
STAR1_IN_GG(T5, T6) → U1_GG(T5, T6, app13_in_gag(T5, X11, T6))
STAR1_IN_GG(T5, T6) → APP13_IN_GAG(T5, X11, T6)
APP13_IN_GAG(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_GAG(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
APP13_IN_GAG(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → APP19_IN_GAG(T13, X35, T14)
APP19_IN_GAG(.(T12, T13), X35, .(T12, T14)) → U4_GAG(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
APP19_IN_GAG(.(T12, T13), X35, .(T12, T14)) → APP19_IN_GAG(T13, X35, T14)
STAR1_IN_GG(T5, T6) → U2_GG(T5, T6, app13_in_gag(T5, T7, T6))
U2_GG(T5, T6, app13_out_gag(T5, T7, T6)) → U3_GG(T5, T6, star1_in_gg(T5, T7))
U2_GG(T5, T6, app13_out_gag(T5, T7, T6)) → STAR1_IN_GG(T5, T7)
star1_in_gg(T3, []) → star1_out_gg(T3, [])
star1_in_gg(T5, T6) → U1_gg(T5, T6, app13_in_gag(T5, X11, T6))
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
U1_gg(T5, T6, app13_out_gag(T5, X11, T6)) → star1_out_gg(T5, T6)
star1_in_gg(T5, T6) → U2_gg(T5, T6, app13_in_gag(T5, T7, T6))
U2_gg(T5, T6, app13_out_gag(T5, T7, T6)) → U3_gg(T5, T6, star1_in_gg(T5, T7))
U3_gg(T5, T6, star1_out_gg(T5, T7)) → star1_out_gg(T5, T6)
STAR1_IN_GG(T5, T6) → U1_GG(T5, T6, app13_in_gag(T5, X11, T6))
STAR1_IN_GG(T5, T6) → APP13_IN_GAG(T5, X11, T6)
APP13_IN_GAG(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_GAG(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
APP13_IN_GAG(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → APP19_IN_GAG(T13, X35, T14)
APP19_IN_GAG(.(T12, T13), X35, .(T12, T14)) → U4_GAG(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
APP19_IN_GAG(.(T12, T13), X35, .(T12, T14)) → APP19_IN_GAG(T13, X35, T14)
STAR1_IN_GG(T5, T6) → U2_GG(T5, T6, app13_in_gag(T5, T7, T6))
U2_GG(T5, T6, app13_out_gag(T5, T7, T6)) → U3_GG(T5, T6, star1_in_gg(T5, T7))
U2_GG(T5, T6, app13_out_gag(T5, T7, T6)) → STAR1_IN_GG(T5, T7)
star1_in_gg(T3, []) → star1_out_gg(T3, [])
star1_in_gg(T5, T6) → U1_gg(T5, T6, app13_in_gag(T5, X11, T6))
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
U1_gg(T5, T6, app13_out_gag(T5, X11, T6)) → star1_out_gg(T5, T6)
star1_in_gg(T5, T6) → U2_gg(T5, T6, app13_in_gag(T5, T7, T6))
U2_gg(T5, T6, app13_out_gag(T5, T7, T6)) → U3_gg(T5, T6, star1_in_gg(T5, T7))
U3_gg(T5, T6, star1_out_gg(T5, T7)) → star1_out_gg(T5, T6)
APP19_IN_GAG(.(T12, T13), X35, .(T12, T14)) → APP19_IN_GAG(T13, X35, T14)
star1_in_gg(T3, []) → star1_out_gg(T3, [])
star1_in_gg(T5, T6) → U1_gg(T5, T6, app13_in_gag(T5, X11, T6))
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
U1_gg(T5, T6, app13_out_gag(T5, X11, T6)) → star1_out_gg(T5, T6)
star1_in_gg(T5, T6) → U2_gg(T5, T6, app13_in_gag(T5, T7, T6))
U2_gg(T5, T6, app13_out_gag(T5, T7, T6)) → U3_gg(T5, T6, star1_in_gg(T5, T7))
U3_gg(T5, T6, star1_out_gg(T5, T7)) → star1_out_gg(T5, T6)
APP19_IN_GAG(.(T12, T13), X35, .(T12, T14)) → APP19_IN_GAG(T13, X35, T14)
APP19_IN_GAG(.(T12, T13), .(T12, T14)) → APP19_IN_GAG(T13, T14)
From the DPs we obtained the following set of size-change graphs:
STAR1_IN_GG(T5, T6) → U2_GG(T5, T6, app13_in_gag(T5, T7, T6))
U2_GG(T5, T6, app13_out_gag(T5, T7, T6)) → STAR1_IN_GG(T5, T7)
star1_in_gg(T3, []) → star1_out_gg(T3, [])
star1_in_gg(T5, T6) → U1_gg(T5, T6, app13_in_gag(T5, X11, T6))
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
U1_gg(T5, T6, app13_out_gag(T5, X11, T6)) → star1_out_gg(T5, T6)
star1_in_gg(T5, T6) → U2_gg(T5, T6, app13_in_gag(T5, T7, T6))
U2_gg(T5, T6, app13_out_gag(T5, T7, T6)) → U3_gg(T5, T6, star1_in_gg(T5, T7))
U3_gg(T5, T6, star1_out_gg(T5, T7)) → star1_out_gg(T5, T6)
STAR1_IN_GG(T5, T6) → U2_GG(T5, T6, app13_in_gag(T5, T7, T6))
U2_GG(T5, T6, app13_out_gag(T5, T7, T6)) → STAR1_IN_GG(T5, T7)
app13_in_gag(.(T8, []), T11, .(T8, T11)) → app13_out_gag(.(T8, []), T11, .(T8, T11))
app13_in_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14))) → U5_gag(T8, T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U5_gag(T8, T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app13_out_gag(.(T8, .(T12, T13)), X35, .(T8, .(T12, T14)))
app19_in_gag([], T11, T11) → app19_out_gag([], T11, T11)
app19_in_gag(.(T12, T13), X35, .(T12, T14)) → U4_gag(T12, T13, X35, T14, app19_in_gag(T13, X35, T14))
U4_gag(T12, T13, X35, T14, app19_out_gag(T13, X35, T14)) → app19_out_gag(.(T12, T13), X35, .(T12, T14))
STAR1_IN_GG(T5, T6) → U2_GG(T5, app13_in_gag(T5, T6))
U2_GG(T5, app13_out_gag(T7)) → STAR1_IN_GG(T5, T7)
app13_in_gag(.(T8, []), .(T8, T11)) → app13_out_gag(T11)
app13_in_gag(.(T8, .(T12, T13)), .(T8, .(T12, T14))) → U5_gag(app19_in_gag(T13, T14))
U5_gag(app19_out_gag(X35)) → app13_out_gag(X35)
app19_in_gag([], T11) → app19_out_gag(T11)
app19_in_gag(.(T12, T13), .(T12, T14)) → U4_gag(app19_in_gag(T13, T14))
U4_gag(app19_out_gag(X35)) → app19_out_gag(X35)
app13_in_gag(x0, x1)
U5_gag(x0)
app19_in_gag(x0, x1)
U4_gag(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U2_GG(T5, app13_out_gag(T7)) → STAR1_IN_GG(T5, T7)
POL(.(x1, x2)) = 1 + x2
POL(STAR1_IN_GG(x1, x2)) = x2
POL(U2_GG(x1, x2)) = x2
POL(U4_gag(x1)) = 1 + x1
POL(U5_gag(x1)) = 1 + x1
POL([]) = 0
POL(app13_in_gag(x1, x2)) = x2
POL(app13_out_gag(x1)) = 1 + x1
POL(app19_in_gag(x1, x2)) = 1 + x2
POL(app19_out_gag(x1)) = 1 + x1
app13_in_gag(.(T8, []), .(T8, T11)) → app13_out_gag(T11)
app13_in_gag(.(T8, .(T12, T13)), .(T8, .(T12, T14))) → U5_gag(app19_in_gag(T13, T14))
app19_in_gag([], T11) → app19_out_gag(T11)
app19_in_gag(.(T12, T13), .(T12, T14)) → U4_gag(app19_in_gag(T13, T14))
U5_gag(app19_out_gag(X35)) → app13_out_gag(X35)
U4_gag(app19_out_gag(X35)) → app19_out_gag(X35)
STAR1_IN_GG(T5, T6) → U2_GG(T5, app13_in_gag(T5, T6))
app13_in_gag(.(T8, []), .(T8, T11)) → app13_out_gag(T11)
app13_in_gag(.(T8, .(T12, T13)), .(T8, .(T12, T14))) → U5_gag(app19_in_gag(T13, T14))
U5_gag(app19_out_gag(X35)) → app13_out_gag(X35)
app19_in_gag([], T11) → app19_out_gag(T11)
app19_in_gag(.(T12, T13), .(T12, T14)) → U4_gag(app19_in_gag(T13, T14))
U4_gag(app19_out_gag(X35)) → app19_out_gag(X35)
app13_in_gag(x0, x1)
U5_gag(x0)
app19_in_gag(x0, x1)
U4_gag(x0)