Determine using propositional logic where diamond is

Assignment Help Theory of Computation
Reference no: EM13964579

Question 1. Prove using PROPOSITIONAL logic and Prover9 that the map that includes only Chile, Peru, Argentina and Bolivia (cf. Fig. 1) cannot be painted with 2 colors if adjacent countries must have different colors. To simplify, assume that the colors are blue and green.
More precisely:

(a) Write in propositional logic, outside Prover9, the knowledge basis.

(b) Describe the methodology you will use (all this before going into Prover9).

(c) Do the proof with Prover9, including the text file for/by Prover9 as an appendix (better use the verbatim environment in Latex).

It has to contain all the formulas, the run, and the final clean proof.

208_Map of South America.png

Figure 1: Map of South America

(d) Discuss to what extent your methodology is general and declarative (as opposed to a hack for this very particular problem). In particular, would your program be essentially different it the question were about coloring with 3 colors?

Question 2. There are two sealed boxes, of gold and silver. It is known that only one of them contains the diamond. Each of the boxes has a label on top, saying:

• Label on Gold Box: "The diamond is not here".
• Label on Silver Box: "Exactly one of the labels is true".

  1. It is also known that at most one of the labels is true. Determine using PROPOSITIONAL logic and Prover9 where the diamond is. More specifically,

(a) Write a propositional knowledge basis describing the above situation. Explain.

(b) Describe how to use Prover9 to deduce in which box is the diamond. Include the file and run as in problem 1.

(c) Explain what Prover9 did.

Question 3. An equivalence relation (ER) on a set can be seen as a structure (A, R), where

A is a non-empty set, and R ⊆ A × A is a binary relation with the following properties:

1. For every a ∈ A : (a, a) ∈ R (reflexivity)

2. For every a, b ∈ A : (a, b) ∈ R ⇒ (b, a) ∈ R (symmetry)

3. For every a, b, c ∈ A : (a, b) ∈ R and (b, c) ∈ R ⇒ (a, c) ∈ R (transitivity)

(a) Show a concrete finite ER on a finite set, including the proof that it is an ER.

(b) Prove, as usual, from 1. - 3. the following theorem of the theory of ERs: (no Prover9 here)

"For every a, b, c ∈ A : (a, c) ∈ R and (b, c) ∈ R ⇒ (a, b) ∈ R"

(c) Show by means of a finite example (structure) that: 1. & 2. 2310_Equivalence relation.png 3.

That is, a counterexample that proves the independence of 3. from 1. and 2.

(d) Show with a finite example (structure) that: 1. & 2. 2310_Equivalence relation.png ¬3.

That is, a counterexample that proves the consistency of 3. with 1. and 2.

(¬3. is: "There are a, b, c ∈ A with: (a, b) ∈ R, (b, c) ∈ R, and (a, c) ∉ R")

Reference no: EM13964579

Questions Cloud

Find the impedance of the circuit at resonance : What capacitance is needed to produce a resonance frequency of 95 MHz? If the capacitance is increased above the value found in part (a), will the impedance increase, decrease, or stay the same? Explain.
What must be the value of l and r to produce a q-factor : The Q-factor of a resonance circuit is defined as the ratio of the voltage across the capacitor (or inductor) to the voltage across the resistor, at resonance. The larger the Q-factor, the sharper the resonance curve will be and the sharper the tu..
Earnings per share-operating margin : Debt-equity ratio, enterprise value, earnings per share, operating margin, net profit margin, accounts receivable days, accounts payable days, inventory days interest coverage ratio, return on equity, return on assets, price-earnings ratio, market..
As we compress the gas the molecules moved : When we held the pressure constant and double the temperature, each time we doubled the temperature we observed that the volume (increased/decreased) by a factor of ( 1 / 2 / 4 / 8 / 10). Circle the correct answer.
Determine using propositional logic where diamond is : Write in propositional logic, outside Prover9, the knowledge basis and describe the methodology you will use. Show a concrete finite ER on a finite set, including the proof that it is an ER.
Describe the solution if ? is approximately : Given that at t=0 we have x=dx/dt=0, find the function x(t). Use BOTH with variation of the parameters and guessing methods. Describe the solution if ω is approximately, but not exactly, equal to ωo. Give an example of a physical system where this ..
What is rationale for taxpayer support of veterans affairs : What is the rationale for taxpayer support of the separate and costly hospital system of the Department of Veterans Affairs? About 350 words with one reference.
Net income for the year : POP's return on assets (ROA) is 5%. Compute POP's (a) net income for the year and (b) its return on equity (ROE). POP has no preferred stock.
Determine the rate of heat transfer through the wall : On the outside of the wall, the convection heat transfer coefficient is 6 Btu/h-ft^2-R degrees and the air temperature is -10 degrees F. Ignoring radiation, determine the rate of heat transfer through the wall at steady-state in Btu/h

Reviews

Write a Review

Theory of Computation Questions & Answers

  Prove that l is not regular using pumping theorem

Prove that L is not regular. (Be particularly careful if you use the Pumping Theorem. You must choose a w that is actually in L.)

  Purchasing and accounts payablesaul and latisha are both

purchasing and accounts payablesaul and latisha are both administrative managers in a machine tool company. latisha is

  Show that the grammar is unambiguous

What does it compute? Prove it, showing how you derive the loop invariant - Show that the grammar is unambiguous

  How do you think multimedia is changing our lives

How do you think multimedia is changing our lives ,Where does it penetrates our daily living and is it a good or bad effect and What do you think will develop in the near and in the far future?

  Question first step is to select two companies in the same

question first step is to select two companies in the same industry sector hotels restaurants post-secondary

  Give state diagram of dfa recognizing

Give state diagram of DFA recognizing the following languages, alphabet S = {0, 1}: - How cardinality of infinite sets is measured? Provide couple of closure properties of countable sets.

  Discuss the parallel performance of the lu factorization

Discuss the parallel performance of the LU factorization routine and the triangular solver routines. Comment on the observed performance and the possible reasons for the observations.

  Explain proof of rice-s theorem for infinite language

If you perform reduction in proof of Rice's theorem for special case of property P: "infinite language", does this reduction also show that language P L = { | N is Turing machine.

  Part -1q1 what do you consider were the three most

part -1q1 what do you consider were the three most important things planned or unplanned that you learned last year?

  Question about perfect programming language

I have noticed that there are several languages, is this because no one language has all the main elements needed to be a perfect programming Language?

  1centred on the significance and relevance of ramps to

1centred on the significance and relevance of ramps to canadian organizations why is ramps important? and why is it

  Write down a 2 page research paper excluding the title page

write a 2 page research paper excluding the title page on the turing and von neumann models. compare and contrast each

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd