Autumn 2012

Edinburgh

F17LP1

"What is truth; said jesting Pilate; and would not stay for an answer." Of truth, by Francis Bacon

logic and proof



Lecturer Dr Mark V Lawson

Room CMS21

Ext
3210

Email
markl[at]ma.hw.ac.uk

Lecture venue
  LT2

Lecture times
Tuesday 12.15, Wednesday 1.15, Friday 12.15.

Tutorials (begin in week 2)

Wednesday 11.15 WP108: all non-CS students (William Perkin Building)
Friday 11.15 SR112: all CS students (Scott-Russell Building)
Friday 14.15 CMS21 (not SR112) my office for any individual questions (Colin Maclaurin Building)

Syllabus


Recommended books

The following are interesting to read
A. Doxiadis, C. H. Papadimitriou, Logicomix, Bloomsbury, 2009. This is a graphic novel about the early development of logic.
D. Harel, Computers Ltd What they really can't do, OUP, 2012.
D. R. Hofstadter, G"odel, Escher, Bach: an eternal golden braid, Basic Books, 1999. Beyond simple description: mind blowing.

The following are textbooks rather than reading books
R. Hammack, Book of proof, VCU Mathematics Textbook Series, 2009. This book can be downloaded for free here.
S. Lipschutz, M. Lipson, Discrete mathematics, second edition, McGraw-Hill, 1997. This is useful for further practice in the mathematical ideas introduced in this course.

P. Teller,
A modern formal logic primer, Prentice Hall, 1989. This is now freely available. Just click the title.
M. Zegarelli, Logic for dummies, Wiley Publishing, 2007
For propositional logic the first 14 chapters of this book cover pretty much what I cover in Section 4.
Chapters 20 to 25 are useful background reading. The material in Chapters 9 to 12, I shall handle using only truth trees.
Chapters 15 to 19 deal with first-order logic.



Lecture notes
  I sometimes update files so please always press reload to get the latest version
Notes in yellow are from the Dubai version of this course by Dr Hind Zantout

1
2
3
4
5
6
7
Introduction

 Functions and counting
Lecture2
Lecture 3
Lecture 4
Lecture 5
Lecture 6
Euclid
Proofs
Lecture 7
(Euclid above and
part of proofs)
Lecture 8
Lecture 9: see printed notes
(reciprocal subtraction
primes for fun)

Lecture 10: test 1
Propositional
Logic
Section 4.1
to
Section 4.3

Lectures 11, 12, 13
Section 4.4
Lecture 14
Lecture 15
Section 4.5
Section 4.6
Lecture 16
Lecture 17
Lecture 18

Boolean algebras
Lecture 20
Lecture 21 Test 2
Lecture 22
P = NP?
sudoku

Lecture 23
Relations
and
first order logic

7.1 to 7.3
7.4 to 7.6
Truth trees

Lecture 24
Lecture 25
Lecture 26
Lecture 27
Lecture 28


videos on counting
you can skip the ads
video 1
video 2
Mathematical jokes

Truth table generator

Truth tree solver
Merci a Gabriel Labrecque
The notation used is slightly different from mine

but the translations are obvious

Lecture 19 Quiz 1



Bits and codes
Lecture1pptx
SetTheoryppt
Functionsppt
Russell's Paradox



P = NP?

 
Exercise sheets and solutions

Exercises 1
Exercises 2
Exercises 3
Exercises 4
Exercises 5
Exercises 6
Extra Boolean
Exercises 7
Extra FOL
Exercises 8
Solutions 1
Solutions 2
Solutions 3
Solutions 4
Solutions 5
Solutions 6
Solutions
Solutions 7
Solutions
Solutions 8


Tests, solutions to tests and last year's exam paper

Test 1 took place on Tuesday 2nd October at 12.15 during the lecture and covered the first 6 lectures.

Test 2 took place on Tuesday 30th October at 12.15 during the lecture. It covered all the material in Section 4 on propositional logic.

Both tests will be designed to last about 25 minutes but any student can stay for the entire lecture time if they wish.
Each test will contribute 10% towards your final grade.
You are required to attend the tests and if you miss them you will receive 0.
The test results will only be waived in the event of illness or emergency personal circumstances;
if this happens you must inform your mentor and ask them to contact me.
I will tell you the week before the test what you will be tested on.
There will be no `specimen papers'.

2011 exam paper and solutions

2012 exam paper and solutions


Dr Hind Zantout's revision questions

Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7


Useful links

An online version of Book 1 of Euclid's Elements

The MacTutor history of mathematics

Logic is the calculus of computer science

G"odel, Escher, Bach Check out the link to the lecture course at MIT

Alan Turing

Turing



18.X.2012