(0) Obligation:

Clauses:

app1(.(X0, X), Y, .(X0, Z)) :- app1(X, Y, Z).
app1([], Y, Y).
app2(.(X0, X), Y, .(X0, Z)) :- app2(X, Y, Z).
app2([], Y, Y).
perm(X, .(X0, Y)) :- ','(app1(X1, .(X0, X2), X), ','(app2(X1, X2, Z), perm(Z, Y))).
perm([], []).

Query: perm(g,a)

(1) PrologToPiTRSViaGraphTransformerProof (SOUND transformation)

Transformed Prolog program to (Pi-)TRS.

(2) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

permA_in_ga(.(T24, T25), .(T26, T27)) → U1_ga(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
pB_in_aaaggaa(T31, T26, T32, T25, T24, X11, T33) → U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
pH_in_gggaa(T24, T31, T32, T65, T33) → U8_gggaa(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U8_gggaa(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_gggaa(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
permA_in_ga(.(T125, T126), .(T125, T127)) → U2_ga(T125, T126, T127, pC_in_gaa(T126, X11, T127))
pC_in_gaa(T126, T128, T127) → U10_gaa(T126, T128, T127, app2G_in_ga(T126, T128))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U10_gaa(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_gaa(T126, T128, T127, permA_in_ga(T128, T127))
permA_in_ga([], []) → permA_out_ga([], [])
U11_gaa(T126, T128, T127, permA_out_ga(T128, T127)) → pC_out_gaa(T126, T128, T127)
U2_ga(T125, T126, T127, pC_out_gaa(T126, X11, T127)) → permA_out_ga(.(T125, T126), .(T125, T127))
U9_gggaa(T24, T31, T32, T65, T33, permA_out_ga(T65, T33)) → pH_out_gggaa(T24, T31, T32, T65, T33)
U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_out_gggaa(T24, T31, T32, X11, T33)) → pB_out_aaaggaa(T31, T26, T32, T25, T24, X11, T33)
U1_ga(T24, T25, T26, T27, pB_out_aaaggaa(X45, T26, X46, T25, T24, X11, T27)) → permA_out_ga(.(T24, T25), .(T26, T27))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_in_aaaggaa(x4, x5)
U6_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_aaaggaa(x4, x5, x8)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
U7_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_aaaggaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U8_gggaa(x1, x2, x3, x4, x5, x6)  =  U8_gggaa(x1, x2, x3, x6)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
U9_gggaa(x1, x2, x3, x4, x5, x6)  =  U9_gggaa(x1, x2, x3, x4, x6)
U2_ga(x1, x2, x3, x4)  =  U2_ga(x1, x2, x4)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
pC_out_gaa(x1, x2, x3)  =  pC_out_gaa(x1, x2, x3)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)

(3) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25), .(T26, T27)) → U1_GA(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
PERMA_IN_GA(.(T24, T25), .(T26, T27)) → PB_IN_AAAGGAA(X45, T26, X46, T25, T24, X11, T27)
PB_IN_AAAGGAA(T31, T26, T32, T25, T24, X11, T33) → U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
PB_IN_AAAGGAA(T31, T26, T32, T25, T24, X11, T33) → APP1D_IN_AAAG(T31, T26, T32, T25)
APP1D_IN_AAAG(.(T50, X94), T52, X95, .(T50, T51)) → U3_AAAG(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
APP1D_IN_AAAG(.(T50, X94), T52, X95, .(T50, T51)) → APP1D_IN_AAAG(X94, T52, X95, T51)
U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32, X11, T33)
PH_IN_GGGAA(T24, T31, T32, T65, T33) → U8_GGGAA(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
PH_IN_GGGAA(T24, T31, T32, T65, T33) → APP2F_IN_GGGA(T24, T31, T32, T65)
APP2F_IN_GGGA(T87, T88, T89, .(T87, X153)) → U5_GGGA(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
APP2F_IN_GGGA(T87, T88, T89, .(T87, X153)) → APP2E_IN_GGA(T88, T89, X153)
APP2E_IN_GGA(.(T105, T106), T107, .(T105, X183)) → U4_GGA(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
APP2E_IN_GGA(.(T105, T106), T107, .(T105, X183)) → APP2E_IN_GGA(T106, T107, X183)
U8_GGGAA(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_GGGAA(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
U8_GGGAA(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65, T33)
PERMA_IN_GA(.(T125, T126), .(T125, T127)) → U2_GA(T125, T126, T127, pC_in_gaa(T126, X11, T127))
PERMA_IN_GA(.(T125, T126), .(T125, T127)) → PC_IN_GAA(T126, X11, T127)
PC_IN_GAA(T126, T128, T127) → U10_GAA(T126, T128, T127, app2G_in_ga(T126, T128))
PC_IN_GAA(T126, T128, T127) → APP2G_IN_GA(T126, T128)
U10_GAA(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_GAA(T126, T128, T127, permA_in_ga(T128, T127))
U10_GAA(T126, T128, T127, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128, T127)

The TRS R consists of the following rules:

permA_in_ga(.(T24, T25), .(T26, T27)) → U1_ga(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
pB_in_aaaggaa(T31, T26, T32, T25, T24, X11, T33) → U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
pH_in_gggaa(T24, T31, T32, T65, T33) → U8_gggaa(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U8_gggaa(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_gggaa(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
permA_in_ga(.(T125, T126), .(T125, T127)) → U2_ga(T125, T126, T127, pC_in_gaa(T126, X11, T127))
pC_in_gaa(T126, T128, T127) → U10_gaa(T126, T128, T127, app2G_in_ga(T126, T128))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U10_gaa(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_gaa(T126, T128, T127, permA_in_ga(T128, T127))
permA_in_ga([], []) → permA_out_ga([], [])
U11_gaa(T126, T128, T127, permA_out_ga(T128, T127)) → pC_out_gaa(T126, T128, T127)
U2_ga(T125, T126, T127, pC_out_gaa(T126, X11, T127)) → permA_out_ga(.(T125, T126), .(T125, T127))
U9_gggaa(T24, T31, T32, T65, T33, permA_out_ga(T65, T33)) → pH_out_gggaa(T24, T31, T32, T65, T33)
U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_out_gggaa(T24, T31, T32, X11, T33)) → pB_out_aaaggaa(T31, T26, T32, T25, T24, X11, T33)
U1_ga(T24, T25, T26, T27, pB_out_aaaggaa(X45, T26, X46, T25, T24, X11, T27)) → permA_out_ga(.(T24, T25), .(T26, T27))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_in_aaaggaa(x4, x5)
U6_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_aaaggaa(x4, x5, x8)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
U7_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_aaaggaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U8_gggaa(x1, x2, x3, x4, x5, x6)  =  U8_gggaa(x1, x2, x3, x6)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
U9_gggaa(x1, x2, x3, x4, x5, x6)  =  U9_gggaa(x1, x2, x3, x4, x6)
U2_ga(x1, x2, x3, x4)  =  U2_ga(x1, x2, x4)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
pC_out_gaa(x1, x2, x3)  =  pC_out_gaa(x1, x2, x3)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x1, x2, x5)
PB_IN_AAAGGAA(x1, x2, x3, x4, x5, x6, x7)  =  PB_IN_AAAGGAA(x4, x5)
U6_AAAGGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_AAAGGAA(x4, x5, x8)
APP1D_IN_AAAG(x1, x2, x3, x4)  =  APP1D_IN_AAAG(x4)
U3_AAAG(x1, x2, x3, x4, x5, x6)  =  U3_AAAG(x1, x5, x6)
U7_AAAGGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_AAAGGAA(x1, x2, x3, x4, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U8_GGGAA(x1, x2, x3, x4, x5, x6)  =  U8_GGGAA(x1, x2, x3, x6)
APP2F_IN_GGGA(x1, x2, x3, x4)  =  APP2F_IN_GGGA(x1, x2, x3)
U5_GGGA(x1, x2, x3, x4, x5)  =  U5_GGGA(x1, x2, x3, x5)
APP2E_IN_GGA(x1, x2, x3)  =  APP2E_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U9_GGGAA(x1, x2, x3, x4, x5, x6)  =  U9_GGGAA(x1, x2, x3, x4, x6)
U2_GA(x1, x2, x3, x4)  =  U2_GA(x1, x2, x4)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)
U10_GAA(x1, x2, x3, x4)  =  U10_GAA(x1, x4)
APP2G_IN_GA(x1, x2)  =  APP2G_IN_GA(x1)
U11_GAA(x1, x2, x3, x4)  =  U11_GAA(x1, x2, x4)

We have to consider all (P,R,Pi)-chains

(4) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25), .(T26, T27)) → U1_GA(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
PERMA_IN_GA(.(T24, T25), .(T26, T27)) → PB_IN_AAAGGAA(X45, T26, X46, T25, T24, X11, T27)
PB_IN_AAAGGAA(T31, T26, T32, T25, T24, X11, T33) → U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
PB_IN_AAAGGAA(T31, T26, T32, T25, T24, X11, T33) → APP1D_IN_AAAG(T31, T26, T32, T25)
APP1D_IN_AAAG(.(T50, X94), T52, X95, .(T50, T51)) → U3_AAAG(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
APP1D_IN_AAAG(.(T50, X94), T52, X95, .(T50, T51)) → APP1D_IN_AAAG(X94, T52, X95, T51)
U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32, X11, T33)
PH_IN_GGGAA(T24, T31, T32, T65, T33) → U8_GGGAA(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
PH_IN_GGGAA(T24, T31, T32, T65, T33) → APP2F_IN_GGGA(T24, T31, T32, T65)
APP2F_IN_GGGA(T87, T88, T89, .(T87, X153)) → U5_GGGA(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
APP2F_IN_GGGA(T87, T88, T89, .(T87, X153)) → APP2E_IN_GGA(T88, T89, X153)
APP2E_IN_GGA(.(T105, T106), T107, .(T105, X183)) → U4_GGA(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
APP2E_IN_GGA(.(T105, T106), T107, .(T105, X183)) → APP2E_IN_GGA(T106, T107, X183)
U8_GGGAA(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_GGGAA(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
U8_GGGAA(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65, T33)
PERMA_IN_GA(.(T125, T126), .(T125, T127)) → U2_GA(T125, T126, T127, pC_in_gaa(T126, X11, T127))
PERMA_IN_GA(.(T125, T126), .(T125, T127)) → PC_IN_GAA(T126, X11, T127)
PC_IN_GAA(T126, T128, T127) → U10_GAA(T126, T128, T127, app2G_in_ga(T126, T128))
PC_IN_GAA(T126, T128, T127) → APP2G_IN_GA(T126, T128)
U10_GAA(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_GAA(T126, T128, T127, permA_in_ga(T128, T127))
U10_GAA(T126, T128, T127, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128, T127)

The TRS R consists of the following rules:

permA_in_ga(.(T24, T25), .(T26, T27)) → U1_ga(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
pB_in_aaaggaa(T31, T26, T32, T25, T24, X11, T33) → U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
pH_in_gggaa(T24, T31, T32, T65, T33) → U8_gggaa(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U8_gggaa(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_gggaa(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
permA_in_ga(.(T125, T126), .(T125, T127)) → U2_ga(T125, T126, T127, pC_in_gaa(T126, X11, T127))
pC_in_gaa(T126, T128, T127) → U10_gaa(T126, T128, T127, app2G_in_ga(T126, T128))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U10_gaa(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_gaa(T126, T128, T127, permA_in_ga(T128, T127))
permA_in_ga([], []) → permA_out_ga([], [])
U11_gaa(T126, T128, T127, permA_out_ga(T128, T127)) → pC_out_gaa(T126, T128, T127)
U2_ga(T125, T126, T127, pC_out_gaa(T126, X11, T127)) → permA_out_ga(.(T125, T126), .(T125, T127))
U9_gggaa(T24, T31, T32, T65, T33, permA_out_ga(T65, T33)) → pH_out_gggaa(T24, T31, T32, T65, T33)
U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_out_gggaa(T24, T31, T32, X11, T33)) → pB_out_aaaggaa(T31, T26, T32, T25, T24, X11, T33)
U1_ga(T24, T25, T26, T27, pB_out_aaaggaa(X45, T26, X46, T25, T24, X11, T27)) → permA_out_ga(.(T24, T25), .(T26, T27))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_in_aaaggaa(x4, x5)
U6_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_aaaggaa(x4, x5, x8)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
U7_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_aaaggaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U8_gggaa(x1, x2, x3, x4, x5, x6)  =  U8_gggaa(x1, x2, x3, x6)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
U9_gggaa(x1, x2, x3, x4, x5, x6)  =  U9_gggaa(x1, x2, x3, x4, x6)
U2_ga(x1, x2, x3, x4)  =  U2_ga(x1, x2, x4)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
pC_out_gaa(x1, x2, x3)  =  pC_out_gaa(x1, x2, x3)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x1, x2, x5)
PB_IN_AAAGGAA(x1, x2, x3, x4, x5, x6, x7)  =  PB_IN_AAAGGAA(x4, x5)
U6_AAAGGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_AAAGGAA(x4, x5, x8)
APP1D_IN_AAAG(x1, x2, x3, x4)  =  APP1D_IN_AAAG(x4)
U3_AAAG(x1, x2, x3, x4, x5, x6)  =  U3_AAAG(x1, x5, x6)
U7_AAAGGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_AAAGGAA(x1, x2, x3, x4, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U8_GGGAA(x1, x2, x3, x4, x5, x6)  =  U8_GGGAA(x1, x2, x3, x6)
APP2F_IN_GGGA(x1, x2, x3, x4)  =  APP2F_IN_GGGA(x1, x2, x3)
U5_GGGA(x1, x2, x3, x4, x5)  =  U5_GGGA(x1, x2, x3, x5)
APP2E_IN_GGA(x1, x2, x3)  =  APP2E_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U9_GGGAA(x1, x2, x3, x4, x5, x6)  =  U9_GGGAA(x1, x2, x3, x4, x6)
U2_GA(x1, x2, x3, x4)  =  U2_GA(x1, x2, x4)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)
U10_GAA(x1, x2, x3, x4)  =  U10_GAA(x1, x4)
APP2G_IN_GA(x1, x2)  =  APP2G_IN_GA(x1)
U11_GAA(x1, x2, x3, x4)  =  U11_GAA(x1, x2, x4)

We have to consider all (P,R,Pi)-chains

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 3 SCCs with 12 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP2E_IN_GGA(.(T105, T106), T107, .(T105, X183)) → APP2E_IN_GGA(T106, T107, X183)

The TRS R consists of the following rules:

permA_in_ga(.(T24, T25), .(T26, T27)) → U1_ga(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
pB_in_aaaggaa(T31, T26, T32, T25, T24, X11, T33) → U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
pH_in_gggaa(T24, T31, T32, T65, T33) → U8_gggaa(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U8_gggaa(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_gggaa(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
permA_in_ga(.(T125, T126), .(T125, T127)) → U2_ga(T125, T126, T127, pC_in_gaa(T126, X11, T127))
pC_in_gaa(T126, T128, T127) → U10_gaa(T126, T128, T127, app2G_in_ga(T126, T128))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U10_gaa(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_gaa(T126, T128, T127, permA_in_ga(T128, T127))
permA_in_ga([], []) → permA_out_ga([], [])
U11_gaa(T126, T128, T127, permA_out_ga(T128, T127)) → pC_out_gaa(T126, T128, T127)
U2_ga(T125, T126, T127, pC_out_gaa(T126, X11, T127)) → permA_out_ga(.(T125, T126), .(T125, T127))
U9_gggaa(T24, T31, T32, T65, T33, permA_out_ga(T65, T33)) → pH_out_gggaa(T24, T31, T32, T65, T33)
U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_out_gggaa(T24, T31, T32, X11, T33)) → pB_out_aaaggaa(T31, T26, T32, T25, T24, X11, T33)
U1_ga(T24, T25, T26, T27, pB_out_aaaggaa(X45, T26, X46, T25, T24, X11, T27)) → permA_out_ga(.(T24, T25), .(T26, T27))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_in_aaaggaa(x4, x5)
U6_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_aaaggaa(x4, x5, x8)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
U7_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_aaaggaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U8_gggaa(x1, x2, x3, x4, x5, x6)  =  U8_gggaa(x1, x2, x3, x6)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
U9_gggaa(x1, x2, x3, x4, x5, x6)  =  U9_gggaa(x1, x2, x3, x4, x6)
U2_ga(x1, x2, x3, x4)  =  U2_ga(x1, x2, x4)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
pC_out_gaa(x1, x2, x3)  =  pC_out_gaa(x1, x2, x3)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)
APP2E_IN_GGA(x1, x2, x3)  =  APP2E_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(8) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP2E_IN_GGA(.(T105, T106), T107, .(T105, X183)) → APP2E_IN_GGA(T106, T107, X183)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP2E_IN_GGA(x1, x2, x3)  =  APP2E_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(10) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(11) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP2E_IN_GGA(.(T105, T106), T107) → APP2E_IN_GGA(T106, T107)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(12) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APP2E_IN_GGA(.(T105, T106), T107) → APP2E_IN_GGA(T106, T107)
    The graph contains the following edges 1 > 1, 2 >= 2

(13) YES

(14) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP1D_IN_AAAG(.(T50, X94), T52, X95, .(T50, T51)) → APP1D_IN_AAAG(X94, T52, X95, T51)

The TRS R consists of the following rules:

permA_in_ga(.(T24, T25), .(T26, T27)) → U1_ga(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
pB_in_aaaggaa(T31, T26, T32, T25, T24, X11, T33) → U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
pH_in_gggaa(T24, T31, T32, T65, T33) → U8_gggaa(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U8_gggaa(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_gggaa(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
permA_in_ga(.(T125, T126), .(T125, T127)) → U2_ga(T125, T126, T127, pC_in_gaa(T126, X11, T127))
pC_in_gaa(T126, T128, T127) → U10_gaa(T126, T128, T127, app2G_in_ga(T126, T128))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U10_gaa(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_gaa(T126, T128, T127, permA_in_ga(T128, T127))
permA_in_ga([], []) → permA_out_ga([], [])
U11_gaa(T126, T128, T127, permA_out_ga(T128, T127)) → pC_out_gaa(T126, T128, T127)
U2_ga(T125, T126, T127, pC_out_gaa(T126, X11, T127)) → permA_out_ga(.(T125, T126), .(T125, T127))
U9_gggaa(T24, T31, T32, T65, T33, permA_out_ga(T65, T33)) → pH_out_gggaa(T24, T31, T32, T65, T33)
U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_out_gggaa(T24, T31, T32, X11, T33)) → pB_out_aaaggaa(T31, T26, T32, T25, T24, X11, T33)
U1_ga(T24, T25, T26, T27, pB_out_aaaggaa(X45, T26, X46, T25, T24, X11, T27)) → permA_out_ga(.(T24, T25), .(T26, T27))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_in_aaaggaa(x4, x5)
U6_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_aaaggaa(x4, x5, x8)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
U7_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_aaaggaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U8_gggaa(x1, x2, x3, x4, x5, x6)  =  U8_gggaa(x1, x2, x3, x6)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
U9_gggaa(x1, x2, x3, x4, x5, x6)  =  U9_gggaa(x1, x2, x3, x4, x6)
U2_ga(x1, x2, x3, x4)  =  U2_ga(x1, x2, x4)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
pC_out_gaa(x1, x2, x3)  =  pC_out_gaa(x1, x2, x3)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)
APP1D_IN_AAAG(x1, x2, x3, x4)  =  APP1D_IN_AAAG(x4)

We have to consider all (P,R,Pi)-chains

(15) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP1D_IN_AAAG(.(T50, X94), T52, X95, .(T50, T51)) → APP1D_IN_AAAG(X94, T52, X95, T51)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP1D_IN_AAAG(x1, x2, x3, x4)  =  APP1D_IN_AAAG(x4)

We have to consider all (P,R,Pi)-chains

(17) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(18) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP1D_IN_AAAG(.(T50, T51)) → APP1D_IN_AAAG(T51)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(19) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APP1D_IN_AAAG(.(T50, T51)) → APP1D_IN_AAAG(T51)
    The graph contains the following edges 1 > 1

(20) YES

(21) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25), .(T26, T27)) → PB_IN_AAAGGAA(X45, T26, X46, T25, T24, X11, T27)
PB_IN_AAAGGAA(T31, T26, T32, T25, T24, X11, T33) → U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32, X11, T33)
PH_IN_GGGAA(T24, T31, T32, T65, T33) → U8_GGGAA(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
U8_GGGAA(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65, T33)
PERMA_IN_GA(.(T125, T126), .(T125, T127)) → PC_IN_GAA(T126, X11, T127)
PC_IN_GAA(T126, T128, T127) → U10_GAA(T126, T128, T127, app2G_in_ga(T126, T128))
U10_GAA(T126, T128, T127, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128, T127)

The TRS R consists of the following rules:

permA_in_ga(.(T24, T25), .(T26, T27)) → U1_ga(T24, T25, T26, T27, pB_in_aaaggaa(X45, T26, X46, T25, T24, X11, T27))
pB_in_aaaggaa(T31, T26, T32, T25, T24, X11, T33) → U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U6_aaaggaa(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_in_gggaa(T24, T31, T32, X11, T33))
pH_in_gggaa(T24, T31, T32, T65, T33) → U8_gggaa(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U8_gggaa(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → U9_gggaa(T24, T31, T32, T65, T33, permA_in_ga(T65, T33))
permA_in_ga(.(T125, T126), .(T125, T127)) → U2_ga(T125, T126, T127, pC_in_gaa(T126, X11, T127))
pC_in_gaa(T126, T128, T127) → U10_gaa(T126, T128, T127, app2G_in_ga(T126, T128))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U10_gaa(T126, T128, T127, app2G_out_ga(T126, T128)) → U11_gaa(T126, T128, T127, permA_in_ga(T128, T127))
permA_in_ga([], []) → permA_out_ga([], [])
U11_gaa(T126, T128, T127, permA_out_ga(T128, T127)) → pC_out_gaa(T126, T128, T127)
U2_ga(T125, T126, T127, pC_out_gaa(T126, X11, T127)) → permA_out_ga(.(T125, T126), .(T125, T127))
U9_gggaa(T24, T31, T32, T65, T33, permA_out_ga(T65, T33)) → pH_out_gggaa(T24, T31, T32, T65, T33)
U7_aaaggaa(T31, T26, T32, T25, T24, X11, T33, pH_out_gggaa(T24, T31, T32, X11, T33)) → pB_out_aaaggaa(T31, T26, T32, T25, T24, X11, T33)
U1_ga(T24, T25, T26, T27, pB_out_aaaggaa(X45, T26, X46, T25, T24, X11, T27)) → permA_out_ga(.(T24, T25), .(T26, T27))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_in_aaaggaa(x4, x5)
U6_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_aaaggaa(x4, x5, x8)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
U7_aaaggaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_aaaggaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U8_gggaa(x1, x2, x3, x4, x5, x6)  =  U8_gggaa(x1, x2, x3, x6)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
U9_gggaa(x1, x2, x3, x4, x5, x6)  =  U9_gggaa(x1, x2, x3, x4, x6)
U2_ga(x1, x2, x3, x4)  =  U2_ga(x1, x2, x4)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
pC_out_gaa(x1, x2, x3)  =  pC_out_gaa(x1, x2, x3)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)  =  pB_out_aaaggaa(x1, x2, x3, x4, x5, x6, x7)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
PB_IN_AAAGGAA(x1, x2, x3, x4, x5, x6, x7)  =  PB_IN_AAAGGAA(x4, x5)
U6_AAAGGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_AAAGGAA(x4, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U8_GGGAA(x1, x2, x3, x4, x5, x6)  =  U8_GGGAA(x1, x2, x3, x6)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)
U10_GAA(x1, x2, x3, x4)  =  U10_GAA(x1, x4)

We have to consider all (P,R,Pi)-chains

(22) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(23) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25), .(T26, T27)) → PB_IN_AAAGGAA(X45, T26, X46, T25, T24, X11, T27)
PB_IN_AAAGGAA(T31, T26, T32, T25, T24, X11, T33) → U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_in_aaag(T31, T26, T32, T25))
U6_AAAGGAA(T31, T26, T32, T25, T24, X11, T33, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32, X11, T33)
PH_IN_GGGAA(T24, T31, T32, T65, T33) → U8_GGGAA(T24, T31, T32, T65, T33, app2F_in_ggga(T24, T31, T32, T65))
U8_GGGAA(T24, T31, T32, T65, T33, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65, T33)
PERMA_IN_GA(.(T125, T126), .(T125, T127)) → PC_IN_GAA(T126, X11, T127)
PC_IN_GAA(T126, T128, T127) → U10_GAA(T126, T128, T127, app2G_in_ga(T126, T128))
U10_GAA(T126, T128, T127, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128, T127)

The TRS R consists of the following rules:

app1D_in_aaag(.(T50, X94), T52, X95, .(T50, T51)) → U3_aaag(T50, X94, T52, X95, T51, app1D_in_aaag(X94, T52, X95, T51))
app1D_in_aaag([], T60, T61, .(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
app2F_in_ggga(T87, T88, T89, .(T87, X153)) → U5_ggga(T87, T88, T89, X153, app2E_in_gga(T88, T89, X153))
app2G_in_ga(T131, T131) → app2G_out_ga(T131, T131)
U3_aaag(T50, X94, T52, X95, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U5_ggga(T87, T88, T89, X153, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
app2E_in_gga(.(T105, T106), T107, .(T105, X183)) → U4_gga(T105, T106, T107, X183, app2E_in_gga(T106, T107, X183))
app2E_in_gga([], T113, T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, X183, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
app1D_in_aaag(x1, x2, x3, x4)  =  app1D_in_aaag(x4)
U3_aaag(x1, x2, x3, x4, x5, x6)  =  U3_aaag(x1, x5, x6)
app1D_out_aaag(x1, x2, x3, x4)  =  app1D_out_aaag(x1, x2, x3, x4)
app2F_in_ggga(x1, x2, x3, x4)  =  app2F_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
app2E_in_gga(x1, x2, x3)  =  app2E_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
[]  =  []
app2E_out_gga(x1, x2, x3)  =  app2E_out_gga(x1, x2, x3)
app2F_out_ggga(x1, x2, x3, x4)  =  app2F_out_ggga(x1, x2, x3, x4)
app2G_in_ga(x1, x2)  =  app2G_in_ga(x1)
app2G_out_ga(x1, x2)  =  app2G_out_ga(x1, x2)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
PB_IN_AAAGGAA(x1, x2, x3, x4, x5, x6, x7)  =  PB_IN_AAAGGAA(x4, x5)
U6_AAAGGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U6_AAAGGAA(x4, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U8_GGGAA(x1, x2, x3, x4, x5, x6)  =  U8_GGGAA(x1, x2, x3, x6)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)
U10_GAA(x1, x2, x3, x4)  =  U10_GAA(x1, x4)

We have to consider all (P,R,Pi)-chains

(24) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(25) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, app2F_in_ggga(T24, T31, T32))
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
PC_IN_GAA(T126) → U10_GAA(T126, app2G_in_ga(T126))
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)

The TRS R consists of the following rules:

app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
app2F_in_ggga(T87, T88, T89) → U5_ggga(T87, T88, T89, app2E_in_gga(T88, T89))
app2G_in_ga(T131) → app2G_out_ga(T131, T131)
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))

The set Q consists of the following terms:

app1D_in_aaag(x0)
app2F_in_ggga(x0, x1, x2)
app2G_in_ga(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(26) Rewriting (EQUIVALENT transformation)

By rewriting [LPAR04] the rule PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, app2F_in_ggga(T24, T31, T32)) at position [3] we obtained the following new rules [LPAR04]:

PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))

(27) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
PC_IN_GAA(T126) → U10_GAA(T126, app2G_in_ga(T126))
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))

The TRS R consists of the following rules:

app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
app2F_in_ggga(T87, T88, T89) → U5_ggga(T87, T88, T89, app2E_in_gga(T88, T89))
app2G_in_ga(T131) → app2G_out_ga(T131, T131)
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))

The set Q consists of the following terms:

app1D_in_aaag(x0)
app2F_in_ggga(x0, x1, x2)
app2G_in_ga(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(28) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(29) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
PC_IN_GAA(T126) → U10_GAA(T126, app2G_in_ga(T126))
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app2G_in_ga(T131) → app2G_out_ga(T131, T131)
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
app2F_in_ggga(x0, x1, x2)
app2G_in_ga(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(30) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

app2F_in_ggga(x0, x1, x2)

(31) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
PC_IN_GAA(T126) → U10_GAA(T126, app2G_in_ga(T126))
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app2G_in_ga(T131) → app2G_out_ga(T131, T131)
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
app2G_in_ga(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(32) Rewriting (EQUIVALENT transformation)

By rewriting [LPAR04] the rule PC_IN_GAA(T126) → U10_GAA(T126, app2G_in_ga(T126)) at position [1] we obtained the following new rules [LPAR04]:

PC_IN_GAA(T126) → U10_GAA(T126, app2G_out_ga(T126, T126))

(33) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))
PC_IN_GAA(T126) → U10_GAA(T126, app2G_out_ga(T126, T126))

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app2G_in_ga(T131) → app2G_out_ga(T131, T131)
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
app2G_in_ga(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(34) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(35) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))
PC_IN_GAA(T126) → U10_GAA(T126, app2G_out_ga(T126, T126))

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
app2G_in_ga(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(36) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

app2G_in_ga(x0)

(37) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))
PC_IN_GAA(T126) → U10_GAA(T126, app2G_out_ga(T126, T126))

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(38) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U10_GAA(T126, app2G_out_ga(T126, T128)) → PERMA_IN_GA(T128) we obtained the following new rules [LPAR04]:

U10_GAA(z0, app2G_out_ga(z0, z0)) → PERMA_IN_GA(z0)

(39) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))
PC_IN_GAA(T126) → U10_GAA(T126, app2G_out_ga(T126, T126))
U10_GAA(z0, app2G_out_ga(z0, z0)) → PERMA_IN_GA(z0)

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(40) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


PB_IN_AAAGGAA(T25, T24) → U6_AAAGGAA(T25, T24, app1D_in_aaag(T25))
U10_GAA(z0, app2G_out_ga(z0, z0)) → PERMA_IN_GA(z0)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x2   
POL(PB_IN_AAAGGAA(x1, x2)) = 1 + x1   
POL(PC_IN_GAA(x1)) = 1 + x1   
POL(PERMA_IN_GA(x1)) = x1   
POL(PH_IN_GGGAA(x1, x2, x3)) = x2 + x3   
POL(U10_GAA(x1, x2)) = x2   
POL(U3_aaag(x1, x2, x3)) = 1 + x3   
POL(U4_gga(x1, x2, x3, x4)) = 1 + x4   
POL(U5_ggga(x1, x2, x3, x4)) = x4   
POL(U6_AAAGGAA(x1, x2, x3)) = x3   
POL(U8_GGGAA(x1, x2, x3, x4)) = x4   
POL([]) = 1   
POL(app1D_in_aaag(x1)) = x1   
POL(app1D_out_aaag(x1, x2, x3, x4)) = x1 + x3   
POL(app2E_in_gga(x1, x2)) = x1 + x2   
POL(app2E_out_gga(x1, x2, x3)) = 1 + x3   
POL(app2F_out_ggga(x1, x2, x3, x4)) = x4   
POL(app2G_out_ga(x1, x2)) = 1 + x2   

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

(41) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PERMA_IN_GA(.(T24, T25)) → PB_IN_AAAGGAA(T25, T24)
U6_AAAGGAA(T25, T24, app1D_out_aaag(T31, T26, T32, T25)) → PH_IN_GGGAA(T24, T31, T32)
U8_GGGAA(T24, T31, T32, app2F_out_ggga(T24, T31, T32, T65)) → PERMA_IN_GA(T65)
PERMA_IN_GA(.(T125, T126)) → PC_IN_GAA(T126)
PH_IN_GGGAA(T24, T31, T32) → U8_GGGAA(T24, T31, T32, U5_ggga(T24, T31, T32, app2E_in_gga(T31, T32)))
PC_IN_GAA(T126) → U10_GAA(T126, app2G_out_ga(T126, T126))

The TRS R consists of the following rules:

app2E_in_gga(.(T105, T106), T107) → U4_gga(T105, T106, T107, app2E_in_gga(T106, T107))
app2E_in_gga([], T113) → app2E_out_gga([], T113, T113)
U5_ggga(T87, T88, T89, app2E_out_gga(T88, T89, X153)) → app2F_out_ggga(T87, T88, T89, .(T87, X153))
U4_gga(T105, T106, T107, app2E_out_gga(T106, T107, X183)) → app2E_out_gga(.(T105, T106), T107, .(T105, X183))
app1D_in_aaag(.(T50, T51)) → U3_aaag(T50, T51, app1D_in_aaag(T51))
app1D_in_aaag(.(T60, T61)) → app1D_out_aaag([], T60, T61, .(T60, T61))
U3_aaag(T50, T51, app1D_out_aaag(X94, T52, X95, T51)) → app1D_out_aaag(.(T50, X94), T52, X95, .(T50, T51))

The set Q consists of the following terms:

app1D_in_aaag(x0)
U3_aaag(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
app2E_in_gga(x0, x1)
U4_gga(x0, x1, x2, x3)

We have to consider all (P,Q,R)-chains.

(42) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 6 less nodes.

(43) TRUE