Академический Документы
Профессиональный Документы
Культура Документы
Prereqs:
Goals
Describe and use formal systems to model real
phenomena
Outline
More Goals
Understand the uses of and dierences
between finite automata, pushdown automata,
and Turing machine models of computation.
Required Texts
Rich: Automata, Computability, & Complexity
Languages
k is set of strings of length k
0 = {}
k+1 = {xa | x k , a }
Set of all strings over is written * = k0 k
Examples:
String Operations
Language Classes
String replication:
Languages
Machines Accepting
Regular
Context-free
Pushdown Automata
Decidable
Turing Machines*
Semi-Decidable
Turing Machines
w0 =
wi+1 = wi w
Language Classes
Regular Languages
: K K is transition function
State Machines
Terminology
Computations
Single step of M uses to process next character:
Configuration (q,w) K*
more steps
Defining Language
Examples
M accepts string w i
there is q A s.t. (s,w) M* (q,)
M rejects string w i
L(M) = { w * | M accepts w }
L is regular if it is L(M) for some finite state
machine M
Example
Closure Properties
Regular languages are closed under:
Complementation * - L
Intersection L1 L2
(product machine)
Also want L*