↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
in2: (b,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:
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> 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_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IF_IN_2_IN_2_GA5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IN_2_IN_GA2(X, Left)
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> 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_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IF_IN_2_IN_4_GA5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IN_2_IN_GA2(X, Right)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> 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_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IF_IN_2_IN_2_GA5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IN_2_IN_GA2(X, Left)
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> 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_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IF_IN_2_IN_4_GA5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IN_2_IN_GA2(X, Right)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
LESS_2_IN_AA2(s_11(X), s_11(Y)) -> LESS_2_IN_AA2(X, Y)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ 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
↳ PrologToPiTRSProof
LESS_2_IN_AA -> LESS_2_IN_AA
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IN_2_IN_GA2(X, Left)
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IN_2_IN_GA2(X, Right)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IN_2_IN_GA2(X, Left)
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IN_2_IN_GA2(X, Right)
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
less_2_in_ga2(s_11(X), s_11(Y)) -> if_less_2_in_1_ga3(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_less_2_in_1_ga3(X, Y, less_2_out_aa2(X, Y)) -> less_2_out_ga2(s_11(X), s_11(Y))
less_2_in_aa2(0_0, s_11(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
IF_IN_2_IN_1_GA2(X, less_2_out_ga1(Y)) -> IN_2_IN_GA1(X)
IN_2_IN_GA1(X) -> IF_IN_2_IN_3_GA2(X, less_2_in_ag1(X))
IN_2_IN_GA1(X) -> IF_IN_2_IN_1_GA2(X, less_2_in_ga1(X))
IF_IN_2_IN_3_GA2(X, less_2_out_ag1(Y)) -> IN_2_IN_GA1(X)
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)
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)
if_less_2_in_1_ag1(less_2_out_aa2(X, Y)) -> less_2_out_ag1(s_1)
if_less_2_in_1_ga1(less_2_out_aa2(X, Y)) -> less_2_out_ga1(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_ag1(x0)
less_2_in_ga1(x0)
if_less_2_in_1_ag1(x0)
if_less_2_in_1_ga1(x0)
less_2_in_aa
if_less_2_in_1_aa1(x0)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> 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_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IF_IN_2_IN_2_GA5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IN_2_IN_GA2(X, Left)
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> 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_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IF_IN_2_IN_4_GA5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IN_2_IN_GA2(X, Right)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
IN_2_IN_GA2(X, tree_33(Y, Left, underscore2)) -> 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_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IF_IN_2_IN_2_GA5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
IF_IN_2_IN_1_GA5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> IN_2_IN_GA2(X, Left)
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
IN_2_IN_GA2(X, tree_33(Y, underscore3, Right)) -> 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_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IF_IN_2_IN_4_GA5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
IF_IN_2_IN_3_GA5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> IN_2_IN_GA2(X, Right)
in_2_in_ga2(X, tree_33(X, underscore, underscore1)) -> in_2_out_ga2(X, tree_33(X, underscore, underscore1))
in_2_in_ga2(X, tree_33(Y, Left, underscore2)) -> if_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_in_ga2(X, Y))
less_2_in_ga2(0_0, s_11(underscore4)) -> less_2_out_ga2(0_0, s_11(underscore4))
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(underscore4)) -> less_2_out_aa2(0_0, s_11(underscore4))
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_in_2_in_1_ga5(X, Y, Left, underscore2, less_2_out_ga2(X, Y)) -> if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_in_ga2(X, Left))
in_2_in_ga2(X, tree_33(Y, underscore3, Right)) -> if_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_in_ag2(Y, X))
less_2_in_ag2(0_0, s_11(underscore4)) -> less_2_out_ag2(0_0, s_11(underscore4))
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_in_2_in_3_ga5(X, Y, underscore3, Right, less_2_out_ag2(Y, X)) -> if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_in_ga2(X, Right))
if_in_2_in_4_ga5(X, Y, underscore3, Right, in_2_out_ga2(X, Right)) -> in_2_out_ga2(X, tree_33(Y, underscore3, Right))
if_in_2_in_2_ga5(X, Y, Left, underscore2, in_2_out_ga2(X, Left)) -> in_2_out_ga2(X, tree_33(Y, Left, underscore2))