Exercise722: inter DFA accepts
ProvedScott1980.Neighborhood.Exercise722.interDFA_acceptsscott1980
If M₁, M₂ recognise denote a, denote b, their product DFA recognises denote (a ∩ b).
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.interDFA_accepts {σ₁ σ₂ : Type} (M₁ : DFA Bool σ₁) (M₂ : DFA Bool σ₂)
(a b : SExpr) (h₁ : M₁.accepts = denote a) (h₂ : M₂.accepts = denote b) :
(M₁.inter M₂).accepts = denote (.cap a b) := by sorrySource