Certification Problem

Input (TPDB TRS_Standard/AProVE_07/otto03)

The rewrite relation of the following TRS is considered.

lt(0,s(x)) true (1)
lt(x,0) false (2)
lt(s(x),s(y)) lt(x,y) (3)
fac(x) help(x,0) (4)
help(x,c) if(lt(c,x),x,c) (5)
if(true,x,c) times(s(c),help(x,s(c))) (6)
if(false,x,c) s(0) (7)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Switch to Innermost Termination

The TRS is overlay and locally confluent:

10

Hence, it suffices to show innermost termination in the following.

1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
lt#(s(x),s(y)) lt#(x,y) (8)
fac#(x) help#(x,0) (9)
help#(x,c) if#(lt(c,x),x,c) (10)
help#(x,c) lt#(c,x) (11)
if#(true,x,c) help#(x,s(c)) (12)

1.1.1 Dependency Graph Processor

The dependency pairs are split into 2 components.