Of 38 lecture 13: propositional logic – part II. of 38 propositional logic Gentzen system PROP_G design to be simple syntax and vocabulary the same as.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Completeness and Expressiveness
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
Discrete Math Methods of proof 1.
Introduction to Proofs
Introduction to Theorem Proving
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9,10,11- Logic; Deduction Theorem 23/1/09 to 30/1/09.
Logic Use mathematical deduction to derive new knowledge.
1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
Logic Concepts Lecture Module 11.
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Formalizing Alpha: Soundness and Completeness Bram van Heuveln Dept. of Cognitive Science RPI.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Knoweldge Representation & Reasoning
Reading: Chapter 4, section 4 Nongraded Homework: Problems at the end of section 4. Graded Homework #4 is due at the beginning of class on Friday. You.
Chapter 3 Propositional Logic
TR1413: Discrete Mathematics For Computer Science Lecture 4: System L.
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
No new reading for Monday or Wednesday Exam #2 is next Friday, and we’ll review and work on proofs on Monday and Wed.
Discrete Mathematics and its Applications
Methods of Proof & Proof Strategies
Canonical Constructive Systems Ori Lahav under the supervision of Prof. Arnon Avron 28 July 2009.
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
Logic in Computer Science - Overview Sep 1, 2011 POSTECH 박성우.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Pattern-directed inference systems
Of 33 lecture 12: propositional logic – part I. of 33 propositions and connectives … two-valued logic – every sentence is either true or false some sentences.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
0 What logic is or should be Propositions Boolean operations The language of classical propositional logic Interpretation and truth Validity (tautologicity)
Natural Deduction CS 270 Math Foundations of CS Jeremy Johnson.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
LECTURE LECTURE Propositional Logic Syntax 1 Source: MIT OpenCourseWare.
Chapter Five Conditional and Indirect Proofs. 1. Conditional Proofs A conditional proof is a proof in which we assume the truth of one of the premises.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
CS6133 Software Specification and Verification
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–7: (a) Formal System;(b) How to read research papers 3 rd August, 2010.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 05 : Knowledge Base & First Order Logic.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Outline Logic Propositional Logic Well formed formula Truth table
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Lecture 10 Methods of Proof CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
1 Propositional Proofs 1. Problem 2 Deduction In deduction, the conclusion is true whenever the premises are true.  Premise: p Conclusion: (p ∨ q) 
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–6: Propositional calculus, Semantic Tableau, formal System 2 nd August,
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5- Deduction Theorem.
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
Chapter 7. Propositional and Predicate Logic
Resolution in the Propositional Calculus
7.1 Rules of Implication I Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.
Cirquent calculus Episode 15 About cirquent calculus in general
Logic Use mathematical deduction to derive new knowledge.
CS 270 Math Foundations of CS
The Method of Deduction
Computer Security: Art and Science, 2nd Edition
CSNB234 ARTIFICIAL INTELLIGENCE
Foundations of Discrete Mathematics
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
ece 720 intelligent web: ontology and beyond
Presentation transcript:

of 38 lecture 13: propositional logic – part II

of 38 propositional logic Gentzen system PROP_G design to be simple syntax and vocabulary the same as PROP_H it has,, as standard operators, and a much larger set of inference rules for introducing and eliminating the operators ece 720, winter ‘122

of 38 propositional logic Gentzen system PROP_G a different name – a natural deduction system ece 720, winter ‘123

of 38 propositional logic Gentzen system a special symbol (or ) that defines a sequent sequent is interpreted as a statement: when all formulae on the left side of the are true then at least one of those on the right is true ece 720, winter ‘124

of 38 propositional logic Gentzen system  if all formulae of a set  is true then one of formulae of a set  is true ece 720, winter ‘125

of 38 propositional logic Gentzen system  either  or  can be derived from  and  ece 720, winter ‘126

of 38 propositional logic Gentzen system a symbol is used for making statements about what hypotheses a chain of inference is based on, and for couching inference rules so that the steps in a chain of inference can actually be performed ece 720, winter ‘127

of 38 propositional logic Gentzen system a sequent rule is written as a collection of sequents above a horizontal line, and a single sequent below it (if you have a collection of sequents that matches what is above the line, you can replace them by the single sequent below) ece 720, winter ‘128

