























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























































Part One
http://www.intel.com/design/intarch/prodbref/272713.htm
We need a simpler way of discussing computing machines.
● Mathematical simplicity. ● It is significantly easier to manipulate our abstract models of computers than it is to manipulate actual computers. ● Intellectual robustness. ● If we pick our models correctly, we can make broad, sweeping claims about huge classes of real computers by arguing that they're just special cases of our more general models.
● The models of computation we will explore in this class correspond to different conceptions of what a computer could do. ● Finite automata (next two weeks) are an abstraction of computers with finite resource constraints. ● (^) Provide upper bounds for the computing machines that we can actually build. ● Turing machines (later) are an abstraction of computers with unbounded resources. ● (^) Provide upper bounds for what we could ever hope to accomplish.
● Before we can talk about what problems we can solve, we need a formal definition of a “problem.” ● We want a definition that ● (^) corresponds to the problems we want to solve, ● captures a large class of problems, and ● (^) is mathematically simple to reason about. ● No one definition has all three properties.
Formal Language Theory
● A formal language is a set of strings. ● We say that L is a language over Σ if it is a set of strings over Σ. ● Example: The language of palindromes over Σ = { a , b , c } is the set {ε, a , b , c , aa , bb , cc , aaa , aba , aca , bab , … } ● The set of all strings composed from letters in Σ is denoted Σ. ● Formally, we say that L is a language over Σ if L ⊆ Σ.
● Fundamental Question: Given an alphabet Σ and a language L over Σ, in what cases can we build an automaton that determines which strings are in L? ● The answer depends on both the choice of L and the choice of automaton. ● The entire rest of the quarter will be dedicated to answering these questions.
What problems can we solve with a computer?
Finite Automata
Each finite automaton consists of a set of states connected by transitions.
q 0 q 1 q 2 q 3 0 1 0 1 0 1 1 0 start Each circle represents a state of the automaton. Each circle represents a state of the automaton.