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