Certification Problem

Input (TPDB TRS_Standard/Transformed_CSR_04/Ex6_GM04_C)

The rewrite relation of the following TRS is considered.

active(c) mark(f(g(c))) (1)
active(f(g(X))) mark(g(X)) (2)
proper(c) ok(c) (3)
proper(f(X)) f(proper(X)) (4)
proper(g(X)) g(proper(X)) (5)
f(ok(X)) ok(f(X)) (6)
g(ok(X)) ok(g(X)) (7)
top(mark(X)) top(proper(X)) (8)
top(ok(X)) top(active(X)) (9)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Constant to Unary

Every constant is turned into a unary function symbol to obtain the TRS
active(c'(x)) mark(f(g(c'(x)))) (10)
active(f(g(X))) mark(g(X)) (2)
proper(c'(x)) ok(c'(x)) (11)
proper(f(X)) f(proper(X)) (4)
proper(g(X)) g(proper(X)) (5)
f(ok(X)) ok(f(X)) (6)
g(ok(X)) ok(g(X)) (7)
top(mark(X)) top(proper(X)) (8)
top(ok(X)) top(active(X)) (9)

1.1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
c'(active(x)) c'(g(f(mark(x)))) (12)
g(f(active(X))) g(mark(X)) (13)
c'(proper(x)) c'(ok(x)) (14)
f(proper(X)) proper(f(X)) (15)
g(proper(X)) proper(g(X)) (16)
ok(f(X)) f(ok(X)) (17)
ok(g(X)) g(ok(X)) (18)
mark(top(X)) proper(top(X)) (19)
ok(top(X)) active(top(X)) (20)

1.1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
c'#(active(x)) c'#(g(f(mark(x)))) (21)
c'#(active(x)) g#(f(mark(x))) (22)
c'#(active(x)) f#(mark(x)) (23)
c'#(active(x)) mark#(x) (24)
g#(f(active(X))) g#(mark(X)) (25)
g#(f(active(X))) mark#(X) (26)
c'#(proper(x)) c'#(ok(x)) (27)
c'#(proper(x)) ok#(x) (28)
f#(proper(X)) f#(X) (29)
g#(proper(X)) g#(X) (30)
ok#(f(X)) f#(ok(X)) (31)
ok#(f(X)) ok#(X) (32)
ok#(g(X)) g#(ok(X)) (33)
ok#(g(X)) ok#(X) (34)

1.1.1.1 Dependency Graph Processor

The dependency pairs are split into 4 components.