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

Explain why formula can't be translated to TPTP-FOF #19

Open
fcbr opened this issue Jun 19, 2019 · 1 comment
Open

Explain why formula can't be translated to TPTP-FOF #19

fcbr opened this issue Jun 19, 2019 · 1 comment

Comments

@fcbr
Copy link
Member

fcbr commented Jun 19, 2019

It would be great for debugging purposes if we could output why a particular formula isn't eligible to be translated to TPTP/FOF. Basically it would entail changing this code https://github.com/own-pt/cl-krr/blob/master/tptp.lisp#L81-L96 to return a reason instead of just true and false.

@arademaker
Copy link
Member

two errors in a recent implementation prevent the generation of fof code without warning:

  1. function not defined (e.g. InList vs. inList)

  2. use of terms in predicate position (e.g. (=> ListFn(...) ...)

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

2 participants