↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
prefix2: (b,f)
app3: (b,f,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
prefix_2_in_ga2(Xs, Ys) -> if_prefix_2_in_1_ga3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
app_3_in_gaa3([]_0, X, X) -> app_3_out_gaa3([]_0, X, X)
app_3_in_gaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_out_gaa3(Xs, Ys, Zs)) -> app_3_out_gaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ga3(Xs, Ys, app_3_out_gaa3(Xs, underscore, Ys)) -> prefix_2_out_ga2(Xs, Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
prefix_2_in_ga2(Xs, Ys) -> if_prefix_2_in_1_ga3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
app_3_in_gaa3([]_0, X, X) -> app_3_out_gaa3([]_0, X, X)
app_3_in_gaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_out_gaa3(Xs, Ys, Zs)) -> app_3_out_gaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ga3(Xs, Ys, app_3_out_gaa3(Xs, underscore, Ys)) -> prefix_2_out_ga2(Xs, Ys)
PREFIX_2_IN_GA2(Xs, Ys) -> IF_PREFIX_2_IN_1_GA3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
PREFIX_2_IN_GA2(Xs, Ys) -> APP_3_IN_GAA3(Xs, underscore, Ys)
APP_3_IN_GAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GAA5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
APP_3_IN_GAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GAA3(Xs, Ys, Zs)
prefix_2_in_ga2(Xs, Ys) -> if_prefix_2_in_1_ga3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
app_3_in_gaa3([]_0, X, X) -> app_3_out_gaa3([]_0, X, X)
app_3_in_gaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_out_gaa3(Xs, Ys, Zs)) -> app_3_out_gaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ga3(Xs, Ys, app_3_out_gaa3(Xs, underscore, Ys)) -> prefix_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
PREFIX_2_IN_GA2(Xs, Ys) -> IF_PREFIX_2_IN_1_GA3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
PREFIX_2_IN_GA2(Xs, Ys) -> APP_3_IN_GAA3(Xs, underscore, Ys)
APP_3_IN_GAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GAA5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
APP_3_IN_GAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GAA3(Xs, Ys, Zs)
prefix_2_in_ga2(Xs, Ys) -> if_prefix_2_in_1_ga3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
app_3_in_gaa3([]_0, X, X) -> app_3_out_gaa3([]_0, X, X)
app_3_in_gaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_out_gaa3(Xs, Ys, Zs)) -> app_3_out_gaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ga3(Xs, Ys, app_3_out_gaa3(Xs, underscore, Ys)) -> prefix_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
APP_3_IN_GAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GAA3(Xs, Ys, Zs)
prefix_2_in_ga2(Xs, Ys) -> if_prefix_2_in_1_ga3(Xs, Ys, app_3_in_gaa3(Xs, underscore, Ys))
app_3_in_gaa3([]_0, X, X) -> app_3_out_gaa3([]_0, X, X)
app_3_in_gaa3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_in_gaa3(Xs, Ys, Zs))
if_app_3_in_1_gaa5(X, Xs, Ys, Zs, app_3_out_gaa3(Xs, Ys, Zs)) -> app_3_out_gaa3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ga3(Xs, Ys, app_3_out_gaa3(Xs, underscore, Ys)) -> prefix_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
APP_3_IN_GAA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GAA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
APP_3_IN_GAA1(._22(X, Xs)) -> APP_3_IN_GAA1(Xs)
From the DPs we obtained the following set of size-change graphs: