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

Wrong number of clauses in CNF header #9

Open
olegzaikin opened this issue Dec 27, 2022 · 2 comments
Open

Wrong number of clauses in CNF header #9

olegzaikin opened this issue Dec 27, 2022 · 2 comments

Comments

@olegzaikin
Copy link

The command
./main --cnf --rounds=80 --hash-bits=160 > instance.cnf
builds a CNF with the header
p cnf 13408 478924
However, in fact the CNF contains 478636 clauses.
That is why some solvers, e.g. kissat, throw errors when parsing
the CNF. Is it the case that some clauses are not written or just
the header is wrong?

@msoos
Copy link
Contributor

msoos commented Dec 29, 2022

I believe I have fixed this in my version, check it out:

https://github.com/msoos/sha1-sat/

Mate

@olegzaikin
Copy link
Author

Thanks, Mate!

Do you remember what was the reason of this issue?

Oleg

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