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

FOL formulas #24

Open
arademaker opened this issue May 22, 2015 · 2 comments
Open

FOL formulas #24

arademaker opened this issue May 22, 2015 · 2 comments

Comments

@arademaker
Copy link
Owner

podemos agora implementar a função wff? que estende a função preproc do tableaux tratando formulas em FOL. Para variáveis, vamos usar símbolos que começam com interrogação, ?x.

Vamos usar forall e exists para os quantificadores. Por enquanto podemos evitar funções.

@arademaker
Copy link
Owner Author

deve passar no teste

(preproc '(implies (P (f a b) (g ?x)) (not (Q a))))

@arademaker
Copy link
Owner Author

falta renomear preproc para wff? e fazer conjunto de testes, vide #37. Observem que CNF é uma WFF e deveria passar no teste. Acho que deveríamos evitar transformações em wff?, apenas teste. As transformações deveriam estar em outras funções. Em wff? só queremos saber se a entrada é uma fórmula em FOL (first order logic) e, consequentemente, em PL (propositional logic).

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