| finout(g), ∃ x. x ≠ [] ∧ x.first ∈ s ∧ pathp(g)(⌜x⌝ ) ∧ a = x.last ∧ # x = (m + 1) + 1, ∀ a. reach(g)(s, m)(a) ↔ a ∈ s0 ⊦ a ∈ s1, ∃ a0. a0 ∈ s0 ∧ edge(g)(a0, a) |
# x = 2 + m, pathp(g)(⌜x⌝ ), x.first ∈ s, finout(g), ∀ a. reach(g)(s, m)(a) ↔ a ∈ s0 ⊦ s = ∅, x = [], # s = 0, x.last ∈ s1, ∃ a0. a0 ∈ s0 ∧ edge(g)(a0, x.last)
Used simplifier rules: ⊦ s ≠ ∅ → # s ≠ 0; (forward)% ⊦ a ∈ s → s ≠ ∅; (forward)