↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
delete3: (b,f,b) (b,f,f)
delmin3: (f,f,f)
less2: (b,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:
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAG6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> IF_DELMIN_3_IN_1_AAA7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> DELMIN_3_IN_AAA3(Left, Y, Left1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAG6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAA6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAA6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AG3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAA6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAG6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAG6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> IF_DELMIN_3_IN_1_AAA7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> DELMIN_3_IN_AAA3(Left, Y, Left1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAG6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAA6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAA6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AG3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAA6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAG6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_2_IN_AA -> LESS_2_IN_AA
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> DELMIN_3_IN_AAA3(Left, Y, Left1)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> DELMIN_3_IN_AAA3(Left, Y, Left1)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PiDP
↳ PrologToPiTRSProof
DELMIN_3_IN_AAA -> DELMIN_3_IN_AAA
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
DELETE_3_IN_GAA1(X) -> IF_DELETE_3_IN_2_GAA2(X, less_2_in_ga1(X))
DELETE_3_IN_GAA1(X) -> IF_DELETE_3_IN_4_GAA2(X, less_2_in_ag1(X))
IF_DELETE_3_IN_4_GAA2(X, less_2_out_ag1(Y)) -> DELETE_3_IN_GAA1(X)
IF_DELETE_3_IN_2_GAA2(X, less_2_out_ga1(Y)) -> DELETE_3_IN_GAA1(X)
less_2_in_ga1(0_0) -> less_2_out_ga1(s_1)
less_2_in_ga1(s_1) -> if_less_2_in_1_ga1(less_2_in_aa)
less_2_in_ag1(s_1) -> less_2_out_ag1(0_0)
less_2_in_ag1(s_1) -> if_less_2_in_1_ag1(less_2_in_aa)
if_less_2_in_1_ga1(less_2_out_aa2(X, Y)) -> less_2_out_ga1(s_1)
if_less_2_in_1_ag1(less_2_out_aa2(X, Y)) -> less_2_out_ag1(s_1)
less_2_in_aa -> less_2_out_aa2(0_0, s_1)
less_2_in_aa -> if_less_2_in_1_aa1(less_2_in_aa)
if_less_2_in_1_aa1(less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_1, s_1)
less_2_in_ga1(x0)
less_2_in_ag1(x0)
if_less_2_in_1_ga1(x0)
if_less_2_in_1_ag1(x0)
less_2_in_aa
if_less_2_in_1_aa1(x0)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAG6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> IF_DELMIN_3_IN_1_AAA7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> DELMIN_3_IN_AAA3(Left, Y, Left1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAG6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAA6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAA6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AG3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAA6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAG6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAG6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAG3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> IF_DELMIN_3_IN_1_AAA7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
DELMIN_3_IN_AAA3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> DELMIN_3_IN_AAA3(Left, Y, Left1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_GA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AA3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAG6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAG6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_1_GAA6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
DELETE_3_IN_GAA3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> DELMIN_3_IN_AAA3(Right, Y, Right1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> LESS_2_IN_GA2(X, Y)
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> IF_DELETE_3_IN_3_GAA6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
IF_DELETE_3_IN_2_GAA6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> DELETE_3_IN_GAA3(X, Left, Left1)
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAA3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_AG3(X, Y, less_2_in_aa2(X, Y))
LESS_2_IN_AG2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAA6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAA6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
DELETE_3_IN_GAG3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> LESS_2_IN_AG2(Y, X)
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> IF_DELETE_3_IN_5_GAG6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
IF_DELETE_3_IN_4_GAG6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> DELETE_3_IN_GAA3(X, Right, Right1)
delete_3_in_gag3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gag3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gag3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gag3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
delmin_3_in_aaa3(tree_33(Y, void_0, Right), Y, Right) -> delmin_3_out_aaa3(tree_33(Y, void_0, Right), Y, Right)
delmin_3_in_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1)) -> if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_in_aaa3(Left, Y, Left1))
if_delmin_3_in_1_aaa7(X, Left, underscore, Y, Left1, underscore1, delmin_3_out_aaa3(Left, Y, Left1)) -> delmin_3_out_aaa3(tree_33(X, Left, underscore), Y, tree_33(X, Left1, underscore1))
if_delete_3_in_1_gag6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gag3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore2)) -> less_2_out_ga2(0_0, s_11(underscore2))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(X, Y, less_2_in_aa2(X, Y))
less_2_in_aa2(0_0, s_11(underscore2)) -> less_2_out_aa2(0_0, s_11(underscore2))
less_2_in_aa2(s_11(X), s_11(Y)) -> if_less_2_in_1_aa3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_aa3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_aa2(s_11(X), s_11(Y))
if_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
if_delete_3_in_2_gag6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(X, void_0, Right), Right) -> delete_3_out_gaa3(X, tree_33(X, void_0, Right), Right)
delete_3_in_gaa3(X, tree_33(X, Left, void_0), Left) -> delete_3_out_gaa3(X, tree_33(X, Left, void_0), Left)
delete_3_in_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_in_aaa3(Right, Y, Right1))
if_delete_3_in_1_gaa6(X, Left, Right, Y, Right1, delmin_3_out_aaa3(Right, Y, Right1)) -> delete_3_out_gaa3(X, tree_33(X, Left, Right), tree_33(Y, Left, Right1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right)) -> if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_in_ga2(X, Y))
if_delete_3_in_2_gaa6(X, Y, Left, Right, Left1, less_2_out_ga2(X, Y)) -> if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_in_gaa3(X, Left, Left1))
delete_3_in_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore2)) -> less_2_out_ag2(0_0, s_11(underscore2))
less_2_in_ag2(s_11(X), s_11(Y)) -> if_less_2_in_1_ag3(X, Y, less_2_in_aa2(X, Y))
if_less_2_in_1_ag3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ag2(s_11(X), s_11(Y))
if_delete_3_in_4_gaa6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gaa6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))
if_delete_3_in_3_gaa6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gaa3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
if_delete_3_in_3_gag6(X, Y, Left, Right, Left1, delete_3_out_gaa3(X, Left, Left1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left1, Right))
delete_3_in_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1)) -> if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_in_ag2(Y, X))
if_delete_3_in_4_gag6(X, Y, Left, Right, Right1, less_2_out_ag2(Y, X)) -> if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_in_gaa3(X, Right, Right1))
if_delete_3_in_5_gag6(X, Y, Left, Right, Right1, delete_3_out_gaa3(X, Right, Right1)) -> delete_3_out_gag3(X, tree_33(Y, Left, Right), tree_33(Y, Left, Right1))