Question: Finish the following tasks and answer questions about propositional logic. ( Tip: you can use Python library such as sympy to manipulate propositional logics )

Finish the following tasks and answer questions about propositional logic. (Tip: you can use Python
library such as sympy to manipulate propositional logics).
1) Assume we have two propositions A and B. A=True, B=False. What are the results of (1) not A,(2)
A or B,(3) A and B,(4) A implies B,(5) B implies A,(6) A B (Biconditional)
2) Assume we have symbols as logical variables A, B, C, D: (1) convert the expression ~(A | B)| C to
Conjunctive Normal Form (CNF),(2) convert the expression ~(A -> B)|(C & D) to Disjunctive
Normal Form (DNF).Programming Language:
Programming Language: Please use Python3, not Python2.
Coding Style: define a function for each question.
Comments: add necessary comments to help understand your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!