↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
select3: (b,f,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> IF_SELECT_3_IN_1_GAA5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> IF_SELECT_3_IN_1_GAA5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
SELECT_3_IN_GAA1(X) -> SELECT_3_IN_GAA1(X)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> IF_SELECT_3_IN_1_GAA5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> IF_SELECT_3_IN_1_GAA5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
select_3_in_gaa3(X, ._22(X, Xs), Xs) -> select_3_out_gaa3(X, ._22(X, Xs), Xs)
select_3_in_gaa3(X, ._22(Y, Xs), ._22(Y, Zs)) -> if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_in_gaa3(X, Xs, Zs))
if_select_3_in_1_gaa5(X, Y, Xs, Zs, select_3_out_gaa3(X, Xs, Zs)) -> select_3_out_gaa3(X, ._22(Y, Xs), ._22(Y, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
SELECT_3_IN_GAA3(X, ._22(Y, Xs), ._22(Y, Zs)) -> SELECT_3_IN_GAA3(X, Xs, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
SELECT_3_IN_GAA1(X) -> SELECT_3_IN_GAA1(X)