(0) Obligation:

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

eqtrue
eqeq
eqfalse
inf(X) → cons
take(0, X) → nil
take(s, cons) → cons
length(nil) → 0
length(cons) → s

Q is empty.

(1) QTRSRRRProof (EQUIVALENT transformation)

Used ordering:
Recursive Path Order [RPO].
Precedence:
eq > true
eq > false
length1 > 0 > [inf1, cons, take2, nil]
length1 > s > [inf1, cons, take2, nil]

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

eqtrue
eqfalse
inf(X) → cons
take(0, X) → nil
take(s, cons) → cons
length(nil) → 0
length(cons) → s


(2) Obligation:

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

eqeq

Q is empty.