↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
rev2: (b,f)
r13: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
rev_2_in_ga2(LS, RES) -> if_rev_2_in_1_ga3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
r1_3_in_gga3([]_0, RES, RES) -> r1_3_out_gga3([]_0, RES, RES)
r1_3_in_gga3(._22(X, Xs), Accm, RES) -> if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_out_gga3(Xs, ._22(X, Accm), RES)) -> r1_3_out_gga3(._22(X, Xs), Accm, RES)
if_rev_2_in_1_ga3(LS, RES, r1_3_out_gga3(LS, []_0, RES)) -> rev_2_out_ga2(LS, RES)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
rev_2_in_ga2(LS, RES) -> if_rev_2_in_1_ga3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
r1_3_in_gga3([]_0, RES, RES) -> r1_3_out_gga3([]_0, RES, RES)
r1_3_in_gga3(._22(X, Xs), Accm, RES) -> if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_out_gga3(Xs, ._22(X, Accm), RES)) -> r1_3_out_gga3(._22(X, Xs), Accm, RES)
if_rev_2_in_1_ga3(LS, RES, r1_3_out_gga3(LS, []_0, RES)) -> rev_2_out_ga2(LS, RES)
REV_2_IN_GA2(LS, RES) -> IF_REV_2_IN_1_GA3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
REV_2_IN_GA2(LS, RES) -> R1_3_IN_GGA3(LS, []_0, RES)
R1_3_IN_GGA3(._22(X, Xs), Accm, RES) -> IF_R1_3_IN_1_GGA5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
R1_3_IN_GGA3(._22(X, Xs), Accm, RES) -> R1_3_IN_GGA3(Xs, ._22(X, Accm), RES)
rev_2_in_ga2(LS, RES) -> if_rev_2_in_1_ga3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
r1_3_in_gga3([]_0, RES, RES) -> r1_3_out_gga3([]_0, RES, RES)
r1_3_in_gga3(._22(X, Xs), Accm, RES) -> if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_out_gga3(Xs, ._22(X, Accm), RES)) -> r1_3_out_gga3(._22(X, Xs), Accm, RES)
if_rev_2_in_1_ga3(LS, RES, r1_3_out_gga3(LS, []_0, RES)) -> rev_2_out_ga2(LS, RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
REV_2_IN_GA2(LS, RES) -> IF_REV_2_IN_1_GA3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
REV_2_IN_GA2(LS, RES) -> R1_3_IN_GGA3(LS, []_0, RES)
R1_3_IN_GGA3(._22(X, Xs), Accm, RES) -> IF_R1_3_IN_1_GGA5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
R1_3_IN_GGA3(._22(X, Xs), Accm, RES) -> R1_3_IN_GGA3(Xs, ._22(X, Accm), RES)
rev_2_in_ga2(LS, RES) -> if_rev_2_in_1_ga3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
r1_3_in_gga3([]_0, RES, RES) -> r1_3_out_gga3([]_0, RES, RES)
r1_3_in_gga3(._22(X, Xs), Accm, RES) -> if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_out_gga3(Xs, ._22(X, Accm), RES)) -> r1_3_out_gga3(._22(X, Xs), Accm, RES)
if_rev_2_in_1_ga3(LS, RES, r1_3_out_gga3(LS, []_0, RES)) -> rev_2_out_ga2(LS, RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
R1_3_IN_GGA3(._22(X, Xs), Accm, RES) -> R1_3_IN_GGA3(Xs, ._22(X, Accm), RES)
rev_2_in_ga2(LS, RES) -> if_rev_2_in_1_ga3(LS, RES, r1_3_in_gga3(LS, []_0, RES))
r1_3_in_gga3([]_0, RES, RES) -> r1_3_out_gga3([]_0, RES, RES)
r1_3_in_gga3(._22(X, Xs), Accm, RES) -> if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_in_gga3(Xs, ._22(X, Accm), RES))
if_r1_3_in_1_gga5(X, Xs, Accm, RES, r1_3_out_gga3(Xs, ._22(X, Accm), RES)) -> r1_3_out_gga3(._22(X, Xs), Accm, RES)
if_rev_2_in_1_ga3(LS, RES, r1_3_out_gga3(LS, []_0, RES)) -> rev_2_out_ga2(LS, RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
R1_3_IN_GGA3(._22(X, Xs), Accm, RES) -> R1_3_IN_GGA3(Xs, ._22(X, Accm), RES)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
R1_3_IN_GGA2(._22(X, Xs), Accm) -> R1_3_IN_GGA2(Xs, ._22(X, Accm))
From the DPs we obtained the following set of size-change graphs: