1 Propositional Proofs 1. Problem 2 Deduction In deduction, the conclusion is true whenever the premises are true.  Premise: p Conclusion: (p ∨ q) 

Slides:



Advertisements
Similar presentations
Rules of Inferences Section 1.5. Definitions Argument: is a sequence of propositions (premises) that end with a proposition called conclusion. Valid Argument:
Advertisements

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.
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.
Use a truth table to determine the validity or invalidity of this argument. First, translate into standard form “Martin is not buying a new car, since.
CS128 – Discrete Mathematics for Computer Science
Uses for Truth Tables Determine the truth conditions for any compound statementDetermine the truth conditions for any compound statement Determine whether.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Knoweldge Representation & Reasoning
Let remember from the previous lesson what is Knowledge representation
Chapter 3 Propositional Logic
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.
Introduction to Logic Logical Form: general rules
Discrete Mathematics and its Applications
Chapter 24: Some Logical Equivalences. Logically equivalent statement forms (p. 245) Two statements are logically equivalent if they are true or false.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
Propositional Proofs 2.
Deduction, Proofs, and Inference Rules. Let’s Review What we Know Take a look at your handout and see if you have any questions You should know how to.
DeMorgan’s Rule DM ~(p v q) :: (~p. ~q)“neither…nor…” is the same as “not the one and not the other” ~( p. q) :: (~p v ~q) “not both…” is the same as “either.
Mathematical Structures for Computer Science Chapter 1.2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
Pattern-directed inference systems
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Today’s Topics Review of Sample Test # 2 A Little Meta Logic.
INTRODUCTION TO LOGIC Jennifer Wang Fall 2009 Midterm Review Quiz Game.
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
From Truth Tables to Rules of Inference Using the first four Rules of Inference Modus Ponens, Modus Tollens, Hypothetical Syllogism and Disjunctive Syllogism.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
Today’s Topics Introduction to Proofs Rules of Inference Rules of Equivalence.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
CS6133 Software Specification and Verification
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
CS2013 Mathematics for Computing Science Adam Wyner University of Aberdeen Computing Science Slides adapted from Michael P. Frank ' s course based on the.
6.6 Argument Forms and Fallacies
Symbolic Logic ⊃ ≡ · v ~ ∴. What is a logical argument? Logic is the science of reasoning, proof, thinking, or inference. Logic allows us to analyze a.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Today’s Topics Argument forms and rules (review)
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Chapter 1 Logic and proofs
Formal logic The part of logic that deals with arguments with forms.
L = # of lines n = # of different simple propositions L = 2 n EXAMPLE: consider the statement, (A ⋅ B) ⊃ C A, B, C are three simple statements 2 3 L =
March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.
2. The Logic of Compound Statements Summary
Knowledge Representation and Reasoning
Natural Deduction: Using simple valid argument forms –as demonstrated by truth-tables—as rules of inference. A rule of inference is a rule stating that.
{P} ⊦ Q if and only if {P} ╞ Q
6.1 Symbols and Translation
Information Technology Department
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.
CS201: Data Structures and Discrete Mathematics I
Deductive Reasoning: Propositional Logic
Natural Deduction 1 Hurley, Logic 7.4.
CS 220: Discrete Structures and their Applications
Back to “Serious” Topics…
The Method of Deduction
Malini Sen WESTERN LOGIC Presented by Assistant Professor
Natural Deduction Hurley, Logic 7.1.
Computer Security: Art and Science, 2nd Edition
Logical Entailment Computational Logic Lecture 3
Natural Deduction Hurley, Logic 7.2.
CSNB234 ARTIFICIAL INTELLIGENCE
Natural Deduction Hurley, Logic 7.3.
Transposition (p > q) : : ( ~ q > ~ p) Negate both statements
CS201: Data Structures and Discrete Mathematics I
Chapter 8 Natural Deduction
Presentation transcript:

1 Propositional Proofs 1

Problem 2

Deduction In deduction, the conclusion is true whenever the premises are true.  Premise: p Conclusion: (p ∨ q)  Premise: p Non-Conclusion: (p ∧ q)  Premises: p, q Conclusion: (p ∧ q) 3

Propositional Proofs Logical Entailment: A set of premises Δ logically entails a conclusion ϕ (written as Δ |= ϕ ) if and only if every interpretation that satisfies the premises also satisfies the conclusion {p} |= (p ∨ q) {p} |# (p ∧ q) {p, q} |= (p ∧ q) Mainly used when it is difficult to build the truth table Generate new lines whose truth value follows from, but is not identical to, the truth of the source lines. Can be applied ONLY to entire lines, not parts of lines. 4

Truth Tables and Proofs  The truth table method and the proof method succeed in exactly the same cases.  On large problems, the proof method often takes fewer steps than the truth table method. However, in the worst case, the proof method may take just as many or more steps to find an answer as the truth table method.  Usually, proofs are much smaller than the corresponding truth tables. So writing an argument to convince others does not take as much space. 5

Rules of Inference A rule of inference is a rule of reasoning consisting of one set of sentence patterns, called premises, and a second set of sentence patterns, called conclusions. 6

Rule Instances An instance of a rule of inference is a rule in which all meta- variables have been consistently replaced by expressions in such a way that all premises and conclusions are syntactically legal sentences. 7

Nine Basic Inference Rules Modus Ponens (MP)  From a conditional and a line identical to its antecedent, you may derive a line identical to its consequent Modus Tollens (MT)  From a conditional and the negation of its consequent, you may derive the negation of its antecedent p  q p  q p  q ~q  ~p 8

Nine Basic Inference Rules Disjunctive Syllogism (DS)  From a disjunction and the negation of one disjunct, you may derive the other disjunct Hypothetical Syllogism (HS)  From 2 conditionals, if the consequent of the first is identical to the antecedent of the second, you may derive a new conditional whose antecedent is identical to the antecedent of the first and whose consequent is identical to the consequent of the second. p  q q  r  p  r 9

Nine Basic Inference Rules Simplification  From a conjunction you may derive either conjunct.Conjunction  From any 2 lines you may derive a conjunction which has those lines as conjunctsAddition  From any line you may derive a disjunction with that line as a disjunct 10

Nine Basic Inference Rules 11 Constructive Dilemma  From a disjunction and 2 conditionals, if the antecedents match the disjuncts, you may derive a disjunction of the consequents Absorption  From a conditional you may derive a new conditional whose antecedent is that of the original and whose consequent is a conjunction of the original antecedent and the original consequent

Nine Basic Inference Rules Modus Ponens (MP) p  q P  q Modus Tollens (MT) p  q ~q  ~p Hypothetical Syllogism (HS) p  q q  r  p  r 12

Rules of Equivalence Equivalent expressions are true and false under exactly the same circumstances. So, one expression, or part of an expression, can be replaced with an equivalent expression (or part) without any change in meaning. Rules of equivalence are bi-directional 13

Rules of Equivalence Double Negation (DN) p :: ~ ~ p ~ ~ p :: p 14

Rules of Equivalence 15

Rules of Equivalence 16

Rules of Equivalence 17 Double Negation (DN) p :: ~ ~ p ~ ~ p :: p Contraposition (Cont) (p  q) :: (~q  ~p)

That’s It! We now have all 19 of the rules of inference and equivalence MP, MT, DS, HS, Conj, Simp, Add, CD, Abs  NOTE: there are no inference rules for dealing with biconditionals DN, DeM, Asso, Comm, Dist, Imp, Exp, Cont, Re, Equiv 18

Proof A proof is a finite set of formulae, beginning with the premises of an argument and ending with its conclusion, in which each formula following the premises is derived from the preceding formulae according to established rules of inference and equivalence. 19

Example of Inference 20

21 p  q ~q  ~p

To save space we also write this process as follows eliminating one of the ~W's: D W -> ~D ~W T V W T 22

23 Thank You!