↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
in_order2: (f,b) (f,f)
app3: (f,f,f) (f,f,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AA7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAA3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAA5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AG7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAG3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AA7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAA3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAA5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AG7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAG3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AAG1(._21(Zs)) -> APP_3_IN_AAG1(Zs)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AAA -> APP_3_IN_AAA
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
IF_IN_ORDER_2_IN_1_AA1(in_order_2_out_aa1(Left)) -> IN_ORDER_2_IN_AA
IN_ORDER_2_IN_AA -> IF_IN_ORDER_2_IN_1_AA1(in_order_2_in_aa)
IN_ORDER_2_IN_AA -> IN_ORDER_2_IN_AA
in_order_2_in_aa -> in_order_2_out_aa1(void_0)
in_order_2_in_aa -> if_in_order_2_in_1_aa1(in_order_2_in_aa)
if_in_order_2_in_1_aa1(in_order_2_out_aa1(Left)) -> if_in_order_2_in_2_aa2(Left, in_order_2_in_aa)
if_in_order_2_in_2_aa2(Left, in_order_2_out_aa1(Right)) -> if_in_order_2_in_3_aa3(Left, Right, app_3_in_aaa)
if_in_order_2_in_3_aa3(Left, Right, app_3_out_aaa1(Ls)) -> in_order_2_out_aa1(tree_32(Left, Right))
app_3_in_aaa -> app_3_out_aaa1([]_0)
app_3_in_aaa -> if_app_3_in_1_aaa1(app_3_in_aaa)
if_app_3_in_1_aaa1(app_3_out_aaa1(Xs)) -> app_3_out_aaa1(._21(Xs))
in_order_2_in_aa
if_in_order_2_in_1_aa1(x0)
if_in_order_2_in_2_aa2(x0, x1)
if_in_order_2_in_3_aa3(x0, x1, x2)
app_3_in_aaa
if_app_3_in_1_aaa1(x0)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AA7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAA3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAA5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AG7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAG3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AG2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AA7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AA6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAA3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAA5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
IF_IN_ORDER_2_IN_1_AG5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> IF_IN_ORDER_2_IN_3_AG7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
IF_IN_ORDER_2_IN_2_AG6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> APP_3_IN_AAG3(Ls, ._22(X, Rs), Xs)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_AAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAA3(Xs, Ys, Zs)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> IN_ORDER_2_IN_AA2(Right, Rs)
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IF_IN_ORDER_2_IN_1_AA5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
IN_ORDER_2_IN_AA2(tree_33(X, Left, Right), Xs) -> IN_ORDER_2_IN_AA2(Left, Ls)
in_order_2_in_ag2(void_0, []_0) -> in_order_2_out_ag2(void_0, []_0)
in_order_2_in_ag2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
in_order_2_in_aa2(void_0, []_0) -> in_order_2_out_aa2(void_0, []_0)
in_order_2_in_aa2(tree_33(X, Left, Right), Xs) -> if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_in_aa2(Left, Ls))
if_in_order_2_in_1_aa5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_aa6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_in_aaa3(Ls, ._22(X, Rs), Xs))
app_3_in_aaa3([]_0, X, X) -> app_3_out_aaa3([]_0, X, X)
app_3_in_aaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_in_aaa3(Xs, Ys, Zs))
if_app_3_in_1_aaa5(X, Xs, Ys, Zs, app_3_out_aaa3(Xs, Ys, Zs)) -> app_3_out_aaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_aa7(X, Left, Right, Xs, Ls, Rs, app_3_out_aaa3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_aa2(tree_33(X, Left, Right), Xs)
if_in_order_2_in_1_ag5(X, Left, Right, Xs, in_order_2_out_aa2(Left, Ls)) -> if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_in_aa2(Right, Rs))
if_in_order_2_in_2_ag6(X, Left, Right, Xs, Ls, in_order_2_out_aa2(Right, Rs)) -> if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_in_aag3(Ls, ._22(X, Rs), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_in_order_2_in_3_ag7(X, Left, Right, Xs, Ls, Rs, app_3_out_aag3(Ls, ._22(X, Rs), Xs)) -> in_order_2_out_ag2(tree_33(X, Left, Right), Xs)