/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: c69e44bd14796315568835c1ffa2502984884775 mhark 20210624 unpublished Termination of the given CSR could be proven: (0) CSR (1) CSRRRRProof [EQUIVALENT, 148 ms] (2) CSR (3) CSRRRRProof [EQUIVALENT, 36 ms] (4) CSR (5) CSRRRRProof [EQUIVALENT, 31 ms] (6) CSR (7) CSRRRRProof [EQUIVALENT, 26 ms] (8) CSR (9) CSRRRRProof [EQUIVALENT, 0 ms] (10) CSR (11) CSRRRRProof [EQUIVALENT, 0 ms] (12) CSR (13) CSRRRRProof [EQUIVALENT, 0 ms] (14) CSR (15) CSRRRRProof [EQUIVALENT, 0 ms] (16) CSR (17) CSRRRRProof [EQUIVALENT, 0 ms] (18) CSR (19) CSRRRRProof [EQUIVALENT, 0 ms] (20) CSR (21) RisEmptyProof [EQUIVALENT, 3 ms] (22) YES ---------------------------------------- (0) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U51(tt, N) -> U52(isNatKind(N), N) U52(tt, N) -> N U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) plus(N, 0) -> U51(isNat(N), N) plus(N, s(M)) -> U61(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U51: {1} U52: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (1) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U51(tt, N) -> U52(isNatKind(N), N) U52(tt, N) -> N U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) plus(N, 0) -> U51(isNat(N), N) plus(N, s(M)) -> U61(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U51: {1} U52: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2, x_3)) = x_1 POL(U12(x_1, x_2, x_3)) = x_1 POL(U13(x_1, x_2, x_3)) = x_1 POL(U14(x_1, x_2, x_3)) = x_1 POL(U15(x_1, x_2)) = x_1 POL(U16(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 POL(U22(x_1, x_2)) = x_1 POL(U23(x_1)) = x_1 POL(U31(x_1, x_2)) = x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = x_1 POL(U51(x_1, x_2)) = x_1 + x_2 POL(U52(x_1, x_2)) = x_1 + x_2 POL(U61(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U62(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U63(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U64(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: plus(N, 0) -> U51(isNat(N), N) ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U51(tt, N) -> U52(isNatKind(N), N) U52(tt, N) -> N U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) plus(N, s(M)) -> U61(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U51: {1} U52: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (3) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U51(tt, N) -> U52(isNatKind(N), N) U52(tt, N) -> N U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) plus(N, s(M)) -> U61(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U51: {1} U52: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = x_1 POL(U12(x_1, x_2, x_3)) = x_1 POL(U13(x_1, x_2, x_3)) = 2*x_1 POL(U14(x_1, x_2, x_3)) = 2*x_1 POL(U15(x_1, x_2)) = x_1 POL(U16(x_1)) = 2*x_1 POL(U21(x_1, x_2)) = 2*x_1 POL(U22(x_1, x_2)) = x_1 POL(U23(x_1)) = 2*x_1 POL(U31(x_1, x_2)) = 2*x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = x_1 POL(U51(x_1, x_2)) = 2 + x_1 + 2*x_2 POL(U52(x_1, x_2)) = 1 + x_1 + 2*x_2 POL(U61(x_1, x_2, x_3)) = 2*x_1 + x_2 + x_3 POL(U62(x_1, x_2, x_3)) = 2*x_1 + x_2 + x_3 POL(U63(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U64(x_1, x_2, x_3)) = 2*x_1 + x_2 + x_3 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U51(tt, N) -> U52(isNatKind(N), N) U52(tt, N) -> N ---------------------------------------- (4) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) plus(N, s(M)) -> U61(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (5) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) plus(N, s(M)) -> U61(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = 2*x_1 POL(U12(x_1, x_2, x_3)) = x_1 POL(U13(x_1, x_2, x_3)) = x_1 POL(U14(x_1, x_2, x_3)) = 2*x_1 POL(U15(x_1, x_2)) = 2*x_1 POL(U16(x_1)) = x_1 POL(U21(x_1, x_2)) = 2*x_1 POL(U22(x_1, x_2)) = 2*x_1 POL(U23(x_1)) = x_1 POL(U31(x_1, x_2)) = 2*x_1 POL(U32(x_1)) = 2*x_1 POL(U41(x_1)) = 2*x_1 POL(U61(x_1, x_2, x_3)) = 2 + 2*x_1 + 2*x_2 + x_3 POL(U62(x_1, x_2, x_3)) = 2 + 2*x_1 + 2*x_2 + x_3 POL(U63(x_1, x_2, x_3)) = 2 + 2*x_1 + 2*x_2 + x_3 POL(U64(x_1, x_2, x_3)) = 2 + x_1 + 2*x_2 + x_3 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + 2*x_2 POL(s(x_1)) = 2 + x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: plus(N, s(M)) -> U61(isNat(M), M, N) ---------------------------------------- (6) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (7) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U63(tt, M, N) -> U64(isNatKind(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = 2*x_1 POL(U12(x_1, x_2, x_3)) = 2*x_1 POL(U13(x_1, x_2, x_3)) = 2*x_1 POL(U14(x_1, x_2, x_3)) = x_1 POL(U15(x_1, x_2)) = 2*x_1 POL(U16(x_1)) = x_1 POL(U21(x_1, x_2)) = 2*x_1 POL(U22(x_1, x_2)) = 2*x_1 POL(U23(x_1)) = 2*x_1 POL(U31(x_1, x_2)) = 2*x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = 2*x_1 POL(U61(x_1, x_2, x_3)) = 1 + 2*x_1 + 2*x_2 + 2*x_3 POL(U62(x_1, x_2, x_3)) = 1 + 2*x_1 + x_2 + 2*x_3 POL(U63(x_1, x_2, x_3)) = 1 + 2*x_1 + x_2 + 2*x_3 POL(U64(x_1, x_2, x_3)) = 2*x_1 + x_2 + x_3 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U63(tt, M, N) -> U64(isNatKind(N), M, N) ---------------------------------------- (8) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (9) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U61(tt, M, N) -> U62(isNatKind(M), M, N) U62(tt, M, N) -> U63(isNat(N), M, N) U64(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U61: {1} U62: {1} U63: {1} U64: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2, x_3)) = x_1 POL(U12(x_1, x_2, x_3)) = x_1 POL(U13(x_1, x_2, x_3)) = x_1 POL(U14(x_1, x_2, x_3)) = x_1 POL(U15(x_1, x_2)) = x_1 POL(U16(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 POL(U22(x_1, x_2)) = x_1 POL(U23(x_1)) = x_1 POL(U31(x_1, x_2)) = x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = x_1 POL(U61(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(U62(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U63(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U64(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U61(tt, M, N) -> U62(isNatKind(M), M, N) U64(tt, M, N) -> s(plus(N, M)) ---------------------------------------- (10) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U62(tt, M, N) -> U63(isNat(N), M, N) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U62: {1} U63: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (11) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U22(tt, V1) -> U23(isNat(V1)) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt U62(tt, M, N) -> U63(isNat(N), M, N) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} U15: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} U62: {1} U63: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U12(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U13(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U14(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U15(x_1, x_2)) = x_1 + x_2 POL(U16(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 + x_2 POL(U22(x_1, x_2)) = x_1 + x_2 POL(U23(x_1)) = x_1 POL(U31(x_1, x_2)) = x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = x_1 POL(U62(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(U63(x_1, x_2, x_3)) = x_1 + x_2 POL(isNat(x_1)) = x_1 POL(isNatKind(x_1)) = 1 POL(plus(x_1, x_2)) = 1 + x_1 + x_2 POL(s(x_1)) = 1 + x_1 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U14(tt, V1, V2) -> U15(isNat(V1), V2) U15(tt, V2) -> U16(isNat(V2)) U22(tt, V1) -> U23(isNat(V1)) U62(tt, M, N) -> U63(isNat(N), M, N) ---------------------------------------- (12) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (13) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U12(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U13(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U14(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U16(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 + x_2 POL(U22(x_1, x_2)) = x_1 + x_2 POL(U23(x_1)) = x_1 POL(U31(x_1, x_2)) = x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = x_1 POL(isNat(x_1)) = 1 + x_1 POL(isNatKind(x_1)) = 1 POL(plus(x_1, x_2)) = 1 + x_1 + x_2 POL(s(x_1)) = 1 + x_1 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isNat(plus(V1, V2)) -> U11(isNatKind(V1), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) ---------------------------------------- (14) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt isNat(0) -> tt isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (15) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U23(tt) -> tt U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt isNat(0) -> tt isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNatKind: empty set U13: {1} U14: {1} isNat: empty set U16: {1} U21: {1} U22: {1} U23: {1} U31: {1} U32: {1} U41: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 2 POL(U11(x_1, x_2, x_3)) = 2 + x_1 + 2*x_2 + x_3 POL(U12(x_1, x_2, x_3)) = 1 + 2*x_1 + 2*x_2 + x_3 POL(U13(x_1, x_2, x_3)) = 2*x_1 + 2*x_2 POL(U14(x_1, x_2, x_3)) = x_1 + 2*x_2 POL(U16(x_1)) = 2 + x_1 POL(U21(x_1, x_2)) = 2 + 2*x_1 + 2*x_2 POL(U22(x_1, x_2)) = 1 + x_1 + 2*x_2 POL(U23(x_1)) = 1 + x_1 POL(U31(x_1, x_2)) = 2*x_1 POL(U32(x_1)) = x_1 POL(U41(x_1)) = 2*x_1 POL(isNat(x_1)) = 1 + x_1 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = 2 + 2*x_1 + 2*x_2 POL(s(x_1)) = 2 + 2*x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U11(tt, V1, V2) -> U12(isNatKind(V1), V1, V2) U12(tt, V1, V2) -> U13(isNatKind(V2), V1, V2) U16(tt) -> tt U21(tt, V1) -> U22(isNatKind(V1), V1) U23(tt) -> tt isNat(0) -> tt ---------------------------------------- (16) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: tt: empty set isNatKind: empty set U13: {1} U14: {1} U31: {1} U32: {1} U41: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (17) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U31(tt, V2) -> U32(isNatKind(V2)) U32(tt) -> tt U41(tt) -> tt isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) The replacement map contains the following entries: tt: empty set isNatKind: empty set U13: {1} U14: {1} U31: {1} U32: {1} U41: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 2 POL(U13(x_1, x_2, x_3)) = 1 + 2*x_1 + 2*x_2 + 2*x_3 POL(U14(x_1, x_2, x_3)) = 1 + x_1 + 2*x_2 POL(U31(x_1, x_2)) = x_1 + 2*x_2 POL(U32(x_1)) = 1 + x_1 POL(U41(x_1)) = 2*x_1 POL(isNatKind(x_1)) = 1 + 2*x_1 POL(plus(x_1, x_2)) = 1 + 2*x_1 + 2*x_2 POL(s(x_1)) = 2 + 2*x_1 POL(tt) = 2 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U13(tt, V1, V2) -> U14(isNatKind(V2), V1, V2) U32(tt) -> tt U41(tt) -> tt isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> U31(isNatKind(V1), V2) isNatKind(s(V1)) -> U41(isNatKind(V1)) ---------------------------------------- (18) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U31(tt, V2) -> U32(isNatKind(V2)) The replacement map contains the following entries: tt: empty set isNatKind: empty set U31: {1} U32: {1} ---------------------------------------- (19) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U31(tt, V2) -> U32(isNatKind(V2)) The replacement map contains the following entries: tt: empty set isNatKind: empty set U31: {1} U32: {1} Used ordering: Polynomial interpretation [POLO]: POL(U31(x_1, x_2)) = x_1 + x_2 POL(U32(x_1)) = x_1 POL(isNatKind(x_1)) = x_1 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U31(tt, V2) -> U32(isNatKind(V2)) ---------------------------------------- (20) Obligation: Context-sensitive rewrite system: R is empty. ---------------------------------------- (21) RisEmptyProof (EQUIVALENT) The CSR R is empty. Hence, termination is trivially proven. ---------------------------------------- (22) YES