(0) Obligation:
Relative term rewrite system:
The relative TRS consists of the following R rules:
half(0) → 0
half(s(s(x))) → s(half(x))
log(s(0)) → 0
log(s(s(x))) → s(log(s(half(x))))
The relative TRS consists of the following S rules:
rand(x) → rand(s(x))
rand(x) → x
(1) RelTRSRRRProof (EQUIVALENT transformation)
We used the following monotonic ordering for rule removal:
Polynomial interpretation [POLO]:
POL(0) = 0
POL(half(x1)) = x1
POL(log(x1)) = 1 + x1
POL(rand(x1)) = 1 + x1
POL(s(x1)) = x1
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
Rules from R:
log(s(0)) → 0
Rules from S:
rand(x) → x
(2) Obligation:
Relative term rewrite system:
The relative TRS consists of the following R rules:
half(0) → 0
half(s(s(x))) → s(half(x))
log(s(s(x))) → s(log(s(half(x))))
The relative TRS consists of the following S rules:
rand(x) → rand(s(x))
(3) RelTRSRRRProof (EQUIVALENT transformation)
We used the following monotonic ordering for rule removal:
Matrix interpretation [MATRO] to (N^2, +, *, >=, >) :
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
Rules from R:
log(s(s(x))) → s(log(s(half(x))))
Rules from S:
none
(4) Obligation:
Relative term rewrite system:
The relative TRS consists of the following R rules:
half(0) → 0
half(s(s(x))) → s(half(x))
The relative TRS consists of the following S rules:
rand(x) → rand(s(x))
(5) RelTRSRRRProof (EQUIVALENT transformation)
We used the following monotonic ordering for rule removal:
Polynomial interpretation [POLO]:
POL(0) = 0
POL(half(x1)) = 1 + x1
POL(rand(x1)) = x1
POL(s(x1)) = x1
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
Rules from R:
half(0) → 0
Rules from S:
none
(6) Obligation:
Relative term rewrite system:
The relative TRS consists of the following R rules:
half(s(s(x))) → s(half(x))
The relative TRS consists of the following S rules:
rand(x) → rand(s(x))
(7) RelTRSRRRProof (EQUIVALENT transformation)
We used the following monotonic ordering for rule removal:
Matrix interpretation [MATRO] to (N^2, +, *, >=, >) :
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
Rules from R:
half(s(s(x))) → s(half(x))
Rules from S:
none
(8) Obligation:
Relative term rewrite system:
R is empty.
The relative TRS consists of the following S rules:
rand(x) → rand(s(x))
(9) RIsEmptyProof (EQUIVALENT transformation)
The TRS R is empty. Hence, termination is trivially proven.
(10) YES