↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
prefix2: (f,b)
app3: (f,f,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
prefix_2_in_ag2(Xs, Ys) -> if_prefix_2_in_1_ag3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ag3(Xs, Ys, app_3_out_aag3(Xs, underscore, Ys)) -> prefix_2_out_ag2(Xs, Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
prefix_2_in_ag2(Xs, Ys) -> if_prefix_2_in_1_ag3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ag3(Xs, Ys, app_3_out_aag3(Xs, underscore, Ys)) -> prefix_2_out_ag2(Xs, Ys)
PREFIX_2_IN_AG2(Xs, Ys) -> IF_PREFIX_2_IN_1_AG3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
PREFIX_2_IN_AG2(Xs, Ys) -> APP_3_IN_AAG3(Xs, underscore, Ys)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
prefix_2_in_ag2(Xs, Ys) -> if_prefix_2_in_1_ag3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ag3(Xs, Ys, app_3_out_aag3(Xs, underscore, Ys)) -> prefix_2_out_ag2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
PREFIX_2_IN_AG2(Xs, Ys) -> IF_PREFIX_2_IN_1_AG3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
PREFIX_2_IN_AG2(Xs, Ys) -> APP_3_IN_AAG3(Xs, underscore, Ys)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
prefix_2_in_ag2(Xs, Ys) -> if_prefix_2_in_1_ag3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ag3(Xs, Ys, app_3_out_aag3(Xs, underscore, Ys)) -> prefix_2_out_ag2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
prefix_2_in_ag2(Xs, Ys) -> if_prefix_2_in_1_ag3(Xs, Ys, app_3_in_aag3(Xs, underscore, Ys))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_prefix_2_in_1_ag3(Xs, Ys, app_3_out_aag3(Xs, underscore, Ys)) -> prefix_2_out_ag2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
APP_3_IN_AAG1(._22(X, Zs)) -> APP_3_IN_AAG1(Zs)
From the DPs we obtained the following set of size-change graphs: