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