YES proof of /TPDB/AG01_#3.7.ari # AProVE Commit ID: 23a904c96b029b0a549cde0d0d17dbccf967db59 jckassing 20260626 unpublished dirty Termination w.r.t. Q of the given QTRS could be proven: (0) QTRS (1) QTRS Reverse [EQUIVALENT, 0 ms] (2) QTRS (3) RFCMatchBoundsTRSProof [EQUIVALENT, 0 ms] (4) YES ---------------------------------------- (0) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: half(0) -> 0 half(s(s(x))) -> s(half(x)) log(s(0)) -> 0 log(s(s(x))) -> s(log(s(half(x)))) Q is empty. ---------------------------------------- (1) QTRS Reverse (EQUIVALENT) We applied the QTRS Reverse Processor [REVERSE]. ---------------------------------------- (2) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: 0'(half(x)) -> 0'(x) s(s(half(x))) -> half(s(x)) 0'(s(log(x))) -> 0'(x) s(s(log(x))) -> half(s(log(s(x)))) Q is empty. ---------------------------------------- (3) RFCMatchBoundsTRSProof (EQUIVALENT) Termination of the TRS R could be shown with a Match Bound [MATCHBOUNDS1,MATCHBOUNDS2] of 1. This implies Q-termination of R. The following rules were used to construct the certificate: 0'(half(x)) -> 0'(x) s(s(half(x))) -> half(s(x)) 0'(s(log(x))) -> 0'(x) s(s(log(x))) -> half(s(log(s(x)))) The certificate found is represented by the following graph. The certificate consists of the following enumerated nodes: 2, 4, 5, 6, 7, 8, 14, 15, 16, 17 Node 2 is start node and node 4 is final node. Those nodes are connected through the following edges: * 2 to 4 labelled 0'_1(0), 0'_1(1)* 2 to 5 labelled half_1(0)* 2 to 6 labelled half_1(0)* 4 to 4 labelled #_1(0)* 5 to 4 labelled s_1(0)* 5 to 14 labelled half_1(1)* 5 to 15 labelled half_1(1)* 6 to 7 labelled s_1(0)* 7 to 8 labelled log_1(0)* 8 to 4 labelled s_1(0)* 8 to 14 labelled half_1(1)* 8 to 15 labelled half_1(1)* 14 to 4 labelled s_1(1)* 14 to 14 labelled half_1(1)* 14 to 15 labelled half_1(1)* 15 to 16 labelled s_1(1)* 16 to 17 labelled log_1(1)* 17 to 4 labelled s_1(1)* 17 to 14 labelled half_1(1)* 17 to 15 labelled half_1(1) ---------------------------------------- (4) YES