Schedule. Logic (master program) Literature & Online Material. gic. Time and Place. Literature. Exercises & Exam. Online Material



Similar documents
Summary Last Lecture. Automated Reasoning. Outline of the Lecture. Definition sequent calculus. Theorem (Normalisation and Strong Normalisation)

Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

Foundational Proof Certificates

CHAPTER 7 GENERAL PROOF SYSTEMS

Beyond Propositional Logic Lukasiewicz s System

Software Modeling and Verification

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

Handout #1: Mathematical Reasoning

A Propositional Dynamic Logic for CCS Programs

Model Checking II Temporal Logic Model Checking

(LMCS, p. 317) V.1. First Order Logic. This is the most powerful, most expressive logic that we will examine.

First-Order Logics and Truth Degrees

CS510 Software Engineering

Introduction to Software Verification

Lecture 13 of 41. More Propositional and Predicate Logic

Path Querying on Graph Databases

3. Mathematical Induction

Which Semantics for Neighbourhood Semantics?

ON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS

Predicate Logic. For example, consider the following argument:

Introduction to Logic: Argumentation and Interpretation. Vysoká škola mezinárodních a veřejných vztahů PhDr. Peter Jan Kosmály, Ph.D

Logic in general. Inference rules and theorem proving

Algorithmic Software Verification

Computational Logic and Cognitive Science: An Overview

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Formal Verification and Linear-time Model Checking

Model Checking: An Introduction

Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.

Aikaterini Marazopoulou

Predicate logic. Logic in computer science. Logic in Computer Science (lecture) PART II. first order logic

Semantics and Verification of Software

Remarks on Non-Fregean Logic

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

CODING TRUE ARITHMETIC IN THE MEDVEDEV AND MUCHNIK DEGREES

Computational Methods for Database Repair by Signed Formulae

Resolution. Informatics 1 School of Informatics, University of Edinburgh

Fixed-Point Logics and Computation

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Rigorous Software Development CSCI-GA

196 Chapter 7. Logical Agents

Deterministic Discrete Modeling

A first step towards modeling semistructured data in hybrid multimodal logic

Temporal Logics. Computation Tree Logic

Lecture Notes in Discrete Mathematics. Marcel B. Finan Arkansas Tech University c All Rights Reserved

On the Modeling and Verification of Security-Aware and Process-Aware Information Systems

x < y iff x < y, or x and y are incomparable and x χ(x,y) < y χ(x,y).

INTRODUCTORY SET THEORY

Propositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.

Software Verification and Testing. Lecture Notes: Temporal Logics

Introduction to Logic in Computer Science: Autumn 2006

MATHEMATICAL LOGIC FOR COMPUTER SCIENCE

Development of dynamically evolving and self-adaptive software. 1. Background

MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Logic and Computer Science - Phokion G. Kolaitis

Iterated Dynamic Belief Revision. Sonja Smets, University of Groningen. website:

6.080/6.089 GITCS Feb 12, Lecture 3

First-Order Stable Model Semantics and First-Order Loop Formulas

University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees

Bounded-width QBF is PSPACE-complete

2. The Language of First-order Logic

! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs

Model Checking LTL Properties over C Programs with Bounded Traces

EQUATIONAL LOGIC AND ABSTRACT ALGEBRA * ABSTRACT

Predicate logic Proofs Artificial intelligence. Predicate logic. SET07106 Mathematics for Software Engineering

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

Parametric Domain-theoretic models of Linear Abadi & Plotkin Logic

logic language, static/dynamic models SAT solvers Verified Software Systems 1 How can we model check of a program or system?

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

Formal Specifications of Security Policy Models

Sudoku as a SAT Problem

Lecture 8: Resolution theorem-proving

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Outline. NP-completeness. When is a problem easy? When is a problem hard? Today. Euler Circuits

Logic, Algebra and Truth Degrees Siena. A characterization of rst order rational Pavelka's logic

Lecture 7: NP-Complete Problems

NP-Completeness and Cook s Theorem

We would like to state the following system of natural deduction rules preserving falsity:

Dedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes)

A Problem Course in Mathematical Logic Version 1.6. Stefan Bilaniuk

Using Patterns and Composite Propositions to Automate the Generation of Complex LTL

Validated Templates for Specification of Complex LTL Formulas

Updating Action Domain Descriptions

Analyzing First-order Role Based Access Control

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Predicate Logic Review

Formal Engineering for Industrial Software Development

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

Chapter. NP-Completeness. Contents

A Working Knowledge of Computational Complexity for an Optimizer

Rules of Inference Friday, January 18, 2013 Chittu Tripathy Lecture 05

Math 3000 Section 003 Intro to Abstract Math Homework 2

Transcription:

OLC mputational gic Schedule Time and Place Thursday, 8:15 9:45, HS E Logic (master program) Georg Moser Institute of Computer Science @ UIBK week 1 October 2 week 8 November 20 week 2 October 9 week 9 November 27 (LPAR 08) week 3 October 16 week 10 December 4 week 4 October 23 week 11 December 11 (FSTTCS 08) week 5 October 30 week 12 January 8 week 6 November 6 week 13 January 15 week 7 November 13 first exam January 22 Winter 2008 GM (Institute of Computer Science @ UIBK) Logic (master program) 1/17 GM (Institute of Computer Science @ UIBK) Logic (master program) 2/17 Literature & Online Material Literature Shawn Hedman A First Course in Logic Oxford University Press, 2008 ISBN 978-0-19-852981-1 Exercises & Exam officially there are no exercises as this course is labelled VO however, without exercises you ll simply fail the exam I ll give bi-weekly exercises which will be discussed in the lecture Online Material Any protest? Transparencies and homework will be available from IP starting with 138.232 after the lecture; exercises and solutions will be discussed during the lecture GM (Institute of Computer Science @ UIBK) Logic (master program) 3/17 GM (Institute of Computer Science @ UIBK) Logic (master program) 4/17

Schedule week 1 week 2 week 3 week 4 week 5 week 6 week 7 week 8 week 9 week 10 week 11 week 12 week 13 introduction, propositional logic, semantics propositional logic, formal proofs, resolution homework: propositional logic first-order logic, semantics first-order logic, structures, theories and models first-order logic, formal proofs, Herbrand theory homework: first-order logic, resolution completeness of first-order logic, properties of first-order logic homework: compactness and completeness introduction to computability computability continued, introduction to complexity complexity continued, finite model theory homework: computability and complexity modal logics in a general setting modal logics continued, introduction to Isabelle Isabelle frenzy introduction, propositional logic, semantics, formal proofs, resolution (propositional) first-order logic, semantics, structures, theories and models, formal proofs, Herbrand theory, resolution (first-order), completeness of first-order logic, properties of first-order logic introduction to computability, introduction to complexity, finite model theory beyond first order: modal logics in a general setting, higher-order logics, introduction to Isabelle GM (Institute of Computer Science @ UIBK) Logic (master program) 5/17 There is not only one logic instead there are many logics: temporal, modal, intuitionistic, fuzzy, dynamic, etc. Question why is LICS not enough? Observation ➀ in LICS the following logics have been studied propositional logic first-order logic second-order logic temporal logics (LTL, CTL, CTL ) GM (Institute of Computer Science @ UIBK) Logic (master program) 6/17 Logic is a language (not only a tool) What is a logic? a logic is a language equipped with rules for deducing the truth of one sentence from that of another a logic is a formal language each logic is based on some smallest part usually called atoms or atomic formulas let n be the smallest natural number that cannot be defined in fewer than 20 words What is logic? logic is defined as the study of the principle of reasoning GM (Institute of Computer Science @ UIBK) Logic (master program) 7/17 GM (Institute of Computer Science @ UIBK) Logic (master program) 8/17

Logic and Computer Science Observation ➁ (propositional) logic can be used to effective solve MineSweeper automatically logic and computer science form a symbiosis the (time) complexity class NP (for graphs) = those decision problems expressible in existential second-order logic MineSweeper solver & generator by Christoph Rungg problem: consider { 26, 16, 12, 8, 4, 2, 7, 8, 27}, does some subset add up to 10? the general problem is NP-complete introduction, propositional logic, semantics, formal proofs, resolution (propositional) first-order logic, semantics, structures, theories and models, formal proofs, Herbrand theory, resolution (first-order), completeness of first-order logic, properties of first-order logic introduction to computability, introduction to complexity, finite model theory beyond first order: modal logics in a general setting, higher-order logics, introduction to Isabelle GM (Institute of Computer Science @ UIBK) Logic (master program) 9/17 Proposition Logic Propositional Logic: Syntax What is propositional logic? in propositional logic, atomic formulas are propositions A = Aristotle is dead B = these elections are a catastrophe... Primitive operators > the formula F is the negation of F the formula F G is the conjunction of F and G Demo Booltool by Caroline Terzer formula formation GM (Institute of Computer Science @ UIBK) Logic (master program) 10/17 Proposition Logic any formula is a subformula of itself any subformula of F is a subformula of F any subformula of F and G is a subformula of (F G) Convention the formula F and (F ) are treated interchangingly A A 0 1 1 0 A B (A B) 0 0 0 0 1 0 1 0 0 1 1 1 subformula truth tables GM (Institute of Computer Science @ UIBK) Logic (master program) 11/17 GM (Institute of Computer Science @ UIBK) Logic (master program) 12/17

Validity, satisfiability, and contradiction,, for formulas F, G the disjunction F G is defined as ( F G) the implication F G is defined as F G the bi-implication F G is defined as ((F G) (G F )) assignment let S = {A 1,..., A n } be the set of atomic formulas let F(S) be the set of all formulas over S an assignment of S is a function A: S {0, 1} an assignment A extends to an evaluation A(F ) of a formula F let A(A) = 1, A(B) = 0, then A(A B)= 0 A(A (C C))= 1 A(A (C C)))= 1 A(B (C C))= 0 if A(F ) = 1 then A models F we write A = F a formula is valid if it holds under every assignment if F is valid, we write = F, F is a tautology models valid GM (Institute of Computer Science @ UIBK) Logic (master program) 13/17 Consequence and Equivalence a formula is satisfiable if assignment that satisfies it otherwise, a formula is unsatisfiable an unsatisfiable formula is a contradiction satisfiable consequence G is consequence of F, if assignments A, when A = F, then A = G we write F = G Lemma G is consequence of F if and only if F G is a tautology Proof on black board GM (Institute of Computer Science @ UIBK) Logic (master program) 14/17 F is a consequence of G and G is a consequence of F, then F and G are equivalent notation: F G equivalent (F (G H)) ((F G) (F H)) (F G) ( F G) (F (G H)) ((F G) (F H)) (F G) ( F G) let F = {F 1, F 2,... } be a set of formulas A models F (A = F), if F : A = F G is a consequence of F (F = G), if A: A = F implies A = G GM (Institute of Computer Science @ UIBK) Logic (master program) 15/17 GM (Institute of Computer Science @ UIBK) Logic (master program) 16/17

Derivability let F = {A, (A B), (B C), (C D), (D E), (E F ), (F G)} such that all formulas in F are true; hence G is true Question how many entries has the truth table for F G? Modus Ponens A A B B B C C D X C D X Y Y E D F F E F G F G GM (Institute of Computer Science @ UIBK) Logic (master program) 17/17