| x = a0 + y, # x = m + 1, pathp(g)(⌜x⌝ ), a0 ∈ s, a ∈ s1, x.last ∈ s0, edge(g)(x.last, a), finout(g) ⊦ s = ∅, x = [], # s1 = 0, # s0 = 0, s1 = ∅, s0 = ∅, # s = 0, reach(g)(s, m + 1)(a) |
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)
Used simplifier rules: ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ;% ⊦ a ' + x ≠ [];% ⊦ m + n = n + m;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = m + n0 ↔ n = n0;% ⊦ (x + y) + z = x + y + z;% ⊦ # a ' = 0 +1;% ⊦ #(x + y) = # x + # y;% ⊦ a + x = a ' + x;