Question

You are given three boxes filled with chocolates. One box contains only dark chocolates, one box...

You are given three boxes filled with chocolates. One box contains only dark chocolates, one box contains only milk chocolates, and one contains both dark and milk chocolates. However, the boxes are labeled incorrectly. You know that you have exactly one box of each, and you also know that each box is definitely labeled wrong. Given the incorrect labeling of the chocolate boxes and the three observations, use Propositional Logic to derive the correct labeling of the second box. You can begin by writing down a knowledge base including all facts you know. Use propositional symbols in the following form: O1M means a milk chocolate was drawn (observed) from box 1, L1M means box 1 was initially labeled Milk, and C1B means box 1 actually contains both types of chocolates.

a)Prove that box 2 contains milk chocolates (i.e. generate the sentence C2M), using natural deduction (i.e. using rules of inference)

b)Prove that box 2 contains milk chocolates via a Resolution Refutation proof. milk dark both

0 0
Add a comment Improve this question Transcribed image text
Answer #1

PART-1

i

O3D

Given, dark chocolate is observed from box 3

ii

C3D Ѵ C3B

The box 3 contains either dark chocolate or both chocolates

iii

C3B

The box 3 does not contain both chocolates, labels are wrong

iv

C3D

From sentence (ii) & (iii), box 3 need to include only dark chocolates

v

C1D ^ C2D

From sentence (v), conjunction property

vi

C1D

Given, dark chocolate is observed from box 1

vii

O1D

From sentence (vi), box 1 does not include only dark chocolate

viii

C1D Ѵ C1B

From sentence (vi) & (viii), box 1 include both chocolate

ix

C1B

From sentence (vi) & (viii), box 1 include both chocolate

x

O2M

Given, milk chocolate is observed from box 2

xi

C2M Ѵ C2B

From sentence (x), box 2 contain either milk chocolate or both

xii

C2B ^ C3B

From sentence (ix), neither box 2 nor box 3 includes both chocolate

xiii

C2B

From sentence (xii), conjunction property

xiv

C2M

From sentence (xi) & (xiii), box 2 include only milk chocolates

PART-2

i

C2M

The negotiation of the statement

ii

C1M ^ C2M

From sentence (i), if milk chocolate is not in box 2, then it will

C1M Ѵ C3M

either be in box 1 or box 3

iii

C1M

The box 1 does not includes only milk chocolates, labels are wrong

iv

C3M

From sentence (ii) and (iii), box 3 includes only milk chocolates

v

O3D

Given, dark chocolate is observed from box 3

vi

C3D Ѵ C3B

Box 3 contains either dark chocolate or both chocolates

vii

C3B

Box 3 does not includes both chocolates, labels are wrong

viii

C3D

From sentence (vi) and (vii), box 3 need to include only dark chocolates

Add a comment
Know the answer?
Add Answer to:
You are given three boxes filled with chocolates. One box contains only dark chocolates, one box...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Three boxes each contain a number of billiard balls. One box contains only even-numbered balls, one...

    Three boxes each contain a number of billiard balls. One box contains only even-numbered balls, one box contains only odd numbered billiard balls, and the third box contains a mixture of odd and even numbered balls. All the boxes are mislabeled. By selecting one ball from only one of the boxes, can you correctly label the three boxes? Explain why or why not.

  • This question is about the Bayes' Theorem. You are given two boxes. Box 1 contains 5...

    This question is about the Bayes' Theorem. You are given two boxes. Box 1 contains 5 red, 5 green, and 3 blue balls, and Box 2 contains 4 red, 3 green, and 2 yellow balls. You are asked to randomly pick one of the two boxes. Holding that box, you grab one ball at random, and then set the box back down. You found out that it is a red ball. Let A be the event that you choose Box...

  • 8. You are given two boxes; one contains nuts and the other contains bolts Below is...

    8. You are given two boxes; one contains nuts and the other contains bolts Below is a picture of a bolt. The D indicates Below right is a side and overhead picture of a nut. The the diameter of the bolt D indicates the diameter of the hole INSIDE the nut FLAT WASHER HEXAGON NUT (Plain and Thin ATL ROD NON.STRUCTURAL STRUCTURAL or 0.5D Thin ISO ME TRIC NUTS AND WASHERS A bolt is supposed to fit inside a nut....

  • 8. You are given two boxes, one contains nuts and the other contains bolts. Below is...

    8. You are given two boxes, one contains nuts and the other contains bolts. Below is a picture of a bolt. The D indicates Below right is a side and overhead picture of a nut. The the diameter of the bolt D indicates the diameter of the hole INSIDE the nut. ATI RODI c ISO METRIC AND WASHERS A bolt is supposed to fit inside a nut. On the right is a picture of a bolt properly fitting inside a...

  • Assist ne please Question 3 NAME: The circuit shown below contains two switches which open and close perfectly out of phase with one another (only one is open at any given time, and once one cl...

    Assist ne please Question 3 NAME: The circuit shown below contains two switches which open and close perfectly out of phase with one another (only one is open at any given time, and once one closes the other immediately opens, and vice-versa). The switches alternate at a frequency of 10kHz, and each switch spends 50% of the time open and 50% of the time closed (ie, each switch is open for 100 microseconds and then closed for 100 microseconds). The...

  • In your view,is the kind of child slavery discussed in this case absolutely wrong no matter...

    In your view,is the kind of child slavery discussed in this case absolutely wrong no matter what,or is it only relatively wrong,ie.,if one happens to live in a society(like ours) that disapproves of child slavery? Explain your view and why you hold it. Forty-five percent of the chocolate we consume in the that a portion of the Ivory Coast cocos beans that goes into United States and in the rest of the world is made from co- the chocolate we...

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT