Question

In: Computer Science

Inference by Resolution: Given the following knowledge base (KB), If it is November (N), there will...

Inference by Resolution: Given the following knowledge base (KB),

  • If it is November (N), there will not be a baseball game (B) at Cleveland.

  • If it is November (N) and it is Sunday (S), Bob will be in Youngstown (Y).

  • If it doesn't snow (W) or if there is a baseball game at Cleveland (B), Bob will go fishing (F).

  • Today is Sunday (S) and it is November (N).

  • If Bob is in Youngstown (Y), it will not snow (W).

Can you prove that Bob will go fishing (F)?

  1. Please express the knowledge base (KB) in propositional logic sentences.
  2. Please convert KB you derived in (a) into its CNF form.
  3. Using inference by resolution to prove the query, true or false? (You must show the steps, or no credit will be given))

Solutions

Expert Solution

ANSWER:

Let , N be "It is November".

Let, B be " there will be base ball game at Cleveland".

Let , S be " It is sunday".

Let, Y be " Bob will be in Youngstown".

Let , W be " It doesn't snow".

Let, F be " Bob will go finising".

a)

Knowledge base in propositional logic

Inference from 1.   ............(i)

Inference from 2. .......(ii)

   Inference from 3. (W V B ) F ........(iii)

Inference from 4 S ..........(iv)

N ...........(v)

   Inference from 5 . Y W ..........(vi)

b)

Conversion to CNF form

Sentence CNF

(i)   

(ii)

(iii)   

(iv) S S

N N

(v)

c)

Using inference by resolution: The   goal is F ,so we add   to the list of facts.

The new set is:

1.

2.

3.  

4.

5. S

6. N

7.  

8.  

Hence , is not true

: F is true

It proves, Bob will go fishing.

If you do not get anything in this solution ,please put a comment and i will help you out.

Do not give a downvote instantly.It is a humble request.

If you like my answer ,please give an upvote....Thank you.


Related Solutions

1. The degree to which a weak base dissociates is given by the base-ionization constant, Kb....
1. The degree to which a weak base dissociates is given by the base-ionization constant, Kb. For the generic weak base, B B(aq)+H2O(l)⇌BH+(aq)+OH−(aq) this constant is given by Kb=[BH+][OH−][B] Strong bases will have a higher Kb value. Similarly, strong bases will have a higher percent ionization value. Percent ionization=[OH−] equilibrium[B] initial×100% Strong bases, for which Kb is very large, ionize completely (100%). For weak bases, the percent ionization changes with concentration. The more dilute the solution, the greater the percent...
a) For the following FOL knowledge base, prove Older(Lulu, Fifi) using resolution. Mother(Lulu, Fifi) Alive(Lulu) ∀x...
a) For the following FOL knowledge base, prove Older(Lulu, Fifi) using resolution. Mother(Lulu, Fifi) Alive(Lulu) ∀x ∀y.Mother(x,y) ⇒ Parent(x,y) ∀x ∀y.(Parent(x,y) ∧ Alive(x)) ⇒ Older(x,y)
Given the following knowledge base: a <- b^c. b <- d^e. b <- g^e. c <-...
Given the following knowledge base: a <- b^c. b <- d^e. b <- g^e. c <- e. d. e. ƒ <- a^g. Which of the following would be the trace of resolved atoms assuming a bottoms-up proof procedure? Select one: a. {a,b,c,e,g} b. {a,b,c,e,d} c. {g,e,b,e,c,a} d. None of these options Constraint Satisfaction Problem (CSP) is consists of a set of _________________. Select one: a. Variables, heuristics, and solutions b. Variables, domains, and backtracking c. Variables, domains, and constraints d....
b) Given fixed memory partitions of 200 KB, 100 KB, 400 KB, 300 KB, and 400...
b) Given fixed memory partitions of 200 KB, 100 KB, 400 KB, 300 KB, and 400 KB (in order), how would each of the algorithms from (a) place processes in memory if they required 187 KB, 228 KB, 126 KB, 306 KB (in order)? c) A system has five page frames. The time of loading, time of last access, and the Referenced and Modified bit for each page are shown in the following table (with time in clock ticks). Frame...
The following inventory information for ABC Company is given for the month of November: November 1...
The following inventory information for ABC Company is given for the month of November: November 1 Beginning inventory 740 units @ $2.20 cost per unit November 7 Purchased 400 units @ $6.64 cost per unit November 15 Sold 500 units November 19 Purchased 200 units @ $5.14 cost per unit November 28 Sold 600 units November 30 Purchased 700 units @ $8.00 cost per unit Calculate the dollar amount of ending inventory shown on ABC Company's November 30 balance sheet...
A certain weak base has a Kb of 7.50 × 10-7. What concentration of this base...
A certain weak base has a Kb of 7.50 × 10-7. What concentration of this base will produce a pH of 10.02?
A certain weak base has a Kb of 7.70 × 10-7. What concentration of this base...
A certain weak base has a Kb of 7.70 × 10-7. What concentration of this base will produce a pH of 10.03?
Write the base dissociation reaction for the conjugate base of acetic acid A) find its Kb...
Write the base dissociation reaction for the conjugate base of acetic acid A) find its Kb if the Ka of acetic acid is 1.8x10-5 B) what is the pH of the solution if you start with 0.1 M acetic acid? C) After the solution in part B reaches equilibrium, you add acetate to a concentration of 0.005M. What is the new pH of the solution? You can’t use assumptions here
A certain weak base has a Kb of 7.40 × 10-7. What concentration of this base...
A certain weak base has a Kb of 7.40 × 10-7. What concentration of this base will produce a pH of 10.17? __?__ M
A certain weak base has a Kb of 7.60 × 10-7. What concentration of this base...
A certain weak base has a Kb of 7.60 × 10-7. What concentration of this base will produce a pH of 10.27?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT