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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> 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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(y)))
MINUS2(x, s1(y)) -> P1(minus2(x, p1(s1(y))))
MINUS2(x, s1(y)) -> LE2(x, s1(y))
MINUS2(x, s1(y)) -> IF3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
LE2(s1(x), s1(y)) -> LE2(x, y)
MINUS2(x, s1(y)) -> P1(s1(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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(y)))
MINUS2(x, s1(y)) -> P1(minus2(x, p1(s1(y))))
MINUS2(x, s1(y)) -> LE2(x, s1(y))
MINUS2(x, s1(y)) -> IF3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
LE2(s1(x), s1(y)) -> LE2(x, y)
MINUS2(x, s1(y)) -> P1(s1(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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> 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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> 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)) = x1·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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(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, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y