↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
reverse2: (f,b) (f,f)
app3: (f,b,f) (f,b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AA5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGA3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGA5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AG5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGG3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGG5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AA5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGA3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGA5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AG5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGG3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGG5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AGG2(Ys, ._21(Zs)) -> APP_3_IN_AGG2(Ys, Zs)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PiDP
↳ PrologToPiTRSProof
APP_3_IN_AGA1(Ys) -> APP_3_IN_AGA1(Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
REVERSE_2_IN_AA -> REVERSE_2_IN_AA
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AA5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGA3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGA5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AG5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGG3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGG5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AG2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AA5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AA4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGA3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGA5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> IF_REVERSE_2_IN_2_AG5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
IF_REVERSE_2_IN_1_AG4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> APP_3_IN_AGG3(Zs, ._22(X, []_0), Ys)
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AGG5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
APP_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
APP_3_IN_AGG2(Ys, ._21(Zs)) -> APP_3_IN_AGG2(Ys, Zs)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APP_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PiDP
APP_3_IN_AGA1(Ys) -> APP_3_IN_AGA1(Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
reverse_2_in_ag2(._22(X, Xs), Ys) -> if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2(._22(X, Xs), Ys) -> if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_in_aa2(Xs, Zs))
reverse_2_in_aa2([]_0, []_0) -> reverse_2_out_aa2([]_0, []_0)
if_reverse_2_in_1_aa4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_in_aga3(Zs, ._22(X, []_0), Ys))
app_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_in_aga3(Xs, Ys, Zs))
app_3_in_aga3([]_0, Ys, Ys) -> app_3_out_aga3([]_0, Ys, Ys)
if_app_3_in_1_aga5(X, Xs, Ys, Zs, app_3_out_aga3(Xs, Ys, Zs)) -> app_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_aa5(X, Xs, Ys, Zs, app_3_out_aga3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_aa2(._22(X, Xs), Ys)
if_reverse_2_in_1_ag4(X, Xs, Ys, reverse_2_out_aa2(Xs, Zs)) -> if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_in_agg3(Zs, ._22(X, []_0), Ys))
app_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_in_agg3(Xs, Ys, Zs))
app_3_in_agg3([]_0, Ys, Ys) -> app_3_out_agg3([]_0, Ys, Ys)
if_app_3_in_1_agg5(X, Xs, Ys, Zs, app_3_out_agg3(Xs, Ys, Zs)) -> app_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
if_reverse_2_in_2_ag5(X, Xs, Ys, Zs, app_3_out_agg3(Zs, ._22(X, []_0), Ys)) -> reverse_2_out_ag2(._22(X, Xs), Ys)
reverse_2_in_ag2([]_0, []_0) -> reverse_2_out_ag2([]_0, []_0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
REVERSE_2_IN_AA2(._22(X, Xs), Ys) -> REVERSE_2_IN_AA2(Xs, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
REVERSE_2_IN_AA -> REVERSE_2_IN_AA