/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox/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(c) -> mark(f(g(c))) active(f(g(X))) -> mark(g(X)) proper(c) -> ok(c) proper(f(X)) -> f(proper(X)) proper(g(X)) -> g(proper(X)) f(ok(X)) -> ok(f(X)) g(ok(X)) -> ok(g(X)) top(mark(X)) -> top(proper(X)) top(ok(X)) -> top(active(X)) The set Q consists of the following terms: active(c) active(f(g(x0))) proper(c) proper(f(x0)) proper(g(x0)) f(ok(x0)) g(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: c'(active(x)) -> c'(g(f(mark(x)))) g(f(active(X))) -> g(mark(X)) c'(proper(x)) -> c'(ok(x)) f(proper(X)) -> proper(f(X)) g(proper(X)) -> proper(g(X)) ok(f(X)) -> f(ok(X)) ok(g(X)) -> g(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 5. This implies Q-termination of R. The following rules were used to construct the certificate: c'(active(x)) -> c'(g(f(mark(x)))) g(f(active(X))) -> g(mark(X)) c'(proper(x)) -> c'(ok(x)) f(proper(X)) -> proper(f(X)) g(proper(X)) -> proper(g(X)) ok(f(X)) -> f(ok(X)) ok(g(X)) -> g(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: 46, 47, 48, 49, 50, 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, 84, 87, 88, 90, 93 Node 46 is start node and node 47 is final node. Those nodes are connected through the following edges: * 46 to 48 labelled c'_1(0), f_1(0), g_1(0)* 46 to 50 labelled g_1(0)* 46 to 51 labelled proper_1(0), active_1(0)* 46 to 56 labelled c'_1(1)* 46 to 59 labelled proper_1(1)* 46 to 58 labelled g_1(1)* 46 to 65 labelled proper_1(2)* 46 to 70 labelled c'_1(2)* 46 to 88 labelled c'_1(3)* 47 to 47 labelled #_1(0)* 48 to 49 labelled g_1(0)* 48 to 47 labelled ok_1(0)* 48 to 52 labelled f_1(1), g_1(1)* 48 to 53 labelled active_1(1)* 48 to 61 labelled proper_1(1)* 48 to 64 labelled g_1(2)* 48 to 67 labelled proper_1(3)* 48 to 71 labelled proper_1(2)* 49 to 50 labelled f_1(0)* 49 to 60 labelled proper_1(1)* 50 to 47 labelled mark_1(0)* 50 to 53 labelled proper_1(1)* 51 to 47 labelled f_1(0), g_1(0), top_1(0)* 51 to 54 labelled proper_1(1)* 51 to 55 labelled g_1(1)* 51 to 62 labelled proper_1(2)* 52 to 47 labelled ok_1(1)* 52 to 52 labelled f_1(1), g_1(1)* 52 to 53 labelled active_1(1)* 52 to 64 labelled g_1(2)* 52 to 67 labelled proper_1(3)* 52 to 71 labelled proper_1(2)* 53 to 47 labelled top_1(1)* 54 to 47 labelled f_1(1), g_1(1)* 54 to 54 labelled proper_1(1)* 54 to 55 labelled g_1(1)* 54 to 62 labelled proper_1(2)* 55 to 47 labelled mark_1(1)* 55 to 53 labelled proper_1(1)* 56 to 57 labelled g_1(1)* 56 to 61 labelled ok_1(1)* 56 to 68 labelled proper_1(2)* 56 to 69 labelled g_1(2)* 56 to 67 labelled ok_1(1)* 56 to 71 labelled ok_1(1)* 56 to 74 labelled f_1(2), g_1(2)* 56 to 77 labelled g_1(3)* 56 to 80 labelled proper_1(4)* 57 to 58 labelled f_1(1)* 57 to 66 labelled proper_1(2)* 58 to 53 labelled mark_1(1)* 58 to 63 labelled proper_1(2)* 59 to 53 labelled g_1(1)* 59 to 61 labelled f_1(1), g_1(1)* 59 to 67 labelled f_1(1), g_1(1)* 59 to 71 labelled f_1(1), g_1(1)* 60 to 53 labelled f_1(1)* 61 to 60 labelled g_1(1)* 62 to 53 labelled g_1(2)* 63 to 47 labelled top_1(2)* 64 to 53 labelled mark_1(2)* 64 to 63 labelled proper_1(2)* 65 to 63 labelled g_1(2)* 66 to 63 labelled f_1(2)* 67 to 63 labelled g_1(3)* 68 to 66 labelled g_1(2)* 69 to 60 labelled ok_1(2)* 69 to 72 labelled f_1(2)* 69 to 63 labelled ok_1(2)* 69 to 76 labelled active_1(3)* 70 to 68 labelled ok_1(2)* 70 to 73 labelled g_1(3)* 70 to 81 labelled g_1(4)* 70 to 80 labelled ok_1(2)* 70 to 87 labelled proper_1(5)* 71 to 67 labelled f_1(2), g_1(2)* 71 to 71 labelled f_1(2), g_1(2)* 72 to 53 labelled ok_1(2)* 72 to 63 labelled active_1(2)* 73 to 66 labelled ok_1(3)* 73 to 75 labelled f_1(3)* 73 to 76 labelled ok_1(3)* 73 to 84 labelled active_1(4)* 74 to 67 labelled ok_1(2)* 74 to 71 labelled ok_1(2)* 74 to 75 labelled g_1(3)* 74 to 78 labelled f_1(3), g_1(3)* 75 to 63 labelled ok_1(3)* 75 to 76 labelled active_1(3)* 76 to 47 labelled top_1(3)* 77 to 63 labelled mark_1(3)* 77 to 76 labelled proper_1(3)* 78 to 67 labelled ok_1(3)* 78 to 71 labelled ok_1(3)* 78 to 79 labelled g_1(4)* 78 to 78 labelled f_1(3), g_1(3)* 79 to 63 labelled ok_1(4)* 79 to 76 labelled active_1(3)* 80 to 76 labelled g_1(4)* 81 to 76 labelled mark_1(4)* 81 to 84 labelled proper_1(4)* 84 to 47 labelled top_1(4)* 87 to 84 labelled g_1(5)* 88 to 87 labelled ok_1(3)* 88 to 90 labelled g_1(4)* 90 to 84 labelled ok_1(4)* 90 to 93 labelled active_1(5)* 93 to 47 labelled top_1(5) ---------------------------------------- (4) YES