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 YES
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPOrderProof (⇔)
↳22 QDP
↳23 DependencyGraphProof (⇔)
↳24 TRUE
transpose1_in_ag(cons(T28, T29), cons(T26, T27)) → U7_ag(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
p7_in_aggaaa(T28, T26, T27, X35, X36, T29) → U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_out_aggaa(T28, T26, T27, X35, X36)) → p7_out_aggaaa(T28, T26, T27, X35, X36, T29)
p7_in_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
p7_in_aggaaa(T28, T26, T27, T129, T129, nil) → U5_aggaaa(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
U5_aggaaa(T28, T26, T27, T129, row2col9_out_aggaa(T28, T26, T27, T129, T129)) → p7_out_aggaaa(T28, T26, T27, T129, T129, nil)
U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_out_aggaaa(T121, T119, T120, X202, X203, T122)) → p7_out_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(cons(T28, T29), cons(T26, T27))
transpose1_in_ag(nil, nil) → transpose1_out_ag(nil, nil)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
transpose1_in_ag(cons(T28, T29), cons(T26, T27)) → U7_ag(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
p7_in_aggaaa(T28, T26, T27, X35, X36, T29) → U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_out_aggaa(T28, T26, T27, X35, X36)) → p7_out_aggaaa(T28, T26, T27, X35, X36, T29)
p7_in_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
p7_in_aggaaa(T28, T26, T27, T129, T129, nil) → U5_aggaaa(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
U5_aggaaa(T28, T26, T27, T129, row2col9_out_aggaa(T28, T26, T27, T129, T129)) → p7_out_aggaaa(T28, T26, T27, T129, T129, nil)
U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_out_aggaaa(T121, T119, T120, X202, X203, T122)) → p7_out_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(cons(T28, T29), cons(T26, T27))
transpose1_in_ag(nil, nil) → transpose1_out_ag(nil, nil)
TRANSPOSE1_IN_AG(cons(T28, T29), cons(T26, T27)) → U7_AG(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
TRANSPOSE1_IN_AG(cons(T28, T29), cons(T26, T27)) → P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29)
P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29) → U2_AGGAAA(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29) → ROW2COL9_IN_AGGAA(T28, T26, T27, X35, X36)
ROW2COL9_IN_AGGAA(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_AGGAA(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
ROW2COL9_IN_AGGAA(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → ROW2COL14_IN_AGAA(T61, T60, X96, X97)
ROW2COL14_IN_AGAA(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_AGAA(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
ROW2COL14_IN_AGAA(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
P7_IN_AGGAAA(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
P7_IN_AGGAAA(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → ROW2COL9_IN_AGGAA(T28, T26, T27, cons(T119, T120), T118)
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
P7_IN_AGGAAA(T28, T26, T27, T129, T129, nil) → U5_AGGAAA(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
P7_IN_AGGAAA(T28, T26, T27, T129, T129, nil) → ROW2COL9_IN_AGGAA(T28, T26, T27, T129, T129)
transpose1_in_ag(cons(T28, T29), cons(T26, T27)) → U7_ag(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
p7_in_aggaaa(T28, T26, T27, X35, X36, T29) → U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_out_aggaa(T28, T26, T27, X35, X36)) → p7_out_aggaaa(T28, T26, T27, X35, X36, T29)
p7_in_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
p7_in_aggaaa(T28, T26, T27, T129, T129, nil) → U5_aggaaa(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
U5_aggaaa(T28, T26, T27, T129, row2col9_out_aggaa(T28, T26, T27, T129, T129)) → p7_out_aggaaa(T28, T26, T27, T129, T129, nil)
U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_out_aggaaa(T121, T119, T120, X202, X203, T122)) → p7_out_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(cons(T28, T29), cons(T26, T27))
transpose1_in_ag(nil, nil) → transpose1_out_ag(nil, nil)
TRANSPOSE1_IN_AG(cons(T28, T29), cons(T26, T27)) → U7_AG(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
TRANSPOSE1_IN_AG(cons(T28, T29), cons(T26, T27)) → P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29)
P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29) → U2_AGGAAA(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29) → ROW2COL9_IN_AGGAA(T28, T26, T27, X35, X36)
ROW2COL9_IN_AGGAA(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_AGGAA(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
ROW2COL9_IN_AGGAA(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → ROW2COL14_IN_AGAA(T61, T60, X96, X97)
ROW2COL14_IN_AGAA(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_AGAA(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
ROW2COL14_IN_AGAA(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
P7_IN_AGGAAA(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
P7_IN_AGGAAA(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → ROW2COL9_IN_AGGAA(T28, T26, T27, cons(T119, T120), T118)
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
P7_IN_AGGAAA(T28, T26, T27, T129, T129, nil) → U5_AGGAAA(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
P7_IN_AGGAAA(T28, T26, T27, T129, T129, nil) → ROW2COL9_IN_AGGAA(T28, T26, T27, T129, T129)
transpose1_in_ag(cons(T28, T29), cons(T26, T27)) → U7_ag(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
p7_in_aggaaa(T28, T26, T27, X35, X36, T29) → U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_out_aggaa(T28, T26, T27, X35, X36)) → p7_out_aggaaa(T28, T26, T27, X35, X36, T29)
p7_in_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
p7_in_aggaaa(T28, T26, T27, T129, T129, nil) → U5_aggaaa(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
U5_aggaaa(T28, T26, T27, T129, row2col9_out_aggaa(T28, T26, T27, T129, T129)) → p7_out_aggaaa(T28, T26, T27, T129, T129, nil)
U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_out_aggaaa(T121, T119, T120, X202, X203, T122)) → p7_out_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(cons(T28, T29), cons(T26, T27))
transpose1_in_ag(nil, nil) → transpose1_out_ag(nil, nil)
ROW2COL14_IN_AGAA(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
transpose1_in_ag(cons(T28, T29), cons(T26, T27)) → U7_ag(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
p7_in_aggaaa(T28, T26, T27, X35, X36, T29) → U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_out_aggaa(T28, T26, T27, X35, X36)) → p7_out_aggaaa(T28, T26, T27, X35, X36, T29)
p7_in_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
p7_in_aggaaa(T28, T26, T27, T129, T129, nil) → U5_aggaaa(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
U5_aggaaa(T28, T26, T27, T129, row2col9_out_aggaa(T28, T26, T27, T129, T129)) → p7_out_aggaaa(T28, T26, T27, T129, T129, nil)
U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_out_aggaaa(T121, T119, T120, X202, X203, T122)) → p7_out_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(cons(T28, T29), cons(T26, T27))
transpose1_in_ag(nil, nil) → transpose1_out_ag(nil, nil)
ROW2COL14_IN_AGAA(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
ROW2COL14_IN_AGAA(cons(cons(T82, T84), T85)) → ROW2COL14_IN_AGAA(T85)
From the DPs we obtained the following set of size-change graphs:
P7_IN_AGGAAA(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
transpose1_in_ag(cons(T28, T29), cons(T26, T27)) → U7_ag(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
p7_in_aggaaa(T28, T26, T27, X35, X36, T29) → U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_in_aggaa(T28, T26, T27, X35, X36))
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
U2_aggaaa(T28, T26, T27, X35, X36, T29, row2col9_out_aggaa(T28, T26, T27, X35, X36)) → p7_out_aggaaa(T28, T26, T27, X35, X36, T29)
p7_in_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_in_aggaaa(T121, T119, T120, X202, X203, T122))
p7_in_aggaaa(T28, T26, T27, T129, T129, nil) → U5_aggaaa(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
U5_aggaaa(T28, T26, T27, T129, row2col9_out_aggaa(T28, T26, T27, T129, T129)) → p7_out_aggaaa(T28, T26, T27, T129, T129, nil)
U4_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, p7_out_aggaaa(T121, T119, T120, X202, X203, T122)) → p7_out_aggaaa(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(cons(T28, T29), cons(T26, T27))
transpose1_in_ag(nil, nil) → transpose1_out_ag(nil, nil)
P7_IN_AGGAAA(T28, T26, T27, cons(T119, T120), T118, cons(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, cons(T119, T120), T118))
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, cons(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
row2col9_in_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T57, T59), T60, cons(T59, X96), cons(nil, X97))
row2col14_in_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa(nil, nil, nil, nil) → row2col14_out_agaa(nil, nil, nil, nil)
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(cons(T82, T84), T85), cons(T84, X150), cons(nil, X151))
P7_IN_AGGAAA(T26, T27) → U3_AGGAAA(row2col9_in_aggaa(T26, T27))
U3_AGGAAA(row2col9_out_aggaa(T28, cons(T119, T120), T118)) → P7_IN_AGGAAA(T119, T120)
row2col9_in_aggaa(cons(T57, T59), T60) → U6_aggaa(T57, T59, row2col14_in_agaa(T60))
U6_aggaa(T57, T59, row2col14_out_agaa(T61, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T59, X96), cons(nil, X97))
row2col14_in_agaa(cons(cons(T82, T84), T85)) → U1_agaa(T82, T84, row2col14_in_agaa(T85))
row2col14_in_agaa(nil) → row2col14_out_agaa(nil, nil, nil)
U1_agaa(T82, T84, row2col14_out_agaa(T86, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(T84, X150), cons(nil, X151))
row2col9_in_aggaa(x0, x1)
U6_aggaa(x0, x1, x2)
row2col14_in_agaa(x0)
U1_agaa(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U3_AGGAAA(row2col9_out_aggaa(T28, cons(T119, T120), T118)) → P7_IN_AGGAAA(T119, T120)
POL( U3_AGGAAA(x1) ) = max{0, 2x1 - 1}
POL( row2col9_in_aggaa(x1, x2) ) = x1 + x2
POL( cons(x1, x2) ) = x1 + x2 + 2
POL( U6_aggaa(x1, ..., x3) ) = x1 + x2 + x3 + 2
POL( row2col14_in_agaa(x1) ) = max{0, x1 - 2}
POL( U1_agaa(x1, ..., x3) ) = x1 + x2 + x3 + 2
POL( nil ) = 0
POL( row2col14_out_agaa(x1, ..., x3) ) = max{0, x2 - 1}
POL( row2col9_out_aggaa(x1, ..., x3) ) = max{0, x2 - 1}
POL( P7_IN_AGGAAA(x1, x2) ) = 2x1 + 2x2
row2col9_in_aggaa(cons(T57, T59), T60) → U6_aggaa(T57, T59, row2col14_in_agaa(T60))
row2col14_in_agaa(cons(cons(T82, T84), T85)) → U1_agaa(T82, T84, row2col14_in_agaa(T85))
row2col14_in_agaa(nil) → row2col14_out_agaa(nil, nil, nil)
U6_aggaa(T57, T59, row2col14_out_agaa(T61, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T59, X96), cons(nil, X97))
U1_agaa(T82, T84, row2col14_out_agaa(T86, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(T84, X150), cons(nil, X151))
P7_IN_AGGAAA(T26, T27) → U3_AGGAAA(row2col9_in_aggaa(T26, T27))
row2col9_in_aggaa(cons(T57, T59), T60) → U6_aggaa(T57, T59, row2col14_in_agaa(T60))
U6_aggaa(T57, T59, row2col14_out_agaa(T61, X96, X97)) → row2col9_out_aggaa(cons(T57, T61), cons(T59, X96), cons(nil, X97))
row2col14_in_agaa(cons(cons(T82, T84), T85)) → U1_agaa(T82, T84, row2col14_in_agaa(T85))
row2col14_in_agaa(nil) → row2col14_out_agaa(nil, nil, nil)
U1_agaa(T82, T84, row2col14_out_agaa(T86, X150, X151)) → row2col14_out_agaa(cons(T82, T86), cons(T84, X150), cons(nil, X151))
row2col9_in_aggaa(x0, x1)
U6_aggaa(x0, x1, x2)
row2col14_in_agaa(x0)
U1_agaa(x0, x1, x2)