(0) Obligation:

Clauses:

member(X, .(X, X1)).
member(X, .(X2, Xs)) :- member(X, Xs).

Query: member(a,g)

(1) PrologToTRSTransformerProof (SOUND transformation)

Transformed Prolog program to TRS.

(2) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f1_in(.(T5, T6)) → f1_out1(T5)
f1_in(.(T11, .(T22, T23))) → f1_out1(T22)
f1_in(.(T11, .(T31, T32))) → U1(f1_in(T32), .(T11, .(T31, T32)))
U1(f1_out1(T33), .(T11, .(T31, T32))) → f1_out1(T33)
f1_in(.(T42, .(T62, T63))) → U2(f1_in(T63), .(T42, .(T62, T63)))
U2(f1_out1(T64), .(T42, .(T62, T63))) → f1_out1(T64)

Q is empty.

(3) QTRSRRRProof (EQUIVALENT transformation)

Used ordering:
Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 2 + 2·x1 + 2·x2   
POL(U1(x1, x2)) = x1 + x2   
POL(U2(x1, x2)) = 1 + 2·x1 + x2   
POL(f1_in(x1)) = 2·x1   
POL(f1_out1(x1)) = 2·x1   
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:

f1_in(.(T5, T6)) → f1_out1(T5)
f1_in(.(T11, .(T22, T23))) → f1_out1(T22)
f1_in(.(T11, .(T31, T32))) → U1(f1_in(T32), .(T11, .(T31, T32)))
U1(f1_out1(T33), .(T11, .(T31, T32))) → f1_out1(T33)
f1_in(.(T42, .(T62, T63))) → U2(f1_in(T63), .(T42, .(T62, T63)))
U2(f1_out1(T64), .(T42, .(T62, T63))) → f1_out1(T64)


(4) Obligation:

Q restricted rewrite system:
R is empty.
Q is empty.

(5) RisEmptyProof (EQUIVALENT transformation)

The TRS R is empty. Hence, termination is trivially proven.

(6) YES