# Fall 2023 - CMPT 308 D100

## Overview

• #### Course Times + Location:

Sep 6 – Dec 5, 2023: Wed, 1:30–2:20 p.m.
Burnaby

Sep 6 – Dec 5, 2023: Fri, 12:30–2:20 p.m.
Burnaby

• #### Exam Times + Location:

Dec 17, 2023
Sun, 12:00–3:00 p.m.
Burnaby

• #### Instructor:

Valentine Kabanets
kabanets@sfu.ca
1 778 782-6912
• #### Prerequisites:

(MACM 201 or CMPT 210) with a minimum grade of C-.

## Description

#### CALENDAR DESCRIPTION:

Formal models of computation such as automata and Turing machines. Decidability and undecidability. Recursion Theorem. Connections between computability and logic (Gödel’s Incompleteness). Time and space complexity classes. NP-completeness.

#### COURSE DETAILS:

This course focuses on the inherent "complexity" of solving problems using a computer. The goal is to understand why some seemingly simple problems cannot be solved on computers and others have no efficient (ie fast) solution. In the course, we will see the formal notions of computers, computability and complexity. At the successful completion of this course students will understand why, for example, computer viruses are so pervasive and why no one will ever write a perfect virus checker. We will see how these concepts are related to logic, in particular, the famous Incompleteness Theorem of Godel. Finally, we will see a few surprising results from modern complexity, in particular, the results making use of randomness in computation.

## Topics

• Turing Machines as a formalization of the intuitive notion of an algorithm.
• Computability (Does a program exist?): basic computability (checking if a program is in an infinite loop), reducibilities and oracles, the Recursion Theorem (existence of computer viruses).
• Review of Logic and Godel's Incompleteness Theorem.
• Complexity Theory: Non-determinism, the class NP, reductions.
• Randomness in Computation: Interactive Proofs.
• Approximation algorithms and hardness of approximation: Probabilistically Checkable Proofs and the PCP Theorem.

#### NOTES:

There will be 4 midterms and a final examination. The exact grade distribution will be announced at the start of classes.

Students must attain an overall passing grade on the weighted average of exams in the course in order to obtain a clear pass (C- or better).

## Reference Books

• Introduction to Automata Theory, Languages and Computation - 3rd Edition, J.E. Hopcroft , Rajeev Motwani, J.D. Ullman, , Addison Wesley, 2006, 9780321455369

Introduction to the Theory of Computation 3rd Edition
Michael Sipser,
Cengage Learning,
2012
ISBN: 9781133187790

Your personalized Course Material list, including digital and physical textbooks, are available through the SFU Bookstore website by simply entering your Computing ID at: shop.sfu.ca/course-materials/my-personalized-course-materials.