| (∃ x. x ≠ [] ∧ x.first ≠ x.last ∧ x.first ∈ s ∧ pathp(g)(⌜x⌝ ) ∧ a = x.last ∧ # x = 1) ↔ a ∈ s0, dom(g)(a), a ∈ s, finout(g), ∀ g, s0. # s0 < # s → finout(g) → (∃ s1. ∀ a. reach(g)(s0, 0)(a) ↔ a ∈ s1) ⊦ # s = 0, s = ∅, pathp(g)(⌜a '⌝ ) |
⊦ pathp(g)(σ) ↔ (∀ n. ⌜n⌝ < # σ → dom(g)(σ[n])) ∧ (∀ n. ⌜n + 1⌝ < # σ → edge(g)(σ[n], σ[n + 1]))
Used simplifier rules: ⊦ # ⌜x⌝ = ⌜# x⌝ ;% ⊦ # a ' = 0 +1;% ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n;% ⊦ m < 1 ↔ m = 0;% ⊦ ⌜x⌝ [n] = x[n];% ⊦ a '[0] = a;% ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = n + m;% ⊦ m ≤ n → (⌜(* m)⌝ + n∞2 < ⌜(* n)⌝ ↔ n∞2 < ⌜n - m⌝ );% ⊦ ¬ n < 0;% ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2;% ⊦ n∞1 + n∞2 = n∞2 + n∞1; Used terms: ⌜a '⌝ , g