(0) Obligation:

Clauses:

intlist([], []).
intlist(.(X, XS), .(s(X), YS)) :- intlist(XS, YS).
int(0, 0, .(0, [])).
int(0, s(Y), .(0, XS)) :- int(s(0), s(Y), XS).
int(s(X), 0, []).
int(s(X), s(Y), XS) :- ','(int(X, Y, ZS), intlist(ZS, XS)).

Query: int(g,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:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)

(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:

INTA_IN_GGA(0, s(T19), .(0, T21)) → U1_GGA(T19, T21, pB_in_gaa(T19, X31, T21))
INTA_IN_GGA(0, s(T19), .(0, T21)) → PB_IN_GAA(T19, X31, T21)
PB_IN_GAA(T19, T22, T21) → U8_GAA(T19, T22, T21, intA_in_gga(0, T19, T22))
PB_IN_GAA(T19, T22, T21) → INTA_IN_GGA(0, T19, T22)
INTA_IN_GGA(s(0), s(0), .(s(0), T46)) → U2_GGA(T46, intlistC_in_a(T46))
INTA_IN_GGA(s(0), s(0), .(s(0), T46)) → INTLISTC_IN_A(T46)
INTA_IN_GGA(s(0), s(s(T51)), T42) → U3_GGA(T51, T42, pD_in_gaa(T51, X83, T42))
INTA_IN_GGA(s(0), s(s(T51)), T42) → PD_IN_GAA(T51, X83, T42)
PD_IN_GAA(T51, T52, T42) → U10_GAA(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
PD_IN_GAA(T51, T52, T42) → INTA_IN_GGA(s(0), s(T51), T52)
INTA_IN_GGA(s(s(T57)), s(0), T42) → U4_GGA(T57, T42, intlistC_in_a(T42))
INTA_IN_GGA(s(s(T57)), s(0), T42) → INTLISTC_IN_A(T42)
INTA_IN_GGA(s(s(T62)), s(s(T63)), T42) → U5_GGA(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
INTA_IN_GGA(s(s(T62)), s(s(T63)), T42) → PE_IN_GGAAA(T62, T63, X101, X102, T42)
PE_IN_GGAAA(T62, T63, T64, X102, T42) → U12_GGAAA(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
PE_IN_GGAAA(T62, T63, T64, X102, T42) → INTA_IN_GGA(T62, T63, T64)
U12_GGAAA(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_GGAAA(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
U12_GGAAA(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → PH_IN_GAA(T64, X102, T42)
PH_IN_GAA(T64, T65, T42) → U14_GAA(T64, T65, T42, intlistG_in_ga(T64, T65))
PH_IN_GAA(T64, T65, T42) → INTLISTG_IN_GA(T64, T65)
INTLISTG_IN_GA(.(T70, T71), .(s(T70), X114)) → U7_GA(T70, T71, X114, intlistG_in_ga(T71, X114))
INTLISTG_IN_GA(.(T70, T71), .(s(T70), X114)) → INTLISTG_IN_GA(T71, X114)
U14_GAA(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_GAA(T64, T65, T42, intlistF_in_ga(T65, T42))
U14_GAA(T64, T65, T42, intlistG_out_ga(T64, T65)) → INTLISTF_IN_GA(T65, T42)
INTLISTF_IN_GA(.(T29, T30), .(s(T29), T32)) → U6_GA(T29, T30, T32, intlistF_in_ga(T30, T32))
INTLISTF_IN_GA(.(T29, T30), .(s(T29), T32)) → INTLISTF_IN_GA(T30, T32)
U10_GAA(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_GAA(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U10_GAA(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → INTLISTF_IN_GA(.(0, T52), T42)
U8_GAA(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_GAA(T19, T22, T21, intlistF_in_ga(T22, T21))
U8_GAA(T19, T22, T21, intA_out_gga(0, T19, T22)) → INTLISTF_IN_GA(T22, T21)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTA_IN_GGA(x1, x2, x3)  =  INTA_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3)  =  U1_GGA(x1, x3)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)
U8_GAA(x1, x2, x3, x4)  =  U8_GAA(x1, x4)
U2_GGA(x1, x2)  =  U2_GGA(x2)
INTLISTC_IN_A(x1)  =  INTLISTC_IN_A
U3_GGA(x1, x2, x3)  =  U3_GGA(x1, x3)
PD_IN_GAA(x1, x2, x3)  =  PD_IN_GAA(x1)
U10_GAA(x1, x2, x3, x4)  =  U10_GAA(x1, x4)
U4_GGA(x1, x2, x3)  =  U4_GGA(x1, x3)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
PE_IN_GGAAA(x1, x2, x3, x4, x5)  =  PE_IN_GGAAA(x1, x2)
U12_GGAAA(x1, x2, x3, x4, x5, x6)  =  U12_GGAAA(x1, x2, x6)
U13_GGAAA(x1, x2, x3, x4, x5, x6)  =  U13_GGAAA(x1, x2, x3, x6)
PH_IN_GAA(x1, x2, x3)  =  PH_IN_GAA(x1)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x1, x4)
INTLISTG_IN_GA(x1, x2)  =  INTLISTG_IN_GA(x1)
U7_GA(x1, x2, x3, x4)  =  U7_GA(x1, x2, x4)
U15_GAA(x1, x2, x3, x4)  =  U15_GAA(x1, x2, x4)
INTLISTF_IN_GA(x1, x2)  =  INTLISTF_IN_GA(x1)
U6_GA(x1, x2, x3, x4)  =  U6_GA(x1, x2, x4)
U11_GAA(x1, x2, x3, x4)  =  U11_GAA(x1, x2, x4)
U9_GAA(x1, x2, x3, x4)  =  U9_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:

INTA_IN_GGA(0, s(T19), .(0, T21)) → U1_GGA(T19, T21, pB_in_gaa(T19, X31, T21))
INTA_IN_GGA(0, s(T19), .(0, T21)) → PB_IN_GAA(T19, X31, T21)
PB_IN_GAA(T19, T22, T21) → U8_GAA(T19, T22, T21, intA_in_gga(0, T19, T22))
PB_IN_GAA(T19, T22, T21) → INTA_IN_GGA(0, T19, T22)
INTA_IN_GGA(s(0), s(0), .(s(0), T46)) → U2_GGA(T46, intlistC_in_a(T46))
INTA_IN_GGA(s(0), s(0), .(s(0), T46)) → INTLISTC_IN_A(T46)
INTA_IN_GGA(s(0), s(s(T51)), T42) → U3_GGA(T51, T42, pD_in_gaa(T51, X83, T42))
INTA_IN_GGA(s(0), s(s(T51)), T42) → PD_IN_GAA(T51, X83, T42)
PD_IN_GAA(T51, T52, T42) → U10_GAA(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
PD_IN_GAA(T51, T52, T42) → INTA_IN_GGA(s(0), s(T51), T52)
INTA_IN_GGA(s(s(T57)), s(0), T42) → U4_GGA(T57, T42, intlistC_in_a(T42))
INTA_IN_GGA(s(s(T57)), s(0), T42) → INTLISTC_IN_A(T42)
INTA_IN_GGA(s(s(T62)), s(s(T63)), T42) → U5_GGA(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
INTA_IN_GGA(s(s(T62)), s(s(T63)), T42) → PE_IN_GGAAA(T62, T63, X101, X102, T42)
PE_IN_GGAAA(T62, T63, T64, X102, T42) → U12_GGAAA(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
PE_IN_GGAAA(T62, T63, T64, X102, T42) → INTA_IN_GGA(T62, T63, T64)
U12_GGAAA(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_GGAAA(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
U12_GGAAA(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → PH_IN_GAA(T64, X102, T42)
PH_IN_GAA(T64, T65, T42) → U14_GAA(T64, T65, T42, intlistG_in_ga(T64, T65))
PH_IN_GAA(T64, T65, T42) → INTLISTG_IN_GA(T64, T65)
INTLISTG_IN_GA(.(T70, T71), .(s(T70), X114)) → U7_GA(T70, T71, X114, intlistG_in_ga(T71, X114))
INTLISTG_IN_GA(.(T70, T71), .(s(T70), X114)) → INTLISTG_IN_GA(T71, X114)
U14_GAA(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_GAA(T64, T65, T42, intlistF_in_ga(T65, T42))
U14_GAA(T64, T65, T42, intlistG_out_ga(T64, T65)) → INTLISTF_IN_GA(T65, T42)
INTLISTF_IN_GA(.(T29, T30), .(s(T29), T32)) → U6_GA(T29, T30, T32, intlistF_in_ga(T30, T32))
INTLISTF_IN_GA(.(T29, T30), .(s(T29), T32)) → INTLISTF_IN_GA(T30, T32)
U10_GAA(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_GAA(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U10_GAA(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → INTLISTF_IN_GA(.(0, T52), T42)
U8_GAA(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_GAA(T19, T22, T21, intlistF_in_ga(T22, T21))
U8_GAA(T19, T22, T21, intA_out_gga(0, T19, T22)) → INTLISTF_IN_GA(T22, T21)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTA_IN_GGA(x1, x2, x3)  =  INTA_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3)  =  U1_GGA(x1, x3)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)
U8_GAA(x1, x2, x3, x4)  =  U8_GAA(x1, x4)
U2_GGA(x1, x2)  =  U2_GGA(x2)
INTLISTC_IN_A(x1)  =  INTLISTC_IN_A
U3_GGA(x1, x2, x3)  =  U3_GGA(x1, x3)
PD_IN_GAA(x1, x2, x3)  =  PD_IN_GAA(x1)
U10_GAA(x1, x2, x3, x4)  =  U10_GAA(x1, x4)
U4_GGA(x1, x2, x3)  =  U4_GGA(x1, x3)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
PE_IN_GGAAA(x1, x2, x3, x4, x5)  =  PE_IN_GGAAA(x1, x2)
U12_GGAAA(x1, x2, x3, x4, x5, x6)  =  U12_GGAAA(x1, x2, x6)
U13_GGAAA(x1, x2, x3, x4, x5, x6)  =  U13_GGAAA(x1, x2, x3, x6)
PH_IN_GAA(x1, x2, x3)  =  PH_IN_GAA(x1)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x1, x4)
INTLISTG_IN_GA(x1, x2)  =  INTLISTG_IN_GA(x1)
U7_GA(x1, x2, x3, x4)  =  U7_GA(x1, x2, x4)
U15_GAA(x1, x2, x3, x4)  =  U15_GAA(x1, x2, x4)
INTLISTF_IN_GA(x1, x2)  =  INTLISTF_IN_GA(x1)
U6_GA(x1, x2, x3, x4)  =  U6_GA(x1, x2, x4)
U11_GAA(x1, x2, x3, x4)  =  U11_GAA(x1, x2, x4)
U9_GAA(x1, x2, x3, x4)  =  U9_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 5 SCCs with 22 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

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

INTLISTF_IN_GA(.(T29, T30), .(s(T29), T32)) → INTLISTF_IN_GA(T30, T32)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTLISTF_IN_GA(x1, x2)  =  INTLISTF_IN_GA(x1)

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:

INTLISTF_IN_GA(.(T29, T30), .(s(T29), T32)) → INTLISTF_IN_GA(T30, T32)

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

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:

INTLISTF_IN_GA(.(T29, T30)) → INTLISTF_IN_GA(T30)

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:

  • INTLISTF_IN_GA(.(T29, T30)) → INTLISTF_IN_GA(T30)
    The graph contains the following edges 1 > 1

(13) YES

(14) Obligation:

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

INTLISTG_IN_GA(.(T70, T71), .(s(T70), X114)) → INTLISTG_IN_GA(T71, X114)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTLISTG_IN_GA(x1, x2)  =  INTLISTG_IN_GA(x1)

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:

INTLISTG_IN_GA(.(T70, T71), .(s(T70), X114)) → INTLISTG_IN_GA(T71, X114)

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

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:

INTLISTG_IN_GA(.(T70, T71)) → INTLISTG_IN_GA(T71)

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:

  • INTLISTG_IN_GA(.(T70, T71)) → INTLISTG_IN_GA(T71)
    The graph contains the following edges 1 > 1

(20) YES

(21) Obligation:

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

INTA_IN_GGA(s(0), s(s(T51)), T42) → PD_IN_GAA(T51, X83, T42)
PD_IN_GAA(T51, T52, T42) → INTA_IN_GGA(s(0), s(T51), T52)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTA_IN_GGA(x1, x2, x3)  =  INTA_IN_GGA(x1, x2)
PD_IN_GAA(x1, x2, x3)  =  PD_IN_GAA(x1)

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:

INTA_IN_GGA(s(0), s(s(T51)), T42) → PD_IN_GAA(T51, X83, T42)
PD_IN_GAA(T51, T52, T42) → INTA_IN_GGA(s(0), s(T51), T52)

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

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:

INTA_IN_GGA(s(0), s(s(T51))) → PD_IN_GAA(T51)
PD_IN_GAA(T51) → INTA_IN_GGA(s(0), s(T51))

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

(26) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
Strictly oriented dependency pairs:

INTA_IN_GGA(s(0), s(s(T51))) → PD_IN_GAA(T51)


Used ordering: Polynomial interpretation [POLO]:

POL(0) = 0   
POL(INTA_IN_GGA(x1, x2)) = x1 + x2   
POL(PD_IN_GAA(x1)) = 2 + 2·x1   
POL(s(x1)) = 1 + 2·x1   

(27) Obligation:

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

PD_IN_GAA(T51) → INTA_IN_GGA(s(0), s(T51))

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

(28) DependencyGraphProof (EQUIVALENT transformation)

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

(29) TRUE

(30) Obligation:

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

INTA_IN_GGA(0, s(T19), .(0, T21)) → PB_IN_GAA(T19, X31, T21)
PB_IN_GAA(T19, T22, T21) → INTA_IN_GGA(0, T19, T22)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTA_IN_GGA(x1, x2, x3)  =  INTA_IN_GGA(x1, x2)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)

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

(31) UsableRulesProof (EQUIVALENT transformation)

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

(32) Obligation:

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

INTA_IN_GGA(0, s(T19), .(0, T21)) → PB_IN_GAA(T19, X31, T21)
PB_IN_GAA(T19, T22, T21) → INTA_IN_GGA(0, T19, T22)

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

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

(33) PiDPToQDPProof (SOUND transformation)

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

(34) Obligation:

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

INTA_IN_GGA(0, s(T19)) → PB_IN_GAA(T19)
PB_IN_GAA(T19) → INTA_IN_GGA(0, T19)

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

(35) 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:

  • PB_IN_GAA(T19) → INTA_IN_GGA(0, T19)
    The graph contains the following edges 1 >= 2

  • INTA_IN_GGA(0, s(T19)) → PB_IN_GAA(T19)
    The graph contains the following edges 2 > 1

(36) YES

(37) Obligation:

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

INTA_IN_GGA(s(s(T62)), s(s(T63)), T42) → PE_IN_GGAAA(T62, T63, X101, X102, T42)
PE_IN_GGAAA(T62, T63, T64, X102, T42) → INTA_IN_GGA(T62, T63, T64)

The TRS R consists of the following rules:

intA_in_gga(0, 0, .(0, [])) → intA_out_gga(0, 0, .(0, []))
intA_in_gga(0, s(T19), .(0, T21)) → U1_gga(T19, T21, pB_in_gaa(T19, X31, T21))
pB_in_gaa(T19, T22, T21) → U8_gaa(T19, T22, T21, intA_in_gga(0, T19, T22))
intA_in_gga(s(T34), 0, []) → intA_out_gga(s(T34), 0, [])
intA_in_gga(s(0), s(0), .(s(0), T46)) → U2_gga(T46, intlistC_in_a(T46))
intlistC_in_a([]) → intlistC_out_a([])
U2_gga(T46, intlistC_out_a(T46)) → intA_out_gga(s(0), s(0), .(s(0), T46))
intA_in_gga(s(0), s(s(T51)), T42) → U3_gga(T51, T42, pD_in_gaa(T51, X83, T42))
pD_in_gaa(T51, T52, T42) → U10_gaa(T51, T52, T42, intA_in_gga(s(0), s(T51), T52))
intA_in_gga(s(s(T57)), s(0), T42) → U4_gga(T57, T42, intlistC_in_a(T42))
U4_gga(T57, T42, intlistC_out_a(T42)) → intA_out_gga(s(s(T57)), s(0), T42)
intA_in_gga(s(s(T62)), s(s(T63)), T42) → U5_gga(T62, T63, T42, pE_in_ggaaa(T62, T63, X101, X102, T42))
pE_in_ggaaa(T62, T63, T64, X102, T42) → U12_ggaaa(T62, T63, T64, X102, T42, intA_in_gga(T62, T63, T64))
U12_ggaaa(T62, T63, T64, X102, T42, intA_out_gga(T62, T63, T64)) → U13_ggaaa(T62, T63, T64, X102, T42, pH_in_gaa(T64, X102, T42))
pH_in_gaa(T64, T65, T42) → U14_gaa(T64, T65, T42, intlistG_in_ga(T64, T65))
intlistG_in_ga([], []) → intlistG_out_ga([], [])
intlistG_in_ga(.(T70, T71), .(s(T70), X114)) → U7_ga(T70, T71, X114, intlistG_in_ga(T71, X114))
U7_ga(T70, T71, X114, intlistG_out_ga(T71, X114)) → intlistG_out_ga(.(T70, T71), .(s(T70), X114))
U14_gaa(T64, T65, T42, intlistG_out_ga(T64, T65)) → U15_gaa(T64, T65, T42, intlistF_in_ga(T65, T42))
intlistF_in_ga([], []) → intlistF_out_ga([], [])
intlistF_in_ga(.(T29, T30), .(s(T29), T32)) → U6_ga(T29, T30, T32, intlistF_in_ga(T30, T32))
U6_ga(T29, T30, T32, intlistF_out_ga(T30, T32)) → intlistF_out_ga(.(T29, T30), .(s(T29), T32))
U15_gaa(T64, T65, T42, intlistF_out_ga(T65, T42)) → pH_out_gaa(T64, T65, T42)
U13_ggaaa(T62, T63, T64, X102, T42, pH_out_gaa(T64, X102, T42)) → pE_out_ggaaa(T62, T63, T64, X102, T42)
U5_gga(T62, T63, T42, pE_out_ggaaa(T62, T63, X101, X102, T42)) → intA_out_gga(s(s(T62)), s(s(T63)), T42)
U10_gaa(T51, T52, T42, intA_out_gga(s(0), s(T51), T52)) → U11_gaa(T51, T52, T42, intlistF_in_ga(.(0, T52), T42))
U11_gaa(T51, T52, T42, intlistF_out_ga(.(0, T52), T42)) → pD_out_gaa(T51, T52, T42)
U3_gga(T51, T42, pD_out_gaa(T51, X83, T42)) → intA_out_gga(s(0), s(s(T51)), T42)
U8_gaa(T19, T22, T21, intA_out_gga(0, T19, T22)) → U9_gaa(T19, T22, T21, intlistF_in_ga(T22, T21))
U9_gaa(T19, T22, T21, intlistF_out_ga(T22, T21)) → pB_out_gaa(T19, T22, T21)
U1_gga(T19, T21, pB_out_gaa(T19, X31, T21)) → intA_out_gga(0, s(T19), .(0, T21))

The argument filtering Pi contains the following mapping:
intA_in_gga(x1, x2, x3)  =  intA_in_gga(x1, x2)
0  =  0
intA_out_gga(x1, x2, x3)  =  intA_out_gga(x1, x2, x3)
s(x1)  =  s(x1)
U1_gga(x1, x2, x3)  =  U1_gga(x1, x3)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U8_gaa(x1, x2, x3, x4)  =  U8_gaa(x1, x4)
U2_gga(x1, x2)  =  U2_gga(x2)
intlistC_in_a(x1)  =  intlistC_in_a
intlistC_out_a(x1)  =  intlistC_out_a(x1)
U3_gga(x1, x2, x3)  =  U3_gga(x1, x3)
pD_in_gaa(x1, x2, x3)  =  pD_in_gaa(x1)
U10_gaa(x1, x2, x3, x4)  =  U10_gaa(x1, x4)
U4_gga(x1, x2, x3)  =  U4_gga(x1, x3)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
pE_in_ggaaa(x1, x2, x3, x4, x5)  =  pE_in_ggaaa(x1, x2)
U12_ggaaa(x1, x2, x3, x4, x5, x6)  =  U12_ggaaa(x1, x2, x6)
U13_ggaaa(x1, x2, x3, x4, x5, x6)  =  U13_ggaaa(x1, x2, x3, x6)
pH_in_gaa(x1, x2, x3)  =  pH_in_gaa(x1)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x1, x4)
intlistG_in_ga(x1, x2)  =  intlistG_in_ga(x1)
[]  =  []
intlistG_out_ga(x1, x2)  =  intlistG_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U7_ga(x1, x2, x3, x4)  =  U7_ga(x1, x2, x4)
U15_gaa(x1, x2, x3, x4)  =  U15_gaa(x1, x2, x4)
intlistF_in_ga(x1, x2)  =  intlistF_in_ga(x1)
intlistF_out_ga(x1, x2)  =  intlistF_out_ga(x1, x2)
U6_ga(x1, x2, x3, x4)  =  U6_ga(x1, x2, x4)
pH_out_gaa(x1, x2, x3)  =  pH_out_gaa(x1, x2, x3)
pE_out_ggaaa(x1, x2, x3, x4, x5)  =  pE_out_ggaaa(x1, x2, x3, x4, x5)
U11_gaa(x1, x2, x3, x4)  =  U11_gaa(x1, x2, x4)
pD_out_gaa(x1, x2, x3)  =  pD_out_gaa(x1, x2, x3)
U9_gaa(x1, x2, x3, x4)  =  U9_gaa(x1, x2, x4)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
INTA_IN_GGA(x1, x2, x3)  =  INTA_IN_GGA(x1, x2)
PE_IN_GGAAA(x1, x2, x3, x4, x5)  =  PE_IN_GGAAA(x1, x2)

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

(38) UsableRulesProof (EQUIVALENT transformation)

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

(39) Obligation:

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

INTA_IN_GGA(s(s(T62)), s(s(T63)), T42) → PE_IN_GGAAA(T62, T63, X101, X102, T42)
PE_IN_GGAAA(T62, T63, T64, X102, T42) → INTA_IN_GGA(T62, T63, T64)

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

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

(40) PiDPToQDPProof (SOUND transformation)

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

(41) Obligation:

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

INTA_IN_GGA(s(s(T62)), s(s(T63))) → PE_IN_GGAAA(T62, T63)
PE_IN_GGAAA(T62, T63) → INTA_IN_GGA(T62, T63)

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

(42) 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:

  • PE_IN_GGAAA(T62, T63) → INTA_IN_GGA(T62, T63)
    The graph contains the following edges 1 >= 1, 2 >= 2

  • INTA_IN_GGA(s(s(T62)), s(s(T63))) → PE_IN_GGAAA(T62, T63)
    The graph contains the following edges 1 > 1, 2 > 2

(43) YES