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.
CP: Support for domains on non-leaves
This patch re-adds support for storing domains associated with arbitrary semantic values rather than only with leaves. In a way, it partially reverts OCamlPro#1004 because some domains are not inherently structural and cannot be stored on leaves only (for instance, we want to support interval domains for bit-vectors, but constraints on a concatenation cannot be propagated exactly on the elements of the concatenation). Domains at leaves and non-leaves are connected through _structural propagation_: when the domain of a leaf changes, the change is propagated to the domain of the non-leaves that contains it using the `map_leaves` function; when the domain of a non-leaf changes, the change is propagated to the domain of the leaves it contains using the `fold_leaves` function.
- Loading branch information
1 parent
652097e
commit 9c353f3
Showing
6 changed files
with
394 additions
and
240 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
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
Oops, something went wrong.