Certification Problem

Input (TPDB Runtime_Complexity_Innermost_Rewriting/SK90/2.31)

The rewrite relation of the following TRS is considered.

not(true) false (1)
not(false) true (2)
odd(0) false (3)
odd(s(x)) not(odd(x)) (4)
+(x,0) x (5)
+(x,s(y)) s(+(x,y)) (6)
+(s(x),y) s(+(x,y)) (7)
The evaluation strategy is innermost.

Property / Task

Determine bounds on the runtime complexity.

Answer / Result

An upperbound for the complexity is O(n).

Proof (by AProVE @ termCOMP 2023)

1 Bounds

The given TRS is match-(raise)-bounded by 2. This is shown by the following automaton.