YES proof of /export/starexec/sandbox/benchmark/theBenchmark.xml # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Termination of the given CSR could be proven: (0) CSR (1) CSRRRRProof [EQUIVALENT, 46 ms] (2) CSR (3) CSRRRRProof [EQUIVALENT, 13 ms] (4) CSR (5) CSRRRRProof [EQUIVALENT, 0 ms] (6) CSR (7) CSRRRRProof [EQUIVALENT, 0 ms] (8) CSR (9) CSRRRRProof [EQUIVALENT, 14 ms] (10) CSR (11) CSRRRRProof [EQUIVALENT, 0 ms] (12) CSR (13) CSRRRRProof [EQUIVALENT, 0 ms] (14) CSR (15) CSRRRRProof [EQUIVALENT, 2 ms] (16) CSR (17) RisEmptyProof [EQUIVALENT, 0 ms] (18) YES ---------------------------------------- (0) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) __(X, nil) -> X __(nil, X) -> X and(tt, X) -> X isList(V) -> isNeList(V) isList(nil) -> tt isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(V) -> isQid(V) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isNePal(__(I, __(P, I))) -> and(isQid(I), isPal(P)) isPal(V) -> isNePal(V) isPal(nil) -> tt isQid(a) -> tt isQid(e) -> tt isQid(i) -> tt isQid(o) -> tt isQid(u) -> tt The replacement map contains the following entries: __: {1, 2} nil: empty set and: {1} tt: empty set isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set a: empty set e: empty set i: empty set o: empty set u: empty set ---------------------------------------- (1) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) __(X, nil) -> X __(nil, X) -> X and(tt, X) -> X isList(V) -> isNeList(V) isList(nil) -> tt isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(V) -> isQid(V) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isNePal(__(I, __(P, I))) -> and(isQid(I), isPal(P)) isPal(V) -> isNePal(V) isPal(nil) -> tt isQid(a) -> tt isQid(e) -> tt isQid(i) -> tt isQid(o) -> tt isQid(u) -> tt The replacement map contains the following entries: __: {1, 2} nil: empty set and: {1} tt: empty set isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set a: empty set e: empty set i: empty set o: empty set u: empty set Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = 1 + x_1 + x_2 POL(a) = 0 POL(and(x_1, x_2)) = x_1 + x_2 POL(e) = 0 POL(i) = 1 POL(isList(x_1)) = 1 + x_1 POL(isNeList(x_1)) = 1 + x_1 POL(isNePal(x_1)) = 1 + x_1 POL(isPal(x_1)) = 1 + x_1 POL(isQid(x_1)) = 1 + x_1 POL(nil) = 0 POL(o) = 1 POL(tt) = 1 POL(u) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: __(X, nil) -> X __(nil, X) -> X and(tt, X) -> X isNePal(__(I, __(P, I))) -> and(isQid(I), isPal(P)) isQid(i) -> tt isQid(o) -> tt ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(nil) -> tt isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(V) -> isQid(V) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isPal(V) -> isNePal(V) isPal(nil) -> tt isQid(a) -> tt isQid(e) -> tt isQid(u) -> tt The replacement map contains the following entries: __: {1, 2} nil: empty set and: {1} tt: empty set isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set a: empty set e: empty set u: empty set ---------------------------------------- (3) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(nil) -> tt isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(V) -> isQid(V) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isPal(V) -> isNePal(V) isPal(nil) -> tt isQid(a) -> tt isQid(e) -> tt isQid(u) -> tt The replacement map contains the following entries: __: {1, 2} nil: empty set and: {1} tt: empty set isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set a: empty set e: empty set u: empty set Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = x_1 + x_2 POL(a) = 1 POL(and(x_1, x_2)) = x_1 POL(e) = 1 POL(isList(x_1)) = 1 POL(isNeList(x_1)) = 1 POL(isNePal(x_1)) = 1 + x_1 POL(isPal(x_1)) = 1 + x_1 POL(isQid(x_1)) = 1 POL(nil) = 0 POL(tt) = 0 POL(u) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isList(nil) -> tt isPal(nil) -> tt isQid(a) -> tt isQid(e) -> tt isQid(u) -> tt ---------------------------------------- (4) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(V) -> isQid(V) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isPal(V) -> isNePal(V) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set ---------------------------------------- (5) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(V) -> isQid(V) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isPal(V) -> isNePal(V) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = 1 + x_1 + x_2 POL(and(x_1, x_2)) = 1 + x_1 POL(isList(x_1)) = 1 + x_1 POL(isNeList(x_1)) = 1 + x_1 POL(isNePal(x_1)) = x_1 POL(isPal(x_1)) = x_1 POL(isQid(x_1)) = x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isNeList(V) -> isQid(V) ---------------------------------------- (6) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isPal(V) -> isNePal(V) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set ---------------------------------------- (7) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isNePal(V) -> isQid(V) isPal(V) -> isNePal(V) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set isQid: empty set isNePal: empty set isPal: empty set Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = 1 + x_1 + x_2 POL(and(x_1, x_2)) = 1 + x_1 POL(isList(x_1)) = 1 + x_1 POL(isNeList(x_1)) = 1 + x_1 POL(isNePal(x_1)) = 1 + x_1 POL(isPal(x_1)) = 1 + x_1 POL(isQid(x_1)) = x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isNePal(V) -> isQid(V) ---------------------------------------- (8) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isPal(V) -> isNePal(V) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set isNePal: empty set isPal: empty set ---------------------------------------- (9) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) isPal(V) -> isNePal(V) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set isNePal: empty set isPal: empty set Used ordering: Matrix interpretation [MATRO] to (N^2, +, *, >=, >) : <<< POL(__(x_1, x_2)) = [[0], [0]] + [[1, 0], [0, 0]] * x_1 + [[1, 0], [0, 0]] * x_2 >>> <<< POL(isList(x_1)) = [[0], [0]] + [[1, 0], [0, 0]] * x_1 >>> <<< POL(isNeList(x_1)) = [[0], [0]] + [[1, 0], [0, 0]] * x_1 >>> <<< POL(and(x_1, x_2)) = [[0], [0]] + [[1, 0], [0, 0]] * x_1 + [[1, 1], [0, 1]] * x_2 >>> <<< POL(isPal(x_1)) = [[1], [1]] + [[1, 1], [1, 1]] * x_1 >>> <<< POL(isNePal(x_1)) = [[0], [1]] + [[1, 1], [1, 1]] * x_1 >>> With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isPal(V) -> isNePal(V) ---------------------------------------- (10) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set ---------------------------------------- (11) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) The replacement map contains the following entries: __: {1, 2} and: {1} isList: empty set isNeList: empty set Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = 1 + x_1 + x_2 POL(and(x_1, x_2)) = x_1 POL(isList(x_1)) = x_1 POL(isNeList(x_1)) = x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isList(__(V1, V2)) -> and(isList(V1), isList(V2)) isNeList(__(V1, V2)) -> and(isList(V1), isNeList(V2)) isNeList(__(V1, V2)) -> and(isNeList(V1), isList(V2)) ---------------------------------------- (12) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) The replacement map contains the following entries: __: {1, 2} isList: empty set isNeList: empty set ---------------------------------------- (13) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) isList(V) -> isNeList(V) The replacement map contains the following entries: __: {1, 2} isList: empty set isNeList: empty set Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = x_1 + x_2 POL(isList(x_1)) = 1 + x_1 POL(isNeList(x_1)) = x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isList(V) -> isNeList(V) ---------------------------------------- (14) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) The replacement map contains the following entries: __: {1, 2} ---------------------------------------- (15) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: __(__(X, Y), Z) -> __(X, __(Y, Z)) The replacement map contains the following entries: __: {1, 2} Used ordering: Polynomial interpretation [POLO]: POL(__(x_1, x_2)) = 1 + 2*x_1 + x_2 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: __(__(X, Y), Z) -> __(X, __(Y, Z)) ---------------------------------------- (16) Obligation: Context-sensitive rewrite system: R is empty. ---------------------------------------- (17) RisEmptyProof (EQUIVALENT) The CSR R is empty. Hence, termination is trivially proven. ---------------------------------------- (18) YES