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(.(T28, T29), .(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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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, .(T119, T120), T118, .(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, []) → 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, [])
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, .(T119, T120), T118, .(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(.(T28, T29), .(T26, T27))
transpose1_in_ag([], []) → transpose1_out_ag([], [])
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
transpose1_in_ag(.(T28, T29), .(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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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, .(T119, T120), T118, .(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, []) → 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, [])
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, .(T119, T120), T118, .(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(.(T28, T29), .(T26, T27))
transpose1_in_ag([], []) → transpose1_out_ag([], [])
TRANSPOSE1_IN_AG(.(T28, T29), .(T26, T27)) → U7_AG(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
TRANSPOSE1_IN_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))
P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29) → ROW2COL9_IN_AGGAA(T28, T26, T27, X35, X36)
ROW2COL9_IN_AGGAA(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_AGGAA(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
ROW2COL9_IN_AGGAA(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → ROW2COL14_IN_AGAA(T61, T60, X96, X97)
ROW2COL14_IN_AGAA(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_AGAA(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
ROW2COL14_IN_AGAA(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
P7_IN_AGGAAA(T28, T26, T27, .(T119, T120), T118, .(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
P7_IN_AGGAAA(T28, T26, T27, .(T119, T120), T118, .(T121, T122)) → ROW2COL9_IN_AGGAA(T28, T26, T27, .(T119, T120), T118)
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, .(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
P7_IN_AGGAAA(T28, T26, T27, T129, T129, []) → U5_AGGAAA(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
P7_IN_AGGAAA(T28, T26, T27, T129, T129, []) → ROW2COL9_IN_AGGAA(T28, T26, T27, T129, T129)
transpose1_in_ag(.(T28, T29), .(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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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, .(T119, T120), T118, .(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, []) → 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, [])
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, .(T119, T120), T118, .(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(.(T28, T29), .(T26, T27))
transpose1_in_ag([], []) → transpose1_out_ag([], [])
TRANSPOSE1_IN_AG(.(T28, T29), .(T26, T27)) → U7_AG(T28, T29, T26, T27, p7_in_aggaaa(T28, T26, T27, X35, X36, T29))
TRANSPOSE1_IN_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))
P7_IN_AGGAAA(T28, T26, T27, X35, X36, T29) → ROW2COL9_IN_AGGAA(T28, T26, T27, X35, X36)
ROW2COL9_IN_AGGAA(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_AGGAA(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
ROW2COL9_IN_AGGAA(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → ROW2COL14_IN_AGAA(T61, T60, X96, X97)
ROW2COL14_IN_AGAA(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_AGAA(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
ROW2COL14_IN_AGAA(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
P7_IN_AGGAAA(T28, T26, T27, .(T119, T120), T118, .(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
P7_IN_AGGAAA(T28, T26, T27, .(T119, T120), T118, .(T121, T122)) → ROW2COL9_IN_AGGAA(T28, T26, T27, .(T119, T120), T118)
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, .(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
P7_IN_AGGAAA(T28, T26, T27, T129, T129, []) → U5_AGGAAA(T28, T26, T27, T129, row2col9_in_aggaa(T28, T26, T27, T129, T129))
P7_IN_AGGAAA(T28, T26, T27, T129, T129, []) → ROW2COL9_IN_AGGAA(T28, T26, T27, T129, T129)
transpose1_in_ag(.(T28, T29), .(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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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, .(T119, T120), T118, .(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, []) → 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, [])
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, .(T119, T120), T118, .(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(.(T28, T29), .(T26, T27))
transpose1_in_ag([], []) → transpose1_out_ag([], [])
ROW2COL14_IN_AGAA(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
transpose1_in_ag(.(T28, T29), .(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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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, .(T119, T120), T118, .(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, []) → 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, [])
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, .(T119, T120), T118, .(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(.(T28, T29), .(T26, T27))
transpose1_in_ag([], []) → transpose1_out_ag([], [])
ROW2COL14_IN_AGAA(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → ROW2COL14_IN_AGAA(T86, T85, X150, X151)
ROW2COL14_IN_AGAA(.(.(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, .(T119, T120), T118, .(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
transpose1_in_ag(.(T28, T29), .(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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97)) → U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_in_agaa(T61, T60, X96, X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U6_aggaa(T57, T61, T59, T60, X96, X97, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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, .(T119, T120), T118, .(T121, T122)) → U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_aggaaa(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(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, []) → 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, [])
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, .(T119, T120), T118, .(T121, T122))
U7_ag(T28, T29, T26, T27, p7_out_aggaaa(T28, T26, T27, X35, X36, T29)) → transpose1_out_ag(.(T28, T29), .(T26, T27))
transpose1_in_ag([], []) → transpose1_out_ag([], [])
P7_IN_AGGAAA(T28, T26, T27, .(T119, T120), T118, .(T121, T122)) → U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_in_aggaa(T28, T26, T27, .(T119, T120), T118))
U3_AGGAAA(T28, T26, T27, T119, T120, T118, T121, T122, row2col9_out_aggaa(T28, T26, T27, .(T119, T120), T118)) → P7_IN_AGGAAA(T121, T119, T120, X202, X203, T122)
row2col9_in_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], 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(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97))
row2col14_in_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151)) → U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_in_agaa(T86, T85, X150, X151))
row2col14_in_agaa([], [], [], []) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T86, T84, T85, X150, X151, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
P7_IN_AGGAAA(T26, T27) → U3_AGGAAA(T26, T27, row2col9_in_aggaa(T26, T27))
U3_AGGAAA(T26, T27, row2col9_out_aggaa(T28, T26, T27, .(T119, T120), T118)) → P7_IN_AGGAAA(T119, T120)
row2col9_in_aggaa(.(T57, T59), T60) → U6_aggaa(T57, T59, T60, row2col14_in_agaa(T60))
U6_aggaa(T57, T59, T60, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97))
row2col14_in_agaa(.(.(T82, T84), T85)) → U1_agaa(T82, T84, T85, row2col14_in_agaa(T85))
row2col14_in_agaa([]) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T84, T85, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
row2col9_in_aggaa(x0, x1)
U6_aggaa(x0, x1, x2, x3)
row2col14_in_agaa(x0)
U1_agaa(x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P7_IN_AGGAAA(T26, T27) → U3_AGGAAA(T26, T27, row2col9_in_aggaa(T26, T27))
POL(.(x1, x2)) = 1 + x1 + x2
POL(P7_IN_AGGAAA(x1, x2)) = 1 + x1 + x2
POL(U1_agaa(x1, x2, x3, x4)) = 1 + x2 + x4
POL(U3_AGGAAA(x1, x2, x3)) = x3
POL(U6_aggaa(x1, x2, x3, x4)) = 1 + x2 + x4
POL([]) = 0
POL(row2col14_in_agaa(x1)) = x1
POL(row2col14_out_agaa(x1, x2, x3, x4)) = x3
POL(row2col9_in_aggaa(x1, x2)) = x1 + x2
POL(row2col9_out_aggaa(x1, x2, x3, x4, x5)) = x4
row2col9_in_aggaa(.(T57, T59), T60) → U6_aggaa(T57, T59, T60, row2col14_in_agaa(T60))
row2col14_in_agaa(.(.(T82, T84), T85)) → U1_agaa(T82, T84, T85, row2col14_in_agaa(T85))
row2col14_in_agaa([]) → row2col14_out_agaa([], [], [], [])
U6_aggaa(T57, T59, T60, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97))
U1_agaa(T82, T84, T85, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
U3_AGGAAA(T26, T27, row2col9_out_aggaa(T28, T26, T27, .(T119, T120), T118)) → P7_IN_AGGAAA(T119, T120)
row2col9_in_aggaa(.(T57, T59), T60) → U6_aggaa(T57, T59, T60, row2col14_in_agaa(T60))
U6_aggaa(T57, T59, T60, row2col14_out_agaa(T61, T60, X96, X97)) → row2col9_out_aggaa(.(T57, T61), .(T57, T59), T60, .(T59, X96), .([], X97))
row2col14_in_agaa(.(.(T82, T84), T85)) → U1_agaa(T82, T84, T85, row2col14_in_agaa(T85))
row2col14_in_agaa([]) → row2col14_out_agaa([], [], [], [])
U1_agaa(T82, T84, T85, row2col14_out_agaa(T86, T85, X150, X151)) → row2col14_out_agaa(.(T82, T86), .(.(T82, T84), T85), .(T84, X150), .([], X151))
row2col9_in_aggaa(x0, x1)
U6_aggaa(x0, x1, x2, x3)
row2col14_in_agaa(x0)
U1_agaa(x0, x1, x2, x3)