/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 of the given RelTRS could be proven: (0) RelTRS (1) RelTRS Reverse [SOUND, 0 ms] (2) RelTRS (3) RelTRSRRRProof [EQUIVALENT, 29 ms] (4) RelTRS (5) RelTRSRRRProof [EQUIVALENT, 5 ms] (6) RelTRS (7) RelTRSRRRProof [EQUIVALENT, 30 ms] (8) RelTRS (9) RelTRSRRRProof [EQUIVALENT, 16 ms] (10) RelTRS (11) RelTRSRRRProof [EQUIVALENT, 0 ms] (12) RelTRS (13) RIsEmptyProof [EQUIVALENT, 0 ms] (14) YES ---------------------------------------- (0) Obligation: Relative term rewrite system: The relative TRS consists of the following R rules: half(0) -> 0 half(s(s(x))) -> s(half(x)) log(s(0)) -> 0 log(s(s(x))) -> s(log(s(half(x)))) The relative TRS consists of the following S rules: rand(x) -> x rand(x) -> rand(s(x)) ---------------------------------------- (1) RelTRS Reverse (SOUND) We have reversed the following relative TRS [REVERSE]: The set of rules R is half(0) -> 0 half(s(s(x))) -> s(half(x)) log(s(0)) -> 0 log(s(s(x))) -> s(log(s(half(x)))) The set of rules S is rand(x) -> x rand(x) -> rand(s(x)) We have obtained the following relative TRS: The set of rules R is 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 set of rules S is rand(x) -> x rand(x) -> s(rand(x)) ---------------------------------------- (2) Obligation: Relative term rewrite system: The relative TRS consists of the following R 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)))) The relative TRS consists of the following S rules: rand(x) -> x rand(x) -> s(rand(x)) ---------------------------------------- (3) RelTRSRRRProof (EQUIVALENT) We used the following monotonic ordering for rule removal: Polynomial interpretation [POLO]: POL(0'(x_1)) = x_1 POL(half(x_1)) = x_1 POL(log(x_1)) = x_1 POL(rand(x_1)) = 1 + x_1 POL(s(x_1)) = x_1 With this ordering the following rules can be removed [MATRO] because they are oriented strictly: Rules from R: none Rules from S: rand(x) -> x ---------------------------------------- (4) Obligation: Relative term rewrite system: The relative TRS consists of the following R 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)))) The relative TRS consists of the following S rules: rand(x) -> s(rand(x)) ---------------------------------------- (5) RelTRSRRRProof (EQUIVALENT) We used the following monotonic ordering for rule removal: Polynomial interpretation [POLO]: POL(0'(x_1)) = x_1 POL(half(x_1)) = x_1 POL(log(x_1)) = 1 + x_1 POL(rand(x_1)) = x_1 POL(s(x_1)) = x_1 With this ordering the following rules can be removed [MATRO] because they are oriented strictly: Rules from R: 0'(s(log(x))) -> 0'(x) Rules from S: none ---------------------------------------- (6) Obligation: Relative term rewrite system: The relative TRS consists of the following R rules: 0'(half(x)) -> 0'(x) s(s(half(x))) -> half(s(x)) s(s(log(x))) -> half(s(log(s(x)))) The relative TRS consists of the following S rules: rand(x) -> s(rand(x)) ---------------------------------------- (7) RelTRSRRRProof (EQUIVALENT) We used the following monotonic ordering for rule removal: Matrix interpretation [MATRO] to (N^2, +, *, >=, >) : <<< POL(0'(x_1)) = [[2], [2]] + [[2, 2], [0, 0]] * x_1 >>> <<< POL(half(x_1)) = [[0], [2]] + [[1, 0], [0, 1]] * x_1 >>> <<< POL(s(x_1)) = [[0], [0]] + [[1, 0], [0, 2]] * x_1 >>> <<< POL(log(x_1)) = [[0], [1]] + [[1, 0], [0, 0]] * x_1 >>> <<< POL(rand(x_1)) = [[0], [0]] + [[1, 0], [0, 0]] * x_1 >>> With this ordering the following rules can be removed [MATRO] because they are oriented strictly: Rules from R: 0'(half(x)) -> 0'(x) Rules from S: none ---------------------------------------- (8) Obligation: Relative term rewrite system: The relative TRS consists of the following R rules: s(s(half(x))) -> half(s(x)) s(s(log(x))) -> half(s(log(s(x)))) The relative TRS consists of the following S rules: rand(x) -> s(rand(x)) ---------------------------------------- (9) RelTRSRRRProof (EQUIVALENT) We used the following monotonic ordering for rule removal: Matrix interpretation [MATRO] to (N^2, +, *, >=, >) : <<< POL(s(x_1)) = [[0], [0]] + [[1, 2], [0, 1]] * x_1 >>> <<< POL(half(x_1)) = [[2], [0]] + [[1, 0], [0, 1]] * x_1 >>> <<< POL(log(x_1)) = [[2], [2]] + [[2, 0], [0, 2]] * x_1 >>> <<< POL(rand(x_1)) = [[0], [0]] + [[1, 0], [0, 0]] * x_1 >>> With this ordering the following rules can be removed [MATRO] because they are oriented strictly: Rules from R: s(s(log(x))) -> half(s(log(s(x)))) Rules from S: none ---------------------------------------- (10) Obligation: Relative term rewrite system: The relative TRS consists of the following R rules: s(s(half(x))) -> half(s(x)) The relative TRS consists of the following S rules: rand(x) -> s(rand(x)) ---------------------------------------- (11) RelTRSRRRProof (EQUIVALENT) We used the following monotonic ordering for rule removal: Matrix interpretation [MATRO] to (N^2, +, *, >=, >) : <<< POL(s(x_1)) = [[0], [0]] + [[1, 1], [0, 2]] * x_1 >>> <<< POL(half(x_1)) = [[2], [1]] + [[1, 0], [0, 1]] * x_1 >>> <<< POL(rand(x_1)) = [[0], [0]] + [[2, 0], [0, 0]] * x_1 >>> With this ordering the following rules can be removed [MATRO] because they are oriented strictly: Rules from R: s(s(half(x))) -> half(s(x)) Rules from S: none ---------------------------------------- (12) Obligation: Relative term rewrite system: R is empty. The relative TRS consists of the following S rules: rand(x) -> s(rand(x)) ---------------------------------------- (13) RIsEmptyProof (EQUIVALENT) The TRS R is empty. Hence, termination is trivially proven. ---------------------------------------- (14) YES