13.07.2015 Views

NFA, DFA, and regular expressions - 204213 Theory of Computation

NFA, DFA, and regular expressions - 204213 Theory of Computation

NFA, DFA, and regular expressions - 204213 Theory of Computation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Outline Review Nondeterminism Eq. <strong>of</strong> <strong>NFA</strong>s <strong>and</strong> <strong>DFA</strong>s Closure Reg.Ex. Eq. between Reg.Ex. <strong>and</strong> FAaPro<strong>of</strong> <strong>of</strong> Theorem 2: dealing with ε (2)Consiser M at state R ∈ Q ′ .M simulates many copies <strong>of</strong> N at states in R.Define E(R) to be a collection <strong>of</strong> states reachable from anystates in R by traveling along 0 or more ε arrows.Formally, E(R) = {q| q can be reached from states in R bytraveling along 0 or more ε arrows }Combining these moves to the previous construction <strong>of</strong> δ ′ :

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!