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

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  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.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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