| ii(0) = 0, 1 + ii(n) = # x, rooted(g), findepth(g), ∀ n0. ¬ eP(x[ii(n0)]), ∀ n0. ii(n0 + 1) = # nextl(n0, x[ii(n0)]) + ii(n0) ∧ ii(n0 + 1) < # x ∧ x[ii(n0)] ' + nextl(n0, x[ii(n0)]) = (x from ii(n0)) to 1 + # nextl(n0, x[ii(n0)]), ∀ n, a0. ¬ eP(a0) → pathp(g)(⌜a0 '⌝ + ⌜nextl(n, a0)⌝ ) ∧ nextl(n, a0) ≠ [] ∧ ¬ eP(nextl(n, a0).last), ∀ a. (∀ b. ls(g)(b, a) → eP(b)) → eP(a), ∀ m. ¬ m < n → nextl(m, x[ii(m)]) = [] ∧ ii(n) = ii(m) ⊦ x = [], eP(x.first) |
x = a1 + y, ii(0) = 0, 1 + ii(n) = # x, rooted(g), findepth(g), ∀ n0. ¬ eP(x[ii(n0)]), ∀ n0. ii(n0 + 1) = # nextl(n0, x[ii(n0)]) + ii(n0) ∧ ii(n0 + 1) < # x ∧ x[ii(n0)] ' + nextl(n0, x[ii(n0)]) = (x from ii(n0)) to 1 + # nextl(n0, x[ii(n0)]), ∀ n, a0. ¬ eP(a0) → pathp(g)(⌜a0 '⌝ + ⌜nextl(n, a0)⌝ ) ∧ nextl(n, a0) ≠ [] ∧ ¬ eP(nextl(n, a0).last), ∀ a. (∀ b. ls(g)(b, a) → eP(b)) → eP(a), ∀ m. ¬ m < n → nextl(m, x[ii(m)]) = [] ∧ ii(n) = ii(m) ⊦ x = [], eP(a1)
Used simplifier rules: x ≠ [] ⊦ a = x.first ∧ y = x.rest ↔ x = a + y; (elim) Used terms: x, a1, y