(0) Obligation:

Clauses:

append(nil, XS, XS).
append(cons(X, XS1), XS2, cons(X, YS)) :- append(XS1, XS2, YS).
split(XS, nil, XS).
split(cons(X, XS), cons(X, YS1), YS2) :- split(XS, YS1, YS2).
perm(nil, nil).
perm(XS, cons(Y, YS)) :- ','(split(XS, YS1, cons(Y, YS2)), ','(append(YS1, YS2, ZS), perm(ZS, YS))).

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(nil, nil) → permA_out_ga(nil, nil)
permA_in_ga(cons(T30, T31), cons(T30, T32)) → U1_ga(T30, T31, T32, pB_in_gaa(T31, X23, T32))
pB_in_gaa(T31, T34, T32) → U6_gaa(T31, T34, T32, appendF_in_ga(T31, T34))
appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
U6_gaa(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_gaa(T31, T34, T32, permA_in_ga(T34, T32))
permA_in_ga(cons(T47, T48), cons(T50, T51)) → U2_ga(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
pC_in_gaaagaa(T48, T58, T50, T59, T47, X23, T60) → U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
pH_in_gggaa(T47, T58, T59, T98, T60) → U10_gggaa(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U10_gggaa(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_gggaa(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U11_gggaa(T47, T58, T59, T98, T60, permA_out_ga(T98, T60)) → pH_out_gggaa(T47, T58, T59, T98, T60)
U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_out_gggaa(T47, T58, T59, X23, T60)) → pC_out_gaaagaa(T48, T58, T50, T59, T47, X23, T60)
U2_ga(T47, T48, T50, T51, pC_out_gaaagaa(T48, X56, T50, X57, T47, X23, T51)) → permA_out_ga(cons(T47, T48), cons(T50, T51))
U7_gaa(T31, T34, T32, permA_out_ga(T34, T32)) → pB_out_gaa(T31, T34, T32)
U1_ga(T30, T31, T32, pB_out_gaa(T31, X23, T32)) → permA_out_ga(cons(T30, T31), cons(T30, T32))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
nil  =  nil
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
cons(x1, x2)  =  cons(x1, x2)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x1, x2, x4)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x2, x4)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
pC_in_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_in_gaaagaa(x1, x5)
U8_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_gaaagaa(x1, x5, x8)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
U9_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaagaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U10_gggaa(x1, x2, x3, x4, x5, x6)  =  U10_gggaa(x1, x2, x3, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
U11_gggaa(x1, x2, x3, x4, x5, x6)  =  U11_gggaa(x1, x2, x3, x4, x6)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)
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:

PERMA_IN_GA(cons(T30, T31), cons(T30, T32)) → U1_GA(T30, T31, T32, pB_in_gaa(T31, X23, T32))
PERMA_IN_GA(cons(T30, T31), cons(T30, T32)) → PB_IN_GAA(T31, X23, T32)
PB_IN_GAA(T31, T34, T32) → U6_GAA(T31, T34, T32, appendF_in_ga(T31, T34))
PB_IN_GAA(T31, T34, T32) → APPENDF_IN_GA(T31, T34)
U6_GAA(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_GAA(T31, T34, T32, permA_in_ga(T34, T32))
U6_GAA(T31, T34, T32, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34, T32)
PERMA_IN_GA(cons(T47, T48), cons(T50, T51)) → U2_GA(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
PERMA_IN_GA(cons(T47, T48), cons(T50, T51)) → PC_IN_GAAAGAA(T48, X56, T50, X57, T47, X23, T51)
PC_IN_GAAAGAA(T48, T58, T50, T59, T47, X23, T60) → U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
PC_IN_GAAAGAA(T48, T58, T50, T59, T47, X23, T60) → SPLITD_IN_GAAA(T48, T58, T50, T59)
SPLITD_IN_GAAA(cons(T88, T89), cons(T88, X83), T91, X84) → U3_GAAA(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
SPLITD_IN_GAAA(cons(T88, T89), cons(T88, X83), T91, X84) → SPLITD_IN_GAAA(T89, X83, T91, X84)
U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59, X23, T60)
PH_IN_GGGAA(T47, T58, T59, T98, T60) → U10_GGGAA(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
PH_IN_GGGAA(T47, T58, T59, T98, T60) → APPENDG_IN_GGGA(T47, T58, T59, T98)
APPENDG_IN_GGGA(T107, T108, T109, cons(T107, X108)) → U5_GGGA(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
APPENDG_IN_GGGA(T107, T108, T109, cons(T107, X108)) → APPENDE_IN_GGA(T108, T109, X108)
APPENDE_IN_GGA(cons(T123, T124), T125, cons(T123, X130)) → U4_GGA(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
APPENDE_IN_GGA(cons(T123, T124), T125, cons(T123, X130)) → APPENDE_IN_GGA(T124, T125, X130)
U10_GGGAA(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_GGGAA(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U10_GGGAA(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98, T60)

The TRS R consists of the following rules:

permA_in_ga(nil, nil) → permA_out_ga(nil, nil)
permA_in_ga(cons(T30, T31), cons(T30, T32)) → U1_ga(T30, T31, T32, pB_in_gaa(T31, X23, T32))
pB_in_gaa(T31, T34, T32) → U6_gaa(T31, T34, T32, appendF_in_ga(T31, T34))
appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
U6_gaa(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_gaa(T31, T34, T32, permA_in_ga(T34, T32))
permA_in_ga(cons(T47, T48), cons(T50, T51)) → U2_ga(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
pC_in_gaaagaa(T48, T58, T50, T59, T47, X23, T60) → U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
pH_in_gggaa(T47, T58, T59, T98, T60) → U10_gggaa(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U10_gggaa(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_gggaa(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U11_gggaa(T47, T58, T59, T98, T60, permA_out_ga(T98, T60)) → pH_out_gggaa(T47, T58, T59, T98, T60)
U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_out_gggaa(T47, T58, T59, X23, T60)) → pC_out_gaaagaa(T48, T58, T50, T59, T47, X23, T60)
U2_ga(T47, T48, T50, T51, pC_out_gaaagaa(T48, X56, T50, X57, T47, X23, T51)) → permA_out_ga(cons(T47, T48), cons(T50, T51))
U7_gaa(T31, T34, T32, permA_out_ga(T34, T32)) → pB_out_gaa(T31, T34, T32)
U1_ga(T30, T31, T32, pB_out_gaa(T31, X23, T32)) → permA_out_ga(cons(T30, T31), cons(T30, T32))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
nil  =  nil
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
cons(x1, x2)  =  cons(x1, x2)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x1, x2, x4)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x2, x4)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
pC_in_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_in_gaaagaa(x1, x5)
U8_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_gaaagaa(x1, x5, x8)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
U9_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaagaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U10_gggaa(x1, x2, x3, x4, x5, x6)  =  U10_gggaa(x1, x2, x3, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
U11_gggaa(x1, x2, x3, x4, x5, x6)  =  U11_gggaa(x1, x2, x3, x4, x6)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
U1_GA(x1, x2, x3, x4)  =  U1_GA(x1, x2, x4)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x1, x4)
APPENDF_IN_GA(x1, x2)  =  APPENDF_IN_GA(x1)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x2, x4)
U2_GA(x1, x2, x3, x4, x5)  =  U2_GA(x1, x2, x5)
PC_IN_GAAAGAA(x1, x2, x3, x4, x5, x6, x7)  =  PC_IN_GAAAGAA(x1, x5)
U8_GAAAGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_GAAAGAA(x1, x5, x8)
SPLITD_IN_GAAA(x1, x2, x3, x4)  =  SPLITD_IN_GAAA(x1)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x2, x6)
U9_GAAAGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_GAAAGAA(x1, x2, x3, x4, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U10_GGGAA(x1, x2, x3, x4, x5, x6)  =  U10_GGGAA(x1, x2, x3, x6)
APPENDG_IN_GGGA(x1, x2, x3, x4)  =  APPENDG_IN_GGGA(x1, x2, x3)
U5_GGGA(x1, x2, x3, x4, x5)  =  U5_GGGA(x1, x2, x3, x5)
APPENDE_IN_GGA(x1, x2, x3)  =  APPENDE_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U11_GGGAA(x1, x2, x3, x4, x5, x6)  =  U11_GGGAA(x1, x2, x3, x4, x6)

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(cons(T30, T31), cons(T30, T32)) → U1_GA(T30, T31, T32, pB_in_gaa(T31, X23, T32))
PERMA_IN_GA(cons(T30, T31), cons(T30, T32)) → PB_IN_GAA(T31, X23, T32)
PB_IN_GAA(T31, T34, T32) → U6_GAA(T31, T34, T32, appendF_in_ga(T31, T34))
PB_IN_GAA(T31, T34, T32) → APPENDF_IN_GA(T31, T34)
U6_GAA(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_GAA(T31, T34, T32, permA_in_ga(T34, T32))
U6_GAA(T31, T34, T32, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34, T32)
PERMA_IN_GA(cons(T47, T48), cons(T50, T51)) → U2_GA(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
PERMA_IN_GA(cons(T47, T48), cons(T50, T51)) → PC_IN_GAAAGAA(T48, X56, T50, X57, T47, X23, T51)
PC_IN_GAAAGAA(T48, T58, T50, T59, T47, X23, T60) → U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
PC_IN_GAAAGAA(T48, T58, T50, T59, T47, X23, T60) → SPLITD_IN_GAAA(T48, T58, T50, T59)
SPLITD_IN_GAAA(cons(T88, T89), cons(T88, X83), T91, X84) → U3_GAAA(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
SPLITD_IN_GAAA(cons(T88, T89), cons(T88, X83), T91, X84) → SPLITD_IN_GAAA(T89, X83, T91, X84)
U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59, X23, T60)
PH_IN_GGGAA(T47, T58, T59, T98, T60) → U10_GGGAA(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
PH_IN_GGGAA(T47, T58, T59, T98, T60) → APPENDG_IN_GGGA(T47, T58, T59, T98)
APPENDG_IN_GGGA(T107, T108, T109, cons(T107, X108)) → U5_GGGA(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
APPENDG_IN_GGGA(T107, T108, T109, cons(T107, X108)) → APPENDE_IN_GGA(T108, T109, X108)
APPENDE_IN_GGA(cons(T123, T124), T125, cons(T123, X130)) → U4_GGA(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
APPENDE_IN_GGA(cons(T123, T124), T125, cons(T123, X130)) → APPENDE_IN_GGA(T124, T125, X130)
U10_GGGAA(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_GGGAA(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U10_GGGAA(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98, T60)

The TRS R consists of the following rules:

permA_in_ga(nil, nil) → permA_out_ga(nil, nil)
permA_in_ga(cons(T30, T31), cons(T30, T32)) → U1_ga(T30, T31, T32, pB_in_gaa(T31, X23, T32))
pB_in_gaa(T31, T34, T32) → U6_gaa(T31, T34, T32, appendF_in_ga(T31, T34))
appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
U6_gaa(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_gaa(T31, T34, T32, permA_in_ga(T34, T32))
permA_in_ga(cons(T47, T48), cons(T50, T51)) → U2_ga(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
pC_in_gaaagaa(T48, T58, T50, T59, T47, X23, T60) → U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
pH_in_gggaa(T47, T58, T59, T98, T60) → U10_gggaa(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U10_gggaa(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_gggaa(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U11_gggaa(T47, T58, T59, T98, T60, permA_out_ga(T98, T60)) → pH_out_gggaa(T47, T58, T59, T98, T60)
U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_out_gggaa(T47, T58, T59, X23, T60)) → pC_out_gaaagaa(T48, T58, T50, T59, T47, X23, T60)
U2_ga(T47, T48, T50, T51, pC_out_gaaagaa(T48, X56, T50, X57, T47, X23, T51)) → permA_out_ga(cons(T47, T48), cons(T50, T51))
U7_gaa(T31, T34, T32, permA_out_ga(T34, T32)) → pB_out_gaa(T31, T34, T32)
U1_ga(T30, T31, T32, pB_out_gaa(T31, X23, T32)) → permA_out_ga(cons(T30, T31), cons(T30, T32))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
nil  =  nil
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
cons(x1, x2)  =  cons(x1, x2)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x1, x2, x4)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x2, x4)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
pC_in_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_in_gaaagaa(x1, x5)
U8_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_gaaagaa(x1, x5, x8)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
U9_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaagaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U10_gggaa(x1, x2, x3, x4, x5, x6)  =  U10_gggaa(x1, x2, x3, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
U11_gggaa(x1, x2, x3, x4, x5, x6)  =  U11_gggaa(x1, x2, x3, x4, x6)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
U1_GA(x1, x2, x3, x4)  =  U1_GA(x1, x2, x4)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x1, x4)
APPENDF_IN_GA(x1, x2)  =  APPENDF_IN_GA(x1)
U7_GAA(x1, x2, x3, x4)  =  U7_GAA(x1, x2, x4)
U2_GA(x1, x2, x3, x4, x5)  =  U2_GA(x1, x2, x5)
PC_IN_GAAAGAA(x1, x2, x3, x4, x5, x6, x7)  =  PC_IN_GAAAGAA(x1, x5)
U8_GAAAGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_GAAAGAA(x1, x5, x8)
SPLITD_IN_GAAA(x1, x2, x3, x4)  =  SPLITD_IN_GAAA(x1)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x2, x6)
U9_GAAAGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_GAAAGAA(x1, x2, x3, x4, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U10_GGGAA(x1, x2, x3, x4, x5, x6)  =  U10_GGGAA(x1, x2, x3, x6)
APPENDG_IN_GGGA(x1, x2, x3, x4)  =  APPENDG_IN_GGGA(x1, x2, x3)
U5_GGGA(x1, x2, x3, x4, x5)  =  U5_GGGA(x1, x2, x3, x5)
APPENDE_IN_GGA(x1, x2, x3)  =  APPENDE_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U11_GGGAA(x1, x2, x3, x4, x5, x6)  =  U11_GGGAA(x1, x2, x3, x4, x6)

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:

APPENDE_IN_GGA(cons(T123, T124), T125, cons(T123, X130)) → APPENDE_IN_GGA(T124, T125, X130)

The TRS R consists of the following rules:

permA_in_ga(nil, nil) → permA_out_ga(nil, nil)
permA_in_ga(cons(T30, T31), cons(T30, T32)) → U1_ga(T30, T31, T32, pB_in_gaa(T31, X23, T32))
pB_in_gaa(T31, T34, T32) → U6_gaa(T31, T34, T32, appendF_in_ga(T31, T34))
appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
U6_gaa(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_gaa(T31, T34, T32, permA_in_ga(T34, T32))
permA_in_ga(cons(T47, T48), cons(T50, T51)) → U2_ga(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
pC_in_gaaagaa(T48, T58, T50, T59, T47, X23, T60) → U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
pH_in_gggaa(T47, T58, T59, T98, T60) → U10_gggaa(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U10_gggaa(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_gggaa(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U11_gggaa(T47, T58, T59, T98, T60, permA_out_ga(T98, T60)) → pH_out_gggaa(T47, T58, T59, T98, T60)
U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_out_gggaa(T47, T58, T59, X23, T60)) → pC_out_gaaagaa(T48, T58, T50, T59, T47, X23, T60)
U2_ga(T47, T48, T50, T51, pC_out_gaaagaa(T48, X56, T50, X57, T47, X23, T51)) → permA_out_ga(cons(T47, T48), cons(T50, T51))
U7_gaa(T31, T34, T32, permA_out_ga(T34, T32)) → pB_out_gaa(T31, T34, T32)
U1_ga(T30, T31, T32, pB_out_gaa(T31, X23, T32)) → permA_out_ga(cons(T30, T31), cons(T30, T32))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
nil  =  nil
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
cons(x1, x2)  =  cons(x1, x2)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x1, x2, x4)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x2, x4)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
pC_in_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_in_gaaagaa(x1, x5)
U8_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_gaaagaa(x1, x5, x8)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
U9_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaagaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U10_gggaa(x1, x2, x3, x4, x5, x6)  =  U10_gggaa(x1, x2, x3, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
U11_gggaa(x1, x2, x3, x4, x5, x6)  =  U11_gggaa(x1, x2, x3, x4, x6)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
APPENDE_IN_GGA(x1, x2, x3)  =  APPENDE_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:

APPENDE_IN_GGA(cons(T123, T124), T125, cons(T123, X130)) → APPENDE_IN_GGA(T124, T125, X130)

R is empty.
The argument filtering Pi contains the following mapping:
cons(x1, x2)  =  cons(x1, x2)
APPENDE_IN_GGA(x1, x2, x3)  =  APPENDE_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:

APPENDE_IN_GGA(cons(T123, T124), T125) → APPENDE_IN_GGA(T124, T125)

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:

  • APPENDE_IN_GGA(cons(T123, T124), T125) → APPENDE_IN_GGA(T124, T125)
    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:

SPLITD_IN_GAAA(cons(T88, T89), cons(T88, X83), T91, X84) → SPLITD_IN_GAAA(T89, X83, T91, X84)

The TRS R consists of the following rules:

permA_in_ga(nil, nil) → permA_out_ga(nil, nil)
permA_in_ga(cons(T30, T31), cons(T30, T32)) → U1_ga(T30, T31, T32, pB_in_gaa(T31, X23, T32))
pB_in_gaa(T31, T34, T32) → U6_gaa(T31, T34, T32, appendF_in_ga(T31, T34))
appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
U6_gaa(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_gaa(T31, T34, T32, permA_in_ga(T34, T32))
permA_in_ga(cons(T47, T48), cons(T50, T51)) → U2_ga(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
pC_in_gaaagaa(T48, T58, T50, T59, T47, X23, T60) → U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
pH_in_gggaa(T47, T58, T59, T98, T60) → U10_gggaa(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U10_gggaa(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_gggaa(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U11_gggaa(T47, T58, T59, T98, T60, permA_out_ga(T98, T60)) → pH_out_gggaa(T47, T58, T59, T98, T60)
U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_out_gggaa(T47, T58, T59, X23, T60)) → pC_out_gaaagaa(T48, T58, T50, T59, T47, X23, T60)
U2_ga(T47, T48, T50, T51, pC_out_gaaagaa(T48, X56, T50, X57, T47, X23, T51)) → permA_out_ga(cons(T47, T48), cons(T50, T51))
U7_gaa(T31, T34, T32, permA_out_ga(T34, T32)) → pB_out_gaa(T31, T34, T32)
U1_ga(T30, T31, T32, pB_out_gaa(T31, X23, T32)) → permA_out_ga(cons(T30, T31), cons(T30, T32))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
nil  =  nil
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
cons(x1, x2)  =  cons(x1, x2)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x1, x2, x4)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x2, x4)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
pC_in_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_in_gaaagaa(x1, x5)
U8_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_gaaagaa(x1, x5, x8)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
U9_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaagaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U10_gggaa(x1, x2, x3, x4, x5, x6)  =  U10_gggaa(x1, x2, x3, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
U11_gggaa(x1, x2, x3, x4, x5, x6)  =  U11_gggaa(x1, x2, x3, x4, x6)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
SPLITD_IN_GAAA(x1, x2, x3, x4)  =  SPLITD_IN_GAAA(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:

SPLITD_IN_GAAA(cons(T88, T89), cons(T88, X83), T91, X84) → SPLITD_IN_GAAA(T89, X83, T91, X84)

R is empty.
The argument filtering Pi contains the following mapping:
cons(x1, x2)  =  cons(x1, x2)
SPLITD_IN_GAAA(x1, x2, x3, x4)  =  SPLITD_IN_GAAA(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:

SPLITD_IN_GAAA(cons(T88, T89)) → SPLITD_IN_GAAA(T89)

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:

  • SPLITD_IN_GAAA(cons(T88, T89)) → SPLITD_IN_GAAA(T89)
    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(cons(T30, T31), cons(T30, T32)) → PB_IN_GAA(T31, X23, T32)
PB_IN_GAA(T31, T34, T32) → U6_GAA(T31, T34, T32, appendF_in_ga(T31, T34))
U6_GAA(T31, T34, T32, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34, T32)
PERMA_IN_GA(cons(T47, T48), cons(T50, T51)) → PC_IN_GAAAGAA(T48, X56, T50, X57, T47, X23, T51)
PC_IN_GAAAGAA(T48, T58, T50, T59, T47, X23, T60) → U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59, X23, T60)
PH_IN_GGGAA(T47, T58, T59, T98, T60) → U10_GGGAA(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
U10_GGGAA(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98, T60)

The TRS R consists of the following rules:

permA_in_ga(nil, nil) → permA_out_ga(nil, nil)
permA_in_ga(cons(T30, T31), cons(T30, T32)) → U1_ga(T30, T31, T32, pB_in_gaa(T31, X23, T32))
pB_in_gaa(T31, T34, T32) → U6_gaa(T31, T34, T32, appendF_in_ga(T31, T34))
appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
U6_gaa(T31, T34, T32, appendF_out_ga(T31, T34)) → U7_gaa(T31, T34, T32, permA_in_ga(T34, T32))
permA_in_ga(cons(T47, T48), cons(T50, T51)) → U2_ga(T47, T48, T50, T51, pC_in_gaaagaa(T48, X56, T50, X57, T47, X23, T51))
pC_in_gaaagaa(T48, T58, T50, T59, T47, X23, T60) → U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U8_gaaagaa(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_in_gggaa(T47, T58, T59, X23, T60))
pH_in_gggaa(T47, T58, T59, T98, T60) → U10_gggaa(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U10_gggaa(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → U11_gggaa(T47, T58, T59, T98, T60, permA_in_ga(T98, T60))
U11_gggaa(T47, T58, T59, T98, T60, permA_out_ga(T98, T60)) → pH_out_gggaa(T47, T58, T59, T98, T60)
U9_gaaagaa(T48, T58, T50, T59, T47, X23, T60, pH_out_gggaa(T47, T58, T59, X23, T60)) → pC_out_gaaagaa(T48, T58, T50, T59, T47, X23, T60)
U2_ga(T47, T48, T50, T51, pC_out_gaaagaa(T48, X56, T50, X57, T47, X23, T51)) → permA_out_ga(cons(T47, T48), cons(T50, T51))
U7_gaa(T31, T34, T32, permA_out_ga(T34, T32)) → pB_out_gaa(T31, T34, T32)
U1_ga(T30, T31, T32, pB_out_gaa(T31, X23, T32)) → permA_out_ga(cons(T30, T31), cons(T30, T32))

The argument filtering Pi contains the following mapping:
permA_in_ga(x1, x2)  =  permA_in_ga(x1)
nil  =  nil
permA_out_ga(x1, x2)  =  permA_out_ga(x1, x2)
cons(x1, x2)  =  cons(x1, x2)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x1, x2, x4)
pB_in_gaa(x1, x2, x3)  =  pB_in_gaa(x1)
U6_gaa(x1, x2, x3, x4)  =  U6_gaa(x1, x4)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
U7_gaa(x1, x2, x3, x4)  =  U7_gaa(x1, x2, x4)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
pC_in_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_in_gaaagaa(x1, x5)
U8_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_gaaagaa(x1, x5, x8)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
U9_gaaagaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaagaa(x1, x2, x3, x4, x5, x8)
pH_in_gggaa(x1, x2, x3, x4, x5)  =  pH_in_gggaa(x1, x2, x3)
U10_gggaa(x1, x2, x3, x4, x5, x6)  =  U10_gggaa(x1, x2, x3, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
U11_gggaa(x1, x2, x3, x4, x5, x6)  =  U11_gggaa(x1, x2, x3, x4, x6)
pH_out_gggaa(x1, x2, x3, x4, x5)  =  pH_out_gggaa(x1, x2, x3, x4, x5)
pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)  =  pC_out_gaaagaa(x1, x2, x3, x4, x5, x6, x7)
pB_out_gaa(x1, x2, x3)  =  pB_out_gaa(x1, x2, x3)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x1, x4)
PC_IN_GAAAGAA(x1, x2, x3, x4, x5, x6, x7)  =  PC_IN_GAAAGAA(x1, x5)
U8_GAAAGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_GAAAGAA(x1, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U10_GGGAA(x1, x2, x3, x4, x5, x6)  =  U10_GGGAA(x1, x2, x3, x6)

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(cons(T30, T31), cons(T30, T32)) → PB_IN_GAA(T31, X23, T32)
PB_IN_GAA(T31, T34, T32) → U6_GAA(T31, T34, T32, appendF_in_ga(T31, T34))
U6_GAA(T31, T34, T32, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34, T32)
PERMA_IN_GA(cons(T47, T48), cons(T50, T51)) → PC_IN_GAAAGAA(T48, X56, T50, X57, T47, X23, T51)
PC_IN_GAAAGAA(T48, T58, T50, T59, T47, X23, T60) → U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_in_gaaa(T48, T58, T50, T59))
U8_GAAAGAA(T48, T58, T50, T59, T47, X23, T60, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59, X23, T60)
PH_IN_GGGAA(T47, T58, T59, T98, T60) → U10_GGGAA(T47, T58, T59, T98, T60, appendG_in_ggga(T47, T58, T59, T98))
U10_GGGAA(T47, T58, T59, T98, T60, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98, T60)

The TRS R consists of the following rules:

appendF_in_ga(T40, T40) → appendF_out_ga(T40, T40)
splitD_in_gaaa(cons(T80, T81), nil, T80, T81) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89), cons(T88, X83), T91, X84) → U3_gaaa(T88, T89, X83, T91, X84, splitD_in_gaaa(T89, X83, T91, X84))
appendG_in_ggga(T107, T108, T109, cons(T107, X108)) → U5_ggga(T107, T108, T109, X108, appendE_in_gga(T108, T109, X108))
U3_gaaa(T88, T89, X83, T91, X84, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U5_ggga(T107, T108, T109, X108, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
appendE_in_gga(nil, T116, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125, cons(T123, X130)) → U4_gga(T123, T124, T125, X130, appendE_in_gga(T124, T125, X130))
U4_gga(T123, T124, T125, X130, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))

The argument filtering Pi contains the following mapping:
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
appendF_in_ga(x1, x2)  =  appendF_in_ga(x1)
appendF_out_ga(x1, x2)  =  appendF_out_ga(x1, x2)
splitD_in_gaaa(x1, x2, x3, x4)  =  splitD_in_gaaa(x1)
splitD_out_gaaa(x1, x2, x3, x4)  =  splitD_out_gaaa(x1, x2, x3, x4)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x2, x6)
appendG_in_ggga(x1, x2, x3, x4)  =  appendG_in_ggga(x1, x2, x3)
U5_ggga(x1, x2, x3, x4, x5)  =  U5_ggga(x1, x2, x3, x5)
appendE_in_gga(x1, x2, x3)  =  appendE_in_gga(x1, x2)
appendE_out_gga(x1, x2, x3)  =  appendE_out_gga(x1, x2, x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x2, x3, x5)
appendG_out_ggga(x1, x2, x3, x4)  =  appendG_out_ggga(x1, x2, x3, x4)
PERMA_IN_GA(x1, x2)  =  PERMA_IN_GA(x1)
PB_IN_GAA(x1, x2, x3)  =  PB_IN_GAA(x1)
U6_GAA(x1, x2, x3, x4)  =  U6_GAA(x1, x4)
PC_IN_GAAAGAA(x1, x2, x3, x4, x5, x6, x7)  =  PC_IN_GAAAGAA(x1, x5)
U8_GAAAGAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U8_GAAAGAA(x1, x5, x8)
PH_IN_GGGAA(x1, x2, x3, x4, x5)  =  PH_IN_GGGAA(x1, x2, x3)
U10_GGGAA(x1, x2, x3, x4, x5, x6)  =  U10_GGGAA(x1, x2, x3, x6)

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(cons(T30, T31)) → PB_IN_GAA(T31)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_in_ga(T31))
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, appendG_in_ggga(T47, T58, T59))
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)

The TRS R consists of the following rules:

appendF_in_ga(T40) → appendF_out_ga(T40, T40)
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
appendG_in_ggga(T107, T108, T109) → U5_ggga(T107, T108, T109, appendE_in_gga(T108, T109))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))

The set Q consists of the following terms:

appendF_in_ga(x0)
splitD_in_gaaa(x0)
appendG_in_ggga(x0, x1, x2)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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 PB_IN_GAA(T31) → U6_GAA(T31, appendF_in_ga(T31)) at position [1] we obtained the following new rules [LPAR04]:

PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))

(27) Obligation:

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

PERMA_IN_GA(cons(T30, T31)) → PB_IN_GAA(T31)
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, appendG_in_ggga(T47, T58, T59))
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))

The TRS R consists of the following rules:

appendF_in_ga(T40) → appendF_out_ga(T40, T40)
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
appendG_in_ggga(T107, T108, T109) → U5_ggga(T107, T108, T109, appendE_in_gga(T108, T109))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))

The set Q consists of the following terms:

appendF_in_ga(x0)
splitD_in_gaaa(x0)
appendG_in_ggga(x0, x1, x2)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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(cons(T30, T31)) → PB_IN_GAA(T31)
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, appendG_in_ggga(T47, T58, T59))
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))

The TRS R consists of the following rules:

appendG_in_ggga(T107, T108, T109) → U5_ggga(T107, T108, T109, appendE_in_gga(T108, T109))
appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

appendF_in_ga(x0)
splitD_in_gaaa(x0)
appendG_in_ggga(x0, x1, x2)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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].

appendF_in_ga(x0)

(31) Obligation:

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

PERMA_IN_GA(cons(T30, T31)) → PB_IN_GAA(T31)
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, appendG_in_ggga(T47, T58, T59))
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))

The TRS R consists of the following rules:

appendG_in_ggga(T107, T108, T109) → U5_ggga(T107, T108, T109, appendE_in_gga(T108, T109))
appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

splitD_in_gaaa(x0)
appendG_in_ggga(x0, x1, x2)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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 PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, appendG_in_ggga(T47, T58, T59)) at position [3] we obtained the following new rules [LPAR04]:

PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, U5_ggga(T47, T58, T59, appendE_in_gga(T58, T59)))

(33) Obligation:

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

PERMA_IN_GA(cons(T30, T31)) → PB_IN_GAA(T31)
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, U5_ggga(T47, T58, T59, appendE_in_gga(T58, T59)))

The TRS R consists of the following rules:

appendG_in_ggga(T107, T108, T109) → U5_ggga(T107, T108, T109, appendE_in_gga(T108, T109))
appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

splitD_in_gaaa(x0)
appendG_in_ggga(x0, x1, x2)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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(cons(T30, T31)) → PB_IN_GAA(T31)
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, U5_ggga(T47, T58, T59, appendE_in_gga(T58, T59)))

The TRS R consists of the following rules:

appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

splitD_in_gaaa(x0)
appendG_in_ggga(x0, x1, x2)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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].

appendG_in_ggga(x0, x1, x2)

(37) Obligation:

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

PERMA_IN_GA(cons(T30, T31)) → PB_IN_GAA(T31)
U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, U5_ggga(T47, T58, T59, appendE_in_gga(T58, T59)))

