(0) Obligation:

Clauses:

reach(X, Y, Edges, Not_Visited) :- member(.(X, .(Y, [])), Edges).
reach(X, Z, Edges, Not_Visited) :- ','(member(.(X, .(Y, [])), Edges), ','(member(Y, Not_Visited), ','(delete(Y, Not_Visited, V1), reach(Y, Z, Edges, V1)))).
member(H, .(H, L)).
member(X, .(H, L)) :- member(X, L).
delete(X, .(X, Y), Y).
delete(X, .(H, T1), .(H, T2)) :- delete(X, T1, T2).

Query: reach(g,g,g,g)

(1) PrologToPiTRSViaGraphTransformerProof (SOUND transformation)

Transformed Prolog program to (Pi-)TRS.

(2) Obligation:

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

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)

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

REACHA_IN_GGGG(T46, T47, .(T48, T49), T14) → U1_GGGG(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
REACHA_IN_GGGG(T46, T47, .(T48, T49), T14) → MEMBERB_IN_GGG(T46, T47, T49)
MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → U3_GGG(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → MEMBERB_IN_GGG(T79, T80, T82)
REACHA_IN_GGGG(T103, T104, T105, T106) → U2_GGGG(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
REACHA_IN_GGGG(T103, T104, T105, T106) → PC_IN_GAGGAG(T103, X81, T105, T106, X82, T104)
PC_IN_GAGGAG(T103, T113, T105, T106, X82, T104) → U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
PC_IN_GAGGAG(T103, T113, T105, T106, X82, T104) → MEMBERD_IN_GAG(T103, T113, T105)
MEMBERD_IN_GAG(T141, X121, .(T142, T143)) → U4_GAG(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
MEMBERD_IN_GAG(T141, X121, .(T142, T143)) → MEMBERD_IN_GAG(T141, X121, T143)
U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_GAGGAG(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → PG_IN_GGAGG(T113, T106, X82, T104, T105)
PG_IN_GGAGG(T113, T106, X82, T104, T105) → U9_GGAGG(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
PG_IN_GGAGG(T113, T106, X82, T104, T105) → MEMBERE_IN_GG(T113, T106)
MEMBERE_IN_GG(T174, .(T175, T176)) → U5_GG(T174, T175, T176, memberE_in_gg(T174, T176))
MEMBERE_IN_GG(T174, .(T175, T176)) → MEMBERE_IN_GG(T174, T176)
U9_GGAGG(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_GGAGG(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
U9_GGAGG(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → PH_IN_GGAGG(T113, T106, X82, T104, T105)
PH_IN_GGAGG(T113, T106, T185, T104, T105) → U11_GGAGG(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
PH_IN_GGAGG(T113, T106, T185, T104, T105) → DELETEF_IN_GGA(T113, T106, T185)
DELETEF_IN_GGA(T206, .(T207, T208), .(T207, X191)) → U6_GGA(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
DELETEF_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETEF_IN_GGA(T206, T208, X191)
U11_GGAGG(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_GGAGG(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U11_GGAGG(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → REACHA_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
REACHA_IN_GGGG(x1, x2, x3, x4)  =  REACHA_IN_GGGG(x1, x2, x3, x4)
U1_GGGG(x1, x2, x3, x4, x5, x6)  =  U1_GGGG(x1, x2, x3, x4, x5, x6)
MEMBERB_IN_GGG(x1, x2, x3)  =  MEMBERB_IN_GGG(x1, x2, x3)
U3_GGG(x1, x2, x3, x4, x5)  =  U3_GGG(x1, x2, x3, x4, x5)
U2_GGGG(x1, x2, x3, x4, x5)  =  U2_GGGG(x1, x2, x3, x4, x5)
PC_IN_GAGGAG(x1, x2, x3, x4, x5, x6)  =  PC_IN_GAGGAG(x1, x3, x4, x6)
U7_GAGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U7_GAGGAG(x1, x3, x4, x6, x7)
MEMBERD_IN_GAG(x1, x2, x3)  =  MEMBERD_IN_GAG(x1, x3)
U4_GAG(x1, x2, x3, x4, x5)  =  U4_GAG(x1, x3, x4, x5)
U8_GAGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U8_GAGGAG(x1, x2, x3, x4, x6, x7)
PG_IN_GGAGG(x1, x2, x3, x4, x5)  =  PG_IN_GGAGG(x1, x2, x4, x5)
U9_GGAGG(x1, x2, x3, x4, x5, x6)  =  U9_GGAGG(x1, x2, x4, x5, x6)
MEMBERE_IN_GG(x1, x2)  =  MEMBERE_IN_GG(x1, x2)
U5_GG(x1, x2, x3, x4)  =  U5_GG(x1, x2, x3, x4)
U10_GGAGG(x1, x2, x3, x4, x5, x6)  =  U10_GGAGG(x1, x2, x4, x5, x6)
PH_IN_GGAGG(x1, x2, x3, x4, x5)  =  PH_IN_GGAGG(x1, x2, x4, x5)
U11_GGAGG(x1, x2, x3, x4, x5, x6)  =  U11_GGAGG(x1, x2, x4, x5, x6)
DELETEF_IN_GGA(x1, x2, x3)  =  DELETEF_IN_GGA(x1, x2)
U6_GGA(x1, x2, x3, x4, x5)  =  U6_GGA(x1, x2, x3, x5)
U12_GGAGG(x1, x2, x3, x4, x5, x6)  =  U12_GGAGG(x1, x2, x3, x4, x5, x6)

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

(4) Obligation:

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

REACHA_IN_GGGG(T46, T47, .(T48, T49), T14) → U1_GGGG(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
REACHA_IN_GGGG(T46, T47, .(T48, T49), T14) → MEMBERB_IN_GGG(T46, T47, T49)
MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → U3_GGG(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → MEMBERB_IN_GGG(T79, T80, T82)
REACHA_IN_GGGG(T103, T104, T105, T106) → U2_GGGG(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
REACHA_IN_GGGG(T103, T104, T105, T106) → PC_IN_GAGGAG(T103, X81, T105, T106, X82, T104)
PC_IN_GAGGAG(T103, T113, T105, T106, X82, T104) → U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
PC_IN_GAGGAG(T103, T113, T105, T106, X82, T104) → MEMBERD_IN_GAG(T103, T113, T105)
MEMBERD_IN_GAG(T141, X121, .(T142, T143)) → U4_GAG(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
MEMBERD_IN_GAG(T141, X121, .(T142, T143)) → MEMBERD_IN_GAG(T141, X121, T143)
U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_GAGGAG(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → PG_IN_GGAGG(T113, T106, X82, T104, T105)
PG_IN_GGAGG(T113, T106, X82, T104, T105) → U9_GGAGG(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
PG_IN_GGAGG(T113, T106, X82, T104, T105) → MEMBERE_IN_GG(T113, T106)
MEMBERE_IN_GG(T174, .(T175, T176)) → U5_GG(T174, T175, T176, memberE_in_gg(T174, T176))
MEMBERE_IN_GG(T174, .(T175, T176)) → MEMBERE_IN_GG(T174, T176)
U9_GGAGG(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_GGAGG(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
U9_GGAGG(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → PH_IN_GGAGG(T113, T106, X82, T104, T105)
PH_IN_GGAGG(T113, T106, T185, T104, T105) → U11_GGAGG(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
PH_IN_GGAGG(T113, T106, T185, T104, T105) → DELETEF_IN_GGA(T113, T106, T185)
DELETEF_IN_GGA(T206, .(T207, T208), .(T207, X191)) → U6_GGA(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
DELETEF_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETEF_IN_GGA(T206, T208, X191)
U11_GGAGG(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_GGAGG(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U11_GGAGG(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → REACHA_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
REACHA_IN_GGGG(x1, x2, x3, x4)  =  REACHA_IN_GGGG(x1, x2, x3, x4)
U1_GGGG(x1, x2, x3, x4, x5, x6)  =  U1_GGGG(x1, x2, x3, x4, x5, x6)
MEMBERB_IN_GGG(x1, x2, x3)  =  MEMBERB_IN_GGG(x1, x2, x3)
U3_GGG(x1, x2, x3, x4, x5)  =  U3_GGG(x1, x2, x3, x4, x5)
U2_GGGG(x1, x2, x3, x4, x5)  =  U2_GGGG(x1, x2, x3, x4, x5)
PC_IN_GAGGAG(x1, x2, x3, x4, x5, x6)  =  PC_IN_GAGGAG(x1, x3, x4, x6)
U7_GAGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U7_GAGGAG(x1, x3, x4, x6, x7)
MEMBERD_IN_GAG(x1, x2, x3)  =  MEMBERD_IN_GAG(x1, x3)
U4_GAG(x1, x2, x3, x4, x5)  =  U4_GAG(x1, x3, x4, x5)
U8_GAGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U8_GAGGAG(x1, x2, x3, x4, x6, x7)
PG_IN_GGAGG(x1, x2, x3, x4, x5)  =  PG_IN_GGAGG(x1, x2, x4, x5)
U9_GGAGG(x1, x2, x3, x4, x5, x6)  =  U9_GGAGG(x1, x2, x4, x5, x6)
MEMBERE_IN_GG(x1, x2)  =  MEMBERE_IN_GG(x1, x2)
U5_GG(x1, x2, x3, x4)  =  U5_GG(x1, x2, x3, x4)
U10_GGAGG(x1, x2, x3, x4, x5, x6)  =  U10_GGAGG(x1, x2, x4, x5, x6)
PH_IN_GGAGG(x1, x2, x3, x4, x5)  =  PH_IN_GGAGG(x1, x2, x4, x5)
U11_GGAGG(x1, x2, x3, x4, x5, x6)  =  U11_GGAGG(x1, x2, x4, x5, x6)
DELETEF_IN_GGA(x1, x2, x3)  =  DELETEF_IN_GGA(x1, x2)
U6_GGA(x1, x2, x3, x4, x5)  =  U6_GGA(x1, x2, x3, x5)
U12_GGAGG(x1, x2, x3, x4, x5, x6)  =  U12_GGAGG(x1, x2, x3, x4, x5, x6)

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

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 5 SCCs with 13 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

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

DELETEF_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETEF_IN_GGA(T206, T208, X191)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
DELETEF_IN_GGA(x1, x2, x3)  =  DELETEF_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:

DELETEF_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETEF_IN_GGA(T206, T208, X191)

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

DELETEF_IN_GGA(T206, .(T207, T208)) → DELETEF_IN_GGA(T206, T208)

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:

  • DELETEF_IN_GGA(T206, .(T207, T208)) → DELETEF_IN_GGA(T206, T208)
    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:

MEMBERE_IN_GG(T174, .(T175, T176)) → MEMBERE_IN_GG(T174, T176)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
MEMBERE_IN_GG(x1, x2)  =  MEMBERE_IN_GG(x1, x2)

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:

MEMBERE_IN_GG(T174, .(T175, T176)) → MEMBERE_IN_GG(T174, T176)

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

(17) PiDPToQDPProof (EQUIVALENT 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:

MEMBERE_IN_GG(T174, .(T175, T176)) → MEMBERE_IN_GG(T174, T176)

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:

  • MEMBERE_IN_GG(T174, .(T175, T176)) → MEMBERE_IN_GG(T174, T176)
    The graph contains the following edges 1 >= 1, 2 > 2

(20) YES

(21) Obligation:

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

MEMBERD_IN_GAG(T141, X121, .(T142, T143)) → MEMBERD_IN_GAG(T141, X121, T143)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
MEMBERD_IN_GAG(x1, x2, x3)  =  MEMBERD_IN_GAG(x1, x3)

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:

MEMBERD_IN_GAG(T141, X121, .(T142, T143)) → MEMBERD_IN_GAG(T141, X121, T143)

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

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:

MEMBERD_IN_GAG(T141, .(T142, T143)) → MEMBERD_IN_GAG(T141, T143)

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

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

  • MEMBERD_IN_GAG(T141, .(T142, T143)) → MEMBERD_IN_GAG(T141, T143)
    The graph contains the following edges 1 >= 1, 2 > 2

(27) YES

(28) Obligation:

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

MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → MEMBERB_IN_GGG(T79, T80, T82)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
MEMBERB_IN_GGG(x1, x2, x3)  =  MEMBERB_IN_GGG(x1, x2, x3)

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

(29) UsableRulesProof (EQUIVALENT transformation)

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

(30) Obligation:

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

MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → MEMBERB_IN_GGG(T79, T80, T82)

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

(31) PiDPToQDPProof (EQUIVALENT transformation)

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

(32) Obligation:

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

MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → MEMBERB_IN_GGG(T79, T80, T82)

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

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

  • MEMBERB_IN_GGG(T79, T80, .(T81, T82)) → MEMBERB_IN_GGG(T79, T80, T82)
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3

(34) YES

(35) Obligation:

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

REACHA_IN_GGGG(T103, T104, T105, T106) → PC_IN_GAGGAG(T103, X81, T105, T106, X82, T104)
PC_IN_GAGGAG(T103, T113, T105, T106, X82, T104) → U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → PG_IN_GGAGG(T113, T106, X82, T104, T105)
PG_IN_GGAGG(T113, T106, X82, T104, T105) → U9_GGAGG(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
U9_GGAGG(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → PH_IN_GGAGG(T113, T106, X82, T104, T105)
PH_IN_GGAGG(T113, T106, T185, T104, T105) → U11_GGAGG(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
U11_GGAGG(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → REACHA_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

reachA_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachA_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachA_in_gggg(T46, T47, .(T48, T49), T14) → U1_gggg(T46, T47, T48, T49, T14, memberB_in_ggg(T46, T47, T49))
memberB_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberB_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberB_in_ggg(T79, T80, .(T81, T82)) → U3_ggg(T79, T80, T81, T82, memberB_in_ggg(T79, T80, T82))
U3_ggg(T79, T80, T81, T82, memberB_out_ggg(T79, T80, T82)) → memberB_out_ggg(T79, T80, .(T81, T82))
U1_gggg(T46, T47, T48, T49, T14, memberB_out_ggg(T46, T47, T49)) → reachA_out_gggg(T46, T47, .(T48, T49), T14)
reachA_in_gggg(T103, T104, T105, T106) → U2_gggg(T103, T104, T105, T106, pC_in_gaggag(T103, X81, T105, T106, X82, T104))
pC_in_gaggag(T103, T113, T105, T106, X82, T104) → U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U7_gaggag(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → U8_gaggag(T103, T113, T105, T106, X82, T104, pG_in_ggagg(T113, T106, X82, T104, T105))
pG_in_ggagg(T113, T106, X82, T104, T105) → U9_ggagg(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U9_ggagg(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → U10_ggagg(T113, T106, X82, T104, T105, pH_in_ggagg(T113, T106, X82, T104, T105))
pH_in_ggagg(T113, T106, T185, T104, T105) → U11_ggagg(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))
U11_ggagg(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → U12_ggagg(T113, T106, T185, T104, T105, reachA_in_gggg(T113, T104, T105, T185))
U12_ggagg(T113, T106, T185, T104, T105, reachA_out_gggg(T113, T104, T105, T185)) → pH_out_ggagg(T113, T106, T185, T104, T105)
U10_ggagg(T113, T106, X82, T104, T105, pH_out_ggagg(T113, T106, X82, T104, T105)) → pG_out_ggagg(T113, T106, X82, T104, T105)
U8_gaggag(T103, T113, T105, T106, X82, T104, pG_out_ggagg(T113, T106, X82, T104, T105)) → pC_out_gaggag(T103, T113, T105, T106, X82, T104)
U2_gggg(T103, T104, T105, T106, pC_out_gaggag(T103, X81, T105, T106, X82, T104)) → reachA_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachA_in_gggg(x1, x2, x3, x4)  =  reachA_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachA_out_gggg(x1, x2, x3, x4)  =  reachA_out_gggg(x1, x2, x3, x4)
U1_gggg(x1, x2, x3, x4, x5, x6)  =  U1_gggg(x1, x2, x3, x4, x5, x6)
memberB_in_ggg(x1, x2, x3)  =  memberB_in_ggg(x1, x2, x3)
memberB_out_ggg(x1, x2, x3)  =  memberB_out_ggg(x1, x2, x3)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U2_gggg(x1, x2, x3, x4, x5)  =  U2_gggg(x1, x2, x3, x4, x5)
pC_in_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_in_gaggag(x1, x3, x4, x6)
U7_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U7_gaggag(x1, x3, x4, x6, x7)
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
U8_gaggag(x1, x2, x3, x4, x5, x6, x7)  =  U8_gaggag(x1, x2, x3, x4, x6, x7)
pG_in_ggagg(x1, x2, x3, x4, x5)  =  pG_in_ggagg(x1, x2, x4, x5)
U9_ggagg(x1, x2, x3, x4, x5, x6)  =  U9_ggagg(x1, x2, x4, x5, x6)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
U10_ggagg(x1, x2, x3, x4, x5, x6)  =  U10_ggagg(x1, x2, x4, x5, x6)
pH_in_ggagg(x1, x2, x3, x4, x5)  =  pH_in_ggagg(x1, x2, x4, x5)
U11_ggagg(x1, x2, x3, x4, x5, x6)  =  U11_ggagg(x1, x2, x4, x5, x6)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
U12_ggagg(x1, x2, x3, x4, x5, x6)  =  U12_ggagg(x1, x2, x3, x4, x5, x6)
pH_out_ggagg(x1, x2, x3, x4, x5)  =  pH_out_ggagg(x1, x2, x3, x4, x5)
pG_out_ggagg(x1, x2, x3, x4, x5)  =  pG_out_ggagg(x1, x2, x3, x4, x5)
pC_out_gaggag(x1, x2, x3, x4, x5, x6)  =  pC_out_gaggag(x1, x2, x3, x4, x5, x6)
REACHA_IN_GGGG(x1, x2, x3, x4)  =  REACHA_IN_GGGG(x1, x2, x3, x4)
PC_IN_GAGGAG(x1, x2, x3, x4, x5, x6)  =  PC_IN_GAGGAG(x1, x3, x4, x6)
U7_GAGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U7_GAGGAG(x1, x3, x4, x6, x7)
PG_IN_GGAGG(x1, x2, x3, x4, x5)  =  PG_IN_GGAGG(x1, x2, x4, x5)
U9_GGAGG(x1, x2, x3, x4, x5, x6)  =  U9_GGAGG(x1, x2, x4, x5, x6)
PH_IN_GGAGG(x1, x2, x3, x4, x5)  =  PH_IN_GGAGG(x1, x2, x4, x5)
U11_GGAGG(x1, x2, x3, x4, x5, x6)  =  U11_GGAGG(x1, x2, x4, x5, x6)

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

(36) UsableRulesProof (EQUIVALENT transformation)

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

(37) Obligation:

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

REACHA_IN_GGGG(T103, T104, T105, T106) → PC_IN_GAGGAG(T103, X81, T105, T106, X82, T104)
PC_IN_GAGGAG(T103, T113, T105, T106, X82, T104) → U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_in_gag(T103, T113, T105))
U7_GAGGAG(T103, T113, T105, T106, X82, T104, memberD_out_gag(T103, T113, T105)) → PG_IN_GGAGG(T113, T106, X82, T104, T105)
PG_IN_GGAGG(T113, T106, X82, T104, T105) → U9_GGAGG(T113, T106, X82, T104, T105, memberE_in_gg(T113, T106))
U9_GGAGG(T113, T106, X82, T104, T105, memberE_out_gg(T113, T106)) → PH_IN_GGAGG(T113, T106, X82, T104, T105)
PH_IN_GGAGG(T113, T106, T185, T104, T105) → U11_GGAGG(T113, T106, T185, T104, T105, deleteF_in_gga(T113, T106, T185))
U11_GGAGG(T113, T106, T185, T104, T105, deleteF_out_gga(T113, T106, T185)) → REACHA_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

memberD_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, X121, .(T142, T143)) → U4_gag(T141, X121, T142, T143, memberD_in_gag(T141, X121, T143))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
deleteF_in_gga(T198, .(T198, T199), T199) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208), .(T207, X191)) → U6_gga(T206, T207, T208, X191, deleteF_in_gga(T206, T208, X191))
U4_gag(T141, X121, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U6_gga(T206, T207, T208, X191, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
[]  =  []
memberD_in_gag(x1, x2, x3)  =  memberD_in_gag(x1, x3)
memberD_out_gag(x1, x2, x3)  =  memberD_out_gag(x1, x2, x3)
U4_gag(x1, x2, x3, x4, x5)  =  U4_gag(x1, x3, x4, x5)
memberE_in_gg(x1, x2)  =  memberE_in_gg(x1, x2)
memberE_out_gg(x1, x2)  =  memberE_out_gg(x1, x2)
U5_gg(x1, x2, x3, x4)  =  U5_gg(x1, x2, x3, x4)
deleteF_in_gga(x1, x2, x3)  =  deleteF_in_gga(x1, x2)
deleteF_out_gga(x1, x2, x3)  =  deleteF_out_gga(x1, x2, x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x2, x3, x5)
REACHA_IN_GGGG(x1, x2, x3, x4)  =  REACHA_IN_GGGG(x1, x2, x3, x4)
PC_IN_GAGGAG(x1, x2, x3, x4, x5, x6)  =  PC_IN_GAGGAG(x1, x3, x4, x6)
U7_GAGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U7_GAGGAG(x1, x3, x4, x6, x7)
PG_IN_GGAGG(x1, x2, x3, x4, x5)  =  PG_IN_GGAGG(x1, x2, x4, x5)
U9_GGAGG(x1, x2, x3, x4, x5, x6)  =  U9_GGAGG(x1, x2, x4, x5, x6)
PH_IN_GGAGG(x1, x2, x3, x4, x5)  =  PH_IN_GGAGG(x1, x2, x4, x5)
U11_GGAGG(x1, x2, x3, x4, x5, x6)  =  U11_GGAGG(x1, x2, x4, x5, x6)

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

(38) PiDPToQDPProof (SOUND transformation)

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

(39) Obligation:

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

REACHA_IN_GGGG(T103, T104, T105, T106) → PC_IN_GAGGAG(T103, T105, T106, T104)
PC_IN_GAGGAG(T103, T105, T106, T104) → U7_GAGGAG(T103, T105, T106, T104, memberD_in_gag(T103, T105))
U7_GAGGAG(T103, T105, T106, T104, memberD_out_gag(T103, T113, T105)) → PG_IN_GGAGG(T113, T106, T104, T105)
PG_IN_GGAGG(T113, T106, T104, T105) → U9_GGAGG(T113, T106, T104, T105, memberE_in_gg(T113, T106))
U9_GGAGG(T113, T106, T104, T105, memberE_out_gg(T113, T106)) → PH_IN_GGAGG(T113, T106, T104, T105)
PH_IN_GGAGG(T113, T106, T104, T105) → U11_GGAGG(T113, T106, T104, T105, deleteF_in_gga(T113, T106))
U11_GGAGG(T113, T106, T104, T105, deleteF_out_gga(T113, T106, T185)) → REACHA_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

memberD_in_gag(T132, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, .(T142, T143)) → U4_gag(T141, T142, T143, memberD_in_gag(T141, T143))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
deleteF_in_gga(T198, .(T198, T199)) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208)) → U6_gga(T206, T207, T208, deleteF_in_gga(T206, T208))
U4_gag(T141, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U6_gga(T206, T207, T208, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))

The set Q consists of the following terms:

memberD_in_gag(x0, x1)
memberE_in_gg(x0, x1)
deleteF_in_gga(x0, x1)
U4_gag(x0, x1, x2, x3)
U5_gg(x0, x1, x2, x3)
U6_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.


PG_IN_GGAGG(T113, T106, T104, T105) → U9_GGAGG(T113, T106, T104, T105, memberE_in_gg(T113, T106))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x1 + x2   
POL(PC_IN_GAGGAG(x1, x2, x3, x4)) = 1 + x1 + x3   
POL(PG_IN_GGAGG(x1, x2, x3, x4)) = 1 + x2   
POL(PH_IN_GGAGG(x1, x2, x3, x4)) = x2   
POL(REACHA_IN_GGGG(x1, x2, x3, x4)) = 1 + x1 + x4   
POL(U11_GGAGG(x1, x2, x3, x4, x5)) = x5   
POL(U4_gag(x1, x2, x3, x4)) = x3   
POL(U5_gg(x1, x2, x3, x4)) = 0   
POL(U6_gga(x1, x2, x3, x4)) = 1 + x2 + x4   
POL(U7_GAGGAG(x1, x2, x3, x4, x5)) = 1 + x3   
POL(U9_GGAGG(x1, x2, x3, x4, x5)) = x2   
POL([]) = 0   
POL(deleteF_in_gga(x1, x2)) = x2   
POL(deleteF_out_gga(x1, x2, x3)) = 1 + x1 + x3   
POL(memberD_in_gag(x1, x2)) = x1 + x2   
POL(memberD_out_gag(x1, x2, x3)) = 0   
POL(memberE_in_gg(x1, x2)) = 0   
POL(memberE_out_gg(x1, x2)) = 0   

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

deleteF_in_gga(T198, .(T198, T199)) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208)) → U6_gga(T206, T207, T208, deleteF_in_gga(T206, T208))
U6_gga(T206, T207, T208, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))

(41) Obligation:

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

REACHA_IN_GGGG(T103, T104, T105, T106) → PC_IN_GAGGAG(T103, T105, T106, T104)
PC_IN_GAGGAG(T103, T105, T106, T104) → U7_GAGGAG(T103, T105, T106, T104, memberD_in_gag(T103, T105))
U7_GAGGAG(T103, T105, T106, T104, memberD_out_gag(T103, T113, T105)) → PG_IN_GGAGG(T113, T106, T104, T105)
U9_GGAGG(T113, T106, T104, T105, memberE_out_gg(T113, T106)) → PH_IN_GGAGG(T113, T106, T104, T105)
PH_IN_GGAGG(T113, T106, T104, T105) → U11_GGAGG(T113, T106, T104, T105, deleteF_in_gga(T113, T106))
U11_GGAGG(T113, T106, T104, T105, deleteF_out_gga(T113, T106, T185)) → REACHA_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

memberD_in_gag(T132, .(.(T132, .(T133, [])), T134)) → memberD_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberD_in_gag(T141, .(T142, T143)) → U4_gag(T141, T142, T143, memberD_in_gag(T141, T143))
memberE_in_gg(T166, .(T166, T167)) → memberE_out_gg(T166, .(T166, T167))
memberE_in_gg(T174, .(T175, T176)) → U5_gg(T174, T175, T176, memberE_in_gg(T174, T176))
deleteF_in_gga(T198, .(T198, T199)) → deleteF_out_gga(T198, .(T198, T199), T199)
deleteF_in_gga(T206, .(T207, T208)) → U6_gga(T206, T207, T208, deleteF_in_gga(T206, T208))
U4_gag(T141, T142, T143, memberD_out_gag(T141, X121, T143)) → memberD_out_gag(T141, X121, .(T142, T143))
U5_gg(T174, T175, T176, memberE_out_gg(T174, T176)) → memberE_out_gg(T174, .(T175, T176))
U6_gga(T206, T207, T208, deleteF_out_gga(T206, T208, X191)) → deleteF_out_gga(T206, .(T207, T208), .(T207, X191))

The set Q consists of the following terms:

memberD_in_gag(x0, x1)
memberE_in_gg(x0, x1)
deleteF_in_gga(x0, x1)
U4_gag(x0, x1, x2, x3)
U5_gg(x0, x1, x2, x3)
U6_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