/export/starexec/sandbox2/solver/bin/starexec_run_standard /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination w.r.t. Q of the given QTRS could be proven: (0) QTRS (1) QTRS Reverse [SOUND, 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: active(f(X)) -> mark(g(h(f(X)))) active(f(X)) -> f(active(X)) active(h(X)) -> h(active(X)) f(mark(X)) -> mark(f(X)) h(mark(X)) -> mark(h(X)) proper(f(X)) -> f(proper(X)) proper(g(X)) -> g(proper(X)) proper(h(X)) -> h(proper(X)) f(ok(X)) -> ok(f(X)) g(ok(X)) -> ok(g(X)) h(ok(X)) -> ok(h(X)) top(mark(X)) -> top(proper(X)) top(ok(X)) -> top(active(X)) The set Q consists of the following terms: active(f(x0)) active(h(x0)) f(mark(x0)) h(mark(x0)) proper(f(x0)) proper(g(x0)) proper(h(x0)) f(ok(x0)) g(ok(x0)) h(ok(x0)) top(mark(x0)) top(ok(x0)) ---------------------------------------- (1) QTRS Reverse (SOUND) We applied the QTRS Reverse Processor [REVERSE]. ---------------------------------------- (2) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: f(active(X)) -> f(h(g(mark(X)))) f(active(X)) -> active(f(X)) h(active(X)) -> active(h(X)) mark(f(X)) -> f(mark(X)) mark(h(X)) -> h(mark(X)) f(proper(X)) -> proper(f(X)) g(proper(X)) -> proper(g(X)) h(proper(X)) -> proper(h(X)) ok(f(X)) -> f(ok(X)) ok(g(X)) -> g(ok(X)) ok(h(X)) -> h(ok(X)) mark(top(X)) -> proper(top(X)) ok(top(X)) -> active(top(X)) Q is empty. ---------------------------------------- (3) RFCMatchBoundsTRSProof (EQUIVALENT) Termination of the TRS R could be shown with a Match Bound [MATCHBOUNDS1,MATCHBOUNDS2] of 4. This implies Q-termination of R. The following rules were used to construct the certificate: f(active(X)) -> f(h(g(mark(X)))) f(active(X)) -> active(f(X)) h(active(X)) -> active(h(X)) mark(f(X)) -> f(mark(X)) mark(h(X)) -> h(mark(X)) f(proper(X)) -> proper(f(X)) g(proper(X)) -> proper(g(X)) h(proper(X)) -> proper(h(X)) ok(f(X)) -> f(ok(X)) ok(g(X)) -> g(ok(X)) ok(h(X)) -> h(ok(X)) mark(top(X)) -> proper(top(X)) ok(top(X)) -> active(top(X)) The certificate found is represented by the following graph. The certificate consists of the following enumerated nodes: 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87 Node 51 is start node and node 52 is final node. Those nodes are connected through the following edges: * 51 to 53 labelled f_1(0), g_1(0), h_1(0)* 51 to 56 labelled active_1(0), proper_1(0)* 51 to 55 labelled f_1(0), h_1(0)* 51 to 64 labelled f_1(1)* 51 to 67 labelled active_1(1), proper_1(1)* 51 to 82 labelled proper_1(2)* 52 to 52 labelled #_1(0)* 53 to 54 labelled h_1(0)* 53 to 52 labelled ok_1(0)* 53 to 57 labelled f_1(1), g_1(1), h_1(1)* 53 to 58 labelled active_1(1)* 53 to 69 labelled proper_1(1)* 53 to 70 labelled f_1(2)* 53 to 73 labelled active_1(2)* 53 to 85 labelled proper_1(3)* 53 to 86 labelled proper_1(2)* 54 to 55 labelled g_1(0)* 54 to 68 labelled proper_1(1)* 55 to 52 labelled mark_1(0)* 55 to 59 labelled f_1(1), h_1(1)* 55 to 58 labelled proper_1(1)* 55 to 73 labelled proper_1(2)* 56 to 52 labelled f_1(0), h_1(0), g_1(0), top_1(0)* 56 to 60 labelled f_1(1)* 56 to 63 labelled active_1(1), proper_1(1)* 56 to 78 labelled proper_1(2)* 57 to 52 labelled ok_1(1)* 57 to 57 labelled f_1(1), g_1(1), h_1(1)* 57 to 58 labelled active_1(1)* 57 to 70 labelled f_1(2)* 57 to 73 labelled active_1(2)* 57 to 85 labelled proper_1(3)* 57 to 86 labelled proper_1(2)* 58 to 52 labelled top_1(1)* 59 to 52 labelled mark_1(1)* 59 to 59 labelled f_1(1), h_1(1)* 59 to 58 labelled proper_1(1)* 59 to 73 labelled proper_1(2)* 60 to 61 labelled h_1(1)* 60 to 76 labelled proper_1(2)* 61 to 62 labelled g_1(1)* 61 to 74 labelled proper_1(2)* 62 to 52 labelled mark_1(1)* 62 to 59 labelled f_1(1), h_1(1)* 62 to 58 labelled proper_1(1)* 62 to 73 labelled proper_1(2)* 63 to 52 labelled f_1(1), h_1(1), g_1(1)* 63 to 60 labelled f_1(1)* 63 to 63 labelled active_1(1), proper_1(1)* 63 to 78 labelled proper_1(2)* 64 to 65 labelled h_1(1)* 64 to 79 labelled proper_1(2)* 65 to 66 labelled g_1(1)* 65 to 77 labelled proper_1(2)* 66 to 58 labelled mark_1(1)* 66 to 75 labelled proper_1(2)* 66 to 73 labelled mark_1(1)* 66 to 72 labelled f_1(2), h_1(2)* 66 to 83 labelled proper_1(3)* 67 to 58 labelled f_1(1), h_1(1)* 67 to 69 labelled f_1(1), g_1(1), h_1(1)* 67 to 73 labelled f_1(1), h_1(1)* 67 to 85 labelled f_1(1), g_1(1), h_1(1)* 67 to 86 labelled f_1(1), g_1(1), h_1(1)* 68 to 58 labelled g_1(1)* 68 to 73 labelled g_1(1)* 69 to 68 labelled h_1(1)* 70 to 71 labelled h_1(2)* 70 to 84 labelled proper_1(3)* 71 to 72 labelled g_1(2)* 71 to 81 labelled proper_1(3)* 72 to 58 labelled mark_1(2)* 72 to 73 labelled mark_1(2)* 72 to 75 labelled proper_1(2)* 72 to 80 labelled f_1(3), h_1(3)* 72 to 83 labelled proper_1(3)* 72 to 87 labelled proper_1(4)* 73 to 58 labelled f_1(2), h_1(2)* 73 to 73 labelled f_1(2), h_1(2)* 74 to 58 labelled g_1(2)* 74 to 73 labelled g_1(2)* 75 to 52 labelled top_1(2)* 76 to 74 labelled h_1(2)* 77 to 75 labelled g_1(2)* 77 to 83 labelled g_1(2)* 78 to 76 labelled f_1(2)* 79 to 77 labelled h_1(2)* 80 to 58 labelled mark_1(3)* 80 to 73 labelled mark_1(3)* 80 to 75 labelled proper_1(2)* 80 to 80 labelled f_1(3), h_1(3)* 80 to 83 labelled proper_1(3)* 80 to 87 labelled proper_1(4)* 81 to 75 labelled g_1(3)* 81 to 83 labelled g_1(3)* 81 to 87 labelled g_1(3)* 82 to 79 labelled f_1(2)* 83 to 75 labelled f_1(3), h_1(3)* 83 to 83 labelled f_1(3), h_1(3)* 83 to 87 labelled f_1(3), h_1(3)* 84 to 81 labelled h_1(3)* 85 to 84 labelled f_1(3)* 86 to 85 labelled f_1(2), g_1(2), h_1(2)* 86 to 86 labelled f_1(2), g_1(2), h_1(2)* 87 to 83 labelled f_1(4), h_1(4)* 87 to 87 labelled f_1(4), h_1(4) ---------------------------------------- (4) YES