YES Termination Proof

Termination Proof

by ttt2 (version ttt2 1.15)

Input

The rewrite relation of the following TRS is considered.

log(s(x0)) s(log(half(s(x0))))
half(0(x0)) 0(s(s(half(x0))))
half(s(0(x0))) 0(x0)
half(s(s(x0))) s(half(p(s(s(x0)))))
half(half(s(s(s(s(x0)))))) s(s(half(half(x0))))
p(s(s(s(x0)))) s(p(s(s(x0))))
s(s(p(s(x0)))) s(s(x0))
0(x0) x0

Proof

1 Rule Removal

Using the linear polynomial interpretation over the arctic semiring over the integers
[p(x1)] = 0 · x1 + -∞
[log(x1)] = 0 · x1 + -∞
[0(x1)] = 1 · x1 + -∞
[s(x1)] = 0 · x1 + -∞
[half(x1)] = 0 · x1 + -∞
the rules
log(s(x0)) s(log(half(s(x0))))
half(0(x0)) 0(s(s(half(x0))))
half(s(0(x0))) 0(x0)
half(s(s(x0))) s(half(p(s(s(x0)))))
half(half(s(s(s(s(x0)))))) s(s(half(half(x0))))
p(s(s(s(x0)))) s(p(s(s(x0))))
s(s(p(s(x0)))) s(s(x0))
remain.

1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
log#(s(x0)) half#(s(x0))
log#(s(x0)) log#(half(s(x0)))
log#(s(x0)) s#(log(half(s(x0))))
half#(0(x0)) half#(x0)
half#(0(x0)) s#(half(x0))
half#(0(x0)) s#(s(half(x0)))
half#(s(s(x0))) p#(s(s(x0)))
half#(s(s(x0))) half#(p(s(s(x0))))
half#(s(s(x0))) s#(half(p(s(s(x0)))))
half#(half(s(s(s(s(x0)))))) half#(x0)
half#(half(s(s(s(s(x0)))))) half#(half(x0))
half#(half(s(s(s(s(x0)))))) s#(half(half(x0)))
half#(half(s(s(s(s(x0)))))) s#(s(half(half(x0))))
p#(s(s(s(x0)))) p#(s(s(x0)))
p#(s(s(s(x0)))) s#(p(s(s(x0))))
s#(s(p(s(x0)))) s#(s(x0))

1.1.1 Dependency Graph Processor

The dependency pairs are split into 4 components.