Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How can I solve this problem by using duality? like dual (x V y) = dual (x) ^ dual(y) In lectures it was discussed how

How can I solve this problem by using duality? like dual (x V y) = dual (x) ^ dual(y)

image text in transcribedimage text in transcribed
In lectures it was discussed how to convert a formula q into CNF. The procedure was described as follows: 1. Compute an equivalent DNF, 41, for -p. 2. Let 12 be the dual of 11 (replace / with V and vice-versa, and T with 1 and vice-versa). 3. Let 1/3 be the result of replacing, in 12, all literals with their negations (replace p with -p and -p with p). This will be a formula in CNF that is equivalent to q. Suppose F denotes the set of well-formed formulas over PROP. We can formally define the last step as 13 = flip(12) where flip : F - F, is recursively defined as follows: . flip ( T) = T . flip ( 1 ) = 1 . flip(p) = -p for all p E PROP . flip(-p) = p for all p E PROP. flip(-q) = -flip(q) for all formulas q which are not propositional variables . For all formulas q and y: - flip ((9 / 4) ) = (flip(4) A flip(up) ) - flip ((Q V 4) ) = (flip(Q) V flip(4) ) - flip ((9 -+ 1)) = (flip() - flip(1) ) - flip ((9 1)) = (flip(q) flip(4) ) (a) Recursively define a function dual : F - F so that the last two steps above process can be formally defined as flip o dual (1)1). (4 marks) (b) Prove that if u is in DNF then flip o dual (up ) is in CNF. (4 marks) (c) Prove that for all q E F, flip o dual (-) is logically equivalent to q. (6 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra Graphs and Models

Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna

5th edition

321845404, 978-0321791009, 321791002, 978-0321783950, 321783956, 978-0321845405

More Books

Students also viewed these Mathematics questions

Question

What is operatiing system?

Answered: 1 week ago