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

  Find the correct rhs in a right sentential form

Find the correct RHS in a right sentential form - Please describe this well

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Argue that the problem is np complete

Argue that the following prob is NP Complete. Given list of positive integers, u1,u2,...un (in binary representation) and asked if there is partition of this set into 3 subsets, each of which has same sum.

  -what motivates you-what are your needs-how do you attempt

-what motivates you?-what are your needs?-how do you attempt to satisfy your motivational needs within your

  Single tape turing machine

Double and Two Tape Turing machines - single tape Turing machine

  Write algorithm for finding useless-productive nonterminals

Write down the algorithm for finding useless/productive nonterminals. Describe how this gives you the algorithm for whether language generated by grammar is empty.

  What is the network address

What is the network address - what is the range of host IP addresses (low to high)?

  Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

  Subset-sum problem

Calculate some number x= Sum - 2K. Create new set A by add x to the set B {b1, b2,....., bn} U {x}, where the summation now is B+x. it is possible to split the numbers in A into some subsets iff they can summing up to K:

  1 discuss your assumptions and beliefs as a leader discuss

1. discuss your assumptions and beliefs as a leader. discuss how these have changed or evolved while studying business

  Deterministic finite state machine

Determine, formally, whether L(R1(R1 + R2)*) = L((R1 + R2)*). That is, if it is true, provide a proof; otherwise provide a counter example.It is a well known result that every PDA with acceptance condition of an empty stack and reachability of a fin..

  Write regular expressions

Write regular expressions to capture the following-Strings in C. These are delimited by double quotes ("), and may not contain newline characters. They may contain double-quote or backslash characters if and only if those characters are "escaped" b..

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