(0) Obligation:
Q restricted rewrite system:
The TRS R consists of the following rules:
eq → true
eq → eq
eq → false
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 [LPO].
Precedence:
eq > true
eq > false
inf1 > cons
take2 > nil
length1 > 0
length1 > s
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
eq → true
eq → false
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:
eq → eq
Q is empty.