• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 28 pages
Summary

Samenvatting Automata and Complexity (X_401049)

Document preview thumbnail
Preview 3 out of 28 pages

Summary of the course Automata & Complexity given at VU University Amsterdam.

Content preview

Automata & Complexity
Introduction
computers are based on a universal computing mechanism

( ie ,
roughly speaking ,
no other computational model can


compute more ) the basic mathematical principles
,




the operations it can to
execute are
strong enough
compute anything computable
However ,
there are certain limits to what is
computable !

in
Turing machines were invented 1936 by Alan
Turing :



-
abstract computation model 011 R

-
automata with read / write tape

9-0 9-
computation
'
-
universal mechanism

limitation of
we can
study the
012 R

modern computers by studying Turing machines .




different kinds of automata for different applications :

finite automata
give rise to
regular languages :




application :
pattern recognising
•




equivalent to :
regular expressions
-




pushdown automata free languages
give rise to context :
-




-



application :
parsing ( e.g .
.
programming languages )
a


equivalent to : context -
free
grammars


turing machines
yield recursively enumerable languages :




application general computation
-
:




↳ form of
strongest automata




depending on the application in mind , you should choose

the appropriate form of automata !

, what can a computer do ?
some problems undecidable (e. termination )
are g. , program
-




-
some problems ( NP -
hard problems ) are (probably) not
efficiently
solvable by a computer leg .
, travelling salesman problems



aspects of
languages :



the form of words in the ( course)
syntax
the
language ← this
-
:




semantics : the meaning of the words in the
language
-




Words & Languages
Words
word =
finite sequence of symbols from an alphabet E
↳
symbols : A, b, C , . . .




↳ words :
v.v , W , ✗ 2
,
y .




↳ E from the alphabet E
a E means a is a
symbol
I !=
"
write ✗ for ( alphabet
"

the word letter in the
we
empty


Everything stored on a computer is a word (a
sequence of bits ) .




so, in particular ,
a computer program is a word .
From an

abstract view ,
a
program
:




-
takes words as input
-


produces a word as output



operations on words
-

concatenation :




if V =
a, . . -

an and W =
bi . . .
bm ,
then VW =
011 . . -
an bi ' ' '
bm

the concatenation of aab and ba is Gabba




length :
-




if ✓ =
9, . . -
an ,
then I V1 = h .




The
length defined 1×1=0 & Nat I V1 1-
can be
inductively 1
: =




the length of abbba is labbba 1=5

, power
- :




the power vk consists of K concatenationS Of v 'S :



"t '

v0 = ✗ & ✓ = vkv

then W2
'

let W =
aba ,
W0 =
✗ ,
W =
aba ,
=
☐baaba

>
and W =
abaabaaba



-
reverse


the of is Cai an IR
=
reverse a, . . -

an . . .
an - . .
a,

R
the reverse can be inductively defined : ✗ = ✗ & ( ✓a)R =
a CVR )
"
the reverse of abcb is Cabcb) =
bcba



Languages
A formal language is a set of words .




E* is
*
A (format L is of LEE
)
language a subset , that
*
[ is the set of all words over E

E ab ,
aab ,
bbaaabb 3 is a finite
language over E =
{ a ,b3



operations on
languages
-

set operations
a language is a set of words .
So the usual set operations
have meaning for languages :
E, E ,
n ,
U, I . . . .




ba C- { a. aba.ba 3 ab ¢ {a ,
aba.ba 3
{ a. ba3 E E a, aba.ba 3 { a. B3 4EA , aba.ba 3
{ a. aba.ba 3 n { a , ab.ba 3 =
{ a .ba 3

{ a. aba.ba 3 U { a. ab.ba 3 =
{ a. ab aba.ba } ,




E a. aba.ba 3 I [ a. ab.ba 3 =
{ aba3



-


complement
The complement [ is all words that are not in the
language L:
*
[ =
[ 1L
for E =
EA3 and L= [ a. aaa 3 .
Then I =
{ ✗ AA3W [ an 1h24 3
,




-
reverse

the is LR { R
I EL3
reverse of language
=
a ✗ ✗


the reverse of L= EX ab , ,
bbaba 3 is LR =
{ t.ba .
ababb 3

Document information

Study
Uploaded on
July 12, 2022
Number of pages
28
Written in
2021/2022
Type
Summary
$8.18

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lauraduits1
4.0
(1)
Sold
28
Followers
18
Items
8
Last sold
7 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions