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.

Slides:



Advertisements
Similar presentations
Copyright 2008, Scott Gray1 Propositional Logic 4) If.
Advertisements

TRUTH TABLES The general truth tables for each of the connectives tell you the value of any possible statement for each of the connectives. Negation.
Introduction to Proofs
Chapter 3 Elementary Number Theory and Methods of Proof.
Possible World Semantics for Modal Logic
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.
For Wednesday, read Chapter 3, section 4. Nongraded Homework: Problems at the end of section 4, set I only; Power of Logic web tutor, 7.4, A, B, and C.
CS128 – Discrete Mathematics for Computer Science
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Logic 3 Tautological Implications and Tautological Equivalences
For Wednesday, read chapter 2, sections 3 and 4. As nongraded homework, do the problems at the end each section. Also try exercises 7.1, C, D, and E on.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
Today’s Topics n Review Logical Implication & Truth Table Tests for Validity n Truth Value Analysis n Short Form Validity Tests n Consistency and validity.
For Wed, read Chapter 3, section 3. Nongraded Homework: Exercises the end of the section. Even better, do Power of Logic, 7.3, A and B. Graded homework.
Chapter 4 Natural Deduction Different ways of formulating a logical system: Axiomatic and natural deduction Mental logic is natural deductive Key feature:
For Friday, read chapter 2, sections 1-2 (pp ). As nongraded homework, do the problems on p. 19. Graded homework #1 is due at the beginning of class.
From Chapter 4 Formal Specification using Z David Lightfoot
For Monday, read Chapter 4, Sections 1 and 2. Nongraded homework: Problems on pages Graded HW #4 is due on Friday, Feb. 11, at the beginning of.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
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.
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.
For Friday, read Chapter 3, section 4. Nongraded Homework: Problems at the end of section 4, set I only; Power of Logic web tutor, 7.4, A, B, and C. Graded.
Intro to Discrete Structures
For Wednesday, read chapter 2, sections 3 and 4. As nongraded homework, do the problems at the end each section. Also try exercises 7.1, C, D, and E on.
Introductory Logic PHI 120 Presentation: “Basic Concepts Review "
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
Introduction to Derivations in Sentential Logic PHIL 121: Methods of Reasoning April 8, 2013 Instructor:Karin Howe Binghamton University.
Introductory Logic PHI 120 Presentation: "Natural Deduction – Introduction“ Bring this book to lecture.
CSE Winter 2008 Introduction to Program Verification January 31 proofs through simplification.
Today’s Topics Introduction to Proofs Rules of Inference Rules of Equivalence.
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.
The Exciting World of Natural Deduction!!! By: Dylan Kane Jordan Bradshaw Virginia Walker.
assumption procedures
Introductory Logic PHI 120 Presentation: “Solving Proofs" Bring the Rules Handout to lecture.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
CS6133 Software Specification and Verification
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
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.
Metalogic. TWO CONCEPTIONS OF LOGICAL CONSEQUENCE.
Postulates and Theorems Relating Points, Lines, and Planes
2.3 Methods of Proof.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Outline Logic Propositional Logic Well formed formula Truth table
5.1 Indirect Proof Objective: After studying this section, you will be able to write indirect proofs.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
More Proofs. REVIEW The Rule of Assumption: A Assumption is the easiest rule to learn. It says at any stage in the derivation, we may write down any.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Chapter 1 Logic and proofs
March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.
Chapter 2 Sets and Functions.
2. The Logic of Compound Statements Summary
{P} ⊦ Q if and only if {P} ╞ Q
For Friday, read Chapter 4, section 4.
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.
CS 270 Math Foundations of CS
Natural Deduction.
Midterm Discussion.
Computer Security: Art and Science, 2nd Edition
Foundations of Discrete Mathematics
Introductory Logic PHI 120
For Wednesday, read Chapter 4, section 3 (pp )
Chapter 5 Parallel Lines and Related Figures
Chapter 2: Geometric Reasoning
Introductory Logic PHI 120
Subderivations.
Presentation transcript:

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 will need to use the rule ~Introduction (from section) 4 for the last problem on the HW.

Simple version of ampersand elimination (&E): p & q  p p p pOR  q q q q Any well-formed formula can be put in for p or q (even the same formula for both), but assignments must be consistent throughout the application of the rule.

Simple version of arrow elimination (→E) p → q p  q q q q Rule of assumptions: Any wff can be entered on a new line with only its own line number as its dependence line.

Important restriction on the use of our rules of inference: They must be applied to entire lines; that is, for any line in the proof that is supposed to match up with a line in the rule (premise or conclusion), the entire line in the proof must match up with the entire line in the rule. In other words, only introduce or eliminate a main connective.

1 (1) APremise 2 (2) A → (B → C)Premise 3 (3) B Premise  C 1,2 (4) B → C 1, 2 →E 1,2,3 (5) C 3, 4 →E On line four it would have been “illegal” to write C (thinking that you were applying →E).

1 (1) (A & E) → DPremise 2 (2) EPremise 3 (3) D → ~ C Premise 4 (4) APremise  ~ C

Arrow Introduction →I: --Use the rule of assumptions to add a line that matches the antecedent of an arrow statement you would like to derive; --work until you reach a line that matches the consequent of your goal-arrow; --on a new line, write a new arrow-statement (the assumption line, as antecedent, plus the line on which the consequent of your goal-arrow appears, as consequent) --eliminate the assumption’s dependence number from the new line’s dependence numbers (this is called ‘discharging’ the assumption)

→Introduction j (j) p Assumption.. a 1,…,a n (k) q.. {a 1,…,a n }/j (m) p → q j, k →I j > k, j k, j < k, or j = k

What Do the Symbols Mean? To say that j > k or j = k is to say that the assumption can come after the line that becomes the consequent or that j and k can be the very same line. a 1,…,a n refers to the lines on which the thing that becomes the consequent depends. {a 1,…,a n }/j means “remove j from that set, if it’s in there” The line that becomes the antecedent is always an assumption. As an assumption, it depends only on itself.

Exercises on pp , 13 and 15

Semantic vs. Deductive Consequences ‘p1…pn |= q’ says that it is impossible for p1…pn to be true while q is false. This double-turnstile says that the statement on the right is a semantic consequence of the statement(s) on the left. ‘p1…pn |- q’ (which is called a ‘sequent’) says that q can be derived from p1…pn using some particular natural deduction system (NK, in our case). It says that q is a deductive consequence of p1…pn.

Proving Theorems So, ‘|- q’, with no premises given on the left, means that q can be derived within our system from no premises at all. Statements that can be derived from no premises are the theorems of our natural deduction system. In sentential logic, the set of theorems is identical to the set of tautologies (assuming we have a complete natural deduction system).

How to Prove Theorems Always start by making an assumption. Let the conclusion (the theorem) be your guide. If the theorem is a conditional, start by assuming its entire antecedent. THIS ASSUMPTION IS NOT DERIVED FROM THE CONCLUSION. DO NOT TREAT THE THEOREM AS A PREMISE IN YOUR ARGUMENT. Then proceed with your proof, making other assumptions where necessary. When you arrive at the desired theorem, if you’ve done the proof properly, it should have no dependence lines listed off to its left.

Exercises on pp. 102, 5