Exercise722: compl DFA accepts
ProvedScott1980.Neighborhood.Exercise722.complDFA_acceptsscott1980
The complement DFA recognises the set-complement of the original language (over all of Σ*).
(Choice-free; avoids mathlib's classical accepts_compl.)
Preamble
import Definitions.Def_Scott1980_Neighborhood_Exercise722Regular import Mathlib.Computability.DFA import Mathlib.Data.Fintype.Option import Definitions.Def_Scott1980_Neighborhood_Exercise722DFA set_option autoImplicit true open Scott1980 Scott1980.Neighborhood open Scott1980.Neighborhood.Exercise722 open scoped Computability
Formal statement
theorem Scott1980.Neighborhood.Exercise722.complDFA_accepts {σ : Type} (M : DFA Bool σ) (a : SExpr) (h : M.accepts = denote a) :
(Mᶜ).accepts = (denote a)ᶜ := by sorrySource