======Theory of Computing, Spring 2021====== 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===== * 07/01: grade report available; please send inquiries, if any, to the instructor by 5PM 07/02. * 06/21: slides from TA sessions: {{courses:theory2021:hw6_10.pdf|HW#6-10}}. * 06/21: notes/slides for More NP-Complete Problems available. * 06/08: slides from TA sessions: {{courses:theory2021:hw6_9.pdf|HW#6-9}}. * 06/02: {{courses:theory2021:hw10.pdf|HW#10}} due on 06/15. * 05/24: notes/slides for Time Complexity and NP-Completeness available. * 05/24: {{courses:theory2021:hw9.pdf|HW#9}} due on 06/01. * 05/18: notes/slides for Reducibility available. * 05/11: {{courses:theory2021:hw8.pdf|HW#8}} due on 05/18. * 05/11: {{courses:theory2021:theory2021mid_s.pdf|Suggested Solutions to Midterm Problems}} available. * 05/04: notes/slides for Decidability available. * 05/04: {{courses:theory2021:hw7.pdf|HW#7}} due on 05/11. * 04/27: notes/slides for Turing Machines available. * 04/13: old exams: {{courses:theory:old_exams.zip|2000-2020}}. (Note: I didn't offer the course some of the years.) * 04/13: slides from TA sessions: {{courses:theory2021:hw1_5.pdf|HW#1-5}}. * 04/12: {{courses:theory2021:hw6.pdf|HW#6}} due on 04/27. * 03/30: {{courses:theory2021:hw5.pdf|HW#5}} due on 04/13. * 03/22: notes/slides for Context-Free Languages and Pushdown Automata available. * 03/22: {{courses:theory2021:hw4.pdf|HW#4}} due on 03/30. * 03/15: TA session of 3/16 postponed to 3/23. * 03/15: {{courses:theory2021:hw3.pdf|HW#3}} due on 03/23. * 03/15: slides for Minimization of DFAs available. * 03/09: class meeting room changed to Room 204 from this day. * 03/09: {{courses:theory2021:hw2.pdf|HW#2}} due on 03/16. * 03/02: notes/slides for Finite Automata and Regular Languages available. * 03/02: {{courses:theory2021:hw1.pdf|HW#1}} due on 03/09. * 02/23: notes/slides for Introduction and Mathematical Preliminaries available. * 02/22: website created on 02/18. This website is the primary source of all up to date course information and syllabus of Theory of Computing 2021; there is no separate PDF version for the syllabus. =====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/23, 04/13, 05/18, and 06/08.) *Introduction and Mathematical Preliminaries (1.5 weeks: 02/23, 03/02a) [{{courses:theory2021:ch0_notes.pdf|notes}}, {{courses:theory2021:ch0_slides.pdf|slides}}] *Finite Automata and Regular Languages (2.5 weeks: 03/02b, 03/09, 03/16) [{{courses:theory2021:ch1_notes.pdf|notes}}, {{courses:theory2021:ch1_slides.pdf|slides}}, appendix:{{courses:theory2021:ch1_minimization.pdf|minimization}}] *Context-Free Languages and Pushdown Automata (3 weeks: 03/23*, 03/30, 04/13*) [{{courses:theory2021:ch2_notes.pdf|notes}},{{courses:theory2021:ch2_slides.pdf|slides}}] * **Midterm** (**2021/04/20**) *Turing Machines (2 weeks: 04/27, 05/04) [{{courses:theory2021:ch3_notes.pdf|notes}}, {{courses:theory2021:ch3_slides.pdf|slides}}] *Decidability (and Undecidability) (1.5 weeks: 05/11, 05/18a*) [{{courses:theory2021:ch4_notes.pdf|notes}}, {{courses:theory2021:ch4_slides.pdf|slides}}] *Reducibility (1.5 weeks: 05/18b, 05/25) [{{courses:theory2021:ch5_notes.pdf|notes}}, {{courses:theory2021:ch5_slides.pdf|slides}}] *Time Complexity and NP-Completeness (2 weeks: 06/01, 06/08*) [{{courses:theory2021:ch7a_notes.pdf|notes}}, {{courses:theory2021:ch7a_slides.pdf|slides}}] * **Final** (**2021/06/15**) *More about NP-Completeness (.5 week: 06/22a) [{{courses:theory2021:ch7b_notes.pdf|notes}}, {{courses:theory2021:ch7b_slides.pdf|slides}}] *Wrap-Up Discussions (.5 week: 06/22b) =====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]] *Stanford Coursera: [[https://www.coursera.org/course/automata|Automata]] *//[[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: [[http://www.jflap.org/|JFLAP]] =====Grading===== Homework 20%, Participation 10%, Midterm 35%, Final 35%.