↳ PROLOG
↳ UnrequestedClauseRemoverProof
The clause
app3b4(Xs, Ys, Zs, Us) :- app3(Ys, Zs, Vs), app3(Xs, Vs, Us).
can be ignored, as it is not needed by any of the given querys.
Deleting this clauses results in the following prolog program:
app3a4(Xs, Ys, Zs, Us) :- app3(Xs, Ys, Vs), app3(Vs, Zs, Us).
app3({}0, Ys, Ys).
app3(.2(X, Xs), Ys, .2(X, Zs)) :- app3(Xs, Ys, Zs).
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
app3_a4: (b,b,b,f)
app3: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
app3_a_4_in_ggga4(Xs, Ys, Zs, Us) -> if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
app_3_in_gga3([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_out_gga3(Vs, Zs, Us)) -> app3_a_4_out_ggga4(Xs, Ys, Zs, Us)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
app3_a_4_in_ggga4(Xs, Ys, Zs, Us) -> if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
app_3_in_gga3([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_out_gga3(Vs, Zs, Us)) -> app3_a_4_out_ggga4(Xs, Ys, Zs, Us)
APP3_A_4_IN_GGGA4(Xs, Ys, Zs, Us) -> IF_APP3_A_4_IN_1_GGGA5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
APP3_A_4_IN_GGGA4(Xs, Ys, Zs, Us) -> APP_3_IN_GGA3(Xs, Ys, Vs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_APP3_A_4_IN_1_GGGA5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> IF_APP3_A_4_IN_2_GGGA6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
IF_APP3_A_4_IN_1_GGGA5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> APP_3_IN_GGA3(Vs, Zs, Us)
app3_a_4_in_ggga4(Xs, Ys, Zs, Us) -> if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
app_3_in_gga3([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_out_gga3(Vs, Zs, Us)) -> app3_a_4_out_ggga4(Xs, Ys, Zs, Us)
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
APP3_A_4_IN_GGGA4(Xs, Ys, Zs, Us) -> IF_APP3_A_4_IN_1_GGGA5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
APP3_A_4_IN_GGGA4(Xs, Ys, Zs, Us) -> APP_3_IN_GGA3(Xs, Ys, Vs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_APP3_A_4_IN_1_GGGA5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> IF_APP3_A_4_IN_2_GGGA6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
IF_APP3_A_4_IN_1_GGGA5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> APP_3_IN_GGA3(Vs, Zs, Us)
app3_a_4_in_ggga4(Xs, Ys, Zs, Us) -> if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
app_3_in_gga3([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_out_gga3(Vs, Zs, Us)) -> app3_a_4_out_ggga4(Xs, Ys, Zs, Us)
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
app3_a_4_in_ggga4(Xs, Ys, Zs, Us) -> if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_in_gga3(Xs, Ys, Vs))
app_3_in_gga3([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_app3_a_4_in_1_ggga5(Xs, Ys, Zs, Us, app_3_out_gga3(Xs, Ys, Vs)) -> if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_in_gga3(Vs, Zs, Us))
if_app3_a_4_in_2_ggga6(Xs, Ys, Zs, Us, Vs, app_3_out_gga3(Vs, Zs, Us)) -> app3_a_4_out_ggga4(Xs, Ys, Zs, Us)
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
↳ PROLOG
↳ UnrequestedClauseRemoverProof
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
APP_3_IN_GGA2(._22(X, Xs), Ys) -> APP_3_IN_GGA2(Xs, Ys)
From the DPs we obtained the following set of size-change graphs: