(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:
Lexicographic path order with status [LPO].
Quasi-Precedence:
eq > true
eq > false
inf1 > cons > s
[take2, nil] > cons > s
[take2, nil] > 0

Status:
eq: []
inf1: [1]
cons: []
true: []
false: []
s: []
take2: [2,1]
length1: [1]
0: []
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.