YES proof of /export/starexec/sandbox/benchmark/theBenchmark.xml # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Termination w.r.t. Q of the given QTRS could be proven: (0) QTRS (1) DependencyPairsProof [EQUIVALENT, 0 ms] (2) QDP (3) MRRProof [EQUIVALENT, 24 ms] (4) QDP (5) MRRProof [EQUIVALENT, 0 ms] (6) QDP (7) SemLabProof [SOUND, 355 ms] (8) QDP (9) DependencyGraphProof [EQUIVALENT, 0 ms] (10) AND (11) QDP (12) UsableRulesReductionPairsProof [EQUIVALENT, 0 ms] (13) QDP (14) DependencyGraphProof [EQUIVALENT, 0 ms] (15) QDP (16) QDPOrderProof [EQUIVALENT, 0 ms] (17) QDP (18) PisEmptyProof [EQUIVALENT, 0 ms] (19) YES (20) QDP (21) UsableRulesReductionPairsProof [EQUIVALENT, 0 ms] (22) QDP (23) DependencyGraphProof [EQUIVALENT, 0 ms] (24) QDP (25) QDPOrderProof [EQUIVALENT, 0 ms] (26) QDP (27) PisEmptyProof [EQUIVALENT, 0 ms] (28) YES ---------------------------------------- (0) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: f(f(a, b), x) -> f(a, f(a, x)) f(f(b, a), x) -> f(b, f(b, x)) f(x, f(y, z)) -> f(f(x, y), z) Q is empty. ---------------------------------------- (1) DependencyPairsProof (EQUIVALENT) Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem. ---------------------------------------- (2) Obligation: Q DP problem: The TRS P consists of the following rules: F(f(a, b), x) -> F(a, f(a, x)) F(f(a, b), x) -> F(a, x) F(f(b, a), x) -> F(b, f(b, x)) F(f(b, a), x) -> F(b, x) F(x, f(y, z)) -> F(f(x, y), z) F(x, f(y, z)) -> F(x, y) The TRS R consists of the following rules: f(f(a, b), x) -> f(a, f(a, x)) f(f(b, a), x) -> f(b, f(b, x)) f(x, f(y, z)) -> f(f(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (3) MRRProof (EQUIVALENT) By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented. Strictly oriented dependency pairs: F(f(a, b), x) -> F(a, x) F(f(b, a), x) -> F(b, x) Used ordering: Polynomial interpretation [POLO]: POL(F(x_1, x_2)) = 2*x_1 + 2*x_2 POL(a) = 2 POL(b) = 2 POL(f(x_1, x_2)) = x_1 + x_2 ---------------------------------------- (4) Obligation: Q DP problem: The TRS P consists of the following rules: F(f(a, b), x) -> F(a, f(a, x)) F(f(b, a), x) -> F(b, f(b, x)) F(x, f(y, z)) -> F(f(x, y), z) F(x, f(y, z)) -> F(x, y) The TRS R consists of the following rules: f(f(a, b), x) -> f(a, f(a, x)) f(f(b, a), x) -> f(b, f(b, x)) f(x, f(y, z)) -> f(f(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (5) MRRProof (EQUIVALENT) By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented. Strictly oriented dependency pairs: F(x, f(y, z)) -> F(x, y) Used ordering: Polynomial interpretation [POLO]: POL(F(x_1, x_2)) = 2*x_1 + 2*x_2 POL(a) = 0 POL(b) = 0 POL(f(x_1, x_2)) = 1 + x_1 + x_2 ---------------------------------------- (6) Obligation: Q DP problem: The TRS P consists of the following rules: F(f(a, b), x) -> F(a, f(a, x)) F(f(b, a), x) -> F(b, f(b, x)) F(x, f(y, z)) -> F(f(x, y), z) The TRS R consists of the following rules: f(f(a, b), x) -> f(a, f(a, x)) f(f(b, a), x) -> f(b, f(b, x)) f(x, f(y, z)) -> f(f(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (7) SemLabProof (SOUND) We found the following model for the rules of the TRSs R and P. Interpretation over the domain with elements from 0 to 1. a: 0 b: 1 f: x0 F: 0 By semantic labelling [SEMLAB] we obtain the following labelled QDP problem. ---------------------------------------- (8) Obligation: Q DP problem: The TRS P consists of the following rules: F.0-0(f.0-1(a., b.), x) -> F.0-0(a., f.0-0(a., x)) F.0-0(x, f.0-0(y, z)) -> F.0-0(f.0-0(x, y), z) F.0-0(x, f.0-1(y, z)) -> F.0-1(f.0-0(x, y), z) F.0-1(x, f.1-0(y, z)) -> F.0-0(f.0-1(x, y), z) F.0-1(x, f.1-1(y, z)) -> F.0-1(f.0-1(x, y), z) F.1-0(x, f.0-0(y, z)) -> F.1-0(f.1-0(x, y), z) F.1-0(x, f.0-1(y, z)) -> F.1-1(f.1-0(x, y), z) F.1-1(x, f.1-0(y, z)) -> F.1-0(f.1-1(x, y), z) F.1-1(x, f.1-1(y, z)) -> F.1-1(f.1-1(x, y), z) F.0-1(f.0-1(a., b.), x) -> F.0-0(a., f.0-1(a., x)) F.1-0(f.1-0(b., a.), x) -> F.1-1(b., f.1-0(b., x)) F.1-1(f.1-0(b., a.), x) -> F.1-1(b., f.1-1(b., x)) The TRS R consists of the following rules: f.0-0(f.0-1(a., b.), x) -> f.0-0(a., f.0-0(a., x)) f.0-1(f.0-1(a., b.), x) -> f.0-0(a., f.0-1(a., x)) f.1-0(f.1-0(b., a.), x) -> f.1-1(b., f.1-0(b., x)) f.1-1(f.1-0(b., a.), x) -> f.1-1(b., f.1-1(b., x)) f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) f.0-1(x, f.1-0(y, z)) -> f.0-0(f.0-1(x, y), z) f.0-1(x, f.1-1(y, z)) -> f.0-1(f.0-1(x, y), z) f.1-0(x, f.0-0(y, z)) -> f.1-0(f.1-0(x, y), z) f.1-0(x, f.0-1(y, z)) -> f.1-1(f.1-0(x, y), z) f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (9) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs. ---------------------------------------- (10) Complex Obligation (AND) ---------------------------------------- (11) Obligation: Q DP problem: The TRS P consists of the following rules: F.1-0(f.1-0(b., a.), x) -> F.1-1(b., f.1-0(b., x)) F.1-1(x, f.1-0(y, z)) -> F.1-0(f.1-1(x, y), z) F.1-0(x, f.0-0(y, z)) -> F.1-0(f.1-0(x, y), z) F.1-0(x, f.0-1(y, z)) -> F.1-1(f.1-0(x, y), z) F.1-1(f.1-0(b., a.), x) -> F.1-1(b., f.1-1(b., x)) F.1-1(x, f.1-1(y, z)) -> F.1-1(f.1-1(x, y), z) The TRS R consists of the following rules: f.0-0(f.0-1(a., b.), x) -> f.0-0(a., f.0-0(a., x)) f.0-1(f.0-1(a., b.), x) -> f.0-0(a., f.0-1(a., x)) f.1-0(f.1-0(b., a.), x) -> f.1-1(b., f.1-0(b., x)) f.1-1(f.1-0(b., a.), x) -> f.1-1(b., f.1-1(b., x)) f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) f.0-1(x, f.1-0(y, z)) -> f.0-0(f.0-1(x, y), z) f.0-1(x, f.1-1(y, z)) -> f.0-1(f.0-1(x, y), z) f.1-0(x, f.0-0(y, z)) -> f.1-0(f.1-0(x, y), z) f.1-0(x, f.0-1(y, z)) -> f.1-1(f.1-0(x, y), z) f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (12) UsableRulesReductionPairsProof (EQUIVALENT) By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well. The following dependency pairs can be deleted: F.1-0(f.1-0(b., a.), x) -> F.1-1(b., f.1-0(b., x)) F.1-0(x, f.0-0(y, z)) -> F.1-0(f.1-0(x, y), z) F.1-0(x, f.0-1(y, z)) -> F.1-1(f.1-0(x, y), z) F.1-1(f.1-0(b., a.), x) -> F.1-1(b., f.1-1(b., x)) The following rules are removed from R: f.0-0(f.0-1(a., b.), x) -> f.0-0(a., f.0-0(a., x)) f.0-1(f.0-1(a., b.), x) -> f.0-0(a., f.0-1(a., x)) f.1-0(f.1-0(b., a.), x) -> f.1-1(b., f.1-0(b., x)) f.1-1(f.1-0(b., a.), x) -> f.1-1(b., f.1-1(b., x)) f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) f.0-1(x, f.1-0(y, z)) -> f.0-0(f.0-1(x, y), z) f.0-1(x, f.1-1(y, z)) -> f.0-1(f.0-1(x, y), z) f.1-0(x, f.0-0(y, z)) -> f.1-0(f.1-0(x, y), z) f.1-0(x, f.0-1(y, z)) -> f.1-1(f.1-0(x, y), z) Used ordering: POLO with Polynomial interpretation [POLO]: POL(F.1-0(x_1, x_2)) = 1 + x_1 + x_2 POL(F.1-1(x_1, x_2)) = 1 + x_1 + x_2 POL(a.) = 1 POL(b.) = 1 POL(f.0-0(x_1, x_2)) = x_1 + x_2 POL(f.0-1(x_1, x_2)) = 1 + x_1 + x_2 POL(f.1-0(x_1, x_2)) = x_1 + x_2 POL(f.1-1(x_1, x_2)) = x_1 + x_2 ---------------------------------------- (13) Obligation: Q DP problem: The TRS P consists of the following rules: F.1-1(x, f.1-0(y, z)) -> F.1-0(f.1-1(x, y), z) F.1-1(x, f.1-1(y, z)) -> F.1-1(f.1-1(x, y), z) The TRS R consists of the following rules: f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (14) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node. ---------------------------------------- (15) Obligation: Q DP problem: The TRS P consists of the following rules: F.1-1(x, f.1-1(y, z)) -> F.1-1(f.1-1(x, y), z) The TRS R consists of the following rules: f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (16) QDPOrderProof (EQUIVALENT) We use the reduction pair processor [LPAR04,JAR06]. The following pairs can be oriented strictly and are deleted. F.1-1(x, f.1-1(y, z)) -> F.1-1(f.1-1(x, y), z) The remaining pairs can at least be oriented weakly. Used ordering: Polynomial interpretation [POLO]: POL(F.1-1(x_1, x_2)) = x_2 POL(f.1-0(x_1, x_2)) = 1 + x_2 POL(f.1-1(x_1, x_2)) = 1 + x_1 + x_2 The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented: none ---------------------------------------- (17) Obligation: Q DP problem: P is empty. The TRS R consists of the following rules: f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (18) PisEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,Q,R) chain. ---------------------------------------- (19) YES ---------------------------------------- (20) Obligation: Q DP problem: The TRS P consists of the following rules: F.0-0(x, f.0-0(y, z)) -> F.0-0(f.0-0(x, y), z) F.0-0(x, f.0-1(y, z)) -> F.0-1(f.0-0(x, y), z) F.0-1(x, f.1-0(y, z)) -> F.0-0(f.0-1(x, y), z) F.0-0(f.0-1(a., b.), x) -> F.0-0(a., f.0-0(a., x)) F.0-1(x, f.1-1(y, z)) -> F.0-1(f.0-1(x, y), z) F.0-1(f.0-1(a., b.), x) -> F.0-0(a., f.0-1(a., x)) The TRS R consists of the following rules: f.0-0(f.0-1(a., b.), x) -> f.0-0(a., f.0-0(a., x)) f.0-1(f.0-1(a., b.), x) -> f.0-0(a., f.0-1(a., x)) f.1-0(f.1-0(b., a.), x) -> f.1-1(b., f.1-0(b., x)) f.1-1(f.1-0(b., a.), x) -> f.1-1(b., f.1-1(b., x)) f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) f.0-1(x, f.1-0(y, z)) -> f.0-0(f.0-1(x, y), z) f.0-1(x, f.1-1(y, z)) -> f.0-1(f.0-1(x, y), z) f.1-0(x, f.0-0(y, z)) -> f.1-0(f.1-0(x, y), z) f.1-0(x, f.0-1(y, z)) -> f.1-1(f.1-0(x, y), z) f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (21) UsableRulesReductionPairsProof (EQUIVALENT) By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well. The following dependency pairs can be deleted: F.0-1(x, f.1-0(y, z)) -> F.0-0(f.0-1(x, y), z) F.0-0(f.0-1(a., b.), x) -> F.0-0(a., f.0-0(a., x)) F.0-1(x, f.1-1(y, z)) -> F.0-1(f.0-1(x, y), z) F.0-1(f.0-1(a., b.), x) -> F.0-0(a., f.0-1(a., x)) The following rules are removed from R: f.0-0(f.0-1(a., b.), x) -> f.0-0(a., f.0-0(a., x)) f.0-1(f.0-1(a., b.), x) -> f.0-0(a., f.0-1(a., x)) f.1-0(f.1-0(b., a.), x) -> f.1-1(b., f.1-0(b., x)) f.1-1(f.1-0(b., a.), x) -> f.1-1(b., f.1-1(b., x)) f.0-1(x, f.1-0(y, z)) -> f.0-0(f.0-1(x, y), z) f.0-1(x, f.1-1(y, z)) -> f.0-1(f.0-1(x, y), z) f.1-0(x, f.0-0(y, z)) -> f.1-0(f.1-0(x, y), z) f.1-0(x, f.0-1(y, z)) -> f.1-1(f.1-0(x, y), z) f.1-1(x, f.1-0(y, z)) -> f.1-0(f.1-1(x, y), z) f.1-1(x, f.1-1(y, z)) -> f.1-1(f.1-1(x, y), z) Used ordering: POLO with Polynomial interpretation [POLO]: POL(F.0-0(x_1, x_2)) = 1 + x_1 + x_2 POL(F.0-1(x_1, x_2)) = 1 + x_1 + x_2 POL(a.) = 0 POL(b.) = 1 POL(f.0-0(x_1, x_2)) = x_1 + x_2 POL(f.0-1(x_1, x_2)) = x_1 + x_2 POL(f.1-0(x_1, x_2)) = 1 + x_1 + x_2 POL(f.1-1(x_1, x_2)) = x_1 + x_2 ---------------------------------------- (22) Obligation: Q DP problem: The TRS P consists of the following rules: F.0-0(x, f.0-0(y, z)) -> F.0-0(f.0-0(x, y), z) F.0-0(x, f.0-1(y, z)) -> F.0-1(f.0-0(x, y), z) The TRS R consists of the following rules: f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (23) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node. ---------------------------------------- (24) Obligation: Q DP problem: The TRS P consists of the following rules: F.0-0(x, f.0-0(y, z)) -> F.0-0(f.0-0(x, y), z) The TRS R consists of the following rules: f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (25) QDPOrderProof (EQUIVALENT) We use the reduction pair processor [LPAR04,JAR06]. The following pairs can be oriented strictly and are deleted. F.0-0(x, f.0-0(y, z)) -> F.0-0(f.0-0(x, y), z) The remaining pairs can at least be oriented weakly. Used ordering: Polynomial interpretation [POLO]: POL(F.0-0(x_1, x_2)) = x_2 POL(f.0-0(x_1, x_2)) = 1 + x_1 + x_2 POL(f.0-1(x_1, x_2)) = x_1 + x_2 The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented: none ---------------------------------------- (26) Obligation: Q DP problem: P is empty. The TRS R consists of the following rules: f.0-0(x, f.0-0(y, z)) -> f.0-0(f.0-0(x, y), z) f.0-0(x, f.0-1(y, z)) -> f.0-1(f.0-0(x, y), z) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (27) PisEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,Q,R) chain. ---------------------------------------- (28) YES