The TRS R consists of the following rules:

appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

splitD_in_gaaa(x0)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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 U6_GAA(T31, appendF_out_ga(T31, T34)) → PERMA_IN_GA(T34) we obtained the following new rules [LPAR04]:

U6_GAA(z0, appendF_out_ga(z0, z0)) → PERMA_IN_GA(z0)

(39) Obligation:

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

PERMA_IN_GA(cons(T30, T31)) → PB_IN_GAA(T31)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, U5_ggga(T47, T58, T59, appendE_in_gga(T58, T59)))
U6_GAA(z0, appendF_out_ga(z0, z0)) → PERMA_IN_GA(z0)

The TRS R consists of the following rules:

appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

splitD_in_gaaa(x0)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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.


PC_IN_GAAAGAA(T48, T47) → U8_GAAAGAA(T48, T47, splitD_in_gaaa(T48))
U6_GAA(z0, appendF_out_ga(z0, z0)) → PERMA_IN_GA(z0)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(PB_IN_GAA(x1)) = 1 + x1   
POL(PC_IN_GAAAGAA(x1, x2)) = 1 + x1   
POL(PERMA_IN_GA(x1)) = x1   
POL(PH_IN_GGGAA(x1, x2, x3)) = x2 + x3   
POL(U10_GGGAA(x1, x2, x3, x4)) = x4   
POL(U3_gaaa(x1, x2, x3)) = 1 + x3   
POL(U4_gga(x1, x2, x3, x4)) = 1 + x4   
POL(U5_ggga(x1, x2, x3, x4)) = x4   
POL(U6_GAA(x1, x2)) = x2   
POL(U8_GAAAGAA(x1, x2, x3)) = x3   
POL(appendE_in_gga(x1, x2)) = x1 + x2   
POL(appendE_out_gga(x1, x2, x3)) = 1 + x3   
POL(appendF_out_ga(x1, x2)) = 1 + x1   
POL(appendG_out_ggga(x1, x2, x3, x4)) = x4   
POL(cons(x1, x2)) = 1 + x2   
POL(nil) = 1   
POL(splitD_in_gaaa(x1)) = x1   
POL(splitD_out_gaaa(x1, x2, x3, x4)) = x2 + x4   

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

splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

(41) Obligation:

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

PERMA_IN_GA(cons(T30, T31)) → PB_IN_GAA(T31)
PERMA_IN_GA(cons(T47, T48)) → PC_IN_GAAAGAA(T48, T47)
U8_GAAAGAA(T48, T47, splitD_out_gaaa(T48, T58, T50, T59)) → PH_IN_GGGAA(T47, T58, T59)
U10_GGGAA(T47, T58, T59, appendG_out_ggga(T47, T58, T59, T98)) → PERMA_IN_GA(T98)
PB_IN_GAA(T31) → U6_GAA(T31, appendF_out_ga(T31, T31))
PH_IN_GGGAA(T47, T58, T59) → U10_GGGAA(T47, T58, T59, U5_ggga(T47, T58, T59, appendE_in_gga(T58, T59)))

The TRS R consists of the following rules:

appendE_in_gga(nil, T116) → appendE_out_gga(nil, T116, T116)
appendE_in_gga(cons(T123, T124), T125) → U4_gga(T123, T124, T125, appendE_in_gga(T124, T125))
U5_ggga(T107, T108, T109, appendE_out_gga(T108, T109, X108)) → appendG_out_ggga(T107, T108, T109, cons(T107, X108))
U4_gga(T123, T124, T125, appendE_out_gga(T124, T125, X130)) → appendE_out_gga(cons(T123, T124), T125, cons(T123, X130))
splitD_in_gaaa(cons(T80, T81)) → splitD_out_gaaa(cons(T80, T81), nil, T80, T81)
splitD_in_gaaa(cons(T88, T89)) → U3_gaaa(T88, T89, splitD_in_gaaa(T89))
U3_gaaa(T88, T89, splitD_out_gaaa(T89, X83, T91, X84)) → splitD_out_gaaa(cons(T88, T89), cons(T88, X83), T91, X84)

The set Q consists of the following terms:

splitD_in_gaaa(x0)
U3_gaaa(x0, x1, x2)
U5_ggga(x0, x1, x2, x3)
appendE_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