↳ PROLOG
↳ UnrequestedClauseRemoverProof
The clauses
app13(.2(X, Xs), Ys, .2(X, Zs)) :- app13(Xs, Ys, Zs).
app13({}0, Ys, Ys).
can be ignored, as they are not needed by any of the given querys.
Deleting these clauses results in the following prolog program:
app23(.2(X, Xs), Ys, .2(X, Zs)) :- app23(Xs, Ys, Zs).
app23({}0, Ys, Ys).
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
app23: (f,b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
app2_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
app2_3_in_agg3([]_0, Ys, Ys) -> app2_3_out_agg3([]_0, Ys, Ys)
if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_out_agg3(Xs, Ys, Zs)) -> app2_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
app2_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
app2_3_in_agg3([]_0, Ys, Ys) -> app2_3_out_agg3([]_0, Ys, Ys)
if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_out_agg3(Xs, Ys, Zs)) -> app2_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
APP2_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP2_3_IN_1_AGG5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
APP2_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AGG3(Xs, Ys, Zs)
app2_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
app2_3_in_agg3([]_0, Ys, Ys) -> app2_3_out_agg3([]_0, Ys, Ys)
if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_out_agg3(Xs, Ys, Zs)) -> app2_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
APP2_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP2_3_IN_1_AGG5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
APP2_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AGG3(Xs, Ys, Zs)
app2_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
app2_3_in_agg3([]_0, Ys, Ys) -> app2_3_out_agg3([]_0, Ys, Ys)
if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_out_agg3(Xs, Ys, Zs)) -> app2_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
APP2_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AGG3(Xs, Ys, Zs)
app2_3_in_agg3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_in_agg3(Xs, Ys, Zs))
app2_3_in_agg3([]_0, Ys, Ys) -> app2_3_out_agg3([]_0, Ys, Ys)
if_app2_3_in_1_agg5(X, Xs, Ys, Zs, app2_3_out_agg3(Xs, Ys, Zs)) -> app2_3_out_agg3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
APP2_3_IN_AGG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AGG3(Xs, Ys, Zs)
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
APP2_3_IN_AGG2(Ys, ._22(X, Zs)) -> APP2_3_IN_AGG2(Ys, Zs)
From the DPs we obtained the following set of size-change graphs: