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

ipasir_val return 0 when not important #52

Open
cormackikkert opened this issue Apr 6, 2023 · 1 comment
Open

ipasir_val return 0 when not important #52

cormackikkert opened this issue Apr 6, 2023 · 1 comment

Comments

@cormackikkert
Copy link

Hi Armin,

Would it be possible for ipasir_val to return 0 when a literal is not important for satisfiability? Currently, not important literals can be assigned true or false, it would be nice if they were always 0.

In the meantime is there a hack to see if a literal is important? The best I can think of is run the SAT solver again with the literal negated as a unit assumption, but this could be slow if if I want to check lots of literals.

Thanks,

Cormac

@arminbiere
Copy link
Owner

I would rather prefer to have then an additional API function which allows to check that. Actually what you are really asking for I think is to have CaDiCaL trim the produced model to become a prime implicant. There are algorithms for doing this:

David Déharbe, Pascal Fontaine, Daniel Le Berre, Bertrand Mazure:
Computing prime implicants. FMCAD 2013: 46-52

I have two submitted papers on similar problems. I will keep this issue open and comment on this later then again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants