Warm-Up Problem. Write a Resolution Proof for. Res 1/32
|
|
- Anastasia Berry
- 5 years ago
- Views:
Transcription
1 Warm-Up Problem Write a Resolution Proof for Res 1/32
2 A second Rule Sometimes throughout we need to also make simplifications: You can do this in line without explicitly mentioning it (just pretend you simplified after applying the resolution rule - this actually makes more sense using the set notation 2/32
3 Propositional Logic: Natural Deduction Derived Rules and Examples Carmen Bruni Lecture 8 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler, and P Van Beek 3/32
4 Learning goals Natural Deduction in Propositional logic Describe rules of inference for natural deduction Prove a conclusion from given premises using natural deduction inference rules Describe strategies for applying each inference rule when proving a conclusion formula using natural deduction Derived Rules in Natural Deduction: Describe the derived rules of inference for natural deduction Prove a conclusion from given premises using natural deduction inference rules Describe strategies for applying each inference rule when proving a conclusion formula using natural deduction 4/32
5 The Natural Deduction Proof System We will now consider a proof system called Natural Deduction It closely follows how people (mathematicians, at least) normally make formal arguments It extends easily to more-powerful forms of logic 5/32
6 A proof is syntactic First, we think about proofs in a purely syntactic way A proof starts with a set of premises, transforms the premises based on a set of inference rules (which form a proof system), and reaches a conclusion We write ND or simply if context is clear if we can find such a proof in our proof system of Natural Deduction that starts with a set of premises and ends with the conclusion 6/32
7 Revisit Soundness and Completeness We revisit Soundness and Completeness just like we did for Resolution: (Soundness) 1 Does ND imply? 2 Does every proof establish a semantic entailment? 3 If a proof of to exists, is it true that semantically entails? (Completeness) 1 Does imply ND? 2 For every semantic entailment, can I find a proof for it? 3 If semantically entails, does a proof of to exist? 7/32
8 Reflexivity / Premise If you want to write down a previous formula in the proof again, you can do it by reflexivity Name -notation inference notation Reflexivity, or Premise ND The notation on the right: Given the formulas above the line, we can infer the formula below the line The version in the centre reminds us of the role of assumptions in Natural Deduction Other rules will make more use of it Basic Rules 8/32
9 An example using reflexivity Here is a proof of ND 1 Premise 2 Premise 3 Reflexivity: 1 Alternatively, we could simply write 1 Premise and be done Basic Rules 9/32
10 For each symbol, the rules come in pairs An introduction rule adds the symbol to the formula An elimination rule removes the symbol from the formula Basic Rules 10/32
11 Rules for Conjunction Name -notation inference notation -introduction ( i) If ND and ND, then ND Name -notation inference notation -elimination ( e) If ND, then ND and ND Conjunction Rules 11/32
12 Example: Conjunction Rules Example Show that ND Conjunction Rules 12/32
13 Example: Conjunction Rules Example Show that ND 1 Premise 2 e: 1 3 e: 1 4 i: 2, 3 Conjunction Rules 12/32
14 Example: Conjunction Rules (2) Example Show that, ND Conjunction Rules 13/32
15 Example: Conjunction Rules (2) Example Show that, ND 1 Premise 2 Premise 3 e: 1 4 i: 3, 2 Conjunction Rules 13/32
16 Rules for Implication: e Name -notation inference notation -elimination ( e) (modus ponens) If ND and ND, then ND In words: If you assume is true and implies, then you may conclude Implication Rules 14/32
17 Rules for Implication: i Name -notation inference notation -introduction ( i) If ND, then ND The box denotes a sub-proof In the sub-proof, we starts by assuming that is true (a premise of the sub-proof), and we conclude that is true Nothing inside the sub-proof may come out Outside of the sub-proof, we could only use the sub-proof as a whole Implication Rules 15/32
18 Example: Rule i and sub-proofs Example Give a proof of ND To start, we write down the premises at the beginning, and the conclusion at the end 1 Premise 2 Premise??? What next? Implication Rules 16/32
19 Example: Rule i and sub-proofs Example Give a proof of ND To start, we write down the premises at the beginning, and the conclusion at the end 1 Premise 2 Premise 3 Assumption i:?? What next? The goal contains Let s try rule i Implication Rules 16/32
20 Example: Rule i and sub-proofs Example Give a proof of ND To start, we write down the premises at the beginning, and the conclusion at the end 1 Premise 2 Premise 3 Assumption 4 e: 1, 3 5 e: 2, 4 6 i:?? What next? The goal contains Let s try rule i Inside the sub-proof, we can use rule e Implication Rules 16/32
21 Example: Rule i and sub-proofs Example Give a proof of ND To start, we write down the premises at the beginning, and the conclusion at the end 1 Premise 2 Premise 3 Assumption 4 e: 1, 3 5 e: 2, 4 6 i: 3 5 What next? The goal contains Let s try rule i Inside the sub-proof, we can use rule e Done! Implication Rules 16/32
22 Rules of Disjunction: i and e Name -notation inference notation -introduction ( i) -elimination ( e) If ND, then ND and ND If, ND and, ND, then, ND e is also known as proof by cases Disjunction Rules 17/32
23 Example: Or-Introduction and -Elimination Example: Show that ND Disjunction Rules 18/32
24 Example: Or-Introduction and -Elimination Example: Show that ND 1 Premise 2 Assumption 3 Assumption 4 Reflexivity: 2 5 i: i: 5 7 Assumption 8 Assumption 9 Reflexivity: 7 10 i: i: e: 1, 2 6, 7 11 Disjunction Rules 18/32
25 Negation We shall treat negation by considering contradictions We shall use the notation to represent any contradiction It may appear in proofs as if it were a formula Do not confuse this with the from resolution! Negation 19/32
26 Negation Rules The elimination rule for double negations: Name -notation inference notation -elimination ( e) If ND, then ND If an assumption leads to a contradiction, then derive Name -notation inference notation -introduction ( i) If ND, then ND Negation 20/32
27 The Last Two Basic Rules for Contradiction Introduction (also known as -elimination ( e)): Name -notation inference notation -introduction,, ND If we have both and, then we have a contradiction Contradiction Elimination: Name -notation inference notation -elimination ( e) If ND, then ND Negation 21/32
28 Example: Negation Example Show that ND Negation 22/32
29 Example: Negation Example Show that ND 1 Premise?? Negation 22/32
30 Example: Negation Example Show that ND 1 Premise 2 Assumption 3 4?? 5 i: 2? Negation 22/32
31 Example: Negation Example Show that ND 1 Premise 2 Assumption 3 e: 1, 2 4?? 5 i: 2? Negation 22/32
32 Example: Negation Example Show that ND 1 Premise 2 Assumption 3 e: 1, 2 4 i: 2, 3 5 i: 2 4 Negation 22/32
33 A Redundant Rule The rule of -elimination is not actually needed Suppose a proof has 27 some rule 28 e: 27 We can replace these by 27 some rule 28 Assumption 29 Reflexivity: i: e: 30 Thus any proof that uses e can be modified into a proof that does not Negation 23/32
34 Example: Modus tollens The principle of modus tollens: ND Negation 24/32
35 Example: Modus tollens The principle of modus tollens: ND 1 Premise 2 Premise?? Negation 24/32
36 Example: Modus tollens The principle of modus tollens: ND 1 Premise 2 Premise 3 Assumption i:?? Negation 24/32
37 Example: Modus tollens The principle of modus tollens: ND 1 Premise 2 Premise 3 Assumption 4 e: 3, i:?? Negation 24/32
38 Example: Modus tollens The principle of modus tollens: ND 1 Premise 2 Premise 3 Assumption 4 e: 3, i: 3 5 What should go on line 5? Negation 24/32
39 Example: Modus tollens Modus tollens is sometimes taken as a derived rule : MT Negation 25/32
40 Derived Rules Whenever we have a proof of the form ND, we can consider it as a derived rule: If we use this in a proof, it can be replaced by the original proof of ND The result is a proof using only the basic rules Using derived rules does not expand the things that can be proved But they can make it easier to find a proof Negation 26/32
41 More Derived Rules Double-Negation Introduction: i Negation 27/32
42 More Derived Rules Double-Negation Introduction: i 1 Premise?? Negation 27/32
43 More Derived Rules Double-Negation Introduction: i 1 Premise 2 Assumption 3 4 i:?? Negation 27/32
44 More Derived Rules Double-Negation Introduction: i 1 Premise 2 Assumption 3 i: 1, 2 4 i:?? Negation 27/32
45 More Derived Rules Double-Negation Introduction: i 1 Premise 2 Assumption 3 i: 1, 2 4 i: 2 3 Negation 27/32
46 More Derived Rules Proof by contradiction (reductio ad absurdum): PBC Negation 28/32
47 More Derived Rules Proof by contradiction (reductio ad absurdum): PBC 1 Premise 5?? Negation 28/32
48 More Derived Rules Proof by contradiction (reductio ad absurdum): PBC 1 Premise?? 5 e:?? Negation 28/32
49 More Derived Rules Proof by contradiction (reductio ad absurdum): PBC 1 Premise 2 Assumption 3 4 i:?? 5 e: 4 Negation 28/32
50 More Derived Rules Proof by contradiction (reductio ad absurdum): PBC 1 Premise 2 Assumption 3 e: 1, 2 4 i:?? 5 e: 4 Negation 28/32
51 More Derived Rules Proof by contradiction (reductio ad absurdum): PBC 1 Premise 2 Assumption 3 e: 1, 2 4 i: e: 4 Negation 28/32
52 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM Negation 29/32
53 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 9?? Negation 29/32
54 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1?? 9 e:?? Negation 29/32
55 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption?? 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
56 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3?? 4?? 5 i:?? 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
57 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3?? 4?? 5 i:?? 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
58 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4?? 5 i:?? 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
59 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4?? 5 i:?? 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
60 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i:?? 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
61 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: 2-4 6???? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
62 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: 2-4 6?? 7 i:?? 8 i:?? 9 e:?? Negation 29/32
63 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: i: 5 7 i:?? 8 i:?? 9 e:?? Negation 29/32
64 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: i: 5 7 i: 1,6 8 i:?? 9 e:?? Negation 29/32
65 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: i: 5 7 i: 1,6 8 i: e:?? Negation 29/32
66 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: i: 5 7 i: 1,6 8 i: e: 8 Negation 29/32
67 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: i: 5 7 i: 1,6 8 i: e: 8 Negation 29/32
68 More Derived Rules The Law of Excluded Middle (tertiam non datur): LEM 1 Assumption 2 Assumption 3 i: 2 4 i: 1,3 5 i: i: 5 7 i: 1,6 8 i: e: 8 Negation 29/32
69 Strategies for natural deduction proofs 1 Work forward from the premises Can you apply an elimination rule? 2 Work backwards from the conclusion What introduction rule do you need to use at the end? 3 Stare at the formula Notice its structure Use it to guide your proof 4 If a direct proof doesn t work, try a proof by contradiction Additional Examples and Techniques 30/32
70 Further Examples of Natural Deduction Example Show that ND Write down premises and conclusion (step 1) No elimination applies (step 2) Thus try i (step 3) 1 Premise?? Additional Examples and Techniques 31/32
71 Further Examples of Natural Deduction Example Show that ND In the sub-proof, try -elimination on the assumption (step 2) 1 Premise 2 Assumption?? 9?? Additional Examples and Techniques 31/32
72 Further Examples of Natural Deduction Example Show that ND To justify lines 4 and 7: No elimination applies from the assumptions (step 2) What about -introduction for the conclusion (step 3)? 1 Premise 2 Assumption 3 Assumption 4?? 5 Assumption 6 7?? 8 e:?? 9 i: 2 8 Additional Examples and Techniques 31/32
73 Further Examples of Natural Deduction Example Show that ND It works! 1 Premise 2 Assumption 3 Assumption 4 i: 3 5 Assumption 6 e: 5, 1 7 i: 6 8 e: 2, 3 4, i: 2 8 Additional Examples and Techniques 31/32
74 Handout Try some of the problems on the handout! You may work in small groups if you wish or on your own Additional Examples and Techniques 32/32
Warm-Up Problem. Is the following true or false? 1/35
Warm-Up Problem Is the following true or false? 1/35 Propositional Logic: Resolution Carmen Bruni Lecture 6 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler,
More informationWarm-Up Problem. Let be a Predicate logic formula and a term. Using the fact that. (which can be proven by structural induction) show that 1/26
Warm-Up Problem Let be a Predicate logic formula and a term Using the fact that I I I (which can be proven by structural induction) show that 1/26 Predicate Logic: Natural Deduction Carmen Bruni Lecture
More informationNatural Deduction for Propositional Logic
Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic
More informationPropositional Logic: Part II - Syntax & Proofs 0-0
Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems
More information15414/614 Optional Lecture 1: Propositional Logic
15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,
More informationPropositional Logic: Deductive Proof & Natural Deduction Part 1
Propositional Logic: Deductive Proof & Natural Deduction Part 1 CS402, Spring 2016 Shin Yoo Deductive Proof In propositional logic, a valid formula is a tautology. So far, we could show the validity of
More informationPropositional Logic: Equivalence
Propositional Logic: Equivalence Alice Gao Lecture 5 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/42 Outline Propositional Logic:
More informationNatural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson
Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of
More informationManual of Logical Style (fresh version 2018)
Manual of Logical Style (fresh version 2018) Randall Holmes 9/5/2018 1 Introduction This is a fresh version of a document I have been working on with my classes at various levels for years. The idea that
More informationInference in Propositional Logic
Inference in Propositional Logic Deepak Kumar November 2017 Propositional Logic A language for symbolic reasoning Proposition a statement that is either True or False. E.g. Bryn Mawr College is located
More informationCS 512, Spring 2016, Handout 02 Natural Deduction, and Examples of Natural Deduction, in Propositional Logic
CS 512, Spring 2016, Handout 02 Natural Deduction, and Examples of Natural Deduction, in Propositional Logic Assaf Kfoury January 19, 2017 Assaf Kfoury, CS 512, Spring 2017, Handout 02 page 1 of 41 from
More informationProof strategies, or, a manual of logical style
Proof strategies, or, a manual of logical style Dr Holmes September 27, 2017 This is yet another version of the manual of logical style I have been working on for many years This semester, instead of posting
More information2. The Logic of Compound Statements Summary. Aaron Tan August 2017
2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional
More informationToday s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference)
Today s Lecture 2/25/10 Truth Tables Continued Introduction to Proofs (the implicational rules of inference) Announcements Homework: -- Ex 7.3 pg. 320 Part B (2-20 Even). --Read chapter 8.1 pgs. 345-361.
More informationOverview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.
Overview I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Propositional formulas Grammar: ::= p j (:) j ( ^ )
More information03 Propositional Logic II
Martin Henz February 12, 2014 Generated on Wednesday 12 th February, 2014, 09:49 1 Review: Syntax and Semantics of Propositional Logic 2 3 Propositional Atoms and Propositions Semantics of Formulas Validity,
More informationManual of Logical Style
Manual of Logical Style Dr. Holmes January 9, 2015 Contents 1 Introduction 2 2 Conjunction 3 2.1 Proving a conjunction...................... 3 2.2 Using a conjunction........................ 3 3 Implication
More informationSection 1.2: Propositional Logic
Section 1.2: Propositional Logic January 17, 2017 Abstract Now we re going to use the tools of formal logic to reach logical conclusions ( prove theorems ) based on wffs formed by some given statements.
More informationLogic for Computer Science - Week 5 Natural Deduction
Logic for Computer Science - Week 5 Natural Deduction Ștefan Ciobâcă November 30, 2017 1 An Alternative View of Implication and Double Implication So far, we have understood as a shorthand of However,
More informationCOMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof
More informationAdvanced Topics in LP and FP
Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection
More informationWarm-Up Problem. Please fill out your Teaching Evaluation Survey! Please comment on the warm-up problems if you haven t filled in your survey yet.
Warm-Up Problem Please fill out your Teaching Evaluation Survey! Please comment on the warm-up problems if you haven t filled in your survey yet Warm up: Given a program that accepts input, is there an
More informationNatural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.
Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms)
More informationPropositional logic. Programming and Modal Logic
Propositional logic Programming and Modal Logic 2006-2007 4 Contents Syntax of propositional logic Semantics of propositional logic Semantic entailment Natural deduction proof system Soundness and completeness
More informationIn this chapter, we specify a deductive apparatus for PL.
Handout 5 PL Derivations In this chapter, we specify a deductive apparatus for PL Definition deductive apparatus A deductive apparatus for PL is a set of rules of inference (or derivation rules) that determine
More informationFormal (natural) deduction in propositional logic
Formal (natural) deduction in propositional logic Lila Kari University of Waterloo Formal (natural) deduction in propositional logic CS245, Logic and Computation 1 / 67 I know what you re thinking about,
More informationPropositional logic (revision) & semantic entailment. p. 1/34
Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)
More informationPredicate Logic: Introduction and Translations
Predicate Logic: Introduction and Translations Alice Gao Lecture 10 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/29 Outline Predicate
More informationKnowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):
Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building
More informationIntermediate Logic. Natural Deduction for TFL
Intermediate Logic Lecture Two Natural Deduction for TFL Rob Trueman rob.trueman@york.ac.uk University of York The Trouble with Truth Tables Natural Deduction for TFL The Trouble with Truth Tables The
More informationCOMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof
More informationAxiomatic systems. Revisiting the rules of inference. Example: A theorem and its proof in an abstract axiomatic system:
Axiomatic systems Revisiting the rules of inference Material for this section references College Geometry: A Discovery Approach, 2/e, David C. Kay, Addison Wesley, 2001. In particular, see section 2.1,
More informationLanguage of Propositional Logic
Logic A logic has: 1. An alphabet that contains all the symbols of the language of the logic. 2. A syntax giving the rules that define the well formed expressions of the language of the logic (often called
More information4 Derivations in the Propositional Calculus
4 Derivations in the Propositional Calculus 1. Arguments Expressed in the Propositional Calculus We have seen that we can symbolize a wide variety of statement forms using formulas of the propositional
More informationLearning Goals of CS245 Logic and Computation
Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction
More informationLogic for Computer Science - Week 4 Natural Deduction
Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a
More informationCITS2211 Discrete Structures Proofs
CITS2211 Discrete Structures Proofs Unit coordinator: Rachel Cardell-Oliver August 13, 2017 Highlights 1 Arguments vs Proofs. 2 Proof strategies 3 Famous proofs Reading Chapter 1: What is a proof? Mathematics
More informationPredicate Logic: Semantics
Predicate Logic: Semantics Alice Gao Lecture 13 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/34 Outline Semantics of Predicate Logic
More informationSection 1.3: Valid and Invalid Arguments
Section 1.3: Valid and Invalid Arguments Now we have developed the basic language of logic, we shall start to consider how logic can be used to determine whether or not a given argument is valid. In order
More informationOverview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural
More informationDeductive Systems. Lecture - 3
Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth
More informationDiscrete Structures of Computer Science Propositional Logic III Rules of Inference
Discrete Structures of Computer Science Propositional Logic III Rules of Inference Gazihan Alankuş (Based on original slides by Brahim Hnich) July 30, 2012 1 Previous Lecture 2 Summary of Laws of Logic
More informationSupplementary Logic Notes CSE 321 Winter 2009
1 Propositional Logic Supplementary Logic Notes CSE 321 Winter 2009 1.1 More efficient truth table methods The method of using truth tables to prove facts about propositional formulas can be a very tedious
More informationNatural deduction for truth-functional logic
Natural deduction for truth-functional logic Phil 160 - Boston University Why natural deduction? After all, we just found this nice method of truth-tables, which can be used to determine the validity or
More informationProof Tactics, Strategies and Derived Rules. CS 270 Math Foundations of CS Jeremy Johnson
Proof Tactics, Strategies and Derived Rules CS 270 Math Foundations of CS Jeremy Johnson Outline 1. Review Rules 2. Positive subformulas and extraction 3. Proof tactics Extraction, Conversion, Inversion,
More informationLogic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001
Logic Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001 Last Lecture Games Cont. α-β pruning Outline Games with chance, e.g. Backgammon Logical Agents and thewumpus World
More informationPROPOSITIONAL CALCULUS
PROPOSITIONAL CALCULUS A proposition is a complete declarative sentence that is either TRUE (truth value T or 1) or FALSE (truth value F or 0), but not both. These are not propositions! Connectives and
More informationPropositional logic. Programming and Modal Logic
Propositional logic Programming and Modal Logic 2006-2007 4 Contents Syntax of propositional logic Semantics of propositional logic Semantic entailment Natural deduction proof system Soundness and completeness
More informationProof Rules for Correctness Triples
Proof Rules for Correctness Triples CS 536: Science of Programming, Fall 2018 A. Why? We can t generally prove that correctness triples are valid using truth tables. We need proof axioms for atomic statements
More informationPHIL012. SYMBOLIC LOGIC PROPOSITIONAL LOGIC DERIVATIONS
HIL012 SYMBOLIC LOGIC ROOSITIONL LOGIC DERIVTIONS When we argue, what we want are (i) clearly specifiable rules, (ii) that apply to any particular subject matter, and (iii) that legitimate transitions
More informationCSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33
CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 4.1-4.8 p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer
More informationPropositional Logic: Review
Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or
More informationcis32-ai lecture # 18 mon-3-apr-2006
cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem
More informationPropositional natural deduction
Propositional natural deduction COMP2600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2016 Major proof techniques 1 / 25 Three major styles of proof in logic and mathematics Model
More informationLogic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.
Math 0413 Appendix A.0 Logic Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. This type of logic is called propositional.
More informationProof Worksheet 2, Math 187 Fall 2017 (with solutions)
Proof Worksheet 2, Math 187 Fall 2017 (with solutions) Dr. Holmes October 17, 2017 The instructions are the same as on the first worksheet, except you can use all the rules in the strategies handout. We
More information6. Logical Inference
Artificial Intelligence 6. Logical Inference Prof. Bojana Dalbelo Bašić Assoc. Prof. Jan Šnajder University of Zagreb Faculty of Electrical Engineering and Computing Academic Year 2016/2017 Creative Commons
More informationTwo hours. Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE
COMP 0 Two hours Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Mathematical Techniques for Computer Science Date: Friday
More informationThe Importance of Being Formal. Martin Henz. February 5, Propositional Logic
The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets
More informationPHIL 50 - Introduction to Logic
Truth Validity Logical Consequence Equivalence V ψ ψ φ 1, φ 2,, φ k ψ φ ψ PHIL 50 - Introduction to Logic Marcello Di Bello, Stanford University, Spring 2014 Week 2 Friday Class Overview of Key Notions
More informationPropositional Logic Arguments (5A) Young W. Lim 11/30/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationCSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9
CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin Today 9/28 Review propositional logic Reasoning with Models Break More reasoning Knowledge Representation A knowledge representation is a formal scheme
More informationLogical agents. Chapter 7. Chapter 7 1
Logical agents Chapter 7 Chapter 7 1 Outline Knowledge-based agents Logic in general models and entailment Propositional (oolean) logic Equivalence, validity, satisfiability Inference rules and theorem
More information02 Propositional Logic
SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or
More informationLogic Overview, I. and T T T T F F F T F F F F
Logic Overview, I DEFINITIONS A statement (proposition) is a declarative sentence that can be assigned a truth value T or F, but not both. Statements are denoted by letters p, q, r, s,... The 5 basic logical
More informationCS 380: ARTIFICIAL INTELLIGENCE PREDICATE LOGICS. Santiago Ontañón
CS 380: RTIFICIL INTELLIGENCE PREDICTE LOGICS Santiago Ontañón so367@drexeledu Summary of last day: Logical gents: The can reason from the knowledge they have They can make deductions from their perceptions,
More information6. Conditional derivations
6. Conditional derivations 6.1 An argument from Hobbes In his great work, Leviathan, the philosopher Thomas Hobbes gives an important argument for government. Hobbes begins by claiming that without a common
More informationRevised by Hankui Zhuo, March 21, Logical agents. Chapter 7. Chapter 7 1
Revised by Hankui Zhuo, March, 08 Logical agents Chapter 7 Chapter 7 Outline Wumpus world Logic in general models and entailment Propositional (oolean) logic Equivalence, validity, satisfiability Inference
More informationPropositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38
Propositional Logic Jason Filippou CMSC250 @ UMCP 05-31-2016 ason Filippou (CMSC250 @ UMCP) Propositional Logic 05-31-2016 1 / 38 Outline 1 Syntax 2 Semantics Truth Tables Simplifying expressions 3 Inference
More information6. Conditional derivations
6. Conditional derivations 6.1 An argument from Hobbes In his great work, Leviathan, the philosopher Thomas Hobbes (1588-1679) gives an important argument for government. Hobbes begins by claiming that
More informationMAI0203 Lecture 7: Inference and Predicate Calculus
MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture
More informationLogical Agents (I) Instructor: Tsung-Che Chiang
Logical Agents (I) Instructor: Tsung-Che Chiang tcchiang@ieee.org Department of Computer Science and Information Engineering National Taiwan Normal University Artificial Intelligence, Spring, 2010 編譯有誤
More informationPropositional Logic: Bottom-Up Proofs
Propositional Logic: Bottom-Up Proofs CPSC 322 Logic 3 Textbook 5.2 Propositional Logic: Bottom-Up Proofs CPSC 322 Logic 3, Slide 1 Lecture Overview 1 Recap 2 Bottom-Up Proofs 3 Soundness of Bottom-Up
More informationMACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)
MACM 101 Discrete Mathematics I Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class) SOLUTIONS 1. Construct a truth table for the following compound proposition:
More informationTHE LOGIC OF COMPOUND STATEMENTS
THE LOGIC OF COMPOUND STATEMENTS All dogs have four legs. All tables have four legs. Therefore, all dogs are tables LOGIC Logic is a science of the necessary laws of thought, without which no employment
More informationPropositional Logic Arguments (5A) Young W. Lim 10/11/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationPredicate Logic: Syntax
Predicate Logic: Syntax Alice Gao Lecture 12 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/31 Outline Syntax of Predicate Logic Learning
More informationValid Reasoning. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing February, Outline Truth and Validity Valid Reasoning
Alice E. Fischer CSCI 1166 Discrete Mathematics for Computing February, 2018 Alice E. Fischer Reasoning... 1/23 1 Truth is not the same as Validity 2 Alice E. Fischer Reasoning... 2/23 Truth is not the
More informationIntelligent Agents. Pınar Yolum Utrecht University
Intelligent Agents Pınar Yolum p.yolum@uu.nl Utrecht University Logical Agents (Based mostly on the course slides from http://aima.cs.berkeley.edu/) Outline Knowledge-based agents Wumpus world Logic in
More informationProof Methods for Propositional Logic
Proof Methods for Propositional Logic Logical equivalence Two sentences are logically equivalent iff they are true in the same models: α ß iff α β and β α Russell and Norvig Chapter 7 CS440 Fall 2015 1
More informationArtificial Intelligence Chapter 7: Logical Agents
Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents
More information7. Logical Agents. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Knowledge base. Models and Planning. Russell & Norvig, Chapter 7.
COMP944/984/34 6s Logic COMP944/ 984/ 34: rtificial Intelligence 7. Logical gents Outline Knowledge-based agents Wumpus world Russell & Norvig, Chapter 7. Logic in general models and entailment Propositional
More informationEE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 10, 5/9/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Logical Agents Chapter 7
More informationPropositional Logic: Methods of Proof (Part II)
Propositional Logic: Methods of Proof (Part II) You will be expected to know Basic definitions Inference, derive, sound, complete Conjunctive Normal Form (CNF) Convert a Boolean formula to CNF Do a short
More informationInference Methods In Propositional Logic
Lecture Notes, Artificial Intelligence ((ENCS434)) University of Birzeit 1 st Semester, 2011 Artificial Intelligence (ENCS434) Inference Methods In Propositional Logic Dr. Mustafa Jarrar University of
More informationIntroduction Logic Inference. Discrete Mathematics Andrei Bulatov
Introduction Logic Inference Discrete Mathematics Andrei Bulatov Discrete Mathematics - Logic Inference 6-2 Previous Lecture Laws of logic Expressions for implication, biconditional, exclusive or Valid
More informationCollins' notes on Lemmon's Logic
Collins' notes on Lemmon's Logic (i) Rule of ssumption () Insert any formula at any stage into a proof. The assumed formula rests upon the assumption of itself. (ii) Double Negation (DN) a. b. ( Two negations
More informationChapter 1: The Logic of Compound Statements. January 7, 2008
Chapter 1: The Logic of Compound Statements January 7, 2008 Outline 1 1.1 Logical Form and Logical Equivalence 2 1.2 Conditional Statements 3 1.3 Valid and Invalid Arguments Central notion of deductive
More information5. And. 5.1 The conjunction
5. And 5.1 The conjunction To make our logical language more easy and intuitive to use, we can now add to it elements that make it able to express the equivalents of other sentences from a natural language
More informationPropositional Logic. Spring Propositional Logic Spring / 32
Propositional Logic Spring 2016 Propositional Logic Spring 2016 1 / 32 Introduction Learning Outcomes for this Presentation Learning Outcomes... At the conclusion of this session, we will Define the elements
More informationDERIVATIONS AND TRUTH TABLES
DERIVATIONS AND TRUTH TABLES Tomoya Sato Department of Philosophy University of California, San Diego Phil120: Symbolic Logic Summer 2014 TOMOYA SATO LECTURE 3: DERIVATIONS AND TRUTH TABLES 1 / 65 WHAT
More informationLogical Agents. September 14, 2004
Logical Agents September 14, 2004 The aim of AI is to develop intelligent agents that can reason about actions and their effects and about the environment, create plans to achieve a goal, execute the plans,
More informationCHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC
1 CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC Here, you ll learn: what it means for a logic system to be finished some strategies for constructing proofs Congratulations! Our system of
More informationOutline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference
Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 007 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence
More informationA Weak Post s Theorem and the Deduction Theorem Retold
Chapter I A Weak Post s Theorem and the Deduction Theorem Retold This note retells (1) A weak form of Post s theorem: If Γ is finite and Γ = taut A, then Γ A and derives as a corollary the Deduction Theorem:
More informationIntroduction to Metalogic
Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)
More informationTopic 1: Propositional logic
Topic 1: Propositional logic Guy McCusker 1 1 University of Bath Logic! This lecture is about the simplest kind of mathematical logic: propositional calculus. We discuss propositions, which are statements
More informationCS 380: ARTIFICIAL INTELLIGENCE
CS 380: RTIFICIL INTELLIGENCE PREDICTE LOGICS 11/8/2013 Santiago Ontañón santi@cs.drexel.edu https://www.cs.drexel.edu/~santi/teaching/2013/cs380/intro.html Summary of last day: Logical gents: The can
More informationA Little Deductive Logic
A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that
More informationArtificial Intelligence. Propositional logic
Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands
More information