↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
factor2: (b,f)
times3: (b,b,f)
plus3: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
FACTOR_2_IN_GA2(._22(X, ._22(Y, Xs)), T) -> IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
FACTOR_2_IN_GA2(._22(X, ._22(Y, Xs)), T) -> TIMES_3_IN_GGA3(X, Y, Z)
TIMES_3_IN_GGA3(s_11(X), Y, Z) -> IF_TIMES_3_IN_1_GGA4(X, Y, Z, times_3_in_gga3(X, Y, XY))
TIMES_3_IN_GGA3(s_11(X), Y, Z) -> TIMES_3_IN_GGA3(X, Y, XY)
IF_TIMES_3_IN_1_GGA4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> IF_TIMES_3_IN_2_GGA5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
IF_TIMES_3_IN_1_GGA4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> PLUS_3_IN_GGA3(XY, Y, Z)
PLUS_3_IN_GGA3(s_11(X), Y, s_11(Z)) -> IF_PLUS_3_IN_1_GGA4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
PLUS_3_IN_GGA3(s_11(X), Y, s_11(Z)) -> PLUS_3_IN_GGA3(X, Y, Z)
IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> IF_FACTOR_2_IN_2_GA6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> FACTOR_2_IN_GA2(._22(Z, Xs), T)
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
FACTOR_2_IN_GA2(._22(X, ._22(Y, Xs)), T) -> IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
FACTOR_2_IN_GA2(._22(X, ._22(Y, Xs)), T) -> TIMES_3_IN_GGA3(X, Y, Z)
TIMES_3_IN_GGA3(s_11(X), Y, Z) -> IF_TIMES_3_IN_1_GGA4(X, Y, Z, times_3_in_gga3(X, Y, XY))
TIMES_3_IN_GGA3(s_11(X), Y, Z) -> TIMES_3_IN_GGA3(X, Y, XY)
IF_TIMES_3_IN_1_GGA4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> IF_TIMES_3_IN_2_GGA5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
IF_TIMES_3_IN_1_GGA4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> PLUS_3_IN_GGA3(XY, Y, Z)
PLUS_3_IN_GGA3(s_11(X), Y, s_11(Z)) -> IF_PLUS_3_IN_1_GGA4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
PLUS_3_IN_GGA3(s_11(X), Y, s_11(Z)) -> PLUS_3_IN_GGA3(X, Y, Z)
IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> IF_FACTOR_2_IN_2_GA6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> FACTOR_2_IN_GA2(._22(Z, Xs), T)
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
PLUS_3_IN_GGA3(s_11(X), Y, s_11(Z)) -> PLUS_3_IN_GGA3(X, Y, Z)
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
PLUS_3_IN_GGA3(s_11(X), Y, s_11(Z)) -> PLUS_3_IN_GGA3(X, Y, Z)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
PLUS_3_IN_GGA2(s_11(X), Y) -> PLUS_3_IN_GGA2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
TIMES_3_IN_GGA3(s_11(X), Y, Z) -> TIMES_3_IN_GGA3(X, Y, XY)
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
TIMES_3_IN_GGA3(s_11(X), Y, Z) -> TIMES_3_IN_GGA3(X, Y, XY)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
TIMES_3_IN_GGA2(s_11(X), Y) -> TIMES_3_IN_GGA2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> FACTOR_2_IN_GA2(._22(Z, Xs), T)
FACTOR_2_IN_GA2(._22(X, ._22(Y, Xs)), T) -> IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
factor_2_in_ga2(._22(X, []_0), X) -> factor_2_out_ga2(._22(X, []_0), X)
factor_2_in_ga2(._22(X, ._22(Y, Xs)), T) -> if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
if_factor_2_in_1_ga5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_in_ga2(._22(Z, Xs), T))
if_factor_2_in_2_ga6(X, Y, Xs, T, Z, factor_2_out_ga2(._22(Z, Xs), T)) -> factor_2_out_ga2(._22(X, ._22(Y, Xs)), T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_out_gga3(X, Y, Z)) -> FACTOR_2_IN_GA2(._22(Z, Xs), T)
FACTOR_2_IN_GA2(._22(X, ._22(Y, Xs)), T) -> IF_FACTOR_2_IN_1_GA5(X, Y, Xs, T, times_3_in_gga3(X, Y, Z))
times_3_in_gga3(0_0, X_, 0_0) -> times_3_out_gga3(0_0, X_, 0_0)
times_3_in_gga3(s_11(X), Y, Z) -> if_times_3_in_1_gga4(X, Y, Z, times_3_in_gga3(X, Y, XY))
if_times_3_in_1_gga4(X, Y, Z, times_3_out_gga3(X, Y, XY)) -> if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_in_gga3(XY, Y, Z))
if_times_3_in_2_gga5(X, Y, Z, XY, plus_3_out_gga3(XY, Y, Z)) -> times_3_out_gga3(s_11(X), Y, Z)
plus_3_in_gga3(0_0, X, X) -> plus_3_out_gga3(0_0, X, X)
plus_3_in_gga3(s_11(X), Y, s_11(Z)) -> if_plus_3_in_1_gga4(X, Y, Z, plus_3_in_gga3(X, Y, Z))
if_plus_3_in_1_gga4(X, Y, Z, plus_3_out_gga3(X, Y, Z)) -> plus_3_out_gga3(s_11(X), Y, s_11(Z))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
IF_FACTOR_2_IN_1_GA2(Xs, times_3_out_gga1(Z)) -> FACTOR_2_IN_GA1(._22(Z, Xs))
FACTOR_2_IN_GA1(._22(X, ._22(Y, Xs))) -> IF_FACTOR_2_IN_1_GA2(Xs, times_3_in_gga2(X, Y))
times_3_in_gga2(0_0, X_) -> times_3_out_gga1(0_0)
times_3_in_gga2(s_11(X), Y) -> if_times_3_in_1_gga2(Y, times_3_in_gga2(X, Y))
if_times_3_in_1_gga2(Y, times_3_out_gga1(XY)) -> if_times_3_in_2_gga1(plus_3_in_gga2(XY, Y))
if_times_3_in_2_gga1(plus_3_out_gga1(Z)) -> times_3_out_gga1(Z)
plus_3_in_gga2(0_0, X) -> plus_3_out_gga1(X)
plus_3_in_gga2(s_11(X), Y) -> if_plus_3_in_1_gga1(plus_3_in_gga2(X, Y))
if_plus_3_in_1_gga1(plus_3_out_gga1(Z)) -> plus_3_out_gga1(s_11(Z))
times_3_in_gga2(x0, x1)
if_times_3_in_1_gga2(x0, x1)
if_times_3_in_2_gga1(x0)
plus_3_in_gga2(x0, x1)
if_plus_3_in_1_gga1(x0)
The remaining Dependency Pairs were at least non-strictly be oriented.
FACTOR_2_IN_GA1(._22(X, ._22(Y, Xs))) -> IF_FACTOR_2_IN_1_GA2(Xs, times_3_in_gga2(X, Y))
With the implicit AFS there is no usable rule.
IF_FACTOR_2_IN_1_GA2(Xs, times_3_out_gga1(Z)) -> FACTOR_2_IN_GA1(._22(Z, Xs))
Used ordering: POLO with Polynomial interpretation:
POL(0_0) = 0
POL(if_plus_3_in_1_gga1(x1)) = 0
POL(._22(x1, x2)) = 1 + x2
POL(if_times_3_in_2_gga1(x1)) = 0
POL(if_times_3_in_1_gga2(x1, x2)) = 0
POL(plus_3_out_gga1(x1)) = 0
POL(FACTOR_2_IN_GA1(x1)) = x1
POL(times_3_in_gga2(x1, x2)) = 0
POL(s_11(x1)) = 0
POL(IF_FACTOR_2_IN_1_GA2(x1, x2)) = 1 + x1
POL(times_3_out_gga1(x1)) = 0
POL(plus_3_in_gga2(x1, x2)) = 0
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
IF_FACTOR_2_IN_1_GA2(Xs, times_3_out_gga1(Z)) -> FACTOR_2_IN_GA1(._22(Z, Xs))
times_3_in_gga2(0_0, X_) -> times_3_out_gga1(0_0)
times_3_in_gga2(s_11(X), Y) -> if_times_3_in_1_gga2(Y, times_3_in_gga2(X, Y))
if_times_3_in_1_gga2(Y, times_3_out_gga1(XY)) -> if_times_3_in_2_gga1(plus_3_in_gga2(XY, Y))
if_times_3_in_2_gga1(plus_3_out_gga1(Z)) -> times_3_out_gga1(Z)
plus_3_in_gga2(0_0, X) -> plus_3_out_gga1(X)
plus_3_in_gga2(s_11(X), Y) -> if_plus_3_in_1_gga1(plus_3_in_gga2(X, Y))
if_plus_3_in_1_gga1(plus_3_out_gga1(Z)) -> plus_3_out_gga1(s_11(Z))
times_3_in_gga2(x0, x1)
if_times_3_in_1_gga2(x0, x1)
if_times_3_in_2_gga1(x0)
plus_3_in_gga2(x0, x1)
if_plus_3_in_1_gga1(x0)