{"id":1855,"date":"2022-10-04T09:32:27","date_gmt":"2022-10-04T07:32:27","guid":{"rendered":"https:\/\/www.mimuw.edu.pl\/~bojan\/?page_id=1855"},"modified":"2023-09-29T08:44:47","modified_gmt":"2023-09-29T06:44:47","slug":"zlozonosc-obliczeniowa-computational-complexity","status":"publish","type":"page","link":"https:\/\/www.mimuw.edu.pl\/~bojan\/2022-2023\/zlozonosc-obliczeniowa-computational-complexity","title":{"rendered":"Z\u0142o\u017cono\u015b\u0107 Obliczeniowa \/ Computational Complexity 2022\/2023"},"content":{"rendered":"<p>A course on computational complexity for 4th year students (1st year of MSc programme).<\/p>\n<p><!--more--><\/p>\n<h2>Rules<\/h2>\n<p>Your grade will consist of:<\/p>\n<ul>\n<li>10% quizes. Every lecture will have a quiz on moodle with several yes\/no questions to check if you are paying attention.<\/li>\n<li>40% homeworks. There will be 4 homeworks, some programming and some theory.<\/li>\n<li>50% oral exam. At the end, there will be an oral exam.<\/li>\n<\/ul>\n<p>Notice that there is no written exam, midterm or final. That is why the homeworks are bigger than usual. The exact point thresholds for the grades will appear later, but I promise that 50% (or less) will give you a passing grade (dostateczny).<\/p>\n<p>The oral exams will be in the exercise groups. You can negotiate the date of the oral exam with your exercise teacher (\u0107wiczeniowiec), in justified cases it is possible to have the oral exam at an earlier date.<\/p>\n<div class=\"\"><b class=\"\">How much effort is expected?<\/b><\/div>\n<p>I expect that you, as a smart student, will:<\/p>\n<div class=\"\">\n<div class=\"\">1. Attend the lecture each week<\/div>\n<div class=\"\">2. Take 10-20 minutes to solve the quiz<\/div>\n<div class=\"\">3. Participate in the exercise session<\/div>\n<div class=\"\">4. Take, on average, 7 hours to solve each of the 5 homework assignments<\/div>\n<div class=\"\">5. Take around 15-20 hours to prepare for the oral exam (e.g. you rewatch every lecture and think about it a bit)<\/div>\n<div class=\"\">The difficulties of the quizes, homeworks, and the oral exams will be designed with these criteria in mind. I will send surveys to check if these criteria are met.<\/div>\n<div class=\"\"><\/div>\n<div class=\"\"><b class=\"\">Quizes<\/b>. I expect that you do the quiz on your own, without discussing the answers with colleagues. For this reason, you do not need to obsess over perfect answers \u2013 at the end of the semester you will still get a full score for the quiz if you had 80% answers right. The purpose of the quiz is to see if you understand the lecture well.<\/div>\n<div class=\"\"><\/div>\n<div class=\"\"><b class=\"\">Homework<\/b>. There will be around 4 homeworks, some programming, some not. It is ok if you discuss the homework with your colleagues, but you should write your own answer alone.<\/div>\n<div class=\"\"><\/div>\n<div class=\"\"><b class=\"\">Oral<\/b> <b class=\"\">exam<\/b>. For each of the lectures, I will publish corresponding exam questions. The questions at the oral exam will be selected from these. Some questions will be marked as \u201c5\u201d questions, which will be needed only if you want to get the top grade \u201c5\u201d.<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>Lectures<\/h2>\n<p>The lectures use a slide system that I am developing, so please send me bug reports!\u00a0These lectures are roughly once per week, but some lectures are longer so there is no exact correspondence.<\/p>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_1._Turing_machines\/?step=0\"><strong>Lecture 1. Turing machines (October 4)<\/strong><\/a><\/p>\n<ul>\n<li>Definition of Turing machines<\/li>\n<li>Decidability and semi-decidability<\/li>\n<li>Undecidability of the halting problem<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>prove that the halting problem is undecidable<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_2._Space_and_time\/?step=0\"><strong>Lecture 2. Space and time (October 11 and 18)<\/strong><\/a><\/p>\n<ul>\n<li>The basic complexity classes: NL \u2286 P \u2286 NP \u2286 PSPACE \u2286 EXPTIME,<\/li>\n<li>separation of P and EXPTIME<\/li>\n<li>PSPACE = NPSPACE (Savitch)<\/li>\n<li>machines in finite space that always halt (Sipser Theorem)<\/li>\n<li>NL = coNL (Immerman and Szelepcsenyi Theorem)<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Prove that P &lt; EXPTIME<\/li>\n<li>Prove that PSPACE = NPSPACE<\/li>\n<li>Prove the Sipser Theorem<\/li>\n<li>Prove the Immerman and Szelepcsenyi Theorem<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_3._Complete_problems\/?step=0\"><strong>Lecture 3. Reductions and complete problems (October 25 <\/strong><\/a><strong><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_3._Complete_problems\/?step=0\">November 8<\/a>,\u00a0and November 15)<\/strong><\/p>\n<ul>\n<li>Turing and Karp reductions<\/li>\n<li>Sat as an NP-complete problem<\/li>\n<li>QBF as a PSPACE-complete problem<\/li>\n<li>alternating reachability as P-complete problem<\/li>\n<li>the Baker-Gill-Solovay Theorem.<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Explain the difference between Turing and Karp reductions<\/li>\n<li>Prove that Sat is NP-complete, and that QBF is PSPACE-complete<\/li>\n<li>Prove the Baker-Gill-Solovay Theorem<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_4._Introduction_to_circuits\/\"><strong>Lecture 4. Introduction to circuits (November 22)<\/strong><\/a><\/p>\n<ul>\n<li>Circuits and their &#8220;parallel algorithm&#8221; intuition<\/li>\n<li>Circuit descriptions of P and P\/p0ly<\/li>\n<li>AC<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-5aef4352fcf073bb4e26d09e52b24d46_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"5\" width=\"7\" style=\"vertical-align: 6px;\"\/> and NC<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-5aef4352fcf073bb4e26d09e52b24d46_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"5\" width=\"7\" style=\"vertical-align: 6px;\"\/><\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Define the class P\/Poly and show that it is equal to polynomial size circuits<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_5._Parity_not_in_AC0\/\"><strong>Lecture 5. Parity not in AC0 (November 22 and 29)<\/strong><\/a><\/p>\n<ul>\n<li>parity is not in AC<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f709c1e24dd30fa8a21a096753b6c56d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#94;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"6\" style=\"vertical-align: 6px;\"\/><\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>(Only if you want grade 5) Prove that parity is not in AC<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f709c1e24dd30fa8a21a096753b6c56d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#94;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"6\" style=\"vertical-align: 6px;\"\/><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_6._Randomised_algorithms\"><strong>Lecture 6. Randomisation (December 6)<\/strong><\/a><\/p>\n<ul>\n<li>the class RP \u2286 BPP \u2286 PP<\/li>\n<li>examples of RP algorithms, including polynomial identity testing and perfect matchings<\/li>\n<li>PP contains NP<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Define the classes RP, BPP and PP<\/li>\n<li>Give RP algorithms for: evaluating straight line programs and polynomial identity testing<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_7._Randomised_algorithms_2\/\"><strong>Lecture 7. Derandomisation (December 13)<\/strong><\/a><\/p>\n<ul>\n<li>two techniques for derandomisation illustrated on max cut<\/li>\n<li>Adleman&#8217;s Theorem on BPP \u2286 P\/Poly<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Explain the two derandomised algorithms for max cut<\/li>\n<li>Prove Adleman&#8217;s Theorem<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/teaching\/complexity2022\/Lecture_8._Fine_grained_complexity\/?step=0\"><strong>Lecture 8. Fine-grained complexity (December 20)<\/strong><\/a><\/p>\n<ul>\n<li>SETH \u27f9 Orthogonal vectors conjecture<\/li>\n<li>Orthogonal vectors conjecture \u00a0\u27f9 NFA evaluation needs quadratic algorithms<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Prove:\u00a0SETH \u27f9 Orthogonal vectors conjecture<\/li>\n<li>Prove: Orthogonal vectors conjecture \u00a0\u27f9 NFA evaluation needs quadratic algorithms<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/complexity\/Lecture_9._Parameterized_complexity\/\"><strong>Lecture 9. Parametrized complexity (January 10)<\/strong><\/a><\/p>\n<ul>\n<li>An algorithm for vertex cover that is linear when the size of the vertex cover is fixed<\/li>\n<li>The class FPT and FPT-reductions<\/li>\n<li>An FPT algorithm for 3-colourability on bounded treewidth<\/li>\n<\/ul>\n<p>Questions for the oral exam:<\/p>\n<ul>\n<li>Define the class FPT and show that vertex cover is in it<\/li>\n<li>Show FPT reductions, both ways, between the k-clique problem and Turing machines with accepting computations of length k.<\/li>\n<li>Prove that 3-colourability is FPT, where the parameter is treewidth<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>The remaining lectures are not part of the oral exam.<\/p>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/complexity\/Lecture_10._Quantum\/\"><strong>Lecture 10. Quantum computation (January 17)<\/strong><\/a><\/p>\n<ul>\n<li>BPP via probabilistic circuits<\/li>\n<li>quantum circuits<\/li>\n<li>the class BQP (bounded error quantum polynomial time)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.mimuw.edu.pl\/~bojan\/slides\/slajdomat\/complexity\/Lecture_11._Simon27s_algorithm\/\"><strong>Lecture 11. Simon&#8217;s algorithm (January 24)<\/strong><\/a><\/p>\n<ul>\n<li>Simon&#8217;s algorithm<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Homework<\/h2>\n<p>There will be several homework assignments, including programming assignments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A course on computational complexity for 4th year students (1st year of MSc programme).<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1853,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-1855","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/1855"}],"collection":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/comments?post=1855"}],"version-history":[{"count":11,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/1855\/revisions"}],"predecessor-version":[{"id":1899,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/1855\/revisions\/1899"}],"up":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/1853"}],"wp:attachment":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/media?parent=1855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}