(0) Obligation:

Clauses:

transpose(A, B) :- transpose_aux(A, [], B).
transpose_aux(.(R, Rs), X1, .(C, Cs)) :- ','(row2col(R, .(C, Cs), Cols1, [], Accm), transpose_aux(Rs, Accm, Cols1)).
transpose_aux([], X, X).
row2col(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) :- row2col(Xs, Cols, Cols1, .([], A), B).
row2col([], [], [], A, A).

Queries:

transpose(g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

row2col51(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) :- row2col51(T267, T271, X600, .([], T270), X601).
row2col51([], [], [], T279, .([], T279)).
p7(T24, T28, T29, X35, X36, T25) :- row2col9(T24, T28, T29, X35, X36).
p7(T24, T28, T29, .(T310, T311), T307, .(T305, T306)) :- ','(row2col9(T24, T28, T29, .(T310, T311), T307), p7(T305, T310, T311, X687, X688, T306)).
p7(T24, T28, T29, T318, T318, []) :- row2col9(T24, T28, T29, T318, T318).
row2col9(.(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(T232, T235, X530, .([], .([], .([], .([], .([], .([], .([], []))))))), X531).
row2col9(.(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(.(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(.(T56, .(T81, .(T106, .(T131, .(T156, []))))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), .(.(T156, T158), [])))), .(T58, .(T83, .(T108, .(T133, .(T158, []))))), .([], .([], .([], .([], .([], [])))))).
row2col9(.(T56, .(T81, .(T106, .(T131, [])))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), .(.(T131, T133), []))), .(T58, .(T83, .(T108, .(T133, [])))), .([], .([], .([], .([], []))))).
row2col9(.(T56, .(T81, .(T106, []))), .(T56, T58), .(.(T81, T83), .(.(T106, T108), [])), .(T58, .(T83, .(T108, []))), .([], .([], .([], [])))).
row2col9(.(T56, .(T81, [])), .(T56, T58), .(.(T81, T83), []), .(T58, .(T83, [])), .([], .([], []))).
row2col9(.(T56, []), .(T56, T58), [], .(T58, []), .([], [])).
transpose1(.(T24, T25), .(T28, T29)) :- p7(T24, T28, T29, X35, X36, T25).
transpose1([], []).

Queries:

transpose1(g,a).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
transpose1_in: (b,f)
p7_in: (b,f,f,f,f,b)
row2col9_in: (b,f,f,f,f)
row2col51_in: (b,f,f,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

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([], [])

The argument filtering Pi contains the following mapping:
transpose1_in_ga(x1, x2)  =  transpose1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4, x5)  =  U7_ga(x5)
p7_in_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_in_gaaaag(x1, x6)
U2_gaaaag(x1, x2, x3, x4, x5, x6, x7)  =  U2_gaaaag(x7)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
p7_out_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_out_gaaaag(x5)
U3_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_gaaaag(x7, x8, x9)
U4_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_gaaaag(x6, x9)
U5_gaaaag(x1, x2, x3, x4, x5)  =  U5_gaaaag(x5)
transpose1_out_ga(x1, x2)  =  transpose1_out_ga

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

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([], [])

The argument filtering Pi contains the following mapping:
transpose1_in_ga(x1, x2)  =  transpose1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4, x5)  =  U7_ga(x5)
p7_in_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_in_gaaaag(x1, x6)
U2_gaaaag(x1, x2, x3, x4, x5, x6, x7)  =  U2_gaaaag(x7)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
p7_out_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_out_gaaaag(x5)
U3_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_gaaaag(x7, x8, x9)
U4_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_gaaaag(x6, x9)
U5_gaaaag(x1, x2, x3, x4, x5)  =  U5_gaaaag(x5)
transpose1_out_ga(x1, x2)  =  transpose1_out_ga

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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([], [])

The argument filtering Pi contains the following mapping:
transpose1_in_ga(x1, x2)  =  transpose1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4, x5)  =  U7_ga(x5)
p7_in_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_in_gaaaag(x1, x6)
U2_gaaaag(x1, x2, x3, x4, x5, x6, x7)  =  U2_gaaaag(x7)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
p7_out_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_out_gaaaag(x5)
U3_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_gaaaag(x7, x8, x9)
U4_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_gaaaag(x6, x9)
U5_gaaaag(x1, x2, x3, x4, x5)  =  U5_gaaaag(x5)
transpose1_out_ga(x1, x2)  =  transpose1_out_ga
TRANSPOSE1_IN_GA(x1, x2)  =  TRANSPOSE1_IN_GA(x1)
U7_GA(x1, x2, x3, x4, x5)  =  U7_GA(x5)
P7_IN_GAAAAG(x1, x2, x3, x4, x5, x6)  =  P7_IN_GAAAAG(x1, x6)
U2_GAAAAG(x1, x2, x3, x4, x5, x6, x7)  =  U2_GAAAAG(x7)
ROW2COL9_IN_GAAAA(x1, x2, x3, x4, x5)  =  ROW2COL9_IN_GAAAA(x1)
U6_GAAAA(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_GAAAA(x21)
ROW2COL51_IN_GAAGA(x1, x2, x3, x4, x5)  =  ROW2COL51_IN_GAAGA(x1, x4)
U1_GAAGA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_GAAGA(x8)
U3_GAAAAG(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_GAAAAG(x7, x8, x9)
U4_GAAAAG(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_GAAAAG(x6, x9)
U5_GAAAAG(x1, x2, x3, x4, x5)  =  U5_GAAAAG(x5)

We have to consider all (P,R,Pi)-chains

(6) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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([], [])

The argument filtering Pi contains the following mapping:
transpose1_in_ga(x1, x2)  =  transpose1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4, x5)  =  U7_ga(x5)
p7_in_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_in_gaaaag(x1, x6)
U2_gaaaag(x1, x2, x3, x4, x5, x6, x7)  =  U2_gaaaag(x7)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
p7_out_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_out_gaaaag(x5)
U3_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_gaaaag(x7, x8, x9)
U4_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_gaaaag(x6, x9)
U5_gaaaag(x1, x2, x3, x4, x5)  =  U5_gaaaag(x5)
transpose1_out_ga(x1, x2)  =  transpose1_out_ga
TRANSPOSE1_IN_GA(x1, x2)  =  TRANSPOSE1_IN_GA(x1)
U7_GA(x1, x2, x3, x4, x5)  =  U7_GA(x5)
P7_IN_GAAAAG(x1, x2, x3, x4, x5, x6)  =  P7_IN_GAAAAG(x1, x6)
U2_GAAAAG(x1, x2, x3, x4, x5, x6, x7)  =  U2_GAAAAG(x7)
ROW2COL9_IN_GAAAA(x1, x2, x3, x4, x5)  =  ROW2COL9_IN_GAAAA(x1)
U6_GAAAA(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_GAAAA(x21)
ROW2COL51_IN_GAAGA(x1, x2, x3, x4, x5)  =  ROW2COL51_IN_GAAGA(x1, x4)
U1_GAAGA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_GAAGA(x8)
U3_GAAAAG(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_GAAAAG(x7, x8, x9)
U4_GAAAAG(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_GAAAAG(x6, x9)
U5_GAAAAG(x1, x2, x3, x4, x5)  =  U5_GAAAAG(x5)

We have to consider all (P,R,Pi)-chains

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 2 SCCs with 11 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → ROW2COL51_IN_GAAGA(T267, T271, X600, .([], T270), X601)

The TRS R consists of the following rules:

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([], [])

The argument filtering Pi contains the following mapping:
transpose1_in_ga(x1, x2)  =  transpose1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4, x5)  =  U7_ga(x5)
p7_in_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_in_gaaaag(x1, x6)
U2_gaaaag(x1, x2, x3, x4, x5, x6, x7)  =  U2_gaaaag(x7)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
p7_out_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_out_gaaaag(x5)
U3_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_gaaaag(x7, x8, x9)
U4_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_gaaaag(x6, x9)
U5_gaaaag(x1, x2, x3, x4, x5)  =  U5_gaaaag(x5)
transpose1_out_ga(x1, x2)  =  transpose1_out_ga
ROW2COL51_IN_GAAGA(x1, x2, x3, x4, x5)  =  ROW2COL51_IN_GAAGA(x1, x4)

We have to consider all (P,R,Pi)-chains

(10) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(11) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

ROW2COL51_IN_GAAGA(.(T266, T267), .(.(T266, T268), T271), .(T268, X600), T270, X601) → ROW2COL51_IN_GAAGA(T267, T271, X600, .([], T270), X601)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
[]  =  []
ROW2COL51_IN_GAAGA(x1, x2, x3, x4, x5)  =  ROW2COL51_IN_GAAGA(x1, x4)

We have to consider all (P,R,Pi)-chains

(12) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

ROW2COL51_IN_GAAGA(.(T266, T267), T270) → ROW2COL51_IN_GAAGA(T267, .([], T270))

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • ROW2COL51_IN_GAAGA(.(T266, T267), T270) → ROW2COL51_IN_GAAGA(T267, .([], T270))
    The graph contains the following edges 1 > 1

(15) YES

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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([], [])

The argument filtering Pi contains the following mapping:
transpose1_in_ga(x1, x2)  =  transpose1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4, x5)  =  U7_ga(x5)
p7_in_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_in_gaaaag(x1, x6)
U2_gaaaag(x1, x2, x3, x4, x5, x6, x7)  =  U2_gaaaag(x7)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
p7_out_gaaaag(x1, x2, x3, x4, x5, x6)  =  p7_out_gaaaag(x5)
U3_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_gaaaag(x7, x8, x9)
U4_gaaaag(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U4_gaaaag(x6, x9)
U5_gaaaag(x1, x2, x3, x4, x5)  =  U5_gaaaag(x5)
transpose1_out_ga(x1, x2)  =  transpose1_out_ga
P7_IN_GAAAAG(x1, x2, x3, x4, x5, x6)  =  P7_IN_GAAAAG(x1, x6)
U3_GAAAAG(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_GAAAAG(x7, x8, x9)

We have to consider all (P,R,Pi)-chains

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
row2col9_in_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_in_gaaaa(x1)
U6_gaaaa(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21)  =  U6_gaaaa(x21)
row2col51_in_gaaga(x1, x2, x3, x4, x5)  =  row2col51_in_gaaga(x1, x4)
U1_gaaga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_gaaga(x8)
[]  =  []
row2col51_out_gaaga(x1, x2, x3, x4, x5)  =  row2col51_out_gaaga(x5)
row2col9_out_gaaaa(x1, x2, x3, x4, x5)  =  row2col9_out_gaaaa(x5)
P7_IN_GAAAAG(x1, x2, x3, x4, x5, x6)  =  P7_IN_GAAAAG(x1, x6)
U3_GAAAAG(x1, x2, x3, x4, x5, x6, x7, x8, x9)  =  U3_GAAAAG(x7, x8, x9)

We have to consider all (P,R,Pi)-chains

(19) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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)

The set Q consists of the following terms:

row2col9_in_gaaaa(x0)
U6_gaaaa(x0)
row2col51_in_gaaga(x0, x1)
U1_gaaga(x0)

We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • U3_GAAAAG(T305, T306, row2col9_out_gaaaa(T307)) → P7_IN_GAAAAG(T305, T306)
    The graph contains the following edges 1 >= 1, 2 >= 2

  • P7_IN_GAAAAG(T24, .(T305, T306)) → U3_GAAAAG(T305, T306, row2col9_in_gaaaa(T24))
    The graph contains the following edges 2 > 1, 2 > 2

(22) YES