Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 3: Ex4 #4

Open
BertLisser opened this issue Sep 27, 2017 · 0 comments
Open

Week 3: Ex4 #4

BertLisser opened this issue Sep 27, 2017 · 0 comments

Comments

@BertLisser
Copy link

BertLisser commented Sep 27, 2017

conv2cnf :: Form -> Form
conv2cnf f = simplify (cnjOfDsj (nnf (arrowfree f)))

Mistake

toCNF :: Form ->  Form
toCNF f = (nnf . arrowfree) f

must be

toCNF :: Form ->  Form
toCNF f =  conv2cnf  f

Original nice solution. However I think there is a bug in conv2cnf , for that reason the test doesn't
terminate. But there is already a remark about it at exercise 3.

Good (=8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant