-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Enhancement ask] Display correct LRAT resolvents for each ID #11
Comments
FRAT has no restrictions on the order of resolvents in an
You are asking what the requirements are for the |
Hi, Thanks for the explanation, this will come handy when I want to implement BVA (bounded variable addition, a form of extended resolution) to work with FRAT! Regarding my question: sorry I was ambiguous. Let me explain. I am still just trying to create a regular RUP proof. This is normally done by Say, here is a proof fragment:
Here,
Would this be possible? It would help me get Mate |
Oh I see. I think you can use the
(The Os error is because I gave a bogus cnf file. The elaborator pass runs to completion on the FRAT file before it attempts to open the CNF file.) This is running This is the same proof, but you can see that it has inserted I had to modify frat-rs to produce this output, because by default all files it produces are in binary format and there is currently not a mechanism for changing this at run time. I will add a compile feature for this, so you can run |
Oh wow, thanks! This is amazing! I would go so far as to document this in the README, I think it's super-helpful. Thanks again, it's really great! Mate |
Hi! Today I wanted to use this to fix up my LRAT hints, but no luck. I seem to be getting a binary, not ascii version:
So the good news is that it does indeed create the correct proof, I think! However, it does not print it in ascii mode. I think I correctly compiled it with ascii enabled. Do you know what could be going on? Thanks in advance for checking, Mate |
fixed in 10784ae |
Hi! Thanks for the quick fix! Unfortunately, I must be doing something wrong, I think :( I am still getting a binary
Thanks in advance for having a look! Again, I'm sorry. I really need to learn rust so I can fix these issues myself... Mate |
You are missing a After fixing that, I found another bug - the temp file has to be binary, because the temp->lrat conversion uses a binary-only parser. That shouldn't be a problem for you since you are using |
Ah, that worked, thank you so much! I knew I messed up something with using Mate |
This should help with examples like #11 (comment) so that causing an IO error is not needed during normal execution. cc @msoos
I am having trouble figuring out what the resolvents and their order should be after the
l
in the FRAT file. It would be immensely helpful iffrat-rs
could print out the correct order or resolutions it did that I should have put afterl
for it to be correct. My understanding is thatfrat-rs
recovers this in non-strict mode (searching close to the hints given). Sofrat-rs
knows this information already. It would be of great help if it could print it, so I would know what I should have put. I can then debug on my side to fix to have correctl
after mya
clauses.No rush or anything, just an ask. Thanks and sorry for bothering you with so much of this. I am trying to move my machine-learning based system, CrystalBall to
frat-rs
instead of DRAT. So I will start hackingfrat-rs
soon enough :)BTW, I understand that
frat-rs
doesn't compute this for all IDs, etc. but for the ones it does compute it, it'd be really great. Thanks!The text was updated successfully, but these errors were encountered: