Artificial Intelligence: A Modern Approach
3rd Edition
ISBN: 9780136042594
Author: Stuart Russell, Peter Norvig
Publisher: Prentice Hall
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 7, Problem 19E
A sentence is in disjunctive normal form (DNF) if it is the disjunction of conjunctions of literals. For example, the sentence (A ∧ B ∧ ¬C) ∨ (¬A ∧ C) ∨ (B ∧¬C) is in DNF.
- a. Any propositional logic sentence is logically equivalent to the assertion that some possible world in which it would be true is in fact the case. From this observation, prove that any sentence can be written in DNF.
- b. Construct an
algorithm that converts any sentence in propositional logic into DNF. (Hint: The algorithm is similar to the algorithm for conversion to CNF given in Section 7.5.2.) - c. Construct a simple algorithm that takes as input a sentence in DNF and returns a satisfying assignment if one exists, or reports that no satisfying assignment exists.
- d. Apply the algorithms in (b) and (c) to the following set of sentences:
A ⇒ B
B ⇒ C
C ⇒ ¬A.
- e. Since the algorithm in (b) is very similar to the algorithm for conversion to CNF, and since the algorithm in (c) is much simpler than any algorithm for solving a set of sentences in CNF, why is this technique not used in automated reasoning?
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Exercise 1 Let B be a set of Boolean variables and P be a propositional logic formula over B. If P always evaluates to 1, no matter than assignments to each b ∈ B, then P is called a tautology. Formulate this definition as an expression in first order predicate logic.
Prove the following predicate logic statements valid or invalid:
A) ∀x(A(x) → B(x)) ∧ ∀x(A(x) ∨ ¬C(x)) ∧ ∃x(¬B(x)) → ¬∃x(¬A(x) ∧ ¬B(x) ∧ ¬C(x))
B) ∀x(A(x) → B(x)) ∧ ∃x(A(x) ∨ B(x)) → ∃x(A(x) ∧ B(x))
1. Teachers in the Middle Ages supposedly tested the real-time propositional logic ability of a student via a technique known as an obligato game. In an obligato game, a number of rounds is set and in each round the teacher gives the student successive assertions that the student must either accept or reject as they are given. When the student accepts an assertion, it is added as a commitment; when the student rejects an assertion its negation is added as a commitment. The student passes the test if the consistency of all commitments is maintained throughout the test.
a.) Suppose that in a three-round obligato game, the teacher first gives the student the proposition p → q, then the proposition ¬(p ∨ r) ∨ q, and finally the proposition q. For which of the eight possible sequences of three answers will the student pass the test?
b.) Explain why every obligato game has a winning strategy.
Chapter 7 Solutions
Artificial Intelligence: A Modern Approach
Ch. 7 - Suppose the agent has progressed to the point...Ch. 7 - (Adapted from Barwise and Etchemendy (1993).)...Ch. 7 - Prob. 3ECh. 7 - Which of the following are correct? a. False |=...Ch. 7 - Prob. 5ECh. 7 - Prob. 6ECh. 7 - Prob. 7ECh. 7 - We have defined four binary logical connectives....Ch. 7 - Prob. 9ECh. 7 - Prob. 10E
Ch. 7 - Prob. 11ECh. 7 - Prob. 12ECh. 7 - Prob. 13ECh. 7 - Prob. 14ECh. 7 - Prob. 15ECh. 7 - Prob. 16ECh. 7 - Prob. 17ECh. 7 - Prob. 18ECh. 7 - A sentence is in disjunctive normal form (DNF) if...Ch. 7 - Prob. 20ECh. 7 - Prob. 21ECh. 7 - Prob. 23ECh. 7 - Prob. 24ECh. 7 - Prob. 25ECh. 7 - Prob. 26ECh. 7 - Prob. 27E
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
(Move the ball) Write a program that moves the ball in a pane. You should define a pane class for displaying th...
Introduction to Java Programming and Data Structures, Comprehensive Version (11th Edition)
What are the potential consequence of inappropriate indexing decisions?
Modern Database Management
What are some features of specific programming languages you know whose rationales are a mystery to you?
Concepts Of Programming Languages
Carefully describe the process of program testing.
Problem Solving with C++ (9th Edition)
Type in and run the six programs presented in this chapter. Compare the output produced by each program with th...
Programming in C
Code an SQL statement that creates a table with all columns from the parent and child tables in your answer to ...
Database Concepts (8th Edition)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- a) Let Γ be a set of sentences of L1 (the language ofpropositional logic) and let φ be a sentence of L1.Consider:If the argument from Γ to φ is not valid, theargument from Γ to ¬φ is valid.Is this claim correct? Why or why not?arrow_forwardFor this question about predicate logic, please note that, even though the 'nonsense' words are only nouns and verbs, you do not need to know the meaning of the words being used in order to answer this question. Consider a universe of discourse that contains (among other things) all gudgeons. If the predicates B(x), C(x), and G(x) represented the assertions x brabbles, x corrades, and x groaks, respectively, then which of the following would be an accurate translation of the following assertion? some gudgeons do not brabble even though they corrade and groak Select one: (-B(=) ^ C(z) ^ G(x)) O none of these options (-B(2) v C(x) V G(=)) O Vz (-B(x) ^ C(2) V G(z) O I (¬B(x) V C(x) ^ G(x)) (-B(2) ^ C(x) V G(=)) (-B(=) ^ C(x) V G(=) O Frarrow_forwardPart 1: Proof-Theoretic Concepts Show that each of the following pairs of sentences are provably equivalent in SL 1. P → R, ¬R → ¬Parrow_forward
- Tick each statement that is valid. Select one or more: a. ¬(C → (D → C)) is unsatisfiable. b. AV-Bv CV DVE V F V¬A is a tautology (¬B → B) → (B → C) is a tautology AV (B → C) v (D → E) v ¬A is a taulogy. e. (U → U) → U is a tautology. P→ Q and¬P ^ Q are logically equivalent g. TVW V-T is a tautology C. f.arrow_forwardQuestion 3 VX(P(X) v Q(X))→ (VXP(X) V VXQ(X)) The above expression follows from the valid argument forms of logic and the rules for quantifiers. True False Question 4 Give an interpretation (in words) of the predicates in the previous question that shows you understand why your answer is correct.arrow_forwardProve the predicate logic statement is valid: (∀ x)(P(x)) ∧ (∀ x)(Q(x)) → P(a) ∧ Q(b)arrow_forward
- Please Help with the question below: Suppose you are given some facts in First-Order Logics: a) Andi is a professor b) All professors are people. c) Ani is the dean. d) All Deans are professors. e) All professors consider the dean a friend or don’t know him. f) Everyone is a friend of someone. g) People only criticize people that are not their friends. h) Andi criticized Ani. Prove that: Ani is not Andi’s friend.arrow_forwardFor this question about predicate logic, please note that, even though the 'nonsense' words are only nouns and verbs, you do not need to know the meaning of the words being used in order to answer this question. Consider a universe of discourse that contains (among other things) all gudgeons. If the predicates K(x), G(x), and J(x) represented the assertions x kenchs, x groaks, and x jargogles, respectively, then which of the following would be an accurate translation of the following assertion? if any gudgeon kenchs or that gudgeon does not groak then that gudgeon does not jargogle Select one: ((K(=) v G(2) → J(=) IE O (K(e)v -G(=) O Væ V → ¬J(x) (K(=) ^ -G(2)) → ¬J(x) TE O → ¬J(x) O none of these options (Ke)v -G(=) O Va V V ¬J(x) (K(2) V -G(2) v V ¬J(x)arrow_forwardConsider the predicates Martian (x): x is a MartianisGreen(x): x is green Use equivalence laws of first-order logic to identify the expression that is logically equivalent to ∀x (Martian(x) ˄ isGreen(x)) Group of answer choices ∃x (Martian(x)) ˅ ∃x (isGreen(x)) ∃x (¬Martian(x)) ˄ ∃x (¬isGreen(x)) ∀x (Martian(x)) ˄ ∀x (isGreen(x)) ∀x (¬Martian(x)) ˄ ∀x (¬isGreen(x))arrow_forward
- Suppose that the domain of the propositional function P(x) consists of the integers 1, 2, 3, 4 and 5. Express these statements without using quantifiers, instead using only negations, disjunctions and conjunctions. (a) IxP(x) (b) VxP(x) (c) ¬IXP(x) (d) ¬VXP(x)arrow_forwardConvert each of the following argu- ments into formal statements, e.g., define sentences existentially and/or universally quantified statements. Then determine which rules of logic have been applied and explain whether or not they have been ap- plied correctly.arrow_forwardConstruct a formal proof of validity using conditional method. (A ∧ B) → (~C → D) B ∧ ~C --------------------------- ∴ A → Darrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Boolean Algebra - Digital Logic and Logic Families - Industrial Electronics; Author: Ekeeda;https://www.youtube.com/watch?v=u7XnJos-_Hs;License: Standard YouTube License, CC-BY
Boolean Algebra 1 – The Laws of Boolean Algebra; Author: Computer Science;https://www.youtube.com/watch?v=EPJf4owqwdA;License: Standard Youtube License