Certification Problem

Input (TPDB SRS_Standard/Secret_05_SRS/aprove4)

The rewrite relation of the following TRS is considered.

log(s(x1)) → s(log(half(s(x1)))) (1)
half(0(x1)) → 0(s(s(half(x1)))) (2)
half(s(0(x1))) → 0(x1) (3)
half(s(s(x1))) → s(half(p(s(s(x1))))) (4)
half(half(s(s(s(s(x1)))))) → s(s(half(half(x1)))) (5)
p(s(s(s(x1)))) → s(p(s(s(x1)))) (6)
s(s(p(s(x1)))) → s(s(x1)) (7)
0(x1) → x1 (8)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the linear polynomial interpretation over the naturals
[log(x1)] = 1 · x1
[s(x1)] = 1 · x1
[half(x1)] = 1 · x1
[0(x1)] = 1 · x1 + 1
[p(x1)] = 1 · x1
all of the following rules can be deleted.
0(x1) → x1 (8)

1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
log#(s(x1)) → s#(log(half(s(x1)))) (9)
log#(s(x1)) → log#(half(s(x1))) (10)
log#(s(x1)) → half#(s(x1)) (11)
half#(0(x1)) → s#(s(half(x1))) (12)
half#(0(x1)) → s#(half(x1)) (13)
half#(0(x1)) → half#(x1) (14)
half#(s(s(x1))) → s#(half(p(s(s(x1))))) (15)
half#(s(s(x1))) → half#(p(s(s(x1)))) (16)
half#(s(s(x1))) → p#(s(s(x1))) (17)
half#(half(s(s(s(s(x1)))))) → s#(s(half(half(x1)))) (18)
half#(half(s(s(s(s(x1)))))) → s#(half(half(x1))) (19)
half#(half(s(s(s(s(x1)))))) → half#(half(x1)) (20)
half#(half(s(s(s(s(x1)))))) → half#(x1) (21)
p#(s(s(s(x1)))) → s#(p(s(s(x1)))) (22)
p#(s(s(s(x1)))) → p#(s(s(x1))) (23)
s#(s(p(s(x1)))) → s#(s(x1)) (24)

1.1.1 Dependency Graph Processor

The dependency pairs are split into 4 components.