| edge(g)((a0 ' + y).last, a), (a0 ' + y).last ∈ s0, a ∈ s1, a0 ∈ s, pathp(g)(⌜a0 '⌝ + ⌜y⌝ ), finout(g) ⊦ # s = 0, s0 = ∅, s1 = ∅, # s0 = 0, # s1 = 0, s = ∅, reach(g)(s, # y + 1)(a) |
⊦ reach(g)(s, n)(b) ↔ (∃ x. x ≠ [] ∧ x.first ∈ s ∧ pathp(g)(⌜x⌝ ) ∧ b = x.last ∧ # x = n + 1)
edge(g)((a0 ' + y).last, a), (a0 ' + y).last ∈ s0, a ∈ s1, a0 ∈ s, pathp(g)(⌜a0 '⌝ + ⌜y⌝ ), finout(g) ⊦ # s = 0, s0 = ∅, s1 = ∅, # s0 = 0, # s1 = 0, s = ∅, ∃ x. x ≠ [] ∧ x.first ∈ s ∧ pathp(g)(⌜x⌝ ) ∧ a = x.last ∧ # x = (# y + 1) + 1
Used terms: a, # y + 1, s, g