YES We show the termination of the TRS R: not(true()) -> false() not(false()) -> true() evenodd(x,|0|()) -> not(evenodd(x,s(|0|()))) evenodd(|0|(),s(|0|())) -> false() evenodd(s(x),s(|0|())) -> evenodd(x,|0|()) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: evenodd#(x,|0|()) -> not#(evenodd(x,s(|0|()))) p2: evenodd#(x,|0|()) -> evenodd#(x,s(|0|())) p3: evenodd#(s(x),s(|0|())) -> evenodd#(x,|0|()) and R consists of: r1: not(true()) -> false() r2: not(false()) -> true() r3: evenodd(x,|0|()) -> not(evenodd(x,s(|0|()))) r4: evenodd(|0|(),s(|0|())) -> false() r5: evenodd(s(x),s(|0|())) -> evenodd(x,|0|()) The estimated dependency graph contains the following SCCs: {p2, p3} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: evenodd#(x,|0|()) -> evenodd#(x,s(|0|())) p2: evenodd#(s(x),s(|0|())) -> evenodd#(x,|0|()) and R consists of: r1: not(true()) -> false() r2: not(false()) -> true() r3: evenodd(x,|0|()) -> not(evenodd(x,s(|0|()))) r4: evenodd(|0|(),s(|0|())) -> false() r5: evenodd(s(x),s(|0|())) -> evenodd(x,|0|()) The set of usable rules consists of (no rules) Take the reduction pair: lexicographic combination of reduction pairs: 1. weighted path order base order: max/plus interpretations on natural numbers: evenodd#_A(x1,x2) = max{7, x1 - 1} |0|_A = 6 s_A(x1) = max{10, x1 + 9} precedence: evenodd# > s > |0| partial status: pi(evenodd#) = [] pi(|0|) = [] pi(s) = [1] 2. weighted path order base order: max/plus interpretations on natural numbers: evenodd#_A(x1,x2) = 9 |0|_A = 4 s_A(x1) = x1 + 5 precedence: evenodd# = |0| = s partial status: pi(evenodd#) = [] pi(|0|) = [] pi(s) = [1] The next rules are strictly ordered: p2 We remove them from the problem. -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: evenodd#(x,|0|()) -> evenodd#(x,s(|0|())) and R consists of: r1: not(true()) -> false() r2: not(false()) -> true() r3: evenodd(x,|0|()) -> not(evenodd(x,s(|0|()))) r4: evenodd(|0|(),s(|0|())) -> false() r5: evenodd(s(x),s(|0|())) -> evenodd(x,|0|()) The estimated dependency graph contains the following SCCs: (no SCCs)