A | B | C | KB | S1 |
True | True | True | True | True |
True | True | False | False | True |
True | False | True | True | True |
True | False | False | False | True |
False | True | True | False | False |
False | True | False | False | False |
False | False | True | True | True |
False | False | False | False | False |
KB and S1 are two propositional logic statements, that are constructed using symbols A, B, C, and using various connectives. The above truth table shows, for each combination of values of A, B, C, whether KB and S1 are true or false.
Part a: Given the above information, does KB entail S1? Justify your answer.
Part b: Given the above information, does statement NOT(KB) entail statement NOT(S1)? Justify your answer.
Solution:
Given,
A | B | C | KB | S1 |
True | True | True | True | True |
True | True | False | False | True |
True | False | True | True | True |
True | False | False | False | True |
False | True | True | False | False |
False | True | False | False | False |
False | False | True | True | True |
False | False | False | False | False |
(a)
Explanation:
=>KB entail S1 means KB => S1
Checking KB => S1:
=>KB => S1 = ~KB v S1 where v means OR operator
A | B | C | KB | S1 | KB => S1 |
True | True | True | True | True | True |
True | True | False | False | True | True |
True | False | True | True | True | True |
True | False | False | False | True | True |
False | True | True | False | False | True |
False | True | False | False | False | True |
False | False | True | True | True | True |
False | False | False | False | False | True |
=>As KB => S contains all the values "True" so we can say that KB entail S1.
(b)
Explanation:
=>NOT(KB) entail NOT(S1) means ~ KB => ~ S1 where ~ means negation operator
Checking ~ KB => ~ S1 :
=>~ KB => ~ S1 = ~(~ KB) v ~ S1
=>~ KB => ~ S1 = KB v ~S1 as ~( ~ KB) = KB
A | B | C | KB | S1 | ~ KB => ~S1 |
True | True | True | True | True | True |
True | True | False | False | True | False |
True | False | True | True | True | True |
True | False | False | False | True | False |
False | True | True | False | False | True |
False | True | False | False | False | True |
False | False | True | True | True | True |
False | False | False | False | False | True |
=>As some entries(truth values) of ~ KB => ~ S1are false so NOT(KB) does not entail NOT(S1).
I have explained each and every part with the help of statements attached to it.
A B C KB S1 True True True True True True True False False True True.
Suppose that some knowledge base contains various propositional-logic sentences that utilize symbols A, B, C, D (connected with various connectives). There are only two cases when the knowledge base is false: - First case: when A is true, B is false, C is false, D is true. - Second case: when A is false, B is true, C is true, D is false. In all other cases, the knowledge base is true. Write a conjunctive normal form (CNF) for the...
Using propositional logic, write a statement that contains the propositions p, q, and r that is true when both p → q and q ↔ ¬r are true and is false otherwise. Your statement must be written as specified below. (a) Write the statement in disjunctive normal form. (b Write the statement using only the ∨ and ¬ connectives.
C++ PROPOSITIONAL LOGIC Assignment: Create a program which can test the validity of propositional logic. Remember, a propositional logical statement is invalid should you find any combination of input where the PROPOSITIONAL statements are ALL true, while the CONCLUSION statement is false. Propositional Statements: If someone has a rocket, that implies they're an astronaut. If someone is an astronaut, that implies they're highly trained. If someone is highly trained, that implies they're educated Conclusion Statement: A person is educated, that...
C++ PROPOSITIONAL LOGIC Assignment: Create a program which can test the validity of propositional logic. Remember, a propositional logical statement is invalid should you find any combination of input where the PROPOSITIONAL statements are ALL true, while the CONCLUSION statement is false. Propositional Statements: If someone has a rocket, that implies they're an astronaut. If someone is an astronaut, that implies they're highly trained. If someone is highly trained, that implies they're educated Conclusion Statement: A person is educated, that...
Given that A, B, and C are true and X, Y, and Z are false, determine the truth value of the following statement: (X & A) & (~B & Y) True False
Given that A, B, and C are true and X, Y, and Z are false, determine the truth value of the following statement: A v (B --> Z) True False
(1) Are the following propositions? (e) The sun is shining. (b) It rained in Austin, TX, on October 30, 1999. (c) Come to class! (d) Is it raining? (2) Write each sentence in symbols using P- It is hot. and Q- It is sunny (a) It is sunny and hot. (b) It is not hot but it is sunny. (c) It is neither hot nor sunny (3) If P - Today it is raining, and Q-Today it is snowing. (a)...
Given that A, B, and C are true and X, Y, and Z are false, determine the truth value of the following statement: ~{~[~(A --> ~Y) & ~(Y --> C)] v ~[~(B --> ~Z) & ~(X v A)]} True False
Given that A, B, and C are true and X, Y, and Z are false, determine the truth value of the following statement: [(A v B) & ~(Y & ~C)] v ~[~(Z --> ~X) v ~B] True False
QUESTION 7 If b is false, c is false, d is true, and m is true, then the truth value of the statement ~[(d = ~b) ^ ~ c] →~m is A. cannot be determined B. consequent C. antecedent D.false E true