1.3 Propositional Equivalences

Slides:



Advertisements
Similar presentations
The Conditional & Biconditional MATH 102 Contemporary Math S. Rook.
Advertisements

CS128 – Discrete Mathematics for Computer Science
2.2 Conditional Statements. Goals Identify statements which are conditional Identify the antecedent and consequent of a conditional statement Negate conditional.
Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
Discrete Mathematics Math 6A Instructor: M. Welling.
CSE115/ENGR160 Discrete Mathematics 01/17/12 Ming-Hsuan Yang UC Merced 1.
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
Adapted from Discrete Math
Predicates and Quantifiers
Chapter 1, Part I: Propositional Logic With Question/Answer Animations.
Propositions and Truth Tables
Chapter 1 Section 1.4 More on Conditionals. There are three statements that are related to a conditional statement. They are called the converse, inverse.
The Foundations: Logic and Proofs
MATERI II PROPOSISI. 2 Tautology and Contradiction Definition A tautology is a statement form that is always true. A statement whose form is a tautology.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
MATH 213 A – Discrete Mathematics for Computer Science Dr. (Mr.) Bancroft.
Discrete Mathematics and Its Applications
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Chapter 1: The Foundations: Logic and Proofs
Review I Rosen , 3.1 Know your definitions!
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Conditional Statements Conditional Statement: “If, then” format. Converse: “Flipping the Logic” –Still “if, then” format, but we switch the hypothesis.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
Chapter 2: The Logic of Compound Statements 2.2 Conditional Statements
Lecture 4. CONDITIONAL STATEMENTS: Consider the statement: "If you earn an A in Math, then I'll buy you a computer." This statement is made up of two.
Lecture Propositional Equivalences. Compound Propositions Compound propositions are made by combining existing propositions using logical operators.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
Unit 01 – Lesson 07 – Conditional Statements
Section 1.2: Propositional Equivalences In the process of reasoning, we often replace a known statement with an equivalent statement that more closely.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Chapter 1: The Foundations: Logic and Proofs
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
UMBC CMSC 203, Section Fall CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
LECTURE 1. Disrete mathematics and its application by rosen 7 th edition THE FOUNDATIONS: LOGIC AND PROOFS 1.1 PROPOSITIONAL LOGIC.
Mathematics for Comter I Lecture 3: Logic (2) Propositional Equivalences Predicates and Quantifiers.
 To combine propositions using connectives  To construct the truth table of a given compound proposition  To define de Morgan Law for logic  To define.
Thinking Mathematically Logic 3.4 Truth Tables for the Conditional and Biconditional.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Simple Logic.
2. The Logic of Compound Statements Summary
CSNB 143 Discrete Mathematical Structures
Niu Kun Discrete Mathematics Chapter 1 The Foundations: Logic and Proof, Sets, and Functions Niu Kun 离散数学.
(CSC 102) Discrete Structures Lecture 2.
The Foundations: Logic and Proofs
Principles of Computing – UFCFA3-30-1
Chapter 8 Logic Topics
Propositional Calculus: Boolean Algebra and Simplification
Information Technology Department
Applications of Propositional Logic
CHAPTER 1: LOGICS AND PROOF
TRUTH TABLES continued.
Discrete Mathematics and Its Applications Kenneth H
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
Statements of Symbolic Logic
Predicates and Quantifiers
Section 3.3 Truth Tables for the Conditional and Biconditional
The Foundations: Logic and Proofs
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Logic and Reasoning.
Discrete Structures Prepositional Logic 2
Conditional Statements Section 2.3 GEOMETRY
The Foundations: Logic and Proofs
Different Forms of Conditional Statements
Interpreting Truth tables (biconditional statements)
Propositional Satisfiability
Presentation transcript:

1.3 Propositional Equivalences Lecture 3 1.3 Propositional Equivalences

Compound Propositions Compound propositions are made by combining existing propositions using logical operators

Logical Equivalences

Example - DeMorgans Laws

More Examples When the number of variables are small, a truth table is an effective method of proof in which all possible truth value permutations are evaluated. How many rows are in a truth table that enumerates an compound proposition that is comprised of N variables?

Important Equivalences

Logical Equivalences Involving Quantifiers Statements involving predicates and quantifiers are logically equivalent iff they have the same truth value for all applications and for all domains of discourse.

Negation of a Proposition Let p be a proposition. The negation of p, denoted by ~p is the statement "It is not the case that p." or "The proposition, p is false" "Not p is true" The proposition ~p is read "not p". The truth value of the negation of p, ~p, is the opposite of the truth value of p. Pigs have wings. I have a million dollars. The negation operation will become more interesting when we introduce universal and existential quantifiers.

Conditional Statements Let p and q be propositions. The conditional statement (or implication) is the proposition "if p, then q." The conditional statement is false when p is true and q is false, and true otherwise. In this conditional statement p is the hypothesis (also called the antecedent or premise) and q is called the conclusion (also called the consequence). http://www.stanford.edu/class/cs103a/handouts/17%20Conditionals.pdf

Equivalences with Conditionals and Biconditionals

Biconditional Statements Let p and q be propositions. The biconditional statement is the proposition "p if and only if q." The biconditional statement is true when p and q have the same truth values, and is false otherwise. http://www.stanford.edu/class/cs103a/handouts/17%20Conditionals.pdf

Converse The converse of the conditional statement is . p q p->q q->p 0 0 1 1 0 1 1 0 1 0 0 1 1 1 1 1

Inverse The inverse of the conditional statement is . p q p->q ~p->~q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 1 1

Contrapositive The inverse of the conditional statement is . The contrapositive always has the same truth value as the original statement. p q p->q ~q->~p 0 0 1 1 0 1 1 1 1 0 0 0 1 1 1 1

Testing System Specifications Determine whether these system specifications are consistent: "The diagnostic message is stored in the buffer or it is retransmitted" "The diagnostic message is not stored in the buffer." "If the diagnostic message is stored in the buffer, then it is retransmitted." a. b. c. p = "The diagnostic message is stored in the buffer" q = "The diagnostic message is retransmitted." a. b. c. For the system to be consistent there must be at least one truth assignment for the variables that make all the statements true. Add the specification, "The diagnostic message is not retransmitted." and determine if the system remains consistent. p q pvq ~p ~q p->q 0 0 0 1 1 1 0 1 1 1 0 1 1 0 1 0 1 0 1 1 1 0 0 1 a. b. c. d.

Dual The dual of a compound proposition that contains only the logical operators , , and is the compound proposition obtained by replacing each by , and each by , each T by F, and each F by T. The dual of s is denoted by s*. expression dual

Satisfiability A compound proposition is satisfiable if there is an assignment of truth values to the variables in the compound proposition that makes the statement form true. p q r 0 0 0 0 1 1 1 1 1 0 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 0 1 0 1 1 1 1 0 1 0 0 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 0 1 0 1 0 0 1 1 1 1 1 0 1 1 0 1

Puzzle The expression below is one of the logical equivalences listed in Table 6 of the textbook. Problem: Let X and Y be straight lines and define, p = "X and Y lie in the same plane" q = "X and Y never cross" r = "X and Y are parallel" (1) verify that the logical expression is a tautology (2) rewrite the tautology as a statement using the propositions (3) explain the apparent inconsistency