| n ≤ # y, n0 ≤ n, pathp(g)(⌜a0 ' + y⌝ ), n0 ≤ # y, ∀ b. b ∈ s0 → ¬ haspathanylength(g)(b), ∀ x. pathp(g)(⌜x⌝ ) ∧ x ≠ [] ∧ x.first ∈ s0 → # x < n, a0 = a ∨ a0 ∈ s0 ⊦ ∃ x. x.first = a ∧ # x = n0 + 1 ∧ pathp(g)(⌜x⌝ ) |
n ≤ # y, n0 ≤ n, pathp(g)(⌜a0 ' + y⌝ ), n0 ≤ # y, ∀ b. b ∈ s0 → ¬ haspathanylength(g)(b), ∀ x. pathp(g)(⌜x⌝ ) ∧ x ≠ [] ∧ x.first ∈ s0 → # x < n, a0 = a ∨ a0 ∈ s0 ⊦ firstn(n0 + 1, a0 ' + y).first = a ∧ # firstn(n0 + 1, a0 ' + y) = n0 + 1 ∧ pathp(g)(⌜firstn(n0 + 1, a0 ' + y)⌝ )
Used terms: firstn(n0 + 1, a0 ' + y)