0 Prolog
↳1 PrologToDTProblemTransformerProof (⇐)
↳2 TRIPLES
↳3 TriplesToPiDPProof (⇐)
↳4 PiDP
↳5 DependencyGraphProof (⇔)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔)
↳9 PiDP
↳10 PiDPToQDPProof (⇐)
↳11 QDP
↳12 QDPSizeChangeProof (⇔)
↳13 YES
↳14 PiDP
↳15 PiDPToQDPProof (⇐)
↳16 QDP
↳17 QDPOrderProof (⇔)
↳18 QDP
↳19 DependencyGraphProof (⇔)
↳20 QDP
↳21 UsableRulesProof (⇔)
↳22 QDP
↳23 QReductionProof (⇔)
↳24 QDP
↳25 QDPSizeChangeProof (⇔)
↳26 YES
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → U6_GG(T11, T12, T13, T14, p7_in_ggaagga(T11, T12, X16, X17, T13, T14, X18))
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → P7_IN_GGAAGGA(T11, T12, X16, X17, T13, T14, X18)
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, X18) → U2_GGAAGGA(T23, T24, T13, T14, X18, getleave14_in_ggga(T13, T14, T23, X18))
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, X18) → GETLEAVE14_IN_GGGA(T13, T14, T23, X18)
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55, X72) → U1_GGGA(T52, T53, T54, T55, X72, getleave14_in_ggga(T52, tree(T53, T54), T55, X72))
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55, X72) → GETLEAVE14_IN_GGGA(T52, tree(T53, T54), T55, X72)
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, T29) → U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_in_ggga(T13, T14, T23, T29))
U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_out_ggga(T13, T14, T23, T29)) → U4_GGAAGGA(T23, T24, T13, T14, T29, sameleaves1_in_gg(T24, T29))
U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_out_ggga(T13, T14, T23, T29)) → SAMELEAVES1_IN_GG(T24, T29)
P7_IN_GGAAGGA(tree(T70, T71), T72, X103, X104, T13, T14, X18) → U5_GGAAGGA(T70, T71, T72, X103, X104, T13, T14, X18, p7_in_ggaagga(T70, tree(T71, T72), X103, X104, T13, T14, X18))
P7_IN_GGAAGGA(tree(T70, T71), T72, X103, X104, T13, T14, X18) → P7_IN_GGAAGGA(T70, tree(T71, T72), X103, X104, T13, T14, X18)
getleavec14_in_ggga(leaf(T42), T43, T42, T43) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55, X72) → U9_ggga(T52, T53, T54, T55, X72, getleavec14_in_ggga(T52, tree(T53, T54), T55, X72))
U9_ggga(T52, T53, T54, T55, X72, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → U6_GG(T11, T12, T13, T14, p7_in_ggaagga(T11, T12, X16, X17, T13, T14, X18))
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → P7_IN_GGAAGGA(T11, T12, X16, X17, T13, T14, X18)
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, X18) → U2_GGAAGGA(T23, T24, T13, T14, X18, getleave14_in_ggga(T13, T14, T23, X18))
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, X18) → GETLEAVE14_IN_GGGA(T13, T14, T23, X18)
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55, X72) → U1_GGGA(T52, T53, T54, T55, X72, getleave14_in_ggga(T52, tree(T53, T54), T55, X72))
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55, X72) → GETLEAVE14_IN_GGGA(T52, tree(T53, T54), T55, X72)
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, T29) → U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_in_ggga(T13, T14, T23, T29))
U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_out_ggga(T13, T14, T23, T29)) → U4_GGAAGGA(T23, T24, T13, T14, T29, sameleaves1_in_gg(T24, T29))
U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_out_ggga(T13, T14, T23, T29)) → SAMELEAVES1_IN_GG(T24, T29)
P7_IN_GGAAGGA(tree(T70, T71), T72, X103, X104, T13, T14, X18) → U5_GGAAGGA(T70, T71, T72, X103, X104, T13, T14, X18, p7_in_ggaagga(T70, tree(T71, T72), X103, X104, T13, T14, X18))
P7_IN_GGAAGGA(tree(T70, T71), T72, X103, X104, T13, T14, X18) → P7_IN_GGAAGGA(T70, tree(T71, T72), X103, X104, T13, T14, X18)
getleavec14_in_ggga(leaf(T42), T43, T42, T43) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55, X72) → U9_ggga(T52, T53, T54, T55, X72, getleavec14_in_ggga(T52, tree(T53, T54), T55, X72))
U9_ggga(T52, T53, T54, T55, X72, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55, X72) → GETLEAVE14_IN_GGGA(T52, tree(T53, T54), T55, X72)
getleavec14_in_ggga(leaf(T42), T43, T42, T43) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55, X72) → U9_ggga(T52, T53, T54, T55, X72, getleavec14_in_ggga(T52, tree(T53, T54), T55, X72))
U9_ggga(T52, T53, T54, T55, X72, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55, X72) → GETLEAVE14_IN_GGGA(T52, tree(T53, T54), T55, X72)
GETLEAVE14_IN_GGGA(tree(T52, T53), T54, T55) → GETLEAVE14_IN_GGGA(T52, tree(T53, T54), T55)
From the DPs we obtained the following set of size-change graphs:
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → P7_IN_GGAAGGA(T11, T12, X16, X17, T13, T14, X18)
P7_IN_GGAAGGA(leaf(T23), T24, T23, T24, T13, T14, T29) → U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_in_ggga(T13, T14, T23, T29))
U3_GGAAGGA(T23, T24, T13, T14, T29, getleavec14_out_ggga(T13, T14, T23, T29)) → SAMELEAVES1_IN_GG(T24, T29)
P7_IN_GGAAGGA(tree(T70, T71), T72, X103, X104, T13, T14, X18) → P7_IN_GGAAGGA(T70, tree(T71, T72), X103, X104, T13, T14, X18)
getleavec14_in_ggga(leaf(T42), T43, T42, T43) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55, X72) → U9_ggga(T52, T53, T54, T55, X72, getleavec14_in_ggga(T52, tree(T53, T54), T55, X72))
U9_ggga(T52, T53, T54, T55, X72, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → P7_IN_GGAAGGA(T11, T12, T13, T14)
P7_IN_GGAAGGA(leaf(T23), T24, T13, T14) → U3_GGAAGGA(T23, T24, T13, T14, getleavec14_in_ggga(T13, T14, T23))
U3_GGAAGGA(T23, T24, T13, T14, getleavec14_out_ggga(T13, T14, T23, T29)) → SAMELEAVES1_IN_GG(T24, T29)
P7_IN_GGAAGGA(tree(T70, T71), T72, T13, T14) → P7_IN_GGAAGGA(T70, tree(T71, T72), T13, T14)
getleavec14_in_ggga(leaf(T42), T43, T42) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55) → U9_ggga(T52, T53, T54, T55, getleavec14_in_ggga(T52, tree(T53, T54), T55))
U9_ggga(T52, T53, T54, T55, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
getleavec14_in_ggga(x0, x1, x2)
U9_ggga(x0, x1, x2, x3, x4)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SAMELEAVES1_IN_GG(tree(T11, T12), tree(T13, T14)) → P7_IN_GGAAGGA(T11, T12, T13, T14)
POL(P7_IN_GGAAGGA(x1, x2, x3, x4)) = x1 + x2
POL(SAMELEAVES1_IN_GG(x1, x2)) = x1
POL(U3_GGAAGGA(x1, x2, x3, x4, x5)) = x2
POL(U9_ggga(x1, x2, x3, x4, x5)) = 0
POL(getleavec14_in_ggga(x1, x2, x3)) = 0
POL(getleavec14_out_ggga(x1, x2, x3, x4)) = 0
POL(leaf(x1)) = 0
POL(tree(x1, x2)) = 1 + x1 + x2
P7_IN_GGAAGGA(leaf(T23), T24, T13, T14) → U3_GGAAGGA(T23, T24, T13, T14, getleavec14_in_ggga(T13, T14, T23))
U3_GGAAGGA(T23, T24, T13, T14, getleavec14_out_ggga(T13, T14, T23, T29)) → SAMELEAVES1_IN_GG(T24, T29)
P7_IN_GGAAGGA(tree(T70, T71), T72, T13, T14) → P7_IN_GGAAGGA(T70, tree(T71, T72), T13, T14)
getleavec14_in_ggga(leaf(T42), T43, T42) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55) → U9_ggga(T52, T53, T54, T55, getleavec14_in_ggga(T52, tree(T53, T54), T55))
U9_ggga(T52, T53, T54, T55, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
getleavec14_in_ggga(x0, x1, x2)
U9_ggga(x0, x1, x2, x3, x4)
P7_IN_GGAAGGA(tree(T70, T71), T72, T13, T14) → P7_IN_GGAAGGA(T70, tree(T71, T72), T13, T14)
getleavec14_in_ggga(leaf(T42), T43, T42) → getleavec14_out_ggga(leaf(T42), T43, T42, T43)
getleavec14_in_ggga(tree(T52, T53), T54, T55) → U9_ggga(T52, T53, T54, T55, getleavec14_in_ggga(T52, tree(T53, T54), T55))
U9_ggga(T52, T53, T54, T55, getleavec14_out_ggga(T52, tree(T53, T54), T55, X72)) → getleavec14_out_ggga(tree(T52, T53), T54, T55, X72)
getleavec14_in_ggga(x0, x1, x2)
U9_ggga(x0, x1, x2, x3, x4)
P7_IN_GGAAGGA(tree(T70, T71), T72, T13, T14) → P7_IN_GGAAGGA(T70, tree(T71, T72), T13, T14)
getleavec14_in_ggga(x0, x1, x2)
U9_ggga(x0, x1, x2, x3, x4)
getleavec14_in_ggga(x0, x1, x2)
U9_ggga(x0, x1, x2, x3, x4)
P7_IN_GGAAGGA(tree(T70, T71), T72, T13, T14) → P7_IN_GGAAGGA(T70, tree(T71, T72), T13, T14)
From the DPs we obtained the following set of size-change graphs: