↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
search_tree1: (b)
search_tree3: (b,f,f)
less2: (b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
search_tree_1_in_g1(void_0) -> search_tree_1_out_g1(void_0)
search_tree_1_in_g1(T) -> if_search_tree_1_in_1_g2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_1_in_1_g2(T, search_tree_3_out_gaa3(T, underscore, underscore1)) -> search_tree_1_out_g1(T)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
search_tree_1_in_g1(void_0) -> search_tree_1_out_g1(void_0)
search_tree_1_in_g1(T) -> if_search_tree_1_in_1_g2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_1_in_1_g2(T, search_tree_3_out_gaa3(T, underscore, underscore1)) -> search_tree_1_out_g1(T)
SEARCH_TREE_1_IN_G1(T) -> IF_SEARCH_TREE_1_IN_1_G2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
SEARCH_TREE_1_IN_G1(T) -> SEARCH_TREE_3_IN_GAA3(T, underscore, underscore1)
SEARCH_TREE_3_IN_GAA3(tree_33(X, void_0, Right), X, Max) -> IF_SEARCH_TREE_3_IN_1_GAA4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
SEARCH_TREE_3_IN_GAA3(tree_33(X, void_0, Right), X, Max) -> SEARCH_TREE_3_IN_GAA3(Right, Min, Max)
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, void_0), Min, X) -> IF_SEARCH_TREE_3_IN_3_GAA4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, void_0), Min, X) -> SEARCH_TREE_3_IN_GAA3(Left, Min, Max)
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> SEARCH_TREE_3_IN_GAA3(Left, Min1, Max1)
IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> LESS_2_IN_GG2(Max1, X)
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> IF_SEARCH_TREE_3_IN_7_GAA6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> SEARCH_TREE_3_IN_GAA3(Right, Min2, Max2)
IF_SEARCH_TREE_3_IN_7_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> IF_SEARCH_TREE_3_IN_8_GAA7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
IF_SEARCH_TREE_3_IN_7_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> LESS_2_IN_GG2(X, Min2)
IF_SEARCH_TREE_3_IN_3_GAA4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> IF_SEARCH_TREE_3_IN_4_GAA5(X, Left, Min, Max, less_2_in_gg2(Max, X))
IF_SEARCH_TREE_3_IN_3_GAA4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> LESS_2_IN_GG2(Max, X)
IF_SEARCH_TREE_3_IN_1_GAA4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> IF_SEARCH_TREE_3_IN_2_GAA5(X, Right, Max, Min, less_2_in_gg2(X, Min))
IF_SEARCH_TREE_3_IN_1_GAA4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> LESS_2_IN_GG2(X, Min)
search_tree_1_in_g1(void_0) -> search_tree_1_out_g1(void_0)
search_tree_1_in_g1(T) -> if_search_tree_1_in_1_g2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_1_in_1_g2(T, search_tree_3_out_gaa3(T, underscore, underscore1)) -> search_tree_1_out_g1(T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SEARCH_TREE_1_IN_G1(T) -> IF_SEARCH_TREE_1_IN_1_G2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
SEARCH_TREE_1_IN_G1(T) -> SEARCH_TREE_3_IN_GAA3(T, underscore, underscore1)
SEARCH_TREE_3_IN_GAA3(tree_33(X, void_0, Right), X, Max) -> IF_SEARCH_TREE_3_IN_1_GAA4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
SEARCH_TREE_3_IN_GAA3(tree_33(X, void_0, Right), X, Max) -> SEARCH_TREE_3_IN_GAA3(Right, Min, Max)
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, void_0), Min, X) -> IF_SEARCH_TREE_3_IN_3_GAA4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, void_0), Min, X) -> SEARCH_TREE_3_IN_GAA3(Left, Min, Max)
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> SEARCH_TREE_3_IN_GAA3(Left, Min1, Max1)
IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> LESS_2_IN_GG2(Max1, X)
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> IF_SEARCH_TREE_3_IN_7_GAA6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> SEARCH_TREE_3_IN_GAA3(Right, Min2, Max2)
IF_SEARCH_TREE_3_IN_7_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> IF_SEARCH_TREE_3_IN_8_GAA7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
IF_SEARCH_TREE_3_IN_7_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> LESS_2_IN_GG2(X, Min2)
IF_SEARCH_TREE_3_IN_3_GAA4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> IF_SEARCH_TREE_3_IN_4_GAA5(X, Left, Min, Max, less_2_in_gg2(Max, X))
IF_SEARCH_TREE_3_IN_3_GAA4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> LESS_2_IN_GG2(Max, X)
IF_SEARCH_TREE_3_IN_1_GAA4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> IF_SEARCH_TREE_3_IN_2_GAA5(X, Right, Max, Min, less_2_in_gg2(X, Min))
IF_SEARCH_TREE_3_IN_1_GAA4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> LESS_2_IN_GG2(X, Min)
search_tree_1_in_g1(void_0) -> search_tree_1_out_g1(void_0)
search_tree_1_in_g1(T) -> if_search_tree_1_in_1_g2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_1_in_1_g2(T, search_tree_3_out_gaa3(T, underscore, underscore1)) -> search_tree_1_out_g1(T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
search_tree_1_in_g1(void_0) -> search_tree_1_out_g1(void_0)
search_tree_1_in_g1(T) -> if_search_tree_1_in_1_g2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_1_in_1_g2(T, search_tree_3_out_gaa3(T, underscore, underscore1)) -> search_tree_1_out_g1(T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
SEARCH_TREE_3_IN_GAA3(tree_33(X, void_0, Right), X, Max) -> SEARCH_TREE_3_IN_GAA3(Right, Min, Max)
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, void_0), Min, X) -> SEARCH_TREE_3_IN_GAA3(Left, Min, Max)
IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> SEARCH_TREE_3_IN_GAA3(Right, Min2, Max2)
IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> SEARCH_TREE_3_IN_GAA3(Left, Min1, Max1)
search_tree_1_in_g1(void_0) -> search_tree_1_out_g1(void_0)
search_tree_1_in_g1(T) -> if_search_tree_1_in_1_g2(T, search_tree_3_in_gaa3(T, underscore, underscore1))
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_1_in_1_g2(T, search_tree_3_out_gaa3(T, underscore, underscore1)) -> search_tree_1_out_g1(T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
SEARCH_TREE_3_IN_GAA3(tree_33(X, void_0, Right), X, Max) -> SEARCH_TREE_3_IN_GAA3(Right, Min, Max)
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, void_0), Min, X) -> SEARCH_TREE_3_IN_GAA3(Left, Min, Max)
IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> SEARCH_TREE_3_IN_GAA3(Right, Min2, Max2)
IF_SEARCH_TREE_3_IN_5_GAA6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> IF_SEARCH_TREE_3_IN_6_GAA7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
SEARCH_TREE_3_IN_GAA3(tree_33(X, Left, Right), Min1, Max2) -> SEARCH_TREE_3_IN_GAA3(Left, Min1, Max1)
search_tree_3_in_gaa3(tree_33(X, void_0, void_0), X, X) -> search_tree_3_out_gaa3(tree_33(X, void_0, void_0), X, X)
search_tree_3_in_gaa3(tree_33(X, void_0, Right), X, Max) -> if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_in_gaa3(Right, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, void_0), Min, X) -> if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_in_gaa3(Left, Min, Max))
search_tree_3_in_gaa3(tree_33(X, Left, Right), Min1, Max2) -> if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Left, Min1, Max1))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg2(0_0, s_11(underscore2))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_search_tree_3_in_1_gaa4(X, Right, Max, search_tree_3_out_gaa3(Right, Min, Max)) -> if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_in_gg2(X, Min))
if_search_tree_3_in_3_gaa4(X, Left, Min, search_tree_3_out_gaa3(Left, Min, Max)) -> if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_in_gg2(Max, X))
if_search_tree_3_in_5_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Left, Min1, Max1)) -> if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_in_gg2(Max1, X))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_search_tree_3_in_2_gaa5(X, Right, Max, Min, less_2_out_gg2(X, Min)) -> search_tree_3_out_gaa3(tree_33(X, void_0, Right), X, Max)
if_search_tree_3_in_4_gaa5(X, Left, Min, Max, less_2_out_gg2(Max, X)) -> search_tree_3_out_gaa3(tree_33(X, Left, void_0), Min, X)
if_search_tree_3_in_6_gaa7(X, Left, Right, Min1, Max2, Max1, less_2_out_gg2(Max1, X)) -> if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_in_gaa3(Right, Min2, Max2))
if_search_tree_3_in_7_gaa6(X, Left, Right, Min1, Max2, search_tree_3_out_gaa3(Right, Min2, Max2)) -> if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa7(X, Left, Right, Min1, Max2, Min2, less_2_out_gg2(X, Min2)) -> search_tree_3_out_gaa3(tree_33(X, Left, Right), Min1, Max2)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
SEARCH_TREE_3_IN_GAA1(tree_33(X, Left, Right)) -> IF_SEARCH_TREE_3_IN_5_GAA3(X, Right, search_tree_3_in_gaa1(Left))
SEARCH_TREE_3_IN_GAA1(tree_33(X, void_0, Right)) -> SEARCH_TREE_3_IN_GAA1(Right)
SEARCH_TREE_3_IN_GAA1(tree_33(X, Left, void_0)) -> SEARCH_TREE_3_IN_GAA1(Left)
IF_SEARCH_TREE_3_IN_6_GAA4(X, Right, Min1, less_2_out_gg) -> SEARCH_TREE_3_IN_GAA1(Right)
IF_SEARCH_TREE_3_IN_5_GAA3(X, Right, search_tree_3_out_gaa2(Min1, Max1)) -> IF_SEARCH_TREE_3_IN_6_GAA4(X, Right, Min1, less_2_in_gg2(Max1, X))
SEARCH_TREE_3_IN_GAA1(tree_33(X, Left, Right)) -> SEARCH_TREE_3_IN_GAA1(Left)
search_tree_3_in_gaa1(tree_33(X, void_0, void_0)) -> search_tree_3_out_gaa2(X, X)
search_tree_3_in_gaa1(tree_33(X, void_0, Right)) -> if_search_tree_3_in_1_gaa2(X, search_tree_3_in_gaa1(Right))
search_tree_3_in_gaa1(tree_33(X, Left, void_0)) -> if_search_tree_3_in_3_gaa2(X, search_tree_3_in_gaa1(Left))
search_tree_3_in_gaa1(tree_33(X, Left, Right)) -> if_search_tree_3_in_5_gaa3(X, Right, search_tree_3_in_gaa1(Left))
less_2_in_gg2(0_0, s_11(underscore2)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_search_tree_3_in_1_gaa2(X, search_tree_3_out_gaa2(Min, Max)) -> if_search_tree_3_in_2_gaa3(X, Max, less_2_in_gg2(X, Min))
if_search_tree_3_in_3_gaa2(X, search_tree_3_out_gaa2(Min, Max)) -> if_search_tree_3_in_4_gaa3(X, Min, less_2_in_gg2(Max, X))
if_search_tree_3_in_5_gaa3(X, Right, search_tree_3_out_gaa2(Min1, Max1)) -> if_search_tree_3_in_6_gaa4(X, Right, Min1, less_2_in_gg2(Max1, X))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
if_search_tree_3_in_2_gaa3(X, Max, less_2_out_gg) -> search_tree_3_out_gaa2(X, Max)
if_search_tree_3_in_4_gaa3(X, Min, less_2_out_gg) -> search_tree_3_out_gaa2(Min, X)
if_search_tree_3_in_6_gaa4(X, Right, Min1, less_2_out_gg) -> if_search_tree_3_in_7_gaa3(X, Min1, search_tree_3_in_gaa1(Right))
if_search_tree_3_in_7_gaa3(X, Min1, search_tree_3_out_gaa2(Min2, Max2)) -> if_search_tree_3_in_8_gaa3(Min1, Max2, less_2_in_gg2(X, Min2))
if_search_tree_3_in_8_gaa3(Min1, Max2, less_2_out_gg) -> search_tree_3_out_gaa2(Min1, Max2)
search_tree_3_in_gaa1(x0)
less_2_in_gg2(x0, x1)
if_search_tree_3_in_1_gaa2(x0, x1)
if_search_tree_3_in_3_gaa2(x0, x1)
if_search_tree_3_in_5_gaa3(x0, x1, x2)
if_less_2_in_1_gg1(x0)
if_search_tree_3_in_2_gaa3(x0, x1, x2)
if_search_tree_3_in_4_gaa3(x0, x1, x2)
if_search_tree_3_in_6_gaa4(x0, x1, x2, x3)
if_search_tree_3_in_7_gaa3(x0, x1, x2)
if_search_tree_3_in_8_gaa3(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs: