Negation introduction

Similar documents
2-4: The Use of Quantifiers

Discrete Mathematics

What is the decimal (base 10) representation of the binary number ? Show your work and place your final answer in the box.

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

Predicate Logic. Andreas Klappenecker

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Logic, Sets, and Proofs

Introduction to Sets and Logic (MATH 1190)

Lecture 3. Logic Predicates and Quantified Statements Statements with Multiple Quantifiers. Introduction to Proofs. Reading (Epp s textbook)

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

Lecture Notes on Quantification

Arithmetic Decision Procedures: a simple introduction

Discrete Mathematical Structures: Theory and Applications

Section 1.7 Proof Methods and Strategy. Existence Proofs. xp(x). Constructive existence proof:

1.1 Language and Logic

ICS141: Discrete Mathematics for Computer Science I

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculteit Wiskunde en Informatica. Final examination Logic & Set Theory (2IT61/2IT07/2IHT10) (correction model)

Logic Overview, I. and T T T T F F F T F F F F

CSCE 222 Discrete Structures for Computing. Predicate Logic. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

ECOM Discrete Mathematics

Logic and Proof. Aiichiro Nakano

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Readings: Conjecture. Theorem. Rosen Section 1.5

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational.

Introduction to Isabelle/HOL

2. Use quantifiers to express the associative law for multiplication of real numbers.

Some Review Problems for Exam 1: Solutions

Propositions and Proofs

Mathematical Reasoning (Part I) 1

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 1

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

Discrete Mathematics and Its Applications

software design & management Gachon University Chulyun Kim

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1

MAT 243 Test 1 SOLUTIONS, FORM A

1.3 Predicates and Quantifiers

1.1 Language and Logic

CITS2211 Discrete Structures Proofs

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculteit Wiskunde en Informatica. Final exam Logic & Set Theory (2IT61) (correction model)

More examples of mathematical. Lecture 4 ICOM 4075

Definite Logic Programs

PHIL12A Section answers, 28 Feb 2011

Chapter 2: The Logic of Quantified Statements. January 22, 2010

EECS 1028 M: Discrete Mathematics for Engineers

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

Predicate Logic - Deductive Systems

First order Logic ( Predicate Logic) and Methods of Proof

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003

Mat 243 Exam 1 Review

Example ( x.(p(x) Q(x))) ( x.p(x) x.q(x)) premise. 2. ( x.(p(x) Q(x))) -elim, 1 3. ( x.p(x) x.q(x)) -elim, x. P(x) x.

Logic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes!

Proofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them.

On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA

Predicate Calculus lecture 1

Resolution: Motivation

CSC165. Larry Zhang, October 7, 2014

Section 1.1 Propositions

CPSC 121: Models of Computation

Review: Potential stumbling blocks

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Part Two: The Basic Components of the SOFL Specification Language

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 5 p. 1/60

Predicate logic. G. Carl Evans. Summer University of Illinois. Propositional Logic Review Predicate logic Predicate Logic Examples

Logik für Informatiker Logic for computer scientists. Multiple Quantifiers

Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form.

Day 5. Friday May 25, 2012

1. Propositions: Contrapositives and Converses

INTRODUCTION TO LOGIC

Section 3.1: Direct Proof and Counterexample 1

Proseminar on Semantic Theory Fall 2013 Ling 720 First Order (Predicate) Logic: Syntax and Natural Deduction 1

Adam Blank Spring 2017 CSE 311. Foundations of Computing I

Propositional and Predicate Logic

Exercises 1 - Solutions

Propositional and Predicate Logic

Completeness for FOL

Logic and Propositional Calculus

Linear Algebra 1 Exam 2 Solutions 7/14/3

Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman.

Transparencies to accompany Rosen, Discrete Mathematics and Its Applications Section 1.3. Section 1.3 Predicates and Quantifiers

Logic. Logic is a discipline that studies the principles and methods used in correct reasoning. It includes:

Connectives Name Symbol OR Disjunction And Conjunction If then Implication/ conditional If and only if Bi-implication / biconditional

Intro to Logic and Proofs

Logic and Propositional Calculus

Manual of Logical Style

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

2.2: Logical Equivalence: The Laws of Logic

Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

INTRODUCTION TO LOGIC

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Transcription:

Negation introduction How do we prove a negation? P = P F -introduction {Assume} P (l-1) F { -intro on and (l-1)} (l) P -intro

Negation elimination -elimination How do we use a negation in a proof? P (l) P { -elim on and (l)} (m) F (k < m, l < m) P P F time for an example

F introduction F-introduction How do we prove F? P (l) P {F-intro on and (l)} (m) F P P F the same as -elim only intended bottom-up (k < m, l < m)

F elimination F-elimination How do we use F in a proof? it s very useful F P (m) F {F-elim on } P (k < m)

Double negation introduction -introduction How do we prove? P P (m) P { -intro on } P (k < m)

Double negation elimination -elimination How do we use in a proof? P P (m) P { -elim on } P (k < m)

Proof by contradiction Theorem Proof If x 2 is even, then x is even (x Z). Let x Z Assume x 2 is even. Assume that x is odd. Then x = 2y+1 for some y Z. Then x 2 = (2y+1) 2 = 4y 2 + 4y + 1 = 2(2y 2 + 2y) + 1 and 2y 2 + 2y Z. So, x 2 is odd a contradiction. So, x is even if y is not free in P and Q (sub)goal generating hypothesis pure hypothesis conclusion Thanks to Bas Luttik

Proof by contradiction proof by contradiction How do we prove P by a contradiction? {Assume} P P F P P (l-1) (l) (l+1) F { -intro on and (l-1)} P { -elim on (l)} P (k < m) -intro -elim time for an example

Disjunction introduction -introduction How do we prove a disjunction? {Assume} P (l-1) Q { -intro on and (l-1)} (l) P Q P Q P Q Q P P Q -intro

Disjunction introduction -introduction How do we prove a disjunction? {Assume} Q (l-1) P { -intro on and (l-1)} (l) P Q P Q P Q Q P P Q -intro

Disjunction elimination -elimination How do we use a disjunction in a proof? P Q P Q P Q Q P (m) P Q { -elim on } P Q (k < m)

Disjunction elimination -elimination How do we use a disjunction in a proof? P Q P Q P Q Q P (m) P Q { -elim on } Q P (k < m)

Proof by case distinction How do we prove R by a case distinction? proof by case distinction P Q (P Q) (P R) (Q R) R (l) P R (m) Q R (n) {case-dist on, (l), (m)} R (k < n, l< n, m<n)

Bi-implication introduction How do we prove a bi-implication? (P Q) (Q P) P Q -introduction (l) P Q Q P -intro (m) { -intro on and (l)} P Q (k < m, l < m)

Bi-implication elimination How do we use a bi-implication in a proof? -elimination P Q (P Q) (Q P) P Q P Q { -elim on } { -elim on } -elim (m) P Q (m) Q P (k < m) (k < m)

Derivations / Reasoning with quantifiers

Proving a universal quantification To prove x[x Z x 2 : x 2-2x 0] Proof Let x Z be arbitrary and assume that x 2. Then, for this particular x, it holds that x 2-2x = x(x-2) 0 (Why?) Conclusion: x[x Z x 2 : x 2-2x 0]. if y is not free in P and Q

introduction -introduction How do we prove a universal quantification? {Assume} var x; P(x) (l-1) Q(x) { -intro on and (l-1)} (l) x[p(x) : Q(x)] similar to -intro with generating hypothesis flag shows the idity of a hypothesis

Using a universal quantification We know x[x Z x 2 : x 2-2x 0] Whenever we encounter an a Z such that a 2, we can conclude that a 2-2a 0. For example, (52387 2-2 52387) 0 since 52387 Z and 52387 2.

elimination How do we use a universal quantification in a proof? -elimination similar to implication but we need a witness time for an example (l) (m) x[p(x) : Q(x)] P(a) { -elim on and (l)} Q(a) (k < m, l < m) a is an object (variable, number,..) which is known in line (l) the same a from line (l)

introduction -introduction How do we prove an existential quantification? {Assume} x[p(x) : Q(x)] (l-1) F { -intro on and (l-1)} (l) x [P(x) : Q(x)] x[p(x): Q(x)] x [P(x) : Q(x)] and -intro

elimination How do we use an existential quantification in a proof? -elimination x [P(x) : Q(x)] x[p(x): Q(x)] (l) (m) x [P(x) : Q(x)] x[p(x): Q(x)] { -elim on and (l)} F (k < m, l < m) and - elimination time for an example

Proofs with -introduction and - elimination are unnecessarily long and cumbersome There are alternatives

Alternative elimination How do we use an existential quantification in a proof? we pick a witness (m) x [P(x) : Q(x)] { *-elim on } Pick x with P(x) and Q(x) (k < m) x must be new time for an example