| le#( s( x ) , s( y ) ) | → | le#( x , y ) |
| minus#( s( x ) , y ) | → | if_minus#( le( s( x ) , y ) , s( x ) , y ) |
| minus#( s( x ) , y ) | → | le#( s( x ) , y ) |
| if_minus#( false , s( x ) , y ) | → | minus#( x , y ) |
| mod#( s( x ) , s( y ) ) | → | if_mod#( le( y , x ) , s( x ) , s( y ) ) |
| mod#( s( x ) , s( y ) ) | → | le#( y , x ) |
| if_mod#( true , s( x ) , s( y ) ) | → | mod#( minus( x , y ) , s( y ) ) |
| if_mod#( true , s( x ) , s( y ) ) | → | minus#( x , y ) |
The dependency pairs are split into 3 component(s).
| if_mod#( true , s( x ) , s( y ) ) | → | mod#( minus( x , y ) , s( y ) ) |
| mod#( s( x ) , s( y ) ) | → | if_mod#( le( y , x ) , s( x ) , s( y ) ) |
Linear polynomial interpretation over the naturals
| [if_mod# (x1, x2, x3) ] | = | 2 x1 + 2 x2 + 1 | |
| [true] | = | 0 | |
| [minus (x1, x2) ] | = | 2 x1 + 1 | |
| [false] | = | 0 | |
| [if_minus (x1, x2, x3) ] | = | 2 x1 | |
| [s (x1) ] | = | 2 x1 + 2 | |
| [0] | = | 1 | |
| [le (x1, x2) ] | = | 2 x1 | |
| [mod (x1, x2) ] | = | x1 | |
| [if_mod (x1, x2, x3) ] | = | x1 | |
| [mod# (x1, x2) ] | = | 2 x1 + 2 x2 + 2 | |
| [f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
| none |
All dependency pairs have been removed.
| minus#( s( x ) , y ) | → | if_minus#( le( s( x ) , y ) , s( x ) , y ) |
| if_minus#( false , s( x ) , y ) | → | minus#( x , y ) |
Linear polynomial interpretation over the naturals
| [true] | = | 0 | |
| [minus (x1, x2) ] | = | x1 | |
| [false] | = | 0 | |
| [if_minus (x1, x2, x3) ] | = | x1 | |
| [s (x1) ] | = | 2 x1 + 1 | |
| [0] | = | 0 | |
| [if_minus# (x1, x2, x3) ] | = | x1 | |
| [le (x1, x2) ] | = | 0 | |
| [minus# (x1, x2) ] | = | 2 x1 | |
| [mod (x1, x2) ] | = | 2 x1 + 1 | |
| [if_mod (x1, x2, x3) ] | = | x1 | |
| [f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
| none |
All dependency pairs have been removed.
| le#( s( x ) , s( y ) ) | → | le#( x , y ) |
Linear polynomial interpretation over the naturals
| [true] | = | 0 | |
| [minus (x1, x2) ] | = | 2 x1 | |
| [false] | = | 0 | |
| [if_minus (x1, x2, x3) ] | = | 2 x1 | |
| [le# (x1, x2) ] | = | 3 x1 + 3 x2 | |
| [s (x1) ] | = | 2 x1 + 2 | |
| [0] | = | 1 | |
| [le (x1, x2) ] | = | 1 | |
| [mod (x1, x2) ] | = | 2 x1 + 2 | |
| [if_mod (x1, x2, x3) ] | = | 2 x1 + 1 | |
| [f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
| none |
All dependency pairs have been removed.