(0) Obligation:

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

gh
cd
hg

Q is empty.

(1) QTRSRRRProof (EQUIVALENT transformation)

Used ordering:
Lexicographic path order with status [LPO].
Quasi-Precedence:
[g, h]
c > d

Status:
c: []
g: []
d: []
h: []

With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:

cd


(2) Obligation:

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

gh
hg

Q is empty.