0 QTRS
↳1 Overlay + Local Confluence (⇔)
↳2 QTRS
↳3 DependencyPairsProof (⇔)
↳4 QDP
↳5 DependencyGraphProof (⇔)
↳6 AND
↳7 QDP
↳8 QDPOrderProof (⇔)
↳9 QDP
↳10 PisEmptyProof (⇔)
↳11 TRUE
↳12 QDP
↳13 QDPOrderProof (⇔)
↳14 QDP
↳15 PisEmptyProof (⇔)
↳16 TRUE
↳17 QDP
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)
EQ(s(x), s(y)) → EQ(x, y)
UNION(edge(x, y, i), h) → UNION(i, h)
REACH(x, y, edge(u, v, i), h) → IF_REACH_1(eq(x, u), x, y, edge(u, v, i), h)
REACH(x, y, edge(u, v, i), h) → EQ(x, u)
IF_REACH_1(true, x, y, edge(u, v, i), h) → IF_REACH_2(eq(y, v), x, y, edge(u, v, i), h)
IF_REACH_1(true, x, y, edge(u, v, i), h) → EQ(y, v)
IF_REACH_2(false, x, y, edge(u, v, i), h) → OR(reach(x, y, i, h), reach(v, y, union(i, h), empty))
IF_REACH_2(false, x, y, edge(u, v, i), h) → REACH(x, y, i, h)
IF_REACH_2(false, x, y, edge(u, v, i), h) → REACH(v, y, union(i, h), empty)
IF_REACH_2(false, x, y, edge(u, v, i), h) → UNION(i, h)
IF_REACH_1(false, x, y, edge(u, v, i), h) → REACH(x, y, i, edge(u, v, h))
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)
UNION(edge(x, y, i), h) → UNION(i, h)
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
UNION(edge(x, y, i), h) → UNION(i, h)
[UNION2, edge1]
UNION2: [2,1]
edge1: [1]
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)
EQ(s(x), s(y)) → EQ(x, y)
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
EQ(s(x), s(y)) → EQ(x, y)
trivial
EQ1: [1]
s1: [1]
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)
REACH(x, y, edge(u, v, i), h) → IF_REACH_1(eq(x, u), x, y, edge(u, v, i), h)
IF_REACH_1(true, x, y, edge(u, v, i), h) → IF_REACH_2(eq(y, v), x, y, edge(u, v, i), h)
IF_REACH_2(false, x, y, edge(u, v, i), h) → REACH(x, y, i, h)
IF_REACH_2(false, x, y, edge(u, v, i), h) → REACH(v, y, union(i, h), empty)
IF_REACH_1(false, x, y, edge(u, v, i), h) → REACH(x, y, i, edge(u, v, h))
eq(0, 0) → true
eq(0, s(x)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
or(true, y) → true
or(false, y) → y
union(empty, h) → h
union(edge(x, y, i), h) → edge(x, y, union(i, h))
reach(x, y, empty, h) → false
reach(x, y, edge(u, v, i), h) → if_reach_1(eq(x, u), x, y, edge(u, v, i), h)
if_reach_1(true, x, y, edge(u, v, i), h) → if_reach_2(eq(y, v), x, y, edge(u, v, i), h)
if_reach_2(true, x, y, edge(u, v, i), h) → true
if_reach_2(false, x, y, edge(u, v, i), h) → or(reach(x, y, i, h), reach(v, y, union(i, h), empty))
if_reach_1(false, x, y, edge(u, v, i), h) → reach(x, y, i, edge(u, v, h))
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
or(true, x0)
or(false, x0)
union(empty, x0)
union(edge(x0, x1, x2), x3)
reach(x0, x1, empty, x2)
reach(x0, x1, edge(x2, x3, x4), x5)
if_reach_1(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(true, x0, x1, edge(x2, x3, x4), x5)
if_reach_2(false, x0, x1, edge(x2, x3, x4), x5)
if_reach_1(false, x0, x1, edge(x2, x3, x4), x5)