320b966f1d
Partial fields are the situation where an ADT is defined with record syntax. The field accessors are of type `ADT -> field`, but the field is only valid for one constructor of the ADT, so proper usage requires matching on the constructor before using field accessors, and omitting this matching can lead to invalid accesses. This change modifies the only use of this in What4 to ensure that the Record types are not ADT's and vice-versa. |
||
---|---|---|
.github/workflows | ||
dependencies | ||
what4 | ||
what4-abc | ||
what4-blt | ||
.gitignore | ||
.gitmodules | ||
.hlint.yaml | ||
cabal.project | ||
README.md |
What4 is a library for representing symbolic terms and communicating with satisfiability and SMT solvers (e.g. Yices and Z3).
It was originally a part of the Crucible project, but has found use cases that are independent of its original purpose as the representation language for the Crucible symbolic simulator, and has thus been split out into a separate repository.
For an overview of What4 and how to use it, please see the package-level README.
This material is based upon work supported by the Defense Advanced Research Projects Agency (DARPA) under Contract No. HR0011-19-C-0070. The views, opinions, and/or findings expressed are those of the author(s) and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.