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 UsableRulesProof (⇔)
↳16 PiDP
↳17 PiDPToQDPProof (⇔)
↳18 QDP
↳19 QDPSizeChangeProof (⇔)
↳20 YES
↳21 PiDP
↳22 PiDPToQDPProof (⇐)
↳23 QDP
↳24 MRRProof (⇔)
↳25 QDP
↳26 DependencyGraphProof (⇔)
↳27 TRUE
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → U3_GGA(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → U4_GGA(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_GGA(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → LEQ33_IN_GG(T35, T36)
LEQ33_IN_GG(s(T41), s(T42)) → U1_GG(T41, T42, leq33_in_gg(T41, T42))
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U6_GGA(T35, T18, T36, T20, T22, leqc33_in_gg(T35, T36))
U6_GGA(T35, T18, T36, T20, T22, leqc33_out_gg(T35, T36)) → U7_GGA(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
U6_GGA(T35, T18, T36, T20, T22, leqc33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U8_GGA(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → LESS51_IN_GG(T59, T57)
LESS51_IN_GG(s(T67), s(T68)) → U2_GG(T67, T68, less51_in_gg(T67, T68))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U9_GGA(T57, T58, T59, T60, T62, lessc51_in_gg(T59, T57))
U9_GGA(T57, T58, T59, T60, T62, lessc51_out_gg(T59, T57)) → U10_GGA(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
U9_GGA(T57, T58, T59, T60, T62, lessc51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → U11_GGA(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U12_GGA(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → LESS51_IN_GG(T90, T91)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U13_GGA(T91, T79, T90, T81, T83, lessc51_in_gg(T90, T91))
U13_GGA(T91, T79, T90, T81, T83, lessc51_out_gg(T90, T91)) → U14_GGA(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U13_GGA(T91, T79, T90, T81, T83, lessc51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → U3_GGA(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → U4_GGA(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_GGA(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → LEQ33_IN_GG(T35, T36)
LEQ33_IN_GG(s(T41), s(T42)) → U1_GG(T41, T42, leq33_in_gg(T41, T42))
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U6_GGA(T35, T18, T36, T20, T22, leqc33_in_gg(T35, T36))
U6_GGA(T35, T18, T36, T20, T22, leqc33_out_gg(T35, T36)) → U7_GGA(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
U6_GGA(T35, T18, T36, T20, T22, leqc33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U8_GGA(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → LESS51_IN_GG(T59, T57)
LESS51_IN_GG(s(T67), s(T68)) → U2_GG(T67, T68, less51_in_gg(T67, T68))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U9_GGA(T57, T58, T59, T60, T62, lessc51_in_gg(T59, T57))
U9_GGA(T57, T58, T59, T60, T62, lessc51_out_gg(T59, T57)) → U10_GGA(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
U9_GGA(T57, T58, T59, T60, T62, lessc51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → U11_GGA(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U12_GGA(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → LESS51_IN_GG(T90, T91)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U13_GGA(T91, T79, T90, T81, T83, lessc51_in_gg(T90, T91))
U13_GGA(T91, T79, T90, T81, T83, lessc51_out_gg(T90, T91)) → U14_GGA(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U13_GGA(T91, T79, T90, T81, T83, lessc51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
From the DPs we obtained the following set of size-change graphs:
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
From the DPs we obtained the following set of size-change graphs:
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U9_GGA(T57, T58, T59, T60, T62, lessc51_in_gg(T59, T57))
U9_GGA(T57, T58, T59, T60, T62, lessc51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U6_GGA(T35, T18, T36, T20, T22, leqc33_in_gg(T35, T36))
U6_GGA(T35, T18, T36, T20, T22, leqc33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U13_GGA(T91, T79, T90, T81, T83, lessc51_in_gg(T90, T91))
U13_GGA(T91, T79, T90, T81, T83, lessc51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60)) → U9_GGA(T57, T58, T59, T60, lessc51_in_gg(T59, T57))
U9_GGA(T57, T58, T59, T60, lessc51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60)
MERGE1_IN_GGA(.(0, T18), .(0, T20)) → MERGE1_IN_GGA(T18, .(0, T20))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81)) → MERGE1_IN_GGA(.(s(0), T79), T81)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20)) → U6_GGA(T35, T18, T36, T20, leqc33_in_gg(T35, T36))
U6_GGA(T35, T18, T36, T20, leqc33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20)) → MERGE1_IN_GGA(T18, .(s(0), T20))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81)) → U13_GGA(T91, T79, T90, T81, lessc51_in_gg(T90, T91))
U13_GGA(T91, T79, T90, T81, lessc51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
leqc33_in_gg(x0, x1)
U25_gg(x0, x1, x2)
lessc51_in_gg(x0, x1)
U26_gg(x0, x1, x2)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60)) → U9_GGA(T57, T58, T59, T60, lessc51_in_gg(T59, T57))
MERGE1_IN_GGA(.(0, T18), .(0, T20)) → MERGE1_IN_GGA(T18, .(0, T20))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81)) → MERGE1_IN_GGA(.(s(0), T79), T81)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20)) → U6_GGA(T35, T18, T36, T20, leqc33_in_gg(T35, T36))
U6_GGA(T35, T18, T36, T20, leqc33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20)) → MERGE1_IN_GGA(T18, .(s(0), T20))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81)) → U13_GGA(T91, T79, T90, T81, lessc51_in_gg(T90, T91))
U13_GGA(T91, T79, T90, T81, lessc51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81)
POL(.(x1, x2)) = 2 + x1 + x2
POL(0) = 0
POL(MERGE1_IN_GGA(x1, x2)) = 2·x1 + 2·x2
POL(U13_GGA(x1, x2, x3, x4, x5)) = 1 + 2·x1 + 2·x2 + 2·x3 + 2·x4 + 2·x5
POL(U25_gg(x1, x2, x3)) = x1 + x2 + x3
POL(U26_gg(x1, x2, x3)) = x1 + x2 + x3
POL(U6_GGA(x1, x2, x3, x4, x5)) = 1 + 2·x1 + 2·x2 + 2·x3 + 2·x4 + 2·x5
POL(U9_GGA(x1, x2, x3, x4, x5)) = 2 + x1 + 2·x2 + x3 + 2·x4 + x5
POL(leqc33_in_gg(x1, x2)) = 2 + x1 + x2
POL(leqc33_out_gg(x1, x2)) = 2 + x1 + x2
POL(lessc51_in_gg(x1, x2)) = 2 + x1 + x2
POL(lessc51_out_gg(x1, x2)) = 2 + x1 + x2
POL(s(x1)) = 2·x1
U9_GGA(T57, T58, T59, T60, lessc51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60)
leqc33_in_gg(0, 0) → leqc33_out_gg(0, 0)
leqc33_in_gg(0, s(0)) → leqc33_out_gg(0, s(0))
leqc33_in_gg(s(T41), s(T42)) → U25_gg(T41, T42, leqc33_in_gg(T41, T42))
U25_gg(T41, T42, leqc33_out_gg(T41, T42)) → leqc33_out_gg(s(T41), s(T42))
lessc51_in_gg(0, s(0)) → lessc51_out_gg(0, s(0))
lessc51_in_gg(s(T67), s(T68)) → U26_gg(T67, T68, lessc51_in_gg(T67, T68))
U26_gg(T67, T68, lessc51_out_gg(T67, T68)) → lessc51_out_gg(s(T67), s(T68))
leqc33_in_gg(x0, x1)
U25_gg(x0, x1, x2)
lessc51_in_gg(x0, x1)
U26_gg(x0, x1, x2)