Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Argument and Inference - Discrete Mathematics - Lecture Slides, Slides of Discrete Mathematics

During the study of discrete mathematics, I found this course very informative and applicable.The main points in these lecture slides are:Argument and Inference, Rules of Inference, Tools for Establishing, Truth of Statements, Valid Arguments, Propositional Logic, Form of Argument, Sequence of Compound Propositions, Law of Detachment, Modus Ponens

Typology: Slides

2012/2013

Uploaded on 04/27/2013

ashwini
ashwini 🇮🇳

4.5

(18)

177 documents

1 / 22

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CSE115/ENGR160 Discrete Mathematics
01/27/11
1
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Partial preview of the text

Download Argument and Inference - Discrete Mathematics - Lecture Slides and more Slides Discrete Mathematics in PDF only on Docsity!

CSE115/ENGR160 Discrete Mathematics

1

Argument and inference

• An argument is valid if and only if it is

impossible for all the premises to be true and

the conclusion to be false

• Rules of inference : use them to deduce

(construct) new statements from statements

that we already have

• Basic tools for establishing the truth of

statements

2

Valid arguments

• is tautology

• When ((p→q)˄p) is true, both p→q and p are

ture, and thus q must be also be true

• This form of argument is true because when

the premises are true, the conclusion must be

true

4

(( p → q )∧ p ) → q

Example

• p: “You have access to the network”

• q: “You can change your grade”

• p→q: “If you have access to the network, then

you can change your grade”

“If you have access to the network, then you

can change your grade” (p→q)

“You have access to the network” (p)

so “You can change your grade” (q)

5

Rules of inference for propositional

logic

• Can always use truth table to show an

argument form is valid

• For an argument form with 10 propositional

variables, the truth table requires 2

rows

• The tautology is the rule of

inference called modus ponens ( mode that

affirms ), or the law of detachment

7

(( p → q )∧ p ) → q

q p q p ∴ →

Example

• If both statements “If it snows today, then we

will go skiing” and “It is snowing today” are

true.

• By modus ponens, it follows the conclusion

“We will go skinning” is true

8

10

Example

  • “It is not sunny this afternoon and it is colder than yesterday”
  • “We will go swimming only if it is sunny”
  • “If we do not go swimming, then we will take a canoe trip”
  • “If we take a canoe trip, then we will be home by sunset” Can we conclude “We will be home by sunset”? 11 8 ) modusponensusing(6)and (7) 7 ) hypothesis 6 ) modusponensusing(4) 5 ) hypothesis 4 ) modustollensusing(2)and(3) 3 ) hypothesis 2 ) simplicationusing(1) 1 ) hypothesis t s t s r s r r p p p q → ¬ → ¬ → ¬ ¬ pq ¬ ∧ rp ¬ rs st t

Resolution

• Based on the tautology

• Resolvent:

• Let q=r, we have

• Let r=F, we have

• Important in logic programming, AI, etc.

13 (( pq )∧(¬ pr ))→( qr ) ( pq )∧(¬ pq )→ q ( pq )∧¬ pq qr

Example

• “Jasmine is skiing or it is

not snowing”

• “It is snowing or Bart is

playing hockey”

imply

• “Jasmine is skiing or

Bart is playing hockey”

14

q r

p r

q p

Fallacies

• Inaccurate arguments

• is not a tautology as it is false

when p is false and q is true

• If you do every problem in this book, then you

will learn discrete mathematics. You learned

discrete mathematics

Therefore you did every problem in this book

16

(( p → q )∧ q )→ p

( p → q )∧ q

Example

• is it correct to conclude ┐q?

• Fallacy: the incorrect argument is of the form

as ┐p does not imply ┐q

17

( p → q )∧¬ p

( p → q )≡¬ q →¬ p

Example

• “Everyone in this discrete mathematics has

taken a course in computer science” and

“Marla is a student in this class” imply “Marla

has taken a course in computer science”

19

  1. ( ) modusponensfrom(2)and (3)
  2. ( ) premise
  3. ( ) ( ) universalinstantiationfrom(1)
  4. ( ( ) ( )) premise c Marla d Marla d Marla c Marla x d x c x

Example

  • “A student in this class has not read the book”, and “Everyone

in this class passed the first exam” imply “Someone who

passed the first exam has not read the book”

20

  1. ( ( ) ( )) existentialgeneralizationform (8)
  2. ( ) ( ) conjunctionof (6)and(7)
  3. ( ) simplicationfrom(2)
  4. ( ) modusponensfrom(3)and(5)
  5. ( ) ( ) universalinstantiationfrom(4)
  6. ( ( ) ( ) premise
  7. ( ) simpliciationfrom(2)
  8. ( ) ( ) existentialinstantiationfrom(1)
  9. ( ( ) ( )) premise x p x b x p a b a b a p a c a p a x c x p x c a c a b a x c x b x ∃ ∧ ¬