Question

In: Computer Science

Consider the following logic problem: If you like checkers, then you like chess. If like computers,...

Consider the following logic problem:

If you like checkers, then you like chess.
If like computers, then you like coding.
If you like chess and you like coding, then you will learn AI. If you learn AI, you will be rich and famous.
You like checkers.
You like computers.
Prove that you will be rich.

  1. We will solve this problem using propositional logic. First, show one propositional logic sentence for each of the first six sentences in the above problem. You may only draw from the following atomic sentences.

    • Like(Checker)• Like(Chess)• Like(Computers)• Like(Coding)• Learn(AI)• Rich• Famous

  2. Convert each of the six sentences from part (a) into Conjunctive Normal Form (CNF). You may just show the final result for each sentence; no need to show the intermediate steps. Number your clauses.

  3. Perform a resolution proof by refutation to prove you will be Rich, using the knowledge base from part (b). For each resolution step, show the numbers of the clauses used, the resulting clause, and then number the resulting clause.

  4. What one literal (other than ¬Famous) could you add to the knowledge base in part (b) in order to prove ¬Famous using resolution proof by refutation?

Solutions

Expert Solution

3. Like(Chess) ^ Like(Coding) -> Learn(AI) = ¬( Like(Chess) ^ Like(Coding)) ∨ Learn(AI)

= ¬Like(Chess) ∨ ¬Like(Coding) ∨ Learn(AI)

4. Learn(AI) -> Rich ^ Famous = ¬Learn(AI) ∨ (Rich ^ Famous)

= (¬Learn(AI) ∨ Rich) ^ (¬Learn(AI) ∨ Famous)

5. Like(Checkers)

6. Like(Computers)

Correction in the last step, step numbers are 7,13 instead of 7,14

d) In order to prove ¬Famous, we can add ¬Learn(AI) in the knowledge base and then we cannot resolve ¬Learn(AI) ∨ Famous as there will be no Learn(AI) clause.


Related Solutions

Consider the following definitions given to you for Boolean logic: not = λx.((x false) true) true...
Consider the following definitions given to you for Boolean logic: not = λx.((x false) true) true = λx.λy.x false = λx.λy.y Show that not (not true) evaluates to true. Your steps must use proper substitutions and each step must be accompanied with a brief explanation (e.g., "replacing the bound x with false", etc.). You can use "L" for the lambda symbol in your answer.
Design a basic game like brick breaker, space shooter, or chess that is run on openframeworks...
Design a basic game like brick breaker, space shooter, or chess that is run on openframeworks in c or c++ language. It can be any game
Problem ( Proving theorems!) For each of the following statements, translate it into predicate logic and...
Problem ( Proving theorems!) For each of the following statements, translate it into predicate logic and prove it, if the statement is true, or disprove it, otherwise: 1. for any positive integer, there exists a second positive the square of which is equal to the first integer, 2. for any positive integer, there exists a second positive integer which is greater or equal to the square of the the first integer, 3. for any positive integer, there exists a second...
List and explain the logic behind the “four functions of money.” Then, consider the following: In...
List and explain the logic behind the “four functions of money.” Then, consider the following: In many prisons, cigarettes are used as money. Do cigarettes in prison have the ability to satisfy these four functions? Explain.
Problem 1. The purpose of this problem is to practice the use of logic operations and...
Problem 1. The purpose of this problem is to practice the use of logic operations and quantifiers. For each Statement X below determine if each of the three statementsX1, X2, X3 that follow it satisfy the following: a) Xi implies X; b) X implies Xi; c) if Xi is true then X must be false; d) if X is true then Xi must be false. Statement A. In every house there is a mouse. A1. There is no house without...
Consider the supply of computers. For each of the following, state the effect on supply: A...
Consider the supply of computers. For each of the following, state the effect on supply: A change in technology that lowers production costs An increase in the price of semiconductors A decrease in the price of computers An increase in the wages of computer assembly workers An increase in consumer incomes
1) Course is Computers in BioMedicine In about 250 words , Discuss Use of fuzzy logic...
1) Course is Computers in BioMedicine In about 250 words , Discuss Use of fuzzy logic in biomedical expert systems and diagnosis.
1) Course is Computers in BioMedicine In about 250 words , Discuss Use of fuzzy logic...
1) Course is Computers in BioMedicine In about 250 words , Discuss Use of fuzzy logic in biomedical expert systems and diagnosis.
Instructions: Solve the following problem. To receive credit, readers must be able to follow your logic...
Instructions: Solve the following problem. To receive credit, readers must be able to follow your logic and you must explain each step in detail. Please label each step, identify each equation and variable, and explain your answer. The management of a mutual fund plans to sell a basket of stocks in three months. The stocks are similar to the S&P 500. It seeks protection against a decrease in the price of the stocks. The current price of the S&P 500...
Consider the world market for computers between the U.S. and China. Let the demand for computers...
Consider the world market for computers between the U.S. and China. Let the demand for computers in the U.S. be Du = 3500-2P and in China be Dc = 1800 - 3P. Let the supply of computers in the U.S. be Q u = 500 +P and in China be Qc = 200+2p Suppose now that the importing country wants to impose an import tariff of $200 per computer. If this tariff is enacted, how much will the consumers in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT