Propositional Logic Logical Implication (4A) Young W. Lim 4/11/17

Similar documents
Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17

Propositional Logic Resolution (6A) Young W. Lim 12/12/16

Propositional Logic Resolution (6A) Young W. Lim 12/31/16

Propositional Logic Arguments (5A) Young W. Lim 11/30/16

First Order Logic Implication (4A) Young W. Lim 4/6/17

Propositional Logic Arguments (5A) Young W. Lim 10/11/16

Propositional Logic (2A) Young W. Lim 11/8/15

Propositional Logic Arguments (5A) Young W. Lim 11/8/16

Logic Background (1A) Young W. Lim 5/14/18

Propositional Logic Arguments (5A) Young W. Lim 2/23/17

Propositional Logic Arguments (5B) Young W. Lim 11/30/16

Propositional Logic Arguments (5A) Young W. Lim 11/29/16

First Order Logic Semantics (3A) Young W. Lim 8/9/17

First Order Logic Arguments (5A) Young W. Lim 2/24/17

First Order Logic Semantics (3A) Young W. Lim 9/17/17

First Order Logic Arguments (5A) Young W. Lim 3/10/17

Logic Background (1A) Young W. Lim 12/14/15

First Order Logic (1A) Young W. Lim 11/5/13

Logic (3A) Young W. Lim 11/2/13

Logic (3A) Young W. Lim 10/29/13

Logic (3A) Young W. Lim 10/31/13

First Order Logic (1A) Young W. Lim 11/18/13

Implication (6A) Young Won Lim 3/17/18

Implication (6A) Young Won Lim 3/12/18

Resolution (14A) Young W. Lim 8/15/14

Relations (3A) Young Won Lim 3/27/18

CSC Discrete Math I, Spring Propositional Logic

Logic (3A) Young W. Lim 12/5/13

2.2: Logical Equivalence: The Laws of Logic

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Compound Propositions

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

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

Resolution (7A) Young Won Lim 4/21/18

CT Rectangular Function Pairs (5B)

General CORDIC Description (1A)

Higher Order ODE's (3A) Young Won Lim 7/7/14

Matrix Transformation (2A) Young Won Lim 11/10/12

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

Logic: Propositional Logic (Part I)

Higher Order ODE's (3A) Young Won Lim 12/27/15

The Growth of Functions (2A) Young Won Lim 4/6/18

Logic and Proofs. (A brief summary)

Introduction to Decision Sciences Lecture 2

Expected Value (10D) Young Won Lim 6/12/17

Tautologies, Contradictions, and Contingencies

Higher Order ODE's (3A) Young Won Lim 7/8/14

The Logic of Compound Statements cont.

A statement is a sentence that is definitely either true or false but not both.

CSE 311: Foundations of Computing. Lecture 2: More Logic, Equivalence & Digital Circuits

AMTH140 Lecture 8. Symbolic Logic

Chapter 1, Section 1.1 Propositional Logic

Learning Goals of CS245 Logic and Computation

Propositional natural deduction

We last time we began introducing equivalency laws.

Logic and Proofs. Jan COT3100: Applications of Discrete Structures Jan 2007

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Introduction to ODE's (0A) Young Won Lim 3/9/15

Root Locus (2A) Young Won Lim 10/15/14

What is Logic? Introduction to Logic. Simple Statements. Which one is statement?

EECS 1028 M: Discrete Mathematics for Engineers

Propositional Logic. Yimei Xiang 11 February format strictly follow the laws and never skip any step.

Hamiltonian Cycle (3A) Young Won Lim 5/5/18

Propositional Equivalence

Background Trigonmetry (2A) Young Won Lim 5/5/15

Fourier Analysis Overview (0A)

1.3 Propositional Equivalences

Logic and Proofs. (A brief summary)

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall

Propositional logic (revision) & semantic entailment. p. 1/34

CSE 311: Foundations of Computing. Lecture 3: Digital Circuits & Equivalence

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication

Differentiation Rules (2A) Young Won Lim 1/30/16

