↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
front2: (f,b) (f,f)
app3: (b,b,f) (b,b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AA7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGA3(Ls, Rs, Xs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AG7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGG3(Ls, Rs, Xs)
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGG5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AA7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGA3(Ls, Rs, Xs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AG7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGG3(Ls, Rs, Xs)
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGG5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_GGG3(._21(Xs), Ys, ._21(Zs)) -> APP_3_IN_GGG3(Xs, Ys, 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_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_GGA2(._21(Xs), Ys) -> APP_3_IN_GGA2(Xs, Ys)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
IF_FRONT_2_IN_1_AA1(front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA
FRONT_2_IN_AA -> FRONT_2_IN_AA
FRONT_2_IN_AA -> IF_FRONT_2_IN_1_AA1(front_2_in_aa)
front_2_in_aa -> front_2_out_aa2(void_0, []_0)
front_2_in_aa -> front_2_out_aa2(tree_32(void_0, void_0), ._21([]_0))
front_2_in_aa -> if_front_2_in_1_aa1(front_2_in_aa)
if_front_2_in_1_aa1(front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa3(L, Ls, front_2_in_aa)
if_front_2_in_2_aa3(L, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa3(L, R, app_3_in_gga2(Ls, Rs))
if_front_2_in_3_aa3(L, R, app_3_out_gga1(Xs)) -> front_2_out_aa2(tree_32(L, R), Xs)
app_3_in_gga2([]_0, X) -> app_3_out_gga1(X)
app_3_in_gga2(._21(Xs), Ys) -> if_app_3_in_1_gga1(app_3_in_gga2(Xs, Ys))
if_app_3_in_1_gga1(app_3_out_gga1(Zs)) -> app_3_out_gga1(._21(Zs))
front_2_in_aa
if_front_2_in_1_aa1(x0)
if_front_2_in_2_aa3(x0, x1, x2)
if_front_2_in_3_aa3(x0, x1, x2)
app_3_in_gga2(x0, x1)
if_app_3_in_1_gga1(x0)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AA7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGA3(Ls, Rs, Xs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AG7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGG3(Ls, Rs, Xs)
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGG5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AG2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AA7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AA6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGA3(Ls, Rs, Xs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
IF_FRONT_2_IN_1_AG5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> IF_FRONT_2_IN_3_AG7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
IF_FRONT_2_IN_2_AG6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> APP_3_IN_GGG3(Ls, Rs, Xs)
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGG5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_GGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> FRONT_2_IN_AA2(R, Rs)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> FRONT_2_IN_AA2(L, Ls)
FRONT_2_IN_AA2(tree_33(underscore, L, R), Xs) -> IF_FRONT_2_IN_1_AA5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_ag2(void_0, []_0) -> front_2_out_ag2(void_0, []_0)
front_2_in_ag2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_ag2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_ag2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
front_2_in_aa2(void_0, []_0) -> front_2_out_aa2(void_0, []_0)
front_2_in_aa2(tree_33(X, void_0, void_0), ._22(X, []_0)) -> front_2_out_aa2(tree_33(X, void_0, void_0), ._22(X, []_0))
front_2_in_aa2(tree_33(underscore, L, R), Xs) -> if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_in_aa2(L, Ls))
if_front_2_in_1_aa5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_aa6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_in_gga3(Ls, Rs, Xs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_aa7(underscore, L, R, Xs, Ls, Rs, app_3_out_gga3(Ls, Rs, Xs)) -> front_2_out_aa2(tree_33(underscore, L, R), Xs)
if_front_2_in_1_ag5(underscore, L, R, Xs, front_2_out_aa2(L, Ls)) -> if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_in_aa2(R, Rs))
if_front_2_in_2_ag6(underscore, L, R, Xs, Ls, front_2_out_aa2(R, Rs)) -> if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_in_ggg3(Ls, Rs, Xs))
app_3_in_ggg3([]_0, X, X) -> app_3_out_ggg3([]_0, X, X)
app_3_in_ggg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_in_ggg3(Xs, Ys, Zs))
if_app_3_in_1_ggg5(X, Xs, Ys, Zs, app_3_out_ggg3(Xs, Ys, Zs)) -> app_3_out_ggg3(._22(X, Xs), Ys, ._22(X, Zs))
if_front_2_in_3_ag7(underscore, L, R, Xs, Ls, Rs, app_3_out_ggg3(Ls, Rs, Xs)) -> front_2_out_ag2(tree_33(underscore, L, R), Xs)