0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 PiDP
↳9 UsableRulesProof (⇔)
↳10 PiDP
↳11 PiDPToQDPProof (⇐)
↳12 QDP
↳13 Instantiation (⇔)
↳14 QDP
↳15 Instantiation (⇔)
↳16 QDP
↳17 NonTerminationProof (⇔)
↳18 NO
↳19 PrologToPiTRSProof (⇐)
↳20 PiTRS
↳21 DependencyPairsProof (⇔)
↳22 PiDP
↳23 DependencyGraphProof (⇔)
↳24 PiDP
↳25 UsableRulesProof (⇔)
↳26 PiDP
↳27 PiDPToQDPProof (⇐)
↳28 QDP
↳29 Instantiation (⇔)
↳30 QDP
↳31 Instantiation (⇔)
↳32 QDP
↳33 NonTerminationProof (⇔)
↳34 NO
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_AG(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → REVERSE68_IN_AAGG(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → U1_AAGG(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_AG(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → REVERSE68_IN_AAGG(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → U1_AAGG(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
REVERSE68_IN_AAGG(T453, T449) → REVERSE68_IN_AAGG(.(T453), T449)
REVERSE68_IN_AAGG(.(z0), z1) → REVERSE68_IN_AAGG(.(.(z0)), z1)
REVERSE68_IN_AAGG(.(z0), z1) → REVERSE68_IN_AAGG(.(.(z0)), z1)
REVERSE68_IN_AAGG(.(.(z0)), z1) → REVERSE68_IN_AAGG(.(.(.(z0))), z1)
REVERSE68_IN_AAGG(.(.(z0)), z1) → REVERSE68_IN_AAGG(.(.(.(z0))), z1)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_AG(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → REVERSE68_IN_AAGG(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → U1_AAGG(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_AG(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
REVERSE1_IN_AG(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → REVERSE68_IN_AAGG(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → U1_AAGG(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
reverse1_in_ag([], []) → reverse1_out_ag([], [])
reverse1_in_ag(.(T25, []), .(T25, [])) → reverse1_out_ag(.(T25, []), .(T25, []))
reverse1_in_ag(.(T54, .(T53, [])), .(T53, .(T54, []))) → reverse1_out_ag(.(T54, .(T53, [])), .(T53, .(T54, [])))
reverse1_in_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, [])))) → reverse1_out_ag(.(T94, .(T93, .(T92, []))), .(T92, .(T93, .(T94, []))))
reverse1_in_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, []))))) → reverse1_out_ag(.(T145, .(T144, .(T143, .(T142, [])))), .(T142, .(T143, .(T144, .(T145, [])))))
reverse1_in_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, [])))))) → reverse1_out_ag(.(T207, .(T206, .(T205, .(T204, .(T203, []))))), .(T203, .(T204, .(T205, .(T206, .(T207, []))))))
reverse1_in_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, []))))))) → reverse1_out_ag(.(T280, .(T279, .(T278, .(T277, .(T276, .(T275, [])))))), .(T275, .(T276, .(T277, .(T278, .(T279, .(T280, [])))))))
reverse1_in_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, [])))))))) → reverse1_out_ag(.(T364, .(T363, .(T362, .(T361, .(T360, .(T359, .(T358, []))))))), .(T358, .(T359, .(T360, .(T361, .(T362, .(T363, .(T364, []))))))))
reverse1_in_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394) → U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_in_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394))
reverse68_in_aagg([], T433, T434, .(T433, T434)) → reverse68_out_aagg([], T433, T434, .(T433, T434))
reverse68_in_aagg(.(T451, T450), T452, T453, T449) → U1_aagg(T451, T450, T452, T453, T449, reverse68_in_aagg(T450, T451, .(T452, T453), T449))
U1_aagg(T451, T450, T452, T453, T449, reverse68_out_aagg(T450, T451, .(T452, T453), T449)) → reverse68_out_aagg(.(T451, T450), T452, T453, T449)
U2_ag(T403, T402, T401, T400, T399, T398, T397, T396, T395, T394, reverse68_out_aagg(T395, T396, .(T397, .(T398, .(T399, .(T400, .(T401, .(T402, .(T403, []))))))), T394)) → reverse1_out_ag(.(T403, .(T402, .(T401, .(T400, .(T399, .(T398, .(T397, .(T396, T395)))))))), T394)
REVERSE68_IN_AAGG(.(T451, T450), T452, T453, T449) → REVERSE68_IN_AAGG(T450, T451, .(T452, T453), T449)
REVERSE68_IN_AAGG(T453, T449) → REVERSE68_IN_AAGG(.(T453), T449)
REVERSE68_IN_AAGG(.(z0), z1) → REVERSE68_IN_AAGG(.(.(z0)), z1)
REVERSE68_IN_AAGG(.(z0), z1) → REVERSE68_IN_AAGG(.(.(z0)), z1)
REVERSE68_IN_AAGG(.(.(z0)), z1) → REVERSE68_IN_AAGG(.(.(.(z0))), z1)
REVERSE68_IN_AAGG(.(.(z0)), z1) → REVERSE68_IN_AAGG(.(.(.(z0))), z1)