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

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

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

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

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 10/11/16

3 Rules of Inferential Logic

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

General CORDIC Description (1A)

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

Fourier Analysis Overview (0A)

CT Rectangular Function Pairs (5B)

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

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

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

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

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

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

Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference)

Complex Trigonometric and Hyperbolic Functions (7A)

Why Proofs? Proof Techniques. Theorems. Other True Things. Proper Proof Technique. How To Construct A Proof. By Chuck Cusack

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

[Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 400 lecture note #2. 1) Basics

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

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

Signal Processing. Young Won Lim 2/20/18

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.

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

Bayes Theorem (10B) Young Won Lim 6/3/17

Signal Functions (0B)

(Refer Slide Time: 02:20)

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

Discrete Time Rect Function(4B)

Readings: Conjecture. Theorem. Rosen Section 1.5

The Logic of Compound Statements. CSE 2353 Discrete Computational Structures Spring 2018

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

Fourier Analysis Overview (0A)

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

Proof Worksheet 2, Math 187 Fall 2017 (with solutions)

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

PROPOSITIONAL CALCULUS

Higher Order ODE's, (3A)

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

Line Integrals (4A) Line Integral Path Independence. Young Won Lim 10/22/12

Review. p q ~p v q Contrapositive: ~q ~p Inverse: ~p ~q Converse: q p

Capacitor Young Won Lim 06/22/2017

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

Capacitor and Inductor

Capacitor and Inductor

Discrete Time Rect Function(4B)

Chapter 1, Logic and Proofs (3) 1.6. Rules of Inference

Fourier Analysis Overview (0B)

Differentiation Rules (2A) Young Won Lim 2/22/16

Capacitor in an AC circuit

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov

Analyzing Arguments with Truth Tables

Methods of Proof. 1.6 Rules of Inference. Argument and inference 12/8/2015. CSE2023 Discrete Computational Structures

Group & Phase Velocities (2A)

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Line Integrals (4A) Line Integral Path Independence. Young Won Lim 11/2/12

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

Rules Build Arguments Rules Building Arguments

Propagating Wave (1B)

Magnetic Sensor (3B) Magnetism Hall Effect AMR Effect GMR Effect. Young Won Lim 9/23/09

CS 2336 Discrete Mathematics

Complex Series (3A) Young Won Lim 8/17/13

Sequential Circuit Timing. Young Won Lim 11/6/15

For a horseshoe statement, having the matching p (left side) gives you the q (right side) by itself. It does NOT work with matching q s.

Audio Signal Generation. Young Won Lim 1/29/18

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013

CSE 20 DISCRETE MATH. Winter

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

Down-Sampling (4B) Young Won Lim 10/25/12

Advanced Topics in LP and FP

10/13/15. Proofs: what and why. Proposi<onal Logic Proofs. 1 st Proof Method: Truth Table. A sequence of logical arguments such that:

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)

Linear Equations with Constant Coefficients (2A) Young Won Lim 4/13/15

ODE Background: Differential (1A) Young Won Lim 12/29/15

FSM Examples. Young Won Lim 11/6/15

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

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

Signal Processing. Young Won Lim 2/22/18

Transcription:

(7A)

Coyright (c) 215 218 Young W. Lim. Permission is granted to coy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version ublished by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A coy 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 roduced by using LibreOffice and Octave.

Argument ( ) ( r) q r ( ) ( r) q r 3

Truth Table q r T T T T T T F T T F T T T F F T F T T T F T F T F F T F F F F F q r r T T T F T T T F F F T F T F T T F F F F F T T T T F T F T T F F T T T F F F T T q r ( ) ( r) q r T T T T T T T F F T T F T T T T F F F F F T T T T F T F T T F F T F T F F F F F ( ) ( r) q r 4

Interretation of this truth table case case case case case case case case A B q r r ( ) ( r) q r T T T T T T T T T F T F F T T F T T T T T T F F T F F F F T T T T T T F T F T T T T F F T F T F T F F F F T F F A B T T T T T T T T Whenever and r are true, q r is true ( ) ( r) q r 5

Venn diagram for case case case case case case case case q r T T T T T T F T T F T T T F F T F T T T F T F T F F T F F F F F 6

Venn diagram for r r case case case case case case case case q r T T T F T T T F F F T F T F T T F F F F F T T T T F T F T T F F T T T F F F T T 7

When ( ) ( r) is true r When and r is true is true ( ) ( r) cases +++ 8

When ( ) ( r) is true, q r is also true r q r cases +++ ( ) ( r) q r cases +++++ 9

Argument Case 1: is false Case 2: is true r q r F q T r q T q F r r when is false, q must be true. when is true, r must be true. Therefore regardless of truth value of, If both remises hold, then the conclusion q r is true htt://en.wikiedia.org/wiki/derivative 1

Examles r q r r r q r q q r r r r r 11

in Prolog Conjunctive Norm Form (CNF) is assumed ( ) ( ) ( ) the variables A, B, C, D, and E are in conjunctive normal form: A ( B C ) ( A B ) ( B C D ) ( D E ) A B A B The following formulas are not in conjunctive normal form: ( B C ) ( A B ) C A ( B ( D E ) ) htts://en.wikiedia.org/wiki/conjunctive_normal_form 12

General Rules of Inference (1) q q ( ( q)) q Discrete Mathematics and Its Alications, Rosen Modus onens Modus: manner, way, mode Ponens: to affirm q q ( q ( q)) Modus tollens Modus: manner, way, mode tollens: to remove q q r r (( q) (q r)) r Hyothetical syllogism Syllogism: inference, conclusion q (( ) ( )) q Disjunctive syllogism 13

General Rules of Inference (2) Discrete Mathematics and Its Alications, Rosen ( ) Addition q ( q) Simlification q q ( q) q Conjunction q r (( ) ( r)) q r Breaking into arts, a loosening 14

Examle A r q r q r q r r r ( ) ( r) ( ) ( q r) ( ) ( r) ( ) ( q r) (q) ( ) ( r) ( ) ( q r) (q) (r) ( ) ( r) ( ) ( q r) (q) (r) ( ) James Asnes, Notes on Discrete Mathematics, CS 22: Fall 213 15

Examle B (1) q r q r q r q r q q q r r q r q q q r = T r = T q r q r q r q r q r Discrete Mathematics, Johnsonbough 16

Examle B (2) q r q r q q r q q r q r q q r r Discrete Mathematics, Johnsonbough 17

Truth Table q r r T T T F T T T F F T T F T F T T F F F F F T T T T F T F T T F F T T T F F F T T q r q q T T T F T T T F F T T F T T T T F F T T F T T F F F T F F F F F T T T F F F T T q r q r T T T T T T F T T F T T T F F F F T T T F T F T F F T T F F F F q r r q q r H 1 H 2 H 3 r T T T T T T T T T T F T T T T T T F T T T T T T T F F F T F F T F T T T F T F T F T F T F T F F F F T T T T T T F F F T T F F F H 1 = r H 2 = q H 3 = q r H 1 H 2 H 3 H 3 H 1 H 2 H 3 H 2 H 1 H 2 H 3 H 1 H 1 H 2 H 3 ( r) 18

Truth Table and K-Ma q r H 1 H 2 H 3 T T T T T T F T T F T T T F F F F T T F F T F F F F T T F F F F q r H 1 H 2 H 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 q r H 1 H 2 H 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 q r 1 1 1 1 1 19

K-Ma and Logic Minimization q r 1 1 1 1 1 1 q r q r q r q r 1 q r q q r + q r = ( + ) q r = q r q r + q r = q(r + r) = q 2

K-Ma : Verification 1 q r q H 1 H 2 H 3 q r + q q r q q r q q r+ q 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 q r H 1 H 2 H 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 21

Adding two don t care conditions q r q r 1 X X 1 X X 1 1 1 1 1 1 1 1 1 r 1 q q r 22

Adding two don t care conditions q r q r 1 1 X 1 1 1 1 1 X 1 1 1 1 r 1 r 23

K-Ma : Verification 1 r 1 H 1 H 2 H 3 r q r r 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 q r H 1 H 2 H 3 r 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24

Examle C q q q q q q ( ) q = ( q) (q q) = ( q) Simlification Rule Discrete Mathematics, Johnsonbough 25

References [1] htt://en.wikiedia.org/ [2]