of 38 propositional logic Gentzen system there are two groups of inference rules  for introducing logical operators  for rearranging sequent ece 720, winter ‘129

of 38 propositional logic Gentzen system – introduction rules ece 720, winter ‘1210

of 38 propositional logic Gentzen system – introduction rules ece 720, winter ‘1211

of 38 propositional logic Gentzen system – introduction rules ece 720, winter ‘1212

of 38 propositional logic Gentzen system – introduction rules ece 720, winter ‘1213

of 38 propositional logic Gentzen system – structural rules ece 720, winter ‘1214 reordering

of 38 propositional logic Gentzen system – structural rules ece 720, winter ‘1215 weakening

of 38 propositional logic Gentzen system – structural rules ece 720, winter ‘1216 contraction

of 38 propositional logic Gentzen system proofs are constructed by working from sequents of the form A A, via the rules (just shown), to a sequent consisting of just the desired formula on the right ece 720, winter ‘1217

of 38 propositional logic Gentzen system – proof of PH1 ece 720, winter ‘1218 A (B A)

of 38 Gentzen system – proof of PH2 ece 720, winter ‘1219

of 38 propositional logic Gentzen system – proof of PH3 ece 720, winter ‘1220 A A

of 38 propositional logic Gentzen system – … ece 720, winter ‘1221 Modus Ponens

of 38 propositional logic Gentzen system anything which can be proven in PROP_H can also be proven in PROP_G what leads to a theorem: anything which is valid is provable in PROP_G ece 720, winter ‘1222

of 38 propositional logic Gentzen system there are also theorems for soundness, consistency, decidability – both systems are equivalent additional: cut elimination theorem any theorem which can be proved in PROP_G has a proof which does not contain a use of the CUT rule ece 720, winter ‘1223

of 38 propositional logic tableau system designed to support proofs by contradiction idea: since every proposition is either true or false, if we show that something cannot be false then it must be true ece 720, winter ‘1224

of 38 propositional logic tableau system PROP_B has the same syntax and vocabulary as PROP_G ece 720, winter ‘1225

of 38 propositional logic tableau system proofs are constructed in terms of an object called a semantic tableau – this is an attempt to enumerate the ways the world could be, given the hypotheses of the proof, and to show that in all of them the negation of the desired conclusion must be false, so the conclusion itself must be true ece 720, winter ‘1226

of 38 propositional logic tableau system a tableau is a tree of formulae, built up according to the following five rules: ece 720, winter ‘1227

of 38 propositional logic tableau system (rule i) if A 1, A 2, … A n are the premises of a proof, then A 1 A 2 … A n is a tableau ece 720, winter ‘1228

of 38 propositional logic tableau system (rule ii) if some branch contains a formula A i which is of the form B i C i then the tree formed by adding Bi and Ci on the end is a tableaup q r q r ece 720, winter ‘1229

of 38 propositional logic tableau system (rule iii) if some branch contains a formula A i which is of the form B i C i then the tree formed by adding B i and C i on the end is a tableaup p q p q ece 720, winter ‘1230

of 38 propositional logic tableau system (rule iv) if A i is B i C i then the tree is extended by adding new branches B i and C i so thatr p q p q ece 720, winter ‘1231

of 38 propositional logic tableau system (rule v) if A i is B i for some non-atomic B i, then the tree is extended by adding C i D i when B i is C i D i C i when B i is C i ece 720, winter ‘1232

of 38 propositional logic tableau system each branch represents a partial description of the world which is consistent with the original set of premises if any branch contains both A and A for some A then it is clearly not feasible description of the world – we say the branch is CLOSED ece 720, winter ‘1233

of 38 propositional logic tableau system if all branch is CLOSED – then there is no feasible descriptions of the world which are consistent with the premises on which it is based so, proof – adding negation of the goal to the premises and showing that the tableau based on that collection is CLOSED (every branch is CLOSED) ece 720, winter ‘1234

of 38 propositional logic tableau system – proof 1 to show that r follows from p, q, (p [q r]) ece 720, winter ‘1235

of 38 propositional logic tableau system – proof 2 (PH2) ece 720, winter ‘1236

of 38 propositional logic tableau system – proof 2 (PH2) cont. ece 720, winter ‘1237

of 38 propositional logic tableau system – proof 3 ece 720, winter ‘1238