Exercise722: denote eq empty iff
ProvedScott1980.Neighborhood.Exercise722.denote_eq_empty_iffscott1980
Definition 7.1 relation (ii) as a reachability problem. denote e is empty iff no accept
state of its Fintype automaton is reachable. The right-hand side ranges over the finite state set
autState e; the only non-finite-looking quantifier (∀ x) is what a reachability search eliminates.
Preamble
import Definitions.Def_Scott1980_Neighborhood_Exercise722DFA
import Definitions.Def_Scott1980_Neighborhood_Exercise722Cat
import Definitions.Def_Scott1980_Neighborhood_Exercise722Words
import Definitions.Def_Scott1980_Neighborhood_Exercise722Decide
set_option autoImplicit true
open Scott1980 Scott1980.Neighborhood
open Scott1980.Neighborhood.Exercise722
open scoped Computability
open Sum Set
variable {σ₁ σ₂ : Type}
variable {σ : Type}Formal statement
theorem Scott1980.Neighborhood.Exercise722.denote_eq_empty_iff (e : SExpr) :
denote e = ∅ ↔ ∀ s ∈ (toNFA e).accept, ∀ x, s ∉ (toNFA e).eval x := by sorrySource