Certification Problem

Input (TPDB TRS_Standard/AProVE_04/Liveness6.3)

The rewrite relation of the following TRS is considered.

rec(rec(x)) sent(rec(x)) (1)
rec(sent(x)) sent(rec(x)) (2)
rec(no(x)) sent(rec(x)) (3)
rec(bot) up(sent(bot)) (4)
rec(up(x)) up(rec(x)) (5)
sent(up(x)) up(sent(x)) (6)
no(up(x)) up(no(x)) (7)
top(rec(up(x))) top(check(rec(x))) (8)
top(sent(up(x))) top(check(rec(x))) (9)
top(no(up(x))) top(check(rec(x))) (10)
check(up(x)) up(check(x)) (11)
check(sent(x)) sent(check(x)) (12)
check(rec(x)) rec(check(x)) (13)
check(no(x)) no(check(x)) (14)
check(no(x)) no(x) (15)

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
rec(rec(x)) sent(rec(x)) (1)
rec(sent(x)) sent(rec(x)) (2)
rec(no(x)) sent(rec(x)) (3)
rec(bot'(x)) up(sent(bot'(x))) (16)
rec(up(x)) up(rec(x)) (5)
sent(up(x)) up(sent(x)) (6)
no(up(x)) up(no(x)) (7)
top(rec(up(x))) top(check(rec(x))) (8)
top(sent(up(x))) top(check(rec(x))) (9)
top(no(up(x))) top(check(rec(x))) (10)
check(up(x)) up(check(x)) (11)
check(sent(x)) sent(check(x)) (12)
check(rec(x)) rec(check(x)) (13)
check(no(x)) no(check(x)) (14)
check(no(x)) no(x) (15)

1.1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
rec(rec(x)) rec(sent(x)) (17)
sent(rec(x)) rec(sent(x)) (18)
no(rec(x)) rec(sent(x)) (19)
bot'(rec(x)) bot'(sent(up(x))) (20)
up(rec(x)) rec(up(x)) (21)
up(sent(x)) sent(up(x)) (22)
up(no(x)) no(up(x)) (23)
up(rec(top(x))) rec(check(top(x))) (24)
up(sent(top(x))) rec(check(top(x))) (25)
up(no(top(x))) rec(check(top(x))) (26)
up(check(x)) check(up(x)) (27)
sent(check(x)) check(sent(x)) (28)
rec(check(x)) check(rec(x)) (29)
no(check(x)) check(no(x)) (30)
no(check(x)) no(x) (31)

1.1.1 Rule Removal

Using the linear polynomial interpretation over the naturals
[rec(x1)] = 1 · x1 + 1
[sent(x1)] = 1 · x1
[no(x1)] = 1 · x1 + 1
[bot'(x1)] = 1 · x1
[up(x1)] = 1 · x1 + 1
[top(x1)] = 1 · x1
[check(x1)] = 1 · x1
all of the following rules can be deleted.
rec(rec(x)) rec(sent(x)) (17)
no(rec(x)) rec(sent(x)) (19)
up(rec(top(x))) rec(check(top(x))) (24)
up(no(top(x))) rec(check(top(x))) (26)

1.1.1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
sent#(rec(x)) rec#(sent(x)) (32)
sent#(rec(x)) sent#(x) (33)
bot'#(rec(x)) bot'#(sent(up(x))) (34)
bot'#(rec(x)) sent#(up(x)) (35)
bot'#(rec(x)) up#(x) (36)
up#(rec(x)) rec#(up(x)) (37)
up#(rec(x)) up#(x) (38)
up#(sent(x)) sent#(up(x)) (39)
up#(sent(x)) up#(x) (40)
up#(no(x)) no#(up(x)) (41)
up#(no(x)) up#(x) (42)
up#(sent(top(x))) rec#(check(top(x))) (43)
up#(check(x)) up#(x) (44)
sent#(check(x)) sent#(x) (45)
rec#(check(x)) rec#(x) (46)
no#(check(x)) no#(x) (47)

1.1.1.1.1 Dependency Graph Processor

The dependency pairs are split into 5 components.