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 QDPSizeChangeProof (⇔)
↳22 YES
transpose1_in_ga(.(T24, T25), .(T28, T29)) → U7_ga(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
p7_in_gaaaag(T24, T28, T29, X35, X36, T25) → U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_out_gaaaa(T24, T28, T29, X35, X36)) → p7_out_gaaaag(T24, T28, T29, X35, X36, T25)
p7_in_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
p7_in_gaaaag(T24, T28, T29, T318, T318, []) → U5_gaaaag(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
U5_gaaaag(T24, T28, T29, T318, row2col9_out_gaaaa(T24, T28, T29, T318, T318)) → p7_out_gaaaag(T24, T28, T29, T318, T318, [])
U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_out_gaaaag(T305, T310, T311, X687, X688, T306)) → p7_out_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306))
U7_ga(T24, T25, T28, T29, p7_out_gaaaag(T24, T28, T29, X35, X36, T25)) → transpose1_out_ga(.(T24, T25), .(T28, T29))
transpose1_in_ga([], []) → transpose1_out_ga([], [])
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
transpose1_in_ga(.(T24, T25), .(T28, T29)) → U7_ga(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
p7_in_gaaaag(T24, T28, T29, X35, X36, T25) → U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_out_gaaaa(T24, T28, T29, X35, X36)) → p7_out_gaaaag(T24, T28, T29, X35, X36, T25)
p7_in_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
p7_in_gaaaag(T24, T28, T29, T318, T318, []) → U5_gaaaag(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
U5_gaaaag(T24, T28, T29, T318, row2col9_out_gaaaa(T24, T28, T29, T318, T318)) → p7_out_gaaaag(T24, T28, T29, T318, T318, [])
U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_out_gaaaag(T305, T310, T311, X687, X688, T306)) → p7_out_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306))
U7_ga(T24, T25, T28, T29, p7_out_gaaaag(T24, T28, T29, X35, X36, T25)) → transpose1_out_ga(.(T24, T25), .(T28, T29))
transpose1_in_ga([], []) → transpose1_out_ga([], [])
TRANSPOSE1_IN_GA(.(T24, T25), .(T28, T29)) → U7_GA(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
TRANSPOSE1_IN_GA(.(T24, T25), .(T28, T29)) → P7_IN_GAAAAG(T24, T28, T29, X35, X36, T25)
P7_IN_GAAAAG(T24, T28, T29, X35, X36, T25) → U2_GAAAAG(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
P7_IN_GAAAAG(T24, T28, T29, X35, X36, T25) → ROW2COL9_IN_GAAAA(T24, T28, T29, X35, X36)
ROW2COL9_IN_GAAAA(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_GAAAA(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
ROW2COL9_IN_GAAAA(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → ROW2COL51_IN_GAAGA(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)
ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_GAAGA(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → ROW2COL51_IN_GAAGA(T267, T271, X600, .([], T270), X601)
P7_IN_GAAAAG(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
P7_IN_GAAAAG(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → ROW2COL9_IN_GAAAA(T24, T28, T29, .(T310, T311), T307)
U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → P7_IN_GAAAAG(T305, T310, T311, X687, X688, T306)
P7_IN_GAAAAG(T24, T28, T29, T318, T318, []) → U5_GAAAAG(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
P7_IN_GAAAAG(T24, T28, T29, T318, T318, []) → ROW2COL9_IN_GAAAA(T24, T28, T29, T318, T318)
transpose1_in_ga(.(T24, T25), .(T28, T29)) → U7_ga(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
p7_in_gaaaag(T24, T28, T29, X35, X36, T25) → U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_out_gaaaa(T24, T28, T29, X35, X36)) → p7_out_gaaaag(T24, T28, T29, X35, X36, T25)
p7_in_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
p7_in_gaaaag(T24, T28, T29, T318, T318, []) → U5_gaaaag(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
U5_gaaaag(T24, T28, T29, T318, row2col9_out_gaaaa(T24, T28, T29, T318, T318)) → p7_out_gaaaag(T24, T28, T29, T318, T318, [])
U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_out_gaaaag(T305, T310, T311, X687, X688, T306)) → p7_out_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306))
U7_ga(T24, T25, T28, T29, p7_out_gaaaag(T24, T28, T29, X35, X36, T25)) → transpose1_out_ga(.(T24, T25), .(T28, T29))
transpose1_in_ga([], []) → transpose1_out_ga([], [])
TRANSPOSE1_IN_GA(.(T24, T25), .(T28, T29)) → U7_GA(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
TRANSPOSE1_IN_GA(.(T24, T25), .(T28, T29)) → P7_IN_GAAAAG(T24, T28, T29, X35, X36, T25)
P7_IN_GAAAAG(T24, T28, T29, X35, X36, T25) → U2_GAAAAG(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
P7_IN_GAAAAG(T24, T28, T29, X35, X36, T25) → ROW2COL9_IN_GAAAA(T24, T28, T29, X35, X36)
ROW2COL9_IN_GAAAA(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_GAAAA(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
ROW2COL9_IN_GAAAA(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → ROW2COL51_IN_GAAGA(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)
ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_GAAGA(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → ROW2COL51_IN_GAAGA(T267, T271, X600, .([], T270), X601)
P7_IN_GAAAAG(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
P7_IN_GAAAAG(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → ROW2COL9_IN_GAAAA(T24, T28, T29, .(T310, T311), T307)
U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → P7_IN_GAAAAG(T305, T310, T311, X687, X688, T306)
P7_IN_GAAAAG(T24, T28, T29, T318, T318, []) → U5_GAAAAG(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
P7_IN_GAAAAG(T24, T28, T29, T318, T318, []) → ROW2COL9_IN_GAAAA(T24, T28, T29, T318, T318)
transpose1_in_ga(.(T24, T25), .(T28, T29)) → U7_ga(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
p7_in_gaaaag(T24, T28, T29, X35, X36, T25) → U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_out_gaaaa(T24, T28, T29, X35, X36)) → p7_out_gaaaag(T24, T28, T29, X35, X36, T25)
p7_in_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
p7_in_gaaaag(T24, T28, T29, T318, T318, []) → U5_gaaaag(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
U5_gaaaag(T24, T28, T29, T318, row2col9_out_gaaaa(T24, T28, T29, T318, T318)) → p7_out_gaaaag(T24, T28, T29, T318, T318, [])
U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_out_gaaaag(T305, T310, T311, X687, X688, T306)) → p7_out_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306))
U7_ga(T24, T25, T28, T29, p7_out_gaaaag(T24, T28, T29, X35, X36, T25)) → transpose1_out_ga(.(T24, T25), .(T28, T29))
transpose1_in_ga([], []) → transpose1_out_ga([], [])
ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → ROW2COL51_IN_GAAGA(T267, T271, X600, .([], T270), X601)
transpose1_in_ga(.(T24, T25), .(T28, T29)) → U7_ga(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
p7_in_gaaaag(T24, T28, T29, X35, X36, T25) → U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_out_gaaaa(T24, T28, T29, X35, X36)) → p7_out_gaaaag(T24, T28, T29, X35, X36, T25)
p7_in_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
p7_in_gaaaag(T24, T28, T29, T318, T318, []) → U5_gaaaag(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
U5_gaaaag(T24, T28, T29, T318, row2col9_out_gaaaa(T24, T28, T29, T318, T318)) → p7_out_gaaaag(T24, T28, T29, T318, T318, [])
U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_out_gaaaag(T305, T310, T311, X687, X688, T306)) → p7_out_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306))
U7_ga(T24, T25, T28, T29, p7_out_gaaaag(T24, T28, T29, X35, X36, T25)) → transpose1_out_ga(.(T24, T25), .(T28, T29))
transpose1_in_ga([], []) → transpose1_out_ga([], [])
ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → ROW2COL51_IN_GAAGA(T267, T271, X600, .([], T270), X601)
ROW2COL51_IN_GAAGA(.(T266, T267), T270) → ROW2COL51_IN_GAAGA(T267, .([], T270))
From the DPs we obtained the following set of size-change graphs:
P7_IN_GAAAAG(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → P7_IN_GAAAAG(T305, T310, T311, X687, X688, T306)
transpose1_in_ga(.(T24, T25), .(T28, T29)) → U7_ga(T24, T25, T28, T29, p7_in_gaaaag(T24, T28, T29, X35, X36, T25))
p7_in_gaaaag(T24, T28, T29, X35, X36, T25) → U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_in_gaaaa(T24, T28, T29, X35, X36))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U2_gaaaag(T24, T28, T29, X35, X36, T25, row2col9_out_gaaaa(T24, T28, T29, X35, X36)) → p7_out_gaaaag(T24, T28, T29, X35, X36, T25)
p7_in_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_in_gaaaag(T305, T310, T311, X687, X688, T306))
p7_in_gaaaag(T24, T28, T29, T318, T318, []) → U5_gaaaag(T24, T28, T29, T318, row2col9_in_gaaaa(T24, T28, T29, T318, T318))
U5_gaaaag(T24, T28, T29, T318, row2col9_out_gaaaa(T24, T28, T29, T318, T318)) → p7_out_gaaaag(T24, T28, T29, T318, T318, [])
U4_gaaaag(T24, T28, T29, T310, T311, T307, T305, T306, p7_out_gaaaag(T305, T310, T311, X687, X688, T306)) → p7_out_gaaaag(T24, T28, T29, .(T310, T311), T307, .(T305, T306))
U7_ga(T24, T25, T28, T29, p7_out_gaaaag(T24, T28, T29, X35, X36, T25)) → transpose1_out_ga(.(T24, T25), .(T28, T29))
transpose1_in_ga([], []) → transpose1_out_ga([], [])
P7_IN_GAAAAG(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) → U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_in_gaaaa(T24, T28, T29, .(T310, T311), T307))
U3_GAAAAG(T24, T28, T29, T310, T311, T307, T305, T306, row2col9_out_gaaaa(T24, T28, T29, .(T310, T311), T307)) → P7_IN_GAAAAG(T305, T310, T311, X687, X688, T306)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531) → U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_in_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], [])))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, []))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), [])))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, []))))))), .([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], []))))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, [])))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), []))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, [])))))), .([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))) → row2col9_out_gaaaa(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], [])))
row2col9_in_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])) → row2col9_out_gaaaa(.(T56, []), .(T56, T58), [], .(T58, []), .([], []))
U6_gaaaa(T56, T81, T106, T131, T156, T181, T206, T231, T232, T58, T83, T108, T133, T158, T183, T208, T233, T235, X530, X531, row2col51_out_gaaga(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531)) → row2col9_out_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232)))))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), .(.(T181, T183), .(.(T206, T208), .(.(T231, T233), T235))))))), .(T58, .(T83, .(T108, .(T133, .(T158, .(T183, .(T208, .(T233, X530)))))))), X531)
row2col51_in_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_in_gaaga(T267, T271, X600, .([], T270), X601))
row2col51_in_gaaga([], [], [], T279, .([], T279)) → row2col51_out_gaaga([], [], [], T279, .([], T279))
U1_gaaga(T266, T267, T268, T271, X600, T270, X601, row2col51_out_gaaga(T267, T271, X600, .([], T270), X601)) → row2col51_out_gaaga(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601)
P7_IN_GAAAAG(T24, .(T305, T306)) → U3_GAAAAG(T305, T306, row2col9_in_gaaaa(T24))
U3_GAAAAG(T305, T306, row2col9_out_gaaaa(T307)) → P7_IN_GAAAAG(T305, T306)
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, .(T231, T232))))))))) → U6_gaaaa(row2col51_in_gaaga(T232, .([], .([], .([], .([], .([], .([], .([], [])))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, .(T206, [])))))))) → row2col9_out_gaaaa(.([], .([], .([], .([], .([], .([], .([], []))))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, .(T181, []))))))) → row2col9_out_gaaaa(.([], .([], .([], .([], .([], .([], [])))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, .(T156, [])))))) → row2col9_out_gaaaa(.([], .([], .([], .([], .([], []))))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, .(T131, []))))) → row2col9_out_gaaaa(.([], .([], .([], .([], [])))))
row2col9_in_gaaaa(.(T56, .(T81, .(T106, [])))) → row2col9_out_gaaaa(.([], .([], .([], []))))
row2col9_in_gaaaa(.(T56, .(T81, []))) → row2col9_out_gaaaa(.([], .([], [])))
row2col9_in_gaaaa(.(T56, [])) → row2col9_out_gaaaa(.([], []))
U6_gaaaa(row2col51_out_gaaga(X531)) → row2col9_out_gaaaa(X531)
row2col51_in_gaaga(.(T266, T267), T270) → U1_gaaga(row2col51_in_gaaga(T267, .([], T270)))
row2col51_in_gaaga([], T279) → row2col51_out_gaaga(.([], T279))
U1_gaaga(row2col51_out_gaaga(X601)) → row2col51_out_gaaga(X601)
row2col9_in_gaaaa(x0)
U6_gaaaa(x0)
row2col51_in_gaaga(x0, x1)
U1_gaaga(x0)
From the DPs we obtained the following set of size-change graphs: