Proposition (product automata for intersection and union)
Let $D = (Σ, Q, δ, q_0, F)$ and $D' = (Σ, Q', δ', q_0', F')$ be two deterministic automata over the same alphabet.
Define the product automata for intersection and union as $$ \begin{align*} D \wedge D' ={}& (Σ, \; Q\cup Q', \; δ\times δ', \; (q_0, q_0'), \; F \wedge F'), \\ D \vee D' ={}& (Σ, \; Q\cup Q', \; δ\times δ', \; (q_0, q_0'), \; F \vee F') \end{align*} $$ where $$ \begin{align*} F \wedge F' ={}& \sb{(q,q')\in Q\times Q'}{q\in F \text{ and } q'\in F'} = F\times F', \\ F \vee F' ={}& \sb{(q,q')\in Q\times Q'}{q\in F \text{ or } q'\in F'} \end{align*} $$ and $$ \begin{align*} δ\times δ': Σ \times (Q \times Q') &\to Q\times Q' \\ (a, (q,q')) &\mapsto (δ(a,q), δ(a,q')). \end{align*} $$
Then $$ \begin{align*} \mathcal{L}(D \wedge D') ={}& \mathcal{L}(D) \cap \mathcal{L}(D'), \\ \mathcal{L}(D \vee D') ={}& \mathcal{L}(D) \cup \mathcal{L}(D'). \end{align*} $$
-
This is an alternative way of showing the class of regular languages is closed under intersection and union (and thus complementation and set difference).