YES

We show the termination of the TRS R:

  not(true()) -> false()
  not(false()) -> true()
  odd(|0|()) -> false()
  odd(s(x)) -> not(odd(x))
  +(x,|0|()) -> x
  +(x,s(y)) -> s(+(x,y))
  +(s(x),y) -> s(+(x,y))

-- SCC decomposition.

Consider the dependency pair problem (P, R), where P consists of

p1: odd#(s(x)) -> not#(odd(x))
p2: odd#(s(x)) -> odd#(x)
p3: +#(x,s(y)) -> +#(x,y)
p4: +#(s(x),y) -> +#(x,y)

and R consists of:

r1: not(true()) -> false()
r2: not(false()) -> true()
r3: odd(|0|()) -> false()
r4: odd(s(x)) -> not(odd(x))
r5: +(x,|0|()) -> x
r6: +(x,s(y)) -> s(+(x,y))
r7: +(s(x),y) -> s(+(x,y))

The estimated dependency graph contains the following SCCs:

  {p2}
  {p3, p4}


-- Reduction pair.

Consider the dependency pair problem (P, R), where P consists of

p1: odd#(s(x)) -> odd#(x)

and R consists of:

r1: not(true()) -> false()
r2: not(false()) -> true()
r3: odd(|0|()) -> false()
r4: odd(s(x)) -> not(odd(x))
r5: +(x,|0|()) -> x
r6: +(x,s(y)) -> s(+(x,y))
r7: +(s(x),y) -> s(+(x,y))

The set of usable rules consists of

  (no rules)

Take the monotone reduction pair:

  lexicographic path order with precedence:
  
    precedence:
    
      s > odd#
    
    argument filter:
  
      pi(odd#) = [1]
      pi(s) = [1]

The next rules are strictly ordered:

  p1
  r1, r2, r3, r4, r5, r6, r7

We remove them from the problem.  Then no dependency pair remains.

-- Reduction pair.

Consider the dependency pair problem (P, R), where P consists of

p1: +#(x,s(y)) -> +#(x,y)
p2: +#(s(x),y) -> +#(x,y)

and R consists of:

r1: not(true()) -> false()
r2: not(false()) -> true()
r3: odd(|0|()) -> false()
r4: odd(s(x)) -> not(odd(x))
r5: +(x,|0|()) -> x
r6: +(x,s(y)) -> s(+(x,y))
r7: +(s(x),y) -> s(+(x,y))

The set of usable rules consists of

  (no rules)

Take the reduction pair:

  lexicographic path order with precedence:
  
    precedence:
    
      s > +#
    
    argument filter:
  
      pi(+#) = [1]
      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: +#(x,s(y)) -> +#(x,y)

and R consists of:

r1: not(true()) -> false()
r2: not(false()) -> true()
r3: odd(|0|()) -> false()
r4: odd(s(x)) -> not(odd(x))
r5: +(x,|0|()) -> x
r6: +(x,s(y)) -> s(+(x,y))
r7: +(s(x),y) -> s(+(x,y))

The estimated dependency graph contains the following SCCs:

  {p1}


-- Reduction pair.

Consider the dependency pair problem (P, R), where P consists of

p1: +#(x,s(y)) -> +#(x,y)

and R consists of:

r1: not(true()) -> false()
r2: not(false()) -> true()
r3: odd(|0|()) -> false()
r4: odd(s(x)) -> not(odd(x))
r5: +(x,|0|()) -> x
r6: +(x,s(y)) -> s(+(x,y))
r7: +(s(x),y) -> s(+(x,y))

The set of usable rules consists of

  (no rules)

Take the reduction pair:

  lexicographic path order with precedence:
  
    precedence:
    
      s > +#
    
    argument filter:
  
      pi(+#) = 2
      pi(s) = [1]

The next rules are strictly ordered:

  p1

We remove them from the problem.  Then no dependency pair remains.