1 / 16

Propositional Logic

Propositional Logic. Negation. Given a proposition p, negation of p is the ‘not’ of p. Conjunction. Representing ‘and’ between propositions. Given two propositions p and q , conjunction of p and q is true only when both of the propositions are true. Disjunction.

vic
Download Presentation

Propositional Logic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Propositional Logic

  2. Negation • Given a proposition p, negation of p is the ‘not’ of p

  3. Conjunction • Representing ‘and’ between propositions. • Given two propositions p and q, conjunction of p and q is true only when both of the propositions are true

  4. Disjunction • Representing ‘or’ between proposition • Given two propositions p and q, disjunction of p and q is true when either or both of the propositions are true

  5. Implication • Representing ‘if …then…’ to connect propositions • Given two propositions p and q, we say that “p implies q” which is the implication of q by p , the result is true in all cases except where p is true and q is false

  6. Equivalence • Representing “if and only if” • Two propositions are equivalent if and only if they have the same truth value

  7. Some rules • Disjunction is an associative and a commutative truth function • p  ( q  r )  (p  q )  r  p  q  r • p  q  q  p • Conjunction is a commutative and associative truth function • Distributive • p  ( q  r )  (p  q)  (p  r) • p  ( q  r )  (p  q)  (p  r) • Implication is not commutative p  q is not the same as q  p • is not associative p ( q  r ) is not the same as (p q ) r • Is transitive p q and q  r , p r

  8. Exercise • Let s, t, and u denote the following atomic propositions: s : Sally goes out for a walk. t : The moon is out u : It is windy Write a possible translation for each of the following statements: • If the moon is out and it is not windy, then Sally goes out for a walk • If the moon is not out, then if it is not windy Sally goes out for a walk

More Related