Computability DCS 301

QMUL - Semester 6 - Winter 2009
Lecturer: Dr Gianluigi Bellin

  • G.S.Boolos, J.P.Burgess and R.C.Jeffrey Computability and Logic
    Fourth Edition, Cambridge UP 2002 ISBN 0521 00758 5 paperback
    (This is a very good book on computable functions, but it requires a careful reading. Prerequisites are taught in the courses DCS117 Discrete Structures and DCS125 Logic and Proof.)

      Also to consult:
    • J.E.Hopcroft, R.Motwani and J.D.Ullman Introduction to Automata Theory, Languages, Logic and Computation
      Second Edition, Addison Wesley ISBN 0 201 44124 1
      (The classic text on Automata Theory, expanded with interesting examples in the second edition.)
    • P.Cohn Algebra, Vol 1, Chapters 1 and 2.
      Handout 3. Pumping Lemma for Regular Languages pdf ps
      Handout 4. Primitive Recursive Functions pdf ps
    • R.Graham, B.Rothschild, J.Spencer. Ramsey Theory, 1980, J.Wiley and sons: pp.1-9, p.76

    Timetable:

    • Weeks 3, 4, 5, 6 and 7. Finite State Machines, Deterministic and Non Deterministic Automata, Regular Languages, Pumping Lemma for Regular Languages, Context-free grammars.

      Slides Week 3: intro 2.1, FSM-df 2.2, comment 2.3, example 2.4, diagram 2.5, parity 2.6, add 2.7, mult 2.8 in .pdf format.
      Readings Weeks 3 and 4:
      Handout 2. Finite State Machines, etc .pdf, .ps
      Lecture Notes and slides by Prof Andrew Pitts Reg.Lang.Fin.Aut.
      (Chapters 1-4 on Regular expressions, Regular Languages, Kleene's Theorem)

    • Week 7. Here you find Dr Paulo Oliva's slides

      Readings Weeks 5, 6 and 7:
      Handout 3. Pumping Lemma for Regular Languages pdf ps
      Lecture Notes and slides by Prof Andrew Pitts Reg.Lang.Fin.Aut
      (Chapters 5, 6 on Pumpig Lemma, Grammars)
      Consult Kinber and Smith, Theory of Computing
      Consult Hopcroft, Motwani and Ullman Intro. to Automata Theory, Languages, Logic and Computation.

    • Week 8. Review of Languages and Automata and Overview of partial recursive functions.

    • Week 9. Primitive Recursive Functions and relations. Read Handout 4.pdf

    • Weeks 10. Register Machines, Register-Machine computability. Abacus Machines

    • Week 12. Recursive functions, partial and total.
      Read Lecture Notes and slides by Prof Andrew Pitts Computation Theory, sections on Primitive recursive functions, Recursive functions, partial and total.

    Homework Assignments:
    • Homework 1. pdf (due on Fri Feb 6th 2009)
      Model Solutions: pdf
    • Homework 2. pdf (due on Friday Feb 13th)
      Model Solutions: pdf
    • Homework 3. pdf (due on Tuesday Feb 24th)
      Model Solutions: pdf
    • Homework 4. pdf (due on Wednesday March 25th)
      Model Solutions: Claire_Tafanelli
      Another solution of the register machines for quotient and remainder based on the algorithm of division by subtraction is in the following coursework: Zabihullah_Gharghasht
    • Homeworks 5-6. pdf
      Some comments on Courseworks 4-5-6. pdf

      Review Session - Exam Preparation:

    • Please notice that Coursework 5-6 serves also as a review paper.

    • Question 1. Automata and Pumping Lemma.
      Handout 2. Finite State Machines, etc., Slides Week 3; Prof Pitts Lecture Notes and Slides, Chapters 1-4.
      Homework 2, Questions 1 and 2; Homework 5, Question 1, with Solutions and comments.

    • Question 2. Pumping Lemma and applications.
      Handout 3. Pumping Lemma for Regular Languages; Prof Pitts Lecture Notes and Slides, Chapters 5,6.
      Homework 3, Question 3; Homework 5, Question 1.

    • Question 3. Primitive Recursive Functions.
      Handout 4. G.S.Boolos, J.P.Burgess and R.C.Jeffrey Computability and Logic, Chapters 6 and 7,
      Homework 6, Question 1.

    • Question 4 Halting Problem
      For Turing Machines see Slides on Turing Machines, Turing Computability, Universal Turing Machines, Unsolvability of the Halting problem; R.E. sets and Church's thesis. Homework 5, Question 2. Homework 6, Question 2.

    • Question 5 Register Machines
      For Register Machines, see slides on Abacus Machines; see also Prof Pitts Lecture Notes on Computability.
      See also Homework 4, Question 2.

      EXAMS in previous years:

    • FINAL EXAM 2002 with solutions!!! pdf ps

    • FINAL EXAM 2005 with solutions!!! pdf ps

    • FINAL EXAM 2007 with solutions!!! CS301 AMCM060