Introduction to Sets and Logic (MATH 1190)

CISC-102 Winter 2016 Lecture 17

DFT Frequency (9A) Each Row of the DFT Matrix. Young Won Lim 7/31/10

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

Bayes Theorem (4A) Young Won Lim 3/5/18

Separable Equations (1A) Young Won Lim 3/24/15

Detect Sensor (6B) Eddy Current Sensor. Young Won Lim 11/19/09

Fourier Analysis Overview (0A)

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

Discrete Structures of Computer Science Propositional Logic III Rules of Inference

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

Propositional Calculus: Formula Simplification, Essential Laws, Normal Forms

Definition 2. Conjunction of p and q

General Vector Space (2A) Young Won Lim 11/4/12

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9


Proposition/Statement. Boolean Logic. Boolean variables. Logical operators: And. Logical operators: Not 9/3/13. Introduction to Logical Operators

Artificial Intelligence Knowledge Representation I

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as:

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

Chapter 1: Formal Logic

Dispersion (3A) 1-D Dispersion. Young W. Lim 10/15/13

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Propositional logic ( ): Review from Mat 1348

Signal Functions (0B)

22c:145 Artificial Intelligence

Transcription:

Propositional Logic Logical Implication (4A) Young W. Lim

Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com. This document was produced by using LibreOffice

Based on Contemporary Artificial Intelligence, R.E. Neapolitan & X. Jiang Logic and Its Applications, Burkey & Foxley 3

What a proposition denotes A: It is raining. B: Professor N is 5 feet tall. Proposition A denotes it is raining currently. Proposition A does not denote it is raining an hour ago, tomorrow, a year ago Proposition B denotes Professor N is 6 feet Proposition B does not denote Professor N is 7 feet, 5 feet, 4

When both A and B are false A: It is raining. B: Professor N is 5 feet tall. Suppose that It is not raining (A is false) Professor N is 6 feet actually (B is false) A B is true according to the truth table 5

What A B denotes A: It is raining. It is not raining (A is false) B: Professor N is 5 feet tall. Professor N is 6 feet actually (B is false) A B is true according to the truth table A B : does not mean that A B If it rains some day (false A), then Professor N will be 5 feet (false B). first concerns the proposition that it is raining currently (false) Suppose A B is true After finding A is true, then B must be true After finding A is false, then we do not know whether B is true or false 6

of Implication Rule Suppose A B is true If A is true then B must be true Suppose A B is false If A is true then B must be false Suppose A B is true If A is false then we do not know whether B is true or false A B A B T T T T F F F T T F F T 7

A different truth table A B A B T T T T F F F T F F F F Suppose A B is true If B is true then A must be true B implies A This is not what we want B A (X) Conventional Truth Table A B A B T T T T F F F T T F F T 8

Another different truth table A B A B T T T T F F F T F F F T Suppose A B is true If A is false then B must be false false A implies false B This is not what we want A B (X) Conventional Truth Table A B A B T T T T F F F T T F F T 9

Logical Implication & Equivalence A proposition is called a tautology If and only if it is true in all possible world (every interpretation) cf) in every model A proposition is called a contradiction If and only if it is false in all possible world (every interpretation) Given two propositions A and B, If A B is a tautology It is said that A logically implies B (A B) cf) in every model Given two propositions A and B, If A B is a tautology, It is said that A and B are logically equivalent (A B) 10

Material Implication & Logical Implication Given two propositions A and B, If A B is a tautology It is said that A logically implies B (A B) Material Implication A B Logical Implication A B (not a tautology) (a tautology) A B A B T T T T F F F T T F F T A B A B A B A T T T T T F F T F T F T F F F T tautology A B A 11

Interpretations and Models Interpretation I1 Interpretation I2 Interpretation I3 Interpretation I4 A B A B T T T T F F F T T F F T a Model of A B a Model of A B a Model of A B a Model of A B Interpretation I1 Interpretation I2 Interpretation I3 Interpretation I4 A B A B A B A T T T T T F F T F T F T F F F T a Model of A B a Model of A B a Model of A B a Model of A B Entailment A B A, or A B A 12

