p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))
↳ QTRS
↳ DependencyPairsProof
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))
MINUS2(x, y) -> LE2(x, y)
MINUS2(x, y) -> IF3(le2(x, y), x, y)
LE2(s1(x), s1(y)) -> LE2(x, y)
IF3(false, x, y) -> MINUS2(p1(x), y)
IF3(false, x, y) -> P1(x)
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MINUS2(x, y) -> LE2(x, y)
MINUS2(x, y) -> IF3(le2(x, y), x, y)
LE2(s1(x), s1(y)) -> LE2(x, y)
IF3(false, x, y) -> MINUS2(p1(x), y)
IF3(false, x, y) -> P1(x)
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
LE2(s1(x), s1(y)) -> LE2(x, y)
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LE2(s1(x), s1(y)) -> LE2(x, y)
POL(LE2(x1, x2)) = x2
POL(s1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
MINUS2(x, y) -> IF3(le2(x, y), x, y)
IF3(false, x, y) -> MINUS2(p1(x), y)
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, y) -> if3(le2(x, y), x, y)
if3(true, x, y) -> 0
if3(false, x, y) -> s1(minus2(p1(x), y))