Propositional Logic Tutorial with Examples

tutorial propositional logic n.w
1 / 5
Embed
Share

Learn about propositional logic foundations with practical examples such as logical formulas, rule of inference, resolution refutation, and clause encoding. Understand concepts through exercises on logical statements and hypotheses. Perfect for students and enthusiasts of computing science.

  • Logic
  • Propositional Logic
  • Computing Science
  • Tutorial
  • Indian Institute of Technology

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Tutorial -Propositional Logic Foundations of Computing Science Pallab Dasgupta Professor, Dept. of Computer Sc & Engg 1 INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

  2. Questions 1. Express the following statements as propositional logic formulae. (a) Fido is always either sleeping or barking. (b) When Fido is hungry Fido barks, but Fido s barking does not necessarily mean that Fido is hungry. 2. According to political experts A person who is a radical(R) is elected (E) if (s)he is conservative (C), but otherwise is not elected. Which of the following are correct representations of this assertion and why? (a) (R E ) (b) R (E (c) R ((C E) E ) C C) 2 INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

  3. Questions 3. Which of the following sentences are valid, unsatisfiable, or neither. (a) Smoke Smoke (b) Smoke Fire (c) Smoke Fire Fire (d) (Smoke Fire) ( Smoke Fire) (e) (Smoke Fire) (Smoke Heat Fire) 4. Prove whether or not the following rule of inference is sound: (P Q, Q ) / P 5. Convert the sentence A Using the clauses obtained, and the clauses: ( E D), ( C F B), ( E B ), ( B F ), ( B C), determine if B is true using resolution refutation. Show the proof tree. (B E) to CNF, where your answer will be one or more clauses . 3 INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

  4. Questions 6. Consider the following hypotheses: (a) If it rains, Joe brings his umbrella (b) If Joe has an umbrella, he doesn t get wet. (c) If it doesn t rain, Joe doesn t get wet. Prove that Joe never gets wet. 4 INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

  5. Questions 7. Let the propositions have intuitive meanings as given here: Encode the following ideas as clauses or product of clauses: Props. Meaning (a) If test T is positive, then that person has blood type A or AB. (b) If test S is positive, then that person has blood type B or AB. (c) If a person has type A, then test T will be positive. (d) If a person has type B, then test S will be positive. (e) If a person has type AB, then both tests T and S will be positive. (f) A person has type A, B, AB, or O blood. A person has blood type A. a A person has blood type B. b A person has blood type AB. c A person has blood type O. o Test T is positive on a person s blood sample. t Test S is positive on a person s blood sample. s 5 INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

More Related Content