R
↳Dependency Pair Analysis
EVENODD(x, 0) -> NOT(evenodd(x, s(0)))
EVENODD(x, 0) -> EVENODD(x, s(0))
EVENODD(s(x), s(0)) -> EVENODD(x, 0)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
EVENODD(s(x), s(0)) -> EVENODD(x, 0)
EVENODD(x, 0) -> EVENODD(x, s(0))
not(true) -> false
not(false) -> true
evenodd(x, 0) -> not(evenodd(x, s(0)))
evenodd(0, s(0)) -> false
evenodd(s(x), s(0)) -> evenodd(x, 0)
innermost
one new Dependency Pair is created:
EVENODD(x, 0) -> EVENODD(x, s(0))
EVENODD(s(x''), 0) -> EVENODD(s(x''), s(0))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
EVENODD(s(x''), 0) -> EVENODD(s(x''), s(0))
EVENODD(s(x), s(0)) -> EVENODD(x, 0)
not(true) -> false
not(false) -> true
evenodd(x, 0) -> not(evenodd(x, s(0)))
evenodd(0, s(0)) -> false
evenodd(s(x), s(0)) -> evenodd(x, 0)
innermost
one new Dependency Pair is created:
EVENODD(s(x), s(0)) -> EVENODD(x, 0)
EVENODD(s(s(x'''')), s(0)) -> EVENODD(s(x''''), 0)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Forward Instantiation Transformation
EVENODD(s(s(x'''')), s(0)) -> EVENODD(s(x''''), 0)
EVENODD(s(x''), 0) -> EVENODD(s(x''), s(0))
not(true) -> false
not(false) -> true
evenodd(x, 0) -> not(evenodd(x, s(0)))
evenodd(0, s(0)) -> false
evenodd(s(x), s(0)) -> evenodd(x, 0)
innermost
one new Dependency Pair is created:
EVENODD(s(x''), 0) -> EVENODD(s(x''), s(0))
EVENODD(s(s(x'''''')), 0) -> EVENODD(s(s(x'''''')), s(0))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 4
↳Forward Instantiation Transformation
EVENODD(s(s(x'''''')), 0) -> EVENODD(s(s(x'''''')), s(0))
EVENODD(s(s(x'''')), s(0)) -> EVENODD(s(x''''), 0)
not(true) -> false
not(false) -> true
evenodd(x, 0) -> not(evenodd(x, s(0)))
evenodd(0, s(0)) -> false
evenodd(s(x), s(0)) -> evenodd(x, 0)
innermost
one new Dependency Pair is created:
EVENODD(s(s(x'''')), s(0)) -> EVENODD(s(x''''), 0)
EVENODD(s(s(s(x''''''''))), s(0)) -> EVENODD(s(s(x'''''''')), 0)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 5
↳Argument Filtering and Ordering
EVENODD(s(s(s(x''''''''))), s(0)) -> EVENODD(s(s(x'''''''')), 0)
EVENODD(s(s(x'''''')), 0) -> EVENODD(s(s(x'''''')), s(0))
not(true) -> false
not(false) -> true
evenodd(x, 0) -> not(evenodd(x, s(0)))
evenodd(0, s(0)) -> false
evenodd(s(x), s(0)) -> evenodd(x, 0)
innermost
EVENODD(s(s(s(x''''''''))), s(0)) -> EVENODD(s(s(x'''''''')), 0)
EVENODD(x1, x2) -> x1
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 6
↳Dependency Graph
EVENODD(s(s(x'''''')), 0) -> EVENODD(s(s(x'''''')), s(0))
not(true) -> false
not(false) -> true
evenodd(x, 0) -> not(evenodd(x, s(0)))
evenodd(0, s(0)) -> false
evenodd(s(x), s(0)) -> evenodd(x, 0)
innermost