R
↳Dependency Pair Analysis
APP(f, app(s, x)) -> APP(f, x)
APP(app(g, x), app(c, y)) -> APP(c, app(app(g, x), y))
APP(app(g, x), app(c, y)) -> APP(app(g, x), y)
APP(app(g, x), app(c, y)) -> APP(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
APP(app(g, x), app(c, y)) -> APP(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y))
APP(app(g, x), app(c, y)) -> APP(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y)))
APP(app(g, x), app(c, y)) -> APP(if, app(f, x))
APP(app(g, x), app(c, y)) -> APP(f, x)
APP(app(g, x), app(c, y)) -> APP(c, app(app(g, app(s, x)), y))
APP(app(g, x), app(c, y)) -> APP(app(g, app(s, x)), y)
APP(app(g, x), app(c, y)) -> APP(g, app(s, x))
APP(app(g, x), app(c, y)) -> APP(s, x)
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
→DP Problem 2
↳Polo
APP(f, app(s, x)) -> APP(f, x)
app(f, 0) -> true
app(f, 1) -> false
app(f, app(s, x)) -> app(f, x)
app(app(app(if, true), app(s, x)), app(s, y)) -> app(s, x)
app(app(app(if, false), app(s, x)), app(s, y)) -> app(s, y)
app(app(g, x), app(c, y)) -> app(c, app(app(g, x), y))
app(app(g, x), app(c, y)) -> app(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
innermost
APP(f, app(s, x)) -> APP(f, x)
POL(s) = 0 POL(APP(x1, x2)) = x2 POL(f) = 0 POL(app(x1, x2)) = 1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 3
↳Dependency Graph
→DP Problem 2
↳Polo
app(f, 0) -> true
app(f, 1) -> false
app(f, app(s, x)) -> app(f, x)
app(app(app(if, true), app(s, x)), app(s, y)) -> app(s, x)
app(app(app(if, false), app(s, x)), app(s, y)) -> app(s, y)
app(app(g, x), app(c, y)) -> app(c, app(app(g, x), y))
app(app(g, x), app(c, y)) -> app(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polynomial Ordering
APP(app(g, x), app(c, y)) -> APP(app(g, app(s, x)), y)
APP(app(g, x), app(c, y)) -> APP(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y)))
APP(app(g, x), app(c, y)) -> APP(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y))
APP(app(g, x), app(c, y)) -> APP(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
APP(app(g, x), app(c, y)) -> APP(app(g, x), y)
app(f, 0) -> true
app(f, 1) -> false
app(f, app(s, x)) -> app(f, x)
app(app(app(if, true), app(s, x)), app(s, y)) -> app(s, x)
app(app(app(if, false), app(s, x)), app(s, y)) -> app(s, y)
app(app(g, x), app(c, y)) -> app(c, app(app(g, x), y))
app(app(g, x), app(c, y)) -> app(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
innermost
APP(app(g, x), app(c, y)) -> APP(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y)))
APP(app(g, x), app(c, y)) -> APP(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y))
app(f, 0) -> true
app(f, 1) -> false
app(f, app(s, x)) -> app(f, x)
app(app(app(if, true), app(s, x)), app(s, y)) -> app(s, x)
app(app(app(if, false), app(s, x)), app(s, y)) -> app(s, y)
app(app(g, x), app(c, y)) -> app(c, app(app(g, x), y))
app(app(g, x), app(c, y)) -> app(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
POL(if) = 0 POL(c) = 0 POL(0) = 1 POL(g) = 1 POL(false) = 0 POL(1) = 0 POL(true) = 0 POL(s) = 0 POL(app(x1, x2)) = x1 POL(f) = 0 POL(APP(x1, x2)) = x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 4
↳Narrowing Transformation
APP(app(g, x), app(c, y)) -> APP(app(g, app(s, x)), y)
APP(app(g, x), app(c, y)) -> APP(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
APP(app(g, x), app(c, y)) -> APP(app(g, x), y)
app(f, 0) -> true
app(f, 1) -> false
app(f, app(s, x)) -> app(f, x)
app(app(app(if, true), app(s, x)), app(s, y)) -> app(s, x)
app(app(app(if, false), app(s, x)), app(s, y)) -> app(s, y)
app(app(g, x), app(c, y)) -> app(c, app(app(g, x), y))
app(app(g, x), app(c, y)) -> app(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
innermost
five new Dependency Pairs are created:
APP(app(g, x), app(c, y)) -> APP(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
APP(app(g, 0), app(c, y)) -> APP(app(g, 0), app(app(app(if, true), app(c, app(app(g, app(s, 0)), y))), app(c, y)))
APP(app(g, 1), app(c, y)) -> APP(app(g, 1), app(app(app(if, false), app(c, app(app(g, app(s, 1)), y))), app(c, y)))
APP(app(g, app(s, x'')), app(c, y)) -> APP(app(g, app(s, x'')), app(app(app(if, app(f, x'')), app(c, app(app(g, app(s, app(s, x''))), y))), app(c, y)))
APP(app(g, x''), app(c, app(c, y''))) -> APP(app(g, x''), app(app(app(if, app(f, x'')), app(c, app(c, app(app(g, app(s, x'')), y'')))), app(c, app(c, y''))))
APP(app(g, x''), app(c, app(c, y''))) -> APP(app(g, x''), app(app(app(if, app(f, x'')), app(c, app(app(g, app(s, x'')), app(app(app(if, app(f, app(s, x''))), app(c, app(app(g, app(s, app(s, x''))), y''))), app(c, y''))))), app(c, app(c, y''))))
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 4
↳Nar
...
→DP Problem 5
↳Remaining Obligation(s)
APP(app(g, app(s, x'')), app(c, y)) -> APP(app(g, app(s, x'')), app(app(app(if, app(f, x'')), app(c, app(app(g, app(s, app(s, x''))), y))), app(c, y)))
APP(app(g, x''), app(c, app(c, y''))) -> APP(app(g, x''), app(app(app(if, app(f, x'')), app(c, app(app(g, app(s, x'')), app(app(app(if, app(f, app(s, x''))), app(c, app(app(g, app(s, app(s, x''))), y''))), app(c, y''))))), app(c, app(c, y''))))
APP(app(g, 1), app(c, y)) -> APP(app(g, 1), app(app(app(if, false), app(c, app(app(g, app(s, 1)), y))), app(c, y)))
APP(app(g, x''), app(c, app(c, y''))) -> APP(app(g, x''), app(app(app(if, app(f, x'')), app(c, app(c, app(app(g, app(s, x'')), y'')))), app(c, app(c, y''))))
APP(app(g, 0), app(c, y)) -> APP(app(g, 0), app(app(app(if, true), app(c, app(app(g, app(s, 0)), y))), app(c, y)))
APP(app(g, x), app(c, y)) -> APP(app(g, x), y)
APP(app(g, x), app(c, y)) -> APP(app(g, app(s, x)), y)
app(f, 0) -> true
app(f, 1) -> false
app(f, app(s, x)) -> app(f, x)
app(app(app(if, true), app(s, x)), app(s, y)) -> app(s, x)
app(app(app(if, false), app(s, x)), app(s, y)) -> app(s, y)
app(app(g, x), app(c, y)) -> app(c, app(app(g, x), y))
app(app(g, x), app(c, y)) -> app(app(g, x), app(app(app(if, app(f, x)), app(c, app(app(g, app(s, x)), y))), app(c, y)))
innermost