======Theory of Computing, Spring 2022====== This is an introductory course to the theory of computing, a study of formal/mathematical foundations of computer science and technology. Its goal is to acquaint the students with the basic concepts in computation theory and to cultivate the students' ability in analyzing the complexity of computational problems. =====Announcements===== * 06/06: slides from TA sessions: {{courses:theory2022:hw_1-5.pdf|HW#1-5}}, {{courses:theory2022:hw_6-10.pdf|HW#6-10}}. * 05/31: notes/slides for More NP-Complete Problems available. * 05/24: {{courses:theory2022:hw10.pdf|HW#10}} due 1:20PM 05/31. * 05/17: notes/slides for Time Complexity and NP-Completeness available. * 05/17: {{courses:theory2022:hw9.pdf|HW#9}} due on 05/24. * 05/17: notes/slides for Reducibility available. * 05/01: {{courses:theory2022:hw8.pdf|HW#8}} due on 05/10. * 04/26: {{courses:theory2022:hw7.pdf|HW#7}} due on 05/03. * 04/26: notes/slides for Decidability available. * 04/26: {{courses:theory2022:theory2022mid_s.pdf|Suggested Solutions to Midterm Problems}} available. * 04/18: notes/slides for Turing Machines available. * 04/09: old exams: {{courses:theory:old_exams.zip|2000-2021}}. (Note: I didn't offer the course some of the years.) * 04/08: Problem 4 of HW#5 revised. * 03/22: {{courses:theory2022:hw6.pdf|HW#6}} due on 04/19. * 03/22: {{courses:theory2022:hw5.pdf|HW#5}} due on 04/12 (as 04/05 is a holiday). * 03/15: {{courses:theory2022:hw4.pdf|HW#4}} due 1:20PM 03/29. * 03/15: notes/slides for Context-Free Languages and Pushdown Automata available. * 03/08: {{courses:theory2022:hw3.pdf|HW#3}} due on 03/22. * 03/02: {{courses:theory2022:hw2.pdf|HW#2}} due 1:20PM 03/15. * 02/21: notes/slides for Finite Automata and Regular Languages available. * 02/21: {{courses:theory2022:hw1.pdf|HW#1}} due on 03/01. * 02/15: notes/slides for Introduction and Mathematical Preliminaries available. * 02/07: this website created to complement the NTU COOL site for this course. =====Instructor===== [[http://im.ntu.edu.tw/~tsay/|Yih-Kuen Tsay (蔡益坤)]], NTU IM Dept., 3366-1189, ''Xtsay@ntu.edu.twX'' (between the enclosing pair of X's). =====Lectures===== Tuesday 2:20~5:20PM, Room 303, Management Building 2. \\ TA sessions will be scheduled prior to some of the class meetings between 1:20 and 2:10PM; see the course schedule. =====Office Hours===== Tuesday 1:30~2:00PM, Wednesday 1:30~2:00PM, or by appointment, Room 1108, Management Building 2. =====TA===== Wei-Cheng Liu (劉韋成), ''Xr09725026@ntu.edu.twX'' (between the enclosing pair of X's). \\ Jack Su (蘇俊杰), ''Xr09725002@ntu.edu.twX'' (between the enclosing pair of X's). =====Textbook===== *//[[http://www.amazon.com/Introduction-Theory-Computation-Michael-Sipser/dp/113318779X|Introduction to the Theory of Computation, 3rd Edition]]//, Michael Sipser, Cengage Learning, 2012. (歐亞圖書代理) =====Syllabus/Schedule (with links to notes/slides)===== This introductory course to the theory of computing covers various mathematical models, including automata and Turing machines, for physical computing machineries along with their computational capabilities/limitations. In terms of specific topics and the order of their exposition, the course will follow closely the book by Sipser.\\ (Note: a TA session will precede a class meeting whose date is marked with an *. There are four TA sessions on 03/15, 03/29, 05/10, and 05/31.) *Introduction and Mathematical Preliminaries (2 weeks: 02/15, 02/22) [{{courses:theory2022:ch0_notes.pdf|notes}}, {{courses:theory2022:ch0_slides.pdf|slides}}] *Finite Automata and Regular Languages (2.5 weeks: 03/01, 03/08, 03/15a*) [{{courses:theory2022:ch1_notes.pdf|notes}}, {{courses:theory2022:ch1_slides.pdf|slides}}, appendix:{{courses:theory2022:ch1_minimization.pdf|minimization}}] *Context-Free Languages and Pushdown Automata (2.5 weeks: 03/15b, 03/22, 03/29*) [{{courses:theory2022:ch2_notes.pdf|notes}},{{courses:theory2022:ch2_slides.pdf|slides}}] * **Midterm** (**2022/04/12**) *Turing Machines (2 weeks: 04/19, 04/26) [{{courses:theory2022:ch3_notes.pdf|notes}}, {{courses:theory2022:ch3_slides.pdf|slides}}] *Decidability (and Undecidability) (1.5 weeks: 05/03, 05/10a*) [{{courses:theory2022:ch4_notes.pdf|notes}}, {{courses:theory2022:ch4_slides.pdf|slides}}] *Reducibility (1.5 weeks: 05/10b, 05/17) [{{courses:theory2022:ch5_notes.pdf|notes}}, {{courses:theory2022:ch5_slides.pdf|slides}}] *Time Complexity and NP-Completeness (2 weeks: 05/24, 05/31*) [{{courses:theory2022:ch7a_notes.pdf|notes}}, {{courses:theory2022:ch7a_slides.pdf|slides}}] * **Final** (**2022/06/07**) *More about NP-Completeness (.5 week: 06/14a) [{{courses:theory2022:ch7b_notes.pdf|notes}}, {{courses:theory2022:ch7b_slides.pdf|slides}}] *Wrap-Up Discussions (.5 week: 06/14b) =====Grading===== Homework 20%, Participation 10%, Midterm 35%, Final 35%. =====References===== *MIT OpenCourseWare: [[http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-045j-automata-computability-and-complexity-spring-2011/index.htm|Automata, Computability, and Complexity]] *Coursera: [[https://www.coursera.org/lecture/cs-algorithms-theory-machines/overview-7Fk8M|Introduction to Theoretical Computer Science]] *//[[http://www.amazon.com/Introduction-Automata-Languages-Computation-Addison-Wesley/dp/020102988X/ref=sr_1_11?s=books&ie=UTF8&qid=1361114620&sr=1-11&keywords=Introduction+to+Automata+Theory%2C+Languages%2C+and+Computation|Introduction to Automata Theory, Languages, and Computation]]//, John E. Hopcroft and Jeffrey D. Ullman, Addison-Wesley, 1979. *//[[http://www.amazon.com/Introduction-Automata-Theory-Languages-Computation/dp/0321455371/ref=sr_1_2?s=books&ie=UTF8&qid=1361114620&sr=1-2&keywords=Introduction+to+Automata+Theory%2C+Languages%2C+and+Computation|Introduction to Automata Theory, Languages, and Computation, 3rd Edition]]//, John E. Hopcroft, Rajeev Motwani, and Jeffrey D. Ullman, Addison-Wesley, 2006. *//[[http://www.amazon.com/Elements-Theory-Computation-2nd-Edition/dp/0132624788|Elements of the Theory of Computation, 2nd Edition]]//, Harry R. Lewis and Christos H. Papadimitriou, Prentice-Hall, 1998. *//[[https://www.math.ias.edu/avi/book|Mathematics and Computation: A Theory Revolutionizing Technology and Science]]//, Avi Wigderson, 2019. (The book has formally been published by Princeton University Press.) *[[https://www.fi.edu/history-resources/automaton|Maillardet's Automaton]] at the Franklin Institute. *[[http://dl.acm.org/citation.cfm?id=2093549&CFID=70582427&CFTOKEN=84470362|What Is an Algorithm?]] (M.Y. Vardi, Communications of the ACM, Volume 55 Issue 3, March 2012) *[[http://www.youtube.com/watch?v=BDPHfRuAFnU|What Is Computation?]] (a lecture by Leslie Lamport, who received the 2013 Turing Award) *Free Tool: [[http://goal.im.ntu.edu.tw/|GOAL]] *Free Tool: [[https://www.jflap.org/|JFLAP]]