↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
sublist2: (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:
sublist_2_in_ag2(Xs, Ys) -> if_sublist_2_in_1_ag3(Xs, Ys, app_3_in_aag3(underscore, Zs, 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_sublist_2_in_1_ag3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_out_aag3(Xs, underscore1, Zs)) -> sublist_2_out_ag2(Xs, Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
sublist_2_in_ag2(Xs, Ys) -> if_sublist_2_in_1_ag3(Xs, Ys, app_3_in_aag3(underscore, Zs, 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_sublist_2_in_1_ag3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_out_aag3(Xs, underscore1, Zs)) -> sublist_2_out_ag2(Xs, Ys)
SUBLIST_2_IN_AG2(Xs, Ys) -> IF_SUBLIST_2_IN_1_AG3(Xs, Ys, app_3_in_aag3(underscore, Zs, Ys))
SUBLIST_2_IN_AG2(Xs, Ys) -> APP_3_IN_AAG3(underscore, Zs, 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)
IF_SUBLIST_2_IN_1_AG3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> IF_SUBLIST_2_IN_2_AG4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
IF_SUBLIST_2_IN_1_AG3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> APP_3_IN_AAG3(Xs, underscore1, Zs)
sublist_2_in_ag2(Xs, Ys) -> if_sublist_2_in_1_ag3(Xs, Ys, app_3_in_aag3(underscore, Zs, 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_sublist_2_in_1_ag3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_out_aag3(Xs, underscore1, Zs)) -> sublist_2_out_ag2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SUBLIST_2_IN_AG2(Xs, Ys) -> IF_SUBLIST_2_IN_1_AG3(Xs, Ys, app_3_in_aag3(underscore, Zs, Ys))
SUBLIST_2_IN_AG2(Xs, Ys) -> APP_3_IN_AAG3(underscore, Zs, 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)
IF_SUBLIST_2_IN_1_AG3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> IF_SUBLIST_2_IN_2_AG4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
IF_SUBLIST_2_IN_1_AG3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> APP_3_IN_AAG3(Xs, underscore1, Zs)
sublist_2_in_ag2(Xs, Ys) -> if_sublist_2_in_1_ag3(Xs, Ys, app_3_in_aag3(underscore, Zs, 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_sublist_2_in_1_ag3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_out_aag3(Xs, underscore1, Zs)) -> sublist_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)
sublist_2_in_ag2(Xs, Ys) -> if_sublist_2_in_1_ag3(Xs, Ys, app_3_in_aag3(underscore, Zs, 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_sublist_2_in_1_ag3(Xs, Ys, app_3_out_aag3(underscore, Zs, Ys)) -> if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_in_aag3(Xs, underscore1, Zs))
if_sublist_2_in_2_ag4(Xs, Ys, Zs, app_3_out_aag3(Xs, underscore1, Zs)) -> sublist_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: