(0) Obligation:

Clauses:

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

Queries:

reach(g,g,g,g).

(1) PrologToDTProblemTransformerProof (SOUND transformation)

Built DT problem from termination graph.

(2) Obligation:

Triples:

member12(T79, T80, .(T81, T82)) :- member12(T79, T80, T82).
member124(T130, X133, .(T131, T132)) :- member124(T130, X133, T132).
member34(T161, .(T162, T163)) :- member34(T161, T163).
delete44(T193, .(T194, T195), .(T194, X213)) :- delete44(T193, T195, X213).
reach1(T46, T47, .(T48, T49), T14) :- member12(T46, T47, T49).
reach1(T101, T102, T103, T104) :- member124(T101, X91, T103).
reach1(T101, T102, T103, T104) :- ','(member1c24(T101, T109, T103), member34(T109, T104)).
reach1(T101, T102, T103, T104) :- ','(member1c24(T101, T109, T103), ','(memberc34(T109, T104), delete44(T109, T104, X92))).
reach1(T101, T102, T103, T104) :- ','(member1c24(T101, T109, T103), ','(memberc34(T109, T104), ','(deletec44(T109, T104, T172), reach1(T109, T102, T103, T172)))).

Clauses:

memberc12(T68, T69, .(.(T68, .(T69, [])), T70)).
memberc12(T79, T80, .(T81, T82)) :- memberc12(T79, T80, T82).
member1c24(T122, X119, .(.(T122, .(X119, [])), T123)).
member1c24(T130, X133, .(T131, T132)) :- member1c24(T130, X133, T132).
memberc34(T153, .(T153, T154)).
memberc34(T161, .(T162, T163)) :- memberc34(T161, T163).
reachc1(T27, T28, .(.(T27, .(T28, [])), T29), T14).
reachc1(T46, T47, .(T48, T49), T14) :- memberc12(T46, T47, T49).
reachc1(T101, T102, T103, T104) :- ','(member1c24(T101, T109, T103), ','(memberc34(T109, T104), ','(deletec44(T109, T104, T172), reachc1(T109, T102, T103, T172)))).
deletec44(T185, .(T185, T186), T186).
deletec44(T193, .(T194, T195), .(T194, X213)) :- deletec44(T193, T195, X213).

Afs:

reach1(x1, x2, x3, x4)  =  reach1(x1, x2, x3, x4)

(3) TriplesToPiDPProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
reach1_in: (b,b,b,b)
member12_in: (b,b,b)
member124_in: (b,f,b)
member1c24_in: (b,f,b)
member34_in: (b,b)
memberc34_in: (b,b)
delete44_in: (b,b,f)
deletec44_in: (b,b,f)
Transforming TRIPLES into the following Term Rewriting System:
Pi DP problem:
The TRS P consists of the following rules:

REACH1_IN_GGGG(T46, T47, .(T48, T49), T14) → U5_GGGG(T46, T47, T48, T49, T14, member12_in_ggg(T46, T47, T49))
REACH1_IN_GGGG(T46, T47, .(T48, T49), T14) → MEMBER12_IN_GGG(T46, T47, T49)
MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → U1_GGG(T79, T80, T81, T82, member12_in_ggg(T79, T80, T82))
MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → MEMBER12_IN_GGG(T79, T80, T82)
REACH1_IN_GGGG(T101, T102, T103, T104) → U6_GGGG(T101, T102, T103, T104, member124_in_gag(T101, X91, T103))
REACH1_IN_GGGG(T101, T102, T103, T104) → MEMBER124_IN_GAG(T101, X91, T103)
MEMBER124_IN_GAG(T130, X133, .(T131, T132)) → U2_GAG(T130, X133, T131, T132, member124_in_gag(T130, X133, T132))
MEMBER124_IN_GAG(T130, X133, .(T131, T132)) → MEMBER124_IN_GAG(T130, X133, T132)
REACH1_IN_GGGG(T101, T102, T103, T104) → U7_GGGG(T101, T102, T103, T104, member1c24_in_gag(T101, T109, T103))
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U8_GGGG(T101, T102, T103, T104, member34_in_gg(T109, T104))
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → MEMBER34_IN_GG(T109, T104)
MEMBER34_IN_GG(T161, .(T162, T163)) → U3_GG(T161, T162, T163, member34_in_gg(T161, T163))
MEMBER34_IN_GG(T161, .(T162, T163)) → MEMBER34_IN_GG(T161, T163)
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U9_GGGG(T101, T102, T103, T104, T109, memberc34_in_gg(T109, T104))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U10_GGGG(T101, T102, T103, T104, delete44_in_gga(T109, T104, X92))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → DELETE44_IN_GGA(T109, T104, X92)
DELETE44_IN_GGA(T193, .(T194, T195), .(T194, X213)) → U4_GGA(T193, T194, T195, X213, delete44_in_gga(T193, T195, X213))
DELETE44_IN_GGA(T193, .(T194, T195), .(T194, X213)) → DELETE44_IN_GGA(T193, T195, X213)
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U11_GGGG(T101, T102, T103, T104, T109, deletec44_in_gga(T109, T104, T172))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → U12_GGGG(T101, T102, T103, T104, reach1_in_gggg(T109, T102, T103, T172))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → REACH1_IN_GGGG(T109, T102, T103, T172)

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
reach1_in_gggg(x1, x2, x3, x4)  =  reach1_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
member12_in_ggg(x1, x2, x3)  =  member12_in_ggg(x1, x2, x3)
member124_in_gag(x1, x2, x3)  =  member124_in_gag(x1, x3)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
member34_in_gg(x1, x2)  =  member34_in_gg(x1, x2)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
delete44_in_gga(x1, x2, x3)  =  delete44_in_gga(x1, x2)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
REACH1_IN_GGGG(x1, x2, x3, x4)  =  REACH1_IN_GGGG(x1, x2, x3, x4)
U5_GGGG(x1, x2, x3, x4, x5, x6)  =  U5_GGGG(x1, x2, x3, x4, x5, x6)
MEMBER12_IN_GGG(x1, x2, x3)  =  MEMBER12_IN_GGG(x1, x2, x3)
U1_GGG(x1, x2, x3, x4, x5)  =  U1_GGG(x1, x2, x3, x4, x5)
U6_GGGG(x1, x2, x3, x4, x5)  =  U6_GGGG(x1, x2, x3, x4, x5)
MEMBER124_IN_GAG(x1, x2, x3)  =  MEMBER124_IN_GAG(x1, x3)
U2_GAG(x1, x2, x3, x4, x5)  =  U2_GAG(x1, x3, x4, x5)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x1, x2, x3, x4, x5)
U8_GGGG(x1, x2, x3, x4, x5)  =  U8_GGGG(x1, x2, x3, x4, x5)
MEMBER34_IN_GG(x1, x2)  =  MEMBER34_IN_GG(x1, x2)
U3_GG(x1, x2, x3, x4)  =  U3_GG(x1, x2, x3, x4)
U9_GGGG(x1, x2, x3, x4, x5, x6)  =  U9_GGGG(x1, x2, x3, x4, x5, x6)
U10_GGGG(x1, x2, x3, x4, x5)  =  U10_GGGG(x1, x2, x3, x4, x5)
DELETE44_IN_GGA(x1, x2, x3)  =  DELETE44_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U11_GGGG(x1, x2, x3, x4, x5, x6)  =  U11_GGGG(x1, x2, x3, x4, x5, x6)
U12_GGGG(x1, x2, x3, x4, x5)  =  U12_GGGG(x1, x2, x3, x4, x5)

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

Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES

(4) Obligation:

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

REACH1_IN_GGGG(T46, T47, .(T48, T49), T14) → U5_GGGG(T46, T47, T48, T49, T14, member12_in_ggg(T46, T47, T49))
REACH1_IN_GGGG(T46, T47, .(T48, T49), T14) → MEMBER12_IN_GGG(T46, T47, T49)
MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → U1_GGG(T79, T80, T81, T82, member12_in_ggg(T79, T80, T82))
MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → MEMBER12_IN_GGG(T79, T80, T82)
REACH1_IN_GGGG(T101, T102, T103, T104) → U6_GGGG(T101, T102, T103, T104, member124_in_gag(T101, X91, T103))
REACH1_IN_GGGG(T101, T102, T103, T104) → MEMBER124_IN_GAG(T101, X91, T103)
MEMBER124_IN_GAG(T130, X133, .(T131, T132)) → U2_GAG(T130, X133, T131, T132, member124_in_gag(T130, X133, T132))
MEMBER124_IN_GAG(T130, X133, .(T131, T132)) → MEMBER124_IN_GAG(T130, X133, T132)
REACH1_IN_GGGG(T101, T102, T103, T104) → U7_GGGG(T101, T102, T103, T104, member1c24_in_gag(T101, T109, T103))
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U8_GGGG(T101, T102, T103, T104, member34_in_gg(T109, T104))
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → MEMBER34_IN_GG(T109, T104)
MEMBER34_IN_GG(T161, .(T162, T163)) → U3_GG(T161, T162, T163, member34_in_gg(T161, T163))
MEMBER34_IN_GG(T161, .(T162, T163)) → MEMBER34_IN_GG(T161, T163)
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U9_GGGG(T101, T102, T103, T104, T109, memberc34_in_gg(T109, T104))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U10_GGGG(T101, T102, T103, T104, delete44_in_gga(T109, T104, X92))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → DELETE44_IN_GGA(T109, T104, X92)
DELETE44_IN_GGA(T193, .(T194, T195), .(T194, X213)) → U4_GGA(T193, T194, T195, X213, delete44_in_gga(T193, T195, X213))
DELETE44_IN_GGA(T193, .(T194, T195), .(T194, X213)) → DELETE44_IN_GGA(T193, T195, X213)
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U11_GGGG(T101, T102, T103, T104, T109, deletec44_in_gga(T109, T104, T172))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → U12_GGGG(T101, T102, T103, T104, reach1_in_gggg(T109, T102, T103, T172))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → REACH1_IN_GGGG(T109, T102, T103, T172)

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
reach1_in_gggg(x1, x2, x3, x4)  =  reach1_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
member12_in_ggg(x1, x2, x3)  =  member12_in_ggg(x1, x2, x3)
member124_in_gag(x1, x2, x3)  =  member124_in_gag(x1, x3)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
member34_in_gg(x1, x2)  =  member34_in_gg(x1, x2)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
delete44_in_gga(x1, x2, x3)  =  delete44_in_gga(x1, x2)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
REACH1_IN_GGGG(x1, x2, x3, x4)  =  REACH1_IN_GGGG(x1, x2, x3, x4)
U5_GGGG(x1, x2, x3, x4, x5, x6)  =  U5_GGGG(x1, x2, x3, x4, x5, x6)
MEMBER12_IN_GGG(x1, x2, x3)  =  MEMBER12_IN_GGG(x1, x2, x3)
U1_GGG(x1, x2, x3, x4, x5)  =  U1_GGG(x1, x2, x3, x4, x5)
U6_GGGG(x1, x2, x3, x4, x5)  =  U6_GGGG(x1, x2, x3, x4, x5)
MEMBER124_IN_GAG(x1, x2, x3)  =  MEMBER124_IN_GAG(x1, x3)
U2_GAG(x1, x2, x3, x4, x5)  =  U2_GAG(x1, x3, x4, x5)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x1, x2, x3, x4, x5)
U8_GGGG(x1, x2, x3, x4, x5)  =  U8_GGGG(x1, x2, x3, x4, x5)
MEMBER34_IN_GG(x1, x2)  =  MEMBER34_IN_GG(x1, x2)
U3_GG(x1, x2, x3, x4)  =  U3_GG(x1, x2, x3, x4)
U9_GGGG(x1, x2, x3, x4, x5, x6)  =  U9_GGGG(x1, x2, x3, x4, x5, x6)
U10_GGGG(x1, x2, x3, x4, x5)  =  U10_GGGG(x1, x2, x3, x4, x5)
DELETE44_IN_GGA(x1, x2, x3)  =  DELETE44_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U11_GGGG(x1, x2, x3, x4, x5, x6)  =  U11_GGGG(x1, x2, x3, x4, x5, x6)
U12_GGGG(x1, x2, x3, x4, x5)  =  U12_GGGG(x1, x2, x3, x4, x5)

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:

DELETE44_IN_GGA(T193, .(T194, T195), .(T194, X213)) → DELETE44_IN_GGA(T193, T195, X213)

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
DELETE44_IN_GGA(x1, x2, x3)  =  DELETE44_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:

DELETE44_IN_GGA(T193, .(T194, T195), .(T194, X213)) → DELETE44_IN_GGA(T193, T195, X213)

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

DELETE44_IN_GGA(T193, .(T194, T195)) → DELETE44_IN_GGA(T193, T195)

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:

  • DELETE44_IN_GGA(T193, .(T194, T195)) → DELETE44_IN_GGA(T193, T195)
    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:

MEMBER34_IN_GG(T161, .(T162, T163)) → MEMBER34_IN_GG(T161, T163)

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
MEMBER34_IN_GG(x1, x2)  =  MEMBER34_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:

MEMBER34_IN_GG(T161, .(T162, T163)) → MEMBER34_IN_GG(T161, T163)

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:

MEMBER34_IN_GG(T161, .(T162, T163)) → MEMBER34_IN_GG(T161, T163)

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:

  • MEMBER34_IN_GG(T161, .(T162, T163)) → MEMBER34_IN_GG(T161, T163)
    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:

MEMBER124_IN_GAG(T130, X133, .(T131, T132)) → MEMBER124_IN_GAG(T130, X133, T132)

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
MEMBER124_IN_GAG(x1, x2, x3)  =  MEMBER124_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:

MEMBER124_IN_GAG(T130, X133, .(T131, T132)) → MEMBER124_IN_GAG(T130, X133, T132)

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

MEMBER124_IN_GAG(T130, .(T131, T132)) → MEMBER124_IN_GAG(T130, T132)

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:

  • MEMBER124_IN_GAG(T130, .(T131, T132)) → MEMBER124_IN_GAG(T130, T132)
    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:

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

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
MEMBER12_IN_GGG(x1, x2, x3)  =  MEMBER12_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:

MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → MEMBER12_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:

MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → MEMBER12_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:

  • MEMBER12_IN_GGG(T79, T80, .(T81, T82)) → MEMBER12_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:

REACH1_IN_GGGG(T101, T102, T103, T104) → U7_GGGG(T101, T102, T103, T104, member1c24_in_gag(T101, T109, T103))
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U9_GGGG(T101, T102, T103, T104, T109, memberc34_in_gg(T109, T104))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U11_GGGG(T101, T102, T103, T104, T109, deletec44_in_gga(T109, T104, T172))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → REACH1_IN_GGGG(T109, T102, T103, T172)

The TRS R consists of the following rules:

member1c24_in_gag(T122, X119, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, X133, .(T131, T132)) → U15_gag(T130, X133, T131, T132, member1c24_in_gag(T130, X133, T132))
U15_gag(T130, X133, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186), T186) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195), .(T194, X213)) → U22_gga(T193, T194, T195, X213, deletec44_in_gga(T193, T195, X213))
U22_gga(T193, T194, T195, X213, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
member1c24_in_gag(x1, x2, x3)  =  member1c24_in_gag(x1, x3)
[]  =  []
member1c24_out_gag(x1, x2, x3)  =  member1c24_out_gag(x1, x2, x3)
U15_gag(x1, x2, x3, x4, x5)  =  U15_gag(x1, x3, x4, x5)
memberc34_in_gg(x1, x2)  =  memberc34_in_gg(x1, x2)
memberc34_out_gg(x1, x2)  =  memberc34_out_gg(x1, x2)
U16_gg(x1, x2, x3, x4)  =  U16_gg(x1, x2, x3, x4)
deletec44_in_gga(x1, x2, x3)  =  deletec44_in_gga(x1, x2)
deletec44_out_gga(x1, x2, x3)  =  deletec44_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4, x5)  =  U22_gga(x1, x2, x3, x5)
REACH1_IN_GGGG(x1, x2, x3, x4)  =  REACH1_IN_GGGG(x1, x2, x3, x4)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x1, x2, x3, x4, x5)
U9_GGGG(x1, x2, x3, x4, x5, x6)  =  U9_GGGG(x1, x2, x3, x4, x5, x6)
U11_GGGG(x1, x2, x3, x4, x5, x6)  =  U11_GGGG(x1, x2, x3, x4, x5, x6)

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

(36) PiDPToQDPProof (SOUND transformation)

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

(37) Obligation:

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

REACH1_IN_GGGG(T101, T102, T103, T104) → U7_GGGG(T101, T102, T103, T104, member1c24_in_gag(T101, T103))
U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U9_GGGG(T101, T102, T103, T104, T109, memberc34_in_gg(T109, T104))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U11_GGGG(T101, T102, T103, T104, T109, deletec44_in_gga(T109, T104))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → REACH1_IN_GGGG(T109, T102, T103, T172)

The TRS R consists of the following rules:

member1c24_in_gag(T122, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, .(T131, T132)) → U15_gag(T130, T131, T132, member1c24_in_gag(T130, T132))
U15_gag(T130, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186)) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195)) → U22_gga(T193, T194, T195, deletec44_in_gga(T193, T195))
U22_gga(T193, T194, T195, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The set Q consists of the following terms:

member1c24_in_gag(x0, x1)
U15_gag(x0, x1, x2, x3)
memberc34_in_gg(x0, x1)
U16_gg(x0, x1, x2, x3)
deletec44_in_gga(x0, x1)
U22_gga(x0, x1, x2, x3)

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

(38) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U7_GGGG(T101, T102, T103, T104, member1c24_out_gag(T101, T109, T103)) → U9_GGGG(T101, T102, T103, T104, T109, memberc34_in_gg(T109, T104))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x2   
POL(REACH1_IN_GGGG(x1, x2, x3, x4)) = 1 + x4   
POL(U11_GGGG(x1, x2, x3, x4, x5, x6)) = x6   
POL(U15_gag(x1, x2, x3, x4)) = 0   
POL(U16_gg(x1, x2, x3, x4)) = 0   
POL(U22_gga(x1, x2, x3, x4)) = 1 + x4   
POL(U7_GGGG(x1, x2, x3, x4, x5)) = 1 + x4   
POL(U9_GGGG(x1, x2, x3, x4, x5, x6)) = x4   
POL([]) = 0   
POL(deletec44_in_gga(x1, x2)) = x2   
POL(deletec44_out_gga(x1, x2, x3)) = 1 + x3   
POL(member1c24_in_gag(x1, x2)) = 0   
POL(member1c24_out_gag(x1, x2, x3)) = 0   
POL(memberc34_in_gg(x1, x2)) = 0   
POL(memberc34_out_gg(x1, x2)) = 0   

The following usable rules [FROCOS05] were oriented:

deletec44_in_gga(T185, .(T185, T186)) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195)) → U22_gga(T193, T194, T195, deletec44_in_gga(T193, T195))
U22_gga(T193, T194, T195, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

(39) Obligation:

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

REACH1_IN_GGGG(T101, T102, T103, T104) → U7_GGGG(T101, T102, T103, T104, member1c24_in_gag(T101, T103))
U9_GGGG(T101, T102, T103, T104, T109, memberc34_out_gg(T109, T104)) → U11_GGGG(T101, T102, T103, T104, T109, deletec44_in_gga(T109, T104))
U11_GGGG(T101, T102, T103, T104, T109, deletec44_out_gga(T109, T104, T172)) → REACH1_IN_GGGG(T109, T102, T103, T172)

The TRS R consists of the following rules:

member1c24_in_gag(T122, .(.(T122, .(X119, [])), T123)) → member1c24_out_gag(T122, X119, .(.(T122, .(X119, [])), T123))
member1c24_in_gag(T130, .(T131, T132)) → U15_gag(T130, T131, T132, member1c24_in_gag(T130, T132))
U15_gag(T130, T131, T132, member1c24_out_gag(T130, X133, T132)) → member1c24_out_gag(T130, X133, .(T131, T132))
memberc34_in_gg(T153, .(T153, T154)) → memberc34_out_gg(T153, .(T153, T154))
memberc34_in_gg(T161, .(T162, T163)) → U16_gg(T161, T162, T163, memberc34_in_gg(T161, T163))
U16_gg(T161, T162, T163, memberc34_out_gg(T161, T163)) → memberc34_out_gg(T161, .(T162, T163))
deletec44_in_gga(T185, .(T185, T186)) → deletec44_out_gga(T185, .(T185, T186), T186)
deletec44_in_gga(T193, .(T194, T195)) → U22_gga(T193, T194, T195, deletec44_in_gga(T193, T195))
U22_gga(T193, T194, T195, deletec44_out_gga(T193, T195, X213)) → deletec44_out_gga(T193, .(T194, T195), .(T194, X213))

The set Q consists of the following terms:

member1c24_in_gag(x0, x1)
U15_gag(x0, x1, x2, x3)
memberc34_in_gg(x0, x1)
U16_gg(x0, x1, x2, x3)
deletec44_in_gga(x0, x1)
U22_gga(x0, x1, x2, x3)

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

(40) DependencyGraphProof (EQUIVALENT transformation)

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

(41) TRUE