-(

-(0, s(

-(s(

lt(

lt(0, s(

lt(s(

if(true,

if(false,

div(

div(0,

div(s(

R

↳Dependency Pair Analysis

-'(s(x), s(y)) -> -'(x,y)

LT(s(x), s(y)) -> LT(x,y)

DIV(s(x), s(y)) -> IF(lt(x,y), 0, s(div(-(x,y), s(y))))

DIV(s(x), s(y)) -> LT(x,y)

DIV(s(x), s(y)) -> DIV(-(x,y), s(y))

DIV(s(x), s(y)) -> -'(x,y)

Furthermore,

R

↳DPs

→DP Problem 1

↳Argument Filtering and Ordering

→DP Problem 2

↳AFS

→DP Problem 3

↳AFS

**-'(s( x), s(y)) -> -'(x, y)**

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

lt(x, 0) -> false

lt(0, s(y)) -> true

lt(s(x), s(y)) -> lt(x,y)

if(true,x,y) ->x

if(false,x,y) ->y

div(x, 0) -> 0

div(0,y) -> 0

div(s(x), s(y)) -> if(lt(x,y), 0, s(div(-(x,y), s(y))))

innermost

The following dependency pair can be strictly oriented:

-'(s(x), s(y)) -> -'(x,y)

There are no usable rules for innermost that need to be oriented.

Used ordering: Homeomorphic Embedding Order with EMB

resulting in one new DP problem.

Used Argument Filtering System:

-'(x,_{1}x) -> -'(_{2}x,_{1}x)_{2}

s(x) -> s(_{1}x)_{1}

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 4

↳Dependency Graph

→DP Problem 2

↳AFS

→DP Problem 3

↳AFS

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

lt(x, 0) -> false

lt(0, s(y)) -> true

lt(s(x), s(y)) -> lt(x,y)

if(true,x,y) ->x

if(false,x,y) ->y

div(x, 0) -> 0

div(0,y) -> 0

div(s(x), s(y)) -> if(lt(x,y), 0, s(div(-(x,y), s(y))))

innermost

Using the Dependency Graph resulted in no new DP problems.

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 2

↳Argument Filtering and Ordering

→DP Problem 3

↳AFS

**LT(s( x), s(y)) -> LT(x, y)**

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

lt(x, 0) -> false

lt(0, s(y)) -> true

lt(s(x), s(y)) -> lt(x,y)

if(true,x,y) ->x

if(false,x,y) ->y

div(x, 0) -> 0

div(0,y) -> 0

div(s(x), s(y)) -> if(lt(x,y), 0, s(div(-(x,y), s(y))))

innermost

The following dependency pair can be strictly oriented:

LT(s(x), s(y)) -> LT(x,y)

There are no usable rules for innermost that need to be oriented.

Used ordering: Homeomorphic Embedding Order with EMB

resulting in one new DP problem.

Used Argument Filtering System:

LT(x,_{1}x) -> LT(_{2}x,_{1}x)_{2}

s(x) -> s(_{1}x)_{1}

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 2

↳AFS

→DP Problem 5

↳Dependency Graph

→DP Problem 3

↳AFS

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

lt(x, 0) -> false

lt(0, s(y)) -> true

lt(s(x), s(y)) -> lt(x,y)

if(true,x,y) ->x

if(false,x,y) ->y

div(x, 0) -> 0

div(0,y) -> 0

div(s(x), s(y)) -> if(lt(x,y), 0, s(div(-(x,y), s(y))))

innermost

Using the Dependency Graph resulted in no new DP problems.

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 2

↳AFS

→DP Problem 3

↳Argument Filtering and Ordering

**DIV(s( x), s(y)) -> DIV(-(x, y), s(y))**

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

lt(x, 0) -> false

lt(0, s(y)) -> true

lt(s(x), s(y)) -> lt(x,y)

if(true,x,y) ->x

if(false,x,y) ->y

div(x, 0) -> 0

div(0,y) -> 0

div(s(x), s(y)) -> if(lt(x,y), 0, s(div(-(x,y), s(y))))

innermost

The following dependency pair can be strictly oriented:

DIV(s(x), s(y)) -> DIV(-(x,y), s(y))

The following usable rules for innermost can be oriented:

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

Used ordering: Homeomorphic Embedding Order with EMB

resulting in one new DP problem.

Used Argument Filtering System:

DIV(x,_{1}x) -> DIV(_{2}x,_{1}x)_{2}

s(x) -> s(_{1}x)_{1}

-(x,_{1}x) ->_{2}x_{1}

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 2

↳AFS

→DP Problem 3

↳AFS

→DP Problem 6

↳Dependency Graph

-(x, 0) ->x

-(0, s(y)) -> 0

-(s(x), s(y)) -> -(x,y)

lt(x, 0) -> false

lt(0, s(y)) -> true

lt(s(x), s(y)) -> lt(x,y)

if(true,x,y) ->x

if(false,x,y) ->y

div(x, 0) -> 0

div(0,y) -> 0

div(s(x), s(y)) -> if(lt(x,y), 0, s(div(-(x,y), s(y))))

innermost

Using the Dependency Graph resulted in no new DP problems.

Duration:

0:00 minutes