forked from OCamlPro/alt-ergo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CDCL-Tableaux): Do not make irrelevant decisions (OCamlPro#1041)
The CDCL-Tableaux solver uses the structure of the original formula both to limit the literals that are propagated to the theory module and to focus the (sub)-terms of the formula to use for instantiation. Effectively, it only uses literals that are either asserted directly (possibly as part of a conjunction), or that are the *first* literal that was decided in a disjunction. For instance, if the formula [P \/ Q] is asserted, and we decide that [P] holds, [P] will be propagated to the theory module and used for instantiation -- but if we ever decide or prove that [Q] holds (or does not hold), that information will be ignored by the theory and instantiation modules. In these conditions, deciding on [Q] is unlikely to help us make any progress, and so this patch prevents the CDCL-Tableaux solver from taking decisions on such irrelevant variables.
- Loading branch information
1 parent
ac4ca67
commit 59d9b7e
Showing
3 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters