| ∀ n. ¬ eP(⌜x⌝ [ii(n)]), ii(0) = 0, rooted(g), findepth(g), ∀ 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), ∀ n. ii(n + 1) = ii(n) + # nextl(n, ⌜x⌝ [ii(n)]) ∧ ⌜ii(n + 1)⌝ < # ⌜x⌝ ∧ (⌜x⌝ from ii(n)) to 1 + # nextl(n, ⌜x⌝ [ii(n)]) = ⌜⌜x⌝ [ii(n)] '⌝ + ⌜nextl(n, ⌜x⌝ [ii(n)])⌝ , (finp(⌜x⌝ ) ⊃ # ⌜x⌝ = ⌜ii(n)⌝ + ⌜1⌝ ∧ (∀ m. ¬ m < n → nextl(m, ⌜x⌝ [ii(m)]) = [] ∧ ii(n) = ii(m));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)) ⊦ ⌜x⌝ = [], eP(⌜x⌝ [0]) |
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)
Used simplifier rules: ⊦ n∞1 + n∞2 = n∞2 + n∞1;% ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2;% ⊦ ⌜n⌝ + ⌜m⌝ = ⌜n0⌝ ↔ n + m = n0;% ⊦ finp(⌜x⌝ );% ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2;% ⊦ ⌜x⌝ + ⌜y⌝ = ⌜z⌝ ↔ x + y = z;% ⊦ ⌜x⌝ to n = ⌜x to n⌝ ;% ⊦ ⌜x⌝ from n = ⌜x from n⌝ ;% ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n;% ⊦ # ⌜x⌝ = ⌜# x⌝ ;% ⊦ x ≠ [] → x[0] = x.first;% ⊦ ⌜x⌝ [n] = x[n];% ⊦ ⌜x⌝ = [] ↔ x = [];