(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

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
and(true, y) → y
and(false, y) → false
size(empty) → 0
size(edge(x, y, i)) → s(size(i))
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0, i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Rewrite Strategy: FULL

(1) DecreasingLoopProof (EQUIVALENT transformation)

The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
eq(s(x), s(y)) →+ eq(x, y)
gives rise to a decreasing loop by considering the right hand sides subterm at position [].
The pumping substitution is [x / s(x), y / s(y)].
The result substitution is [ ].

(3) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(4) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

S is empty.
Rewrite Strategy: FULL

Infered types.

(6) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

(7) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
eq, size, le, reach, if2

They will be analysed ascendingly in the following order:
eq < reach
eq < if2
size < reach
le < reach
reach = if2

(8) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

The following defined symbols remain to be analysed:
eq, size, le, reach, if2

They will be analysed ascendingly in the following order:
eq < reach
eq < if2
size < reach
le < reach
reach = if2

(9) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

Induction Base:
eq(gen_0':s4_0(0), gen_0':s4_0(0)) →RΩ(1)
true

Induction Step:
eq(gen_0':s4_0(+(n7_0, 1)), gen_0':s4_0(+(n7_0, 1))) →RΩ(1)
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) →IH
true

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(11) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

The following defined symbols remain to be analysed:
size, le, reach, if2

They will be analysed ascendingly in the following order:
size < reach
le < reach
reach = if2

(12) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)

Induction Base:
size(gen_empty:edge5_0(0)) →RΩ(1)
0'

Induction Step:
size(gen_empty:edge5_0(+(n576_0, 1))) →RΩ(1)
s(size(gen_empty:edge5_0(n576_0))) →IH
s(gen_0':s4_0(c577_0))

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(14) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

The following defined symbols remain to be analysed:
le, reach, if2

They will be analysed ascendingly in the following order:
le < reach
reach = if2

(15) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) → true, rt ∈ Ω(1 + n8500)

Induction Base:
le(gen_0':s4_0(0), gen_0':s4_0(0)) →RΩ(1)
true

Induction Step:
le(gen_0':s4_0(+(n850_0, 1)), gen_0':s4_0(+(n850_0, 1))) →RΩ(1)
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) →IH
true

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(17) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) → true, rt ∈ Ω(1 + n8500)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

The following defined symbols remain to be analysed:
if2, reach

They will be analysed ascendingly in the following order:
reach = if2

(18) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(n1197_0), gen_empty:edge5_0(e)) → *6_0, rt ∈ Ω(n11970)

Induction Base:
if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(0), gen_empty:edge5_0(e))

Induction Step:
if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(+(n1197_0, 1)), gen_empty:edge5_0(e)) →RΩ(1)
or(if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(n1197_0), gen_empty:edge5_0(e)), and(eq(gen_0':s4_0(0), 0'), reach(0', gen_0':s4_0(0), s(gen_0':s4_0(c)), gen_empty:edge5_0(e), gen_empty:edge5_0(e)))) →IH
or(*6_0, and(eq(gen_0':s4_0(0), 0'), reach(0', gen_0':s4_0(0), s(gen_0':s4_0(c)), gen_empty:edge5_0(e), gen_empty:edge5_0(e)))) →LΩ(1)
or(*6_0, and(true, reach(0', gen_0':s4_0(0), s(gen_0':s4_0(c)), gen_empty:edge5_0(e), gen_empty:edge5_0(e)))) →RΩ(1)
or(*6_0, and(true, if1(eq(0', gen_0':s4_0(0)), 0', gen_0':s4_0(0), s(gen_0':s4_0(c)), gen_empty:edge5_0(e), gen_empty:edge5_0(e)))) →LΩ(1)
or(*6_0, and(true, if1(true, 0', gen_0':s4_0(0), s(gen_0':s4_0(c)), gen_empty:edge5_0(e), gen_empty:edge5_0(e)))) →RΩ(1)
or(*6_0, and(true, true)) →RΩ(1)
or(*6_0, true)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(20) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) → true, rt ∈ Ω(1 + n8500)
if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(n1197_0), gen_empty:edge5_0(e)) → *6_0, rt ∈ Ω(n11970)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

The following defined symbols remain to be analysed:
reach

They will be analysed ascendingly in the following order:
reach = if2

(21) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol reach.

(22) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) → true, rt ∈ Ω(1 + n8500)
if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(n1197_0), gen_empty:edge5_0(e)) → *6_0, rt ∈ Ω(n11970)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

No more defined symbols left to analyse.

(23) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

(25) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) → true, rt ∈ Ω(1 + n8500)
if2(true, gen_0':s4_0(0), gen_0':s4_0(0), gen_0':s4_0(c), gen_empty:edge5_0(n1197_0), gen_empty:edge5_0(e)) → *6_0, rt ∈ Ω(n11970)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

No more defined symbols left to analyse.

(26) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

(28) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)
le(gen_0':s4_0(n850_0), gen_0':s4_0(n850_0)) → true, rt ∈ Ω(1 + n8500)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

No more defined symbols left to analyse.

(29) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

(31) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)
size(gen_empty:edge5_0(n576_0)) → gen_0':s4_0(n576_0), rt ∈ Ω(1 + n5760)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

No more defined symbols left to analyse.

(32) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

(34) Obligation:

TRS:
Rules:
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
and(true, y) → y
and(false, y) → false
size(empty) → 0'
size(edge(x, y, i)) → s(size(i))
le(0', y) → true
le(s(x), 0') → false
le(s(x), s(y)) → le(x, y)
reachable(x, y, i) → reach(x, y, 0', i, i)
reach(x, y, c, i, j) → if1(eq(x, y), x, y, c, i, j)
if1(true, x, y, c, i, j) → true
if1(false, x, y, c, i, j) → if2(le(c, size(j)), x, y, c, i, j)
if2(false, x, y, c, i, j) → false
if2(true, x, y, c, empty, j) → false
if2(true, x, y, c, edge(u, v, i), j) → or(if2(true, x, y, c, i, j), and(eq(x, u), reach(v, y, s(c), j, j)))

Types:
eq :: 0':s → 0':s → true:false
0' :: 0':s
true :: true:false
s :: 0':s → 0':s
false :: true:false
or :: true:false → true:false → true:false
and :: true:false → true:false → true:false
size :: empty:edge → 0':s
empty :: empty:edge
edge :: 0':s → 0':s → empty:edge → empty:edge
le :: 0':s → 0':s → true:false
reachable :: 0':s → 0':s → empty:edge → true:false
reach :: 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if1 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
if2 :: true:false → 0':s → 0':s → 0':s → empty:edge → empty:edge → true:false
hole_true:false1_0 :: true:false
hole_0':s2_0 :: 0':s
hole_empty:edge3_0 :: empty:edge
gen_0':s4_0 :: Nat → 0':s
gen_empty:edge5_0 :: Nat → empty:edge

Lemmas:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)

Generator Equations:
gen_0':s4_0(0) ⇔ 0'
gen_0':s4_0(+(x, 1)) ⇔ s(gen_0':s4_0(x))
gen_empty:edge5_0(0) ⇔ empty
gen_empty:edge5_0(+(x, 1)) ⇔ edge(0', 0', gen_empty:edge5_0(x))

No more defined symbols left to analyse.

(35) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s4_0(n7_0), gen_0':s4_0(n7_0)) → true, rt ∈ Ω(1 + n70)