| ii(0) = 0, ii(m + 1) = ii(m) + # nextl(m, σ[ii(m)]), σ[ii(m + 1)] = (σ[ii(m)] ' + nextl(m, σ[ii(m)]))[# nextl(m, σ[ii(m)])], ⌜ii(m)⌝ + ⌜# nextl(m, σ[ii(m)])⌝ < # σ, pathp(g)(⌜σ[ii(m)] '⌝ + ⌜nextl(m, σ[ii(m)])⌝ ), eP(σ[ii(m + 1)]), ⌜ii(m + 1)⌝ < # σ, ⌜# nextl(m, σ[ii(m)])⌝ + ⌜ii(m)⌝ < # σ, (finp(σ) ⊃ # σ = ⌜ii(n)⌝ + ⌜1⌝ ∧ (∀ m. ¬ m < n → nextl(m, σ[ii(m)]) = [] ∧ ii(n) = ii(m));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)), ∀ n. ii(n + 1) = ii(n) + # nextl(n, σ[ii(n)]) ∧ ⌜ii(n + 1)⌝ < # σ ∧ (σ from ii(n)) to 1 + # nextl(n, σ[ii(n)]) = ⌜σ[ii(n)] '⌝ + ⌜nextl(n, σ[ii(n)])⌝ , ∀ n, a0. ¬ eP(a0) → pathp(g)(⌜a0 '⌝ + ⌜nextl(n, a0)⌝ ) ∧ nextl(n, a0) ≠ [] ∧ ¬ eP(nextl(n, a0).last), ∀ n0. ¬ # nextl(m, σ[ii(m)]) < n0 → (σ from ii(m))[n0] = (σ[ii(m)] ' + nextl(m, σ[ii(m)]))[n0] ⊦ nextl(m, σ[ii(m)]) = [], σ = [], eP(nextl(m, σ[ii(m)]).last), eP(σ[ii(m)]), eP(σ[0]) |
⊦ (a ' + x)[# x] = (a ' + x).last
Used simplifier rules: ⊦ m + n = n + m;% ⊦ x ≠ [] → (a ' + x).last = x.last;% ⊦ (x + y) + z = x + y + z; Used terms: nextl(m, σ[ii(m)]), σ[ii(m)]