cse541

LOGIC for COMPUTER SCIENCE

Spring 2011



GENERAL NEWS:

  • FINAL is MAY 20, 2:15- 4:45pm in our classroom
  • Solutions to Midterm 2 are POSTED
  • Chapter 13 (need to know) and 14 (to read) posted
  • Slides for chaper 13 posted
  • Slides for Gl, GI examples posted

  • Time:

    Tuesday, Thursday, 3:50pm - 5:10 pm

    Place:

    Library Bldg. room E4330

    Professor:

    Anita Wasilewska

    1428 CS Building; 632-8458
    e-mail: anita at cs.sunysb.edu
    Office Hours: Tuesday, Thursday, 1:30pm - 2:30 pm, and by appointment

    Teaching Assistant>

    Yanqing Chen

    e-mail: cyqclark@hotmail.com
    Office Hours: Monday, Tuesday
    Office Location: CS Room 2110

    Course Texbook

    AN INTRODUCTION TO CLASSICAL and NON-CLASSICAL LOGICS
    Anita Wasilewska

    Full Book Text and Lecture Slides are in Downloads

    Course Reading Book

    Introduction to Mathematical Logic, Fourth Edition
    Elliot Mendelson

    General Course Description:

    The goal of the course is to make student understand the need of logic as a field and to learn the its formality and basic techniques. I will progress relatively slowly, making sure that the pace is appropriate for all students in the class. The book is written with students on my mind so that they can read and learn by some parts by themselves. The book, and the course is developed to teach not only intuitive understanding of different logics, but (and mainly) to teach formal logic as scientific subject, with its languages, definitions, main theorems and problems.

    General Course Information

    There will be TWO MIDTERMS and a FINAL examination. There also will be assigned sets of homework problems students must work out and learn for the tests. The complete solutions to all problems are posted on the course webpage. Students are also responsible to learn and work put all Examples and Exercises in the text book and some PROOFS of the main Theorems.

    All tests are CLOSED NOTES and CLOSED BOOK. If a student is found using notes or a book during a test, he/she will receive AUTOMATICALLY 0pts for a given test.

    There will be many exercieses-homeworks sets posted on the web. NONE will be collected or graded.
    Students are responsible for working out and writing DETAILED solutions explaining all steps and methods used, as it is done in our book. We will cover some of such detailed solutions in class and post ALL of them on our web page for you to study and learn how to properly write them. Students are also responsible to learn and work out all Examples, Exercises and Homeworks in the text book as well as some PROOFS of the main Theorems.
    Your GRADES on the tests will depend on the form, attention to details, and carefulness of your written solutions. The course will follow the book very closely and in particular we will cover some , or all of the following chapters and subjects.

    Course Content

    The course will follow the book very closely and in particular we will cover some, or all of the following chapters and subjects.

    Chapter 1: Introduction: Mathematical Paradoxes and Computer Science Puzzles

    Chapter 2: Introduction to Classical Propositional Logic

    Chapter 3: Propositional Languages

    Chapter 4: Classical Propositional Semantics

    Chapter 5: Some Extentional Three and Many Valued Logics Semantics

    Chapter 6: Classical tautologies, Logical Equivalences and Equivalences of Languages

    Chapter 7: General Proof Systems

    Chapter 8: Hilbert Proof Systems; Deduction Theorem

    Chapter 9: Two Proofs of Propositional Classical Logic Completeness Theorem

    Chapter 10: Introduction to Intuitionistic Logic; Conections between Classical and Intuitionistic Logics.

    Chapter 11: Classical Automated Proof systems: RS and original Gentzen

    Chapter 12: Gentzen Proof System for Intuitionistic Logic.

    Chapter 13: Classical Predicate Logic: Hilbert Formalization

    Chapter 14: Classical Predicate Logic: Automated Proof System QRS

    Chapter 15: Hilbert and Gentzen Proof Systems for Intuitionistic Predicate Logic

    Chapter 16: Introduction to Modal Logics, Modal S4 and S5 and their connections with Intuitionistic logic.

    Mendelson Book: Goedel Incompleteness Theorem

    DOWNLOADS

    Syllabus

    TESTS

    MIDTERM 1 as given in class to WORK ON AGAIN
    MIDTERM 1 SOLUTIONS
    PRACTICE MIDTERM 1 Solutions
    MAKE-UP MIDTERM 1 Solutions

    TAKE HOME MIDTERM 2
    TAKE HOME Extra Credit Short Test
    MIDTERM 2 SOLUTIONS

    PRACTICE FINAL

    NO Practice FINAL!

    SOME BASIC DEFINITIONS and FACTS

    Operations on Sets, Functions, Relations, Equivalence Relations
    Order Relations, Lattices, Boolean Algebras
    Cardinalities of Sets

    Exercises - Homework Problems

    Homework Exercise 0 - NEW
    Homework Exercise 01 - NEW
    Homework-Exercise 1
    Homework-Exercise 2
    Homework-Exercise 3
    Homework-Exercise 4
    Homework-Exercise 5
    Homework-Exercise 6
    Homework-Exercise 7
    Homework-Exercise 8
    Homework-Exercise 9
    Homework-Exercise 9(1)- NEW
    Extra Credit Exercise 9a
    Homework-Exercise 10
    Homework-Exercise 11
    Homework-Exercise 12

    Exercises - Homework SOLUTIONS

    Homework-Exercise 0 Solutions - NEW
    Homework-Exercise 1 Solutions
    Homework-Exercise 2 Solutions
    Homework-Exercise 3 Solutions
    Homework-Exercise 4 Solutions
    Homework-Exercise 5 Solutions
    Homework-Exercise 6 Solutions
    Homework-Exercise 7 Solutions
    Homework-Exercise 8 Solutions
    Homework-Exercise 10 Solutions
    Homework-Exercise 11 Solutions
    Homework-Exercise 12 Solutions

    TESTS SCHEDULE

    Practice Midterm 1: Tuesday, March 8, in class

    Midterm 1: Thursday, March 11, in class

    Midterm 2: Thursday, April 14, in class.

    Spring Break: April 16 - April 24

    FINAL: MAy 20, 2:15-4:45, our classroom

    EXTRA Lecture Notes 1,2

    Intuitive Introduction to Predicate Logic 1
    Intuitive Introduction to Predicate Logic 2

    Book Slides

    Chapter 1: Introduction: Mathematical Paradoxes and Computer Science Puzzles Slides
    Chapter 2: Introduction to Classical Propositional Logic Slides
    Chapter 3: Propositional Languages Slides
    Chapter 4: Classical Propositional Semantics Slides
    Chapter 5: Some Extentional Three and Many Valued Logics emantics Slides
    Chapter 6, part 1: Propositional Tautologies Examples Slides
    Chapter 6, part 2: Definability of Connectives, Languages Equivalence Slides
    Chapter 5, 6 Examples Slides
    Chapter 7: General Proof Systems Slides
    Chapter 8: Hilbert Proof Systems; Deduction Theorem Slides
    Chapter 8: Formal Proofs in H2 Examples Slides
    Chapter 8: Proof of Deduction Theorem Slides
    Chapter 9, System S and Completeness Theorem Slides
    Chapter 9, Proof 1 of Completeness Theorem and Examples Slides
    Chapter 9, Part 2: Proof 2 of Completeness Theorem Slides
    Chapter 10, Introduction to Intuitionistic Logic, Part 1 Slides
    Chapter 10, Introduction to Intuitionistic Logic, Part 2 Slides
    Chapter 11, Part 1: RS System Definition and Overview
    Chapter 11, Part 2: RS System: Decomposition Trees
    Chapter 11, Part 3: RS System: Proof of Completeness Theorem
    Chapter 11, Part 4: Gentzen Proof System for Classical Logic Slides
    Chapter 12, Gentzen Proof System for Intuitionistic Logic, Part 1 Slides
    Chapter 12, Gentzen Proof System for Intuitionistic Logic, Part 2 Slides
    Chapter 12, Gentzen Proof System for Intuitionistic Logic, Part 3 Slides
    GL, GI: FEW PROBLEMS
    Chapter 13, Predicate Languages, Slides
    Chapter 13, System QRS, Slides

    Book Chapters

    Chapter 1: Introduction
    Chapter 2: Indroduction to Classical Propositional Logic
    Chapter 3: Propositional Languages
    Chapter 4: Classical Propositional Semantics
    Chapter 5 Some Extensional Multivalued Semantics
    Chapter 6 Classical Tautologies and Logical Equivalences
    Chapter 7 General Proof Systems
    Chapter 8 Hilbert Proof Systems, Deduction Theorem
    Chapter 9 Propositional Logic Completeness Theorem - NEW
    Chapter 10 Introduction to Intuitionistic Logic
    Chapter 11 Gentzen Style Proof Systems for Classical Logic
    Chapter 12 Gentzen Proof System for Intuitionistic Logic
    Chapter 13, Predicate languages
    Chapter 13, Part 1: System QRS Definition and Examples
    Chapter 13, Part 2: System QRS Completeness
    Chapter 14, Part 1: Hilbert System for Predicate Logic
    Chapter 14, Part 2: Hilbert System for Predicate Logic

    Academic Integrity Statement

    Each student must pursue his or her academic goals honestly and be personally accountable for all submitted work. Representing another person's work as your own is always wrong. Any suspected instance of academic dishonesty will be reported to the Academic Judiciary. For more comprehensive information on academic integrity, including categories of academic dishonesty, please refer to the academic judiciary website at Academic Judiciary Website

    Stony Brook University Syllabus Statement

    If you have a physical, psychological, medical, or learning disability that may impact your course work, please contact Disability Support Services at (631) 632-6748 or Disability Support ServicesWebsite They will determine with you what accommodations are necessary and appropriate. All information and documentation is confidential. Students who require assistance during emergency evacuation are encouraged to discuss their needs with their professors and Disability Support Services. For procedures and information go to the following website: Disability Support Services Website