Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2. Write a function * Problem 3 (10 points): isNNF Write a function sNNF :: Prop-> Bool that tests whether a proposition is in

image text in transcribed

Problem 2. Write a function

image text in transcribed

* Problem 3 (10 points): isNNF Write a function sNNF :: Prop-> Bool that tests whether a proposition is in negation normal form simplify Prop -> Prop that recursively translates a proposition to an equivalent simple one For this translation, the following equivalences will be useful: Testing for isSimple and simplify. Run (and pass) VrunTestTT testsSimp V quickCheck simpl prop V quickCheck simp2_prop DEFINITION. A propositional formula F is is in negation normal form (abbreviated: NNF) when: & and V are the only binary connectives F uses and the only place a ~ appears in F is before a variable

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

More Books

Students also viewed these Databases questions