Skip to content

assumevars#38

Draft
JamesGallicchio wants to merge 2 commits intomainfrom
add-assumevars
Draft

assumevars#38
JamesGallicchio wants to merge 2 commits intomainfrom
add-assumevars

Conversation

@JamesGallicchio
Copy link
Collaborator

In the encoding state, we can keep track of an array of literals that get prepended onto every added clause. This feature could potentially allow for more code re-use because any encoding program can be conditioned by some set of variables.

The semantic interpretation of an encoding program slightly changes to "if all the assumed vars are false then ..."

However, right now I have no application for it and it unnecessarily complicates the encoding monad proofs. This draft PR is in case I ever find such an application and want to revive the implementation.

@JamesGallicchio
Copy link
Collaborator Author

20 minutes later i found an application :-| I am somewhat worried about performance implications -- need to rebase and test it out

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

Successfully merging this pull request may close these issues.

1 participant