Course details
Theoretical Computer Science
TINe Acad. year 2017/2018 Summer semester 5 credits
An overview of the applications of the formal language theory in modern computer science and engineering (compilers, system modelling and analysis, linguistics, etc.), the modelling and decision power of formalisms, regular languages and their properties, minimalization of finite-state automata, context-free languages and their properties, Turing machines, properties of recursively enumerable and recursive languages, computable functions, undecidability, undecidable problems of the formal language theory.
Guarantor
Language of instruction
Completion
Time span
Assessment points
- 60 pts final exam
- 20 pts mid-term test
- 20 pts projects
Department
Subject specific learning outcomes and competences
The students are acquainted with basic as well as more advanced terms, approaches, and results of the theory of automata and formal languages and with basics of the theory of computability and complexity allowing them to better understand the nature of the various ways of describing and implementing computer-aided systems. The students are capable of applying the acquainted knowledge when solving complex theoretical as well as practical problems in the areas of system modelling, programming, formal specification and verification, and artificial intelligence.
The students acquire basic capabilities for theoretical research activities.
Learning objectives
To acquaint students with more advanced parts of the formal language theory, with basics of the theory of computability, and with basic terms of the complexity theory.
Prerequisite knowledge and skills
Basic knowledge of discrete mathematics concepts including graph theory and formal languages concepts, and basic concepts of algorithmic complexity.
Fundamental literature
- Kozen, D.C.: Automata and Computability, Springer-Verlag, New Yourk, Inc, 1997. ISBN 0-387-94907-0.
Syllabus of seminars
- An overview of the applications of the formal language theory, the modelling and decision power of formalisms, operations over languages.
- Regular languages and their properties, Kleene's theorem, Nerod's theorem, Pumping lemma.
- Minimalization of finite-state automata, the relation of indistinguishability of automata states, construction of a reduced finite-state automaton.
- Closure properties of regular languages, regular languages as a Boolean algebra, decidable problems of regular languages.
- Context-free languages and their properties, normal forms of context-free grammars, unambiguous and deterministic context-free languages, Pumping lemma for context-free languages.
- Closure properties of context-free languages, closedness wrt. substitution and its consequences, decidable problems of context-free languages.
- Turing machines (TMs), the language accepted by a TM, recursively enumerable and recursive languages and problems, TMs and functions, methods of constructing TMs.
- Modifications of TMs, TMs with a tape infinite on both sides, with more tapes, nondeterministic TMs, automata with two push-down stacks, automata with counters.
- TMs and type-0 languages, diagonalisation, properties of recursively enumerable and recursive languages, linearly bounded automata and type-1 languages.
- Computable functions, initial functions, primitive recursive functions, mu-recursive functions, the relation of TMs and computable functions.
- The Church-Turing thesis, universal TMs, undecidability, the halting problem, reductions, the Post's correspondence problem.
- Undecidable problems of the formal language theory.
- An introduction to the computational complexity, Turing complexity, the P and NP classes and beyond.
Syllabus - others, projects and individual work of students:
- A homework on regular languages and finite-state automata.
- A homework on context-free languages.
- A homework on Turing machines.
- A homework on computable functions.
Progress assessment
The minimal total score of 15 points gained out of the first three assignements and the mid-term exam (i.e. out of 35 points).
Controlled instruction
A written mid-term exam, a regular evaluation of homeworks.