======Theory of Computing, Spring 2023====== 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/13: grade report available; please send inquiries, if any, to the instructor by 5PM 06/15. * 05/31: slides from TA sessions: {{courses:theory2023:hw6-10_s.pdf|HW#6-10}}. * 05/23: {{courses:theory2023:hw10.pdf|HW#10}} due 1:20PM 05/30. * 05/16: notes/slides for Time Complexity and NP-Completeness available. * 05/16: {{courses:theory2023:hw9.pdf|HW#9}} due 05/23. * 05/09: notes/slides for Reducibility available. * 05/08: {{courses:theory2023:hw8.pdf|HW#8}} due 05/16. * 05/02: notes/slides for Decidability available. * 05/02: {{courses:theory2023:theory2023mid_s.pdf|Suggested Solutions to Midterm Problems}} available. * 05/02: {{courses:theory2023:hw7.pdf|HW#7}} due 05/09. * 04/25: notes/slides for Turing Machines available. * 04/12: {{courses:theory2023:hw6.pdf|HW#6}} due 04/25. * 04/12: slides from TA sessions: {{courses:theory2023:hw1-5_s.pdf|HW#1-5}}. * 04/12: old exams: {{courses:theory:old_exams.zip|2000-2022}}. (Note: I didn't offer the course some of the years.) * 03/28: {{courses:theory2023:hw5.pdf|HW#5}} due 1:20PM 04/11. * 03/28: {{courses:theory2023:hw4.pdf|HW#4}} due 1:20PM 04/11. * 03/28: notes/slides for Context-Free Languages and Pushdown Automata available. * 03/21: {{courses:theory2023:hw3.pdf|HW#3}} due 2:20PM 03/28. * 03/14: {{courses:theory2023:hw2.pdf|HW#2}} due 1:20PM 03/21. * 03/06: notes/slides for Finite Automata and Regular Languages available. * 03/06: {{courses:theory2023:hw1.pdf|HW#1}} due on 03/14. * 02/21: notes/slides for Introduction and Mathematical Preliminaries available. * 02/18: 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 203, 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===== Yi-Fan Lin (林奕帆), ''Xb08705009@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/21, 04/11, 05/09, and 05/30.) *Introduction and Mathematical Preliminaries (1.5 weeks: 02/21, 03/07a) [{{courses:theory2023:ch0_notes.pdf|notes}}, {{courses:theory2023:ch0_slides.pdf|slides}}] *Finite Automata and Regular Languages (2.5 weeks: 03/07b, 03/014, 03/21*) [{{courses:theory2023:ch1_notes.pdf|notes}}, {{courses:theory2023:ch1_slides.pdf|slides}}, appendix:{{courses:theory2023:ch1_minimization.pdf|minimization}}] *Context-Free Languages and Pushdown Automata (2 weeks: 03/28, 04/11*) [{{courses:theory2023:ch2_notes.pdf|notes}},{{courses:theory2023:ch2_slides.pdf|slides}}] * **Midterm** (**2023/04/18**) *Turing Machines (1.5 weeks: 04/25, 05/2a) [{{courses:theory2023:ch3_notes.pdf|notes}}, {{courses:theory2023:ch3_slides.pdf|slides}}] *Decidability (and Undecidability) (1.5 weeks: 05/02b, 05/09*) [{{courses:theory2023:ch4_notes.pdf|notes}}, {{courses:theory2023:ch4_slides.pdf|slides}}] *Reducibility (1.5 weeks: 05/16, 05/23a) [{{courses:theory2023:ch5_notes.pdf|notes}}, {{courses:theory2023:ch5_slides.pdf|slides}}] *Time Complexity and NP-Completeness (1.5 weeks: 05/23b, 05/30*) [{{courses:theory2023:ch7a_notes.pdf|notes}}, {{courses:theory2023:ch7a_slides.pdf|slides}}] * **Final** (**2023/06/06**) =====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]]