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

Exception Type_error on TPTP4X-accepted tptp file #20

Open
etienneparent opened this issue Jun 17, 2024 · 1 comment
Open

Exception Type_error on TPTP4X-accepted tptp file #20

etienneparent opened this issue Jun 17, 2024 · 1 comment

Comments

@etienneparent
Copy link

Running zenon_modulo version 0.5.0 on this tptp file, I got the following error :

zenon_modulo -itptp problem.txt
Fatal error: exception Typetptp.Type_error("Contradictory types for 'prod_0'")
Raised at Stdlib__Weak.Make.find.(fun) in file "weak.ml", line 297, characters 47-62
Called from Expr.he_merge in file "expr.ml", line 493, characters 6-19

This file is yet valid according to TPTP4X and accepted by other automated theorem provers.
problem.txt

@gburel
Copy link
Contributor

gburel commented Jun 17, 2024

It looks like the type of prod_0 is declared twice :

tff(prod_0_type, type, prod_0 : $tType).

and

tff(prod_0_insert, type, prod_0 : ($int * $int) > prod_0).

I suspect that the second one should declare the type of prod_0_insert.

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