Entailment if A B holds in every model then A B, and conversely if A B then A B is true in every model any model that makes A B true also makes A true A B A No case : True False A B A B T T T T F F F T T F F T A B A B A B A T T T T T F F T F T F T F F F T Entailment A B A, or A B A 13

Logical Equivalences Excluded Middle Law A A True Contradiction Law A A False Identity Law A False A, A False A Dominion Law A False False, A True True Idempotent Law A A A, A A A Commutativity Law A B B A, A B B A Associativity Law (A B) C A (B C), (A B) C A (B C) Distributivity Law A (B C) (A B) (A C), A (B C) (A B) (A C) De Morgan s Law (A B) A B, (A B) A B Implication Elimination If and Only If Elimination Contraposition Law Double Negation A B A B A B A B B A A B B A A A 14

Material & Logical Implications (1) Material implication a binary connective that creates a new sentence A B is a compound sentence using the symbol. Sometimes it refers to the truth function of this connective. Logical implication a relation between two sentences A and B any model that makes A true also makes B true Entailment A B, or A B Or sometimes, confusingly, as A B, although some people use for material implication. between compound propositions http://math.stackexchange.com/questions/68932/whats-the-difference-between-material-implication-and-logical-implication 15

Material & Logical Implications (2) Material implication a symbol at the object level between atomic propositions a function of the truth value of two sentences in one fixed model logical implication a relation at the meta level between compound propositions not directly about the truth values of sentences in a particular model about the relation between the truth values of the sentences when all models are considered. A B A B T T T T F F F T T F F T A B A B A B A T T T T T F F T F T F T F F F T http://math.stackexchange.com/questions/68932/whats-the-difference-between-material-implication-and-logical-implication 16

Notations Material implication ϕ ψ ϕ ψ Logical implication ϕ ψ ϕ ψ http://math.stackexchange.com/questions/68932/whats-the-difference-between-material-implication-and-logical-implication 17

Valid and Satisfiable Propositional Statements a propositional formula is a type of syntactic formula which is well formed and has a truth value. If the values of all variables in a propositional formula are given, it determines a unique truth value. A propositional formula may also be called a propositional expression, a sentence, or a sentential formula. In mathematics, a propositional formula is often more briefly referred to as a "proposition", but, more precisely, a propositional formula is not a proposition but a formal expression that denotes a proposition, a formal object under discussion, just like an expression such as "x + y" is not a value, but denotes a value. https://en.wikipedia.org/wiki/propositional_formula 18

Valid and Satisfiable Propositional Statements A formula is valid if it is true for all values of its terms. Satisfiability refers to the existence of a combination of values to make the expression true. A proposition is satisfiable if there is at least one true result in its truth table A proposition is valid if all values it returns in the truth table are true.,, http://math.stackexchange.com/questions/258602/what-is-validity-and-satisfiability-in-a-propositional-statement 19

Valid and Satisfiable Propositional Statements Satisfiability -the other way of interpretation A propositional statement is satisfiable if and only if, its truth table is not contradiction. Not contradiction means, it could be a tautology also. Tautology Satisfiable (O) Satisfiability Tautology. (X),, if a propositional statement is Tautology, then its always valid. Tautology implies ( Satisfiability + Validity ). http://math.stackexchange.com/questions/258602/what-is-validity-and-satisfiability-in-a-propositional-statement 20

Logical Equivalences,, 21

References [1] en.wikipedia.org [2] en.wiktionary.org [3] U. Endriss, Lecture Notes : Introduction to Prolog Programming [4] http://www.learnprolognow.org/ Learn Prolog Now! [5] http://www.csupomona.edu/~jrfisher/www/prolog_tutorial [6] www.cse.unsw.edu.au/~billw/cs9414/notes/prolog/intro.html [7] www.cse.unsw.edu.au/~billw/dictionaries/prolog/negation.html [8] http://ilppp.cs.lth.se/, P. Nugues,` An Intro to Lang Processing with Perl and Prolog 22