A AND B
B => (A OR C)
Answer:
A
B
(NOT B) OR A OR C
ADoes this knowledge base entail the following sentence:
B
NOT A
B OR CJustify your answer.
Answer:
The knowledge base given in this question is not satisfiable, since it contains both A and NOT A. Since it is not satisfiable it entails every possible statement, including B OR C.
(a) (A and B) or (B and C)
(b) A or B
(c) A <=> B <=>C
Answer:
For each case, the number of possible models that entail the given logical sentence are:
(a): The following 3:
(A AND B AND C)(b): The following 3:
((NOT A) AND B AND C)
(A AND B AND (NOT C))
(A AND NOT B)(c): The following 2:
((NOT A) AND B)
(A AND B)
(A AND B AND C)
((NOT A) AND (NOT B) AND (NOT C))
Answer:
(a): XOR is another connective that people often find useful. In general, what is useful or not useful is highly subjective. People might also find it useful to define connectives for the negation of AND, OR, IF, IFF, XOR.
(b): Each connective is defined using a truth table. For two symbols, a truth table has four rows, so there are 2^4 = 16 unique truth tables. Therefore, we can define up to 16 unique binary connectives.
(c): Consider the statement a and not(b). While a binary connective could be defined for this statement, most people would probably find it more natural to just see that statement written as a and not b.
Answer:
(a): valid
(b): neither
(c): neither
(d): valid
(e): valid
(f): neither
(g): valid
(h) (for 2nd edition only): neither
A | B | C | Sentence |
false | false | false | true |
false | false | true | false |
false | true | false | false |
false | true | true | true |
true | false | false | false |
true | false | true | false |
true | true | false | false |
true | true | true | true |
Answer:
Here are some intermediate steps in producing a conjunctive normal form, and the actual CNF:
1. (B <=> C) AND (A => B)
2. (B => C) AND (C => B) AND (A => B)
3. ((NOT B) OR C) AND ((NOT C) OR B) AND ((NOT A) OR B)