Jared Weakly
237730c0eb
Use not-yet-upstreamed setup-haskell fix
2020-06-09 14:01:31 -07:00
Jared Weakly
ac8f4c88de
add back in cvc4 support for pipeline
2020-06-09 14:01:31 -07:00
Jared Weakly
656b746cbd
move docker step back into separate job
2020-06-09 14:01:31 -07:00
Jared Weakly
79c0c994ee
move docker step to before haskell setup
2020-06-09 14:01:31 -07:00
Jared Weakly
5b41430e20
set path before build
2020-06-09 14:01:31 -07:00
Jared Weakly
2d9064e749
add build command into ci.sh
2020-06-09 14:01:31 -07:00
Jared Weakly
62ace42457
Adjust names in nightly artifacts
2020-06-09 14:01:31 -07:00
Iavor S. Diatchki
c53f3cf172
Merge pull request #756 from GaloisInc/feature/utf8-source
...
Enforce that includes are UTF8
2020-06-09 09:13:42 -07:00
David Thrane Christiansen
02dfc4a898
Enforce that includes are UTF8
...
Previously, "include" used locale-dependent decoding of source files,
while the rest of Cryptol uses UTF8. This change makes "include"
consistent with the rest of Cryptol, and adds a test that checks for
malformed UTF8.
2020-06-09 09:02:22 -07:00
Kevin Quick
a28e7b95f7
Merge pull request #751 from GaloisInc/ghc_8_4
...
Update what4 submodule for GHC 8.4 haddock fixes.
2020-06-05 22:41:45 -07:00
Kevin Quick
ac6520f1ca
Update what4 submodule for GHC 8.4 haddock fixes.
2020-06-05 09:49:58 -07:00
Ben Selfridge
22d98c72b8
update to bv-sized branch of what4
2020-06-04 15:51:35 -07:00
robdockins
3de1e95808
Merge pull request #724 from GaloisInc/split-arith
...
Split arith
2020-06-04 14:35:53 -07:00
Rob Dockins
c09ee13f27
Update documentation PDFs
2020-06-04 13:39:00 -07:00
Rob Dockins
721e733ce9
yet more shifting fixes
2020-06-03 18:45:42 -07:00
Rob Dockins
acbf925afa
Add a test case for shifting and rotating by negative integer values.
2020-06-03 17:55:50 -07:00
Rob Dockins
f0f11d11bd
Uniformly interpret negative integer shift/rotate amounts as
...
a shift/rotate in the opposite direction.
2020-06-03 17:52:08 -07:00
Rob Dockins
03e2538aca
Update error messages to refer to Ring instead of Arith
...
and minor merge fixups.
2020-06-03 13:44:22 -07:00
Rob Dockins
88c98c4c03
Merge remote-tracking branch 'origin/master' into split-arith
...
Minor merge conflicts resolved.
2020-06-03 13:35:04 -07:00
Andrei Stefanescu
2ff4d4c031
Fix Array.cry comment. ( #748 )
2020-06-02 20:26:49 -07:00
Andrei Stefanescu
c1bdd77ff0
Add SMT Array primitives. ( #732 )
...
* Add SMT Array primitives.
* Move SMT Array primitives in Array.cry.
* Minor.
2020-06-02 15:00:25 -07:00
Rob Dockins
04f2f80c85
Tweak the squareAndMultiply algorithm to drop leading zeros first.
2020-05-27 15:53:38 -07:00
Rob Dockins
897f631910
Fix reference semantics of the signed bitvector primitives
2020-05-27 15:34:58 -07:00
Rob Dockins
0bc02bcae0
Typo
2020-05-27 15:31:45 -07:00
Rob Dockins
e2f45ee5e4
Update documentation PDFs
2020-05-27 14:21:46 -07:00
Rob Dockins
542debdb67
Documentation tweaks
2020-05-27 14:21:17 -07:00
Rob Dockins
d816d8820a
Tweak the test suite. Apparently echo
works differently on Windows
2020-05-27 13:50:00 -07:00
Rob Dockins
e5d60efeec
Merge remote-tracking branch 'origin/master' into split-arith
2020-05-27 12:56:29 -07:00
Rob Dockins
12814bd688
Update reference interpreter to match changes in the split-arith branch.
2020-05-27 12:53:30 -07:00
brianhuffman
63bfdb2c06
Merge pull request #720 from GaloisInc/fromInteger
...
Avoid using `fromInteger`.
2020-05-27 10:56:28 -07:00
Jared Weakly
ebca4d7329
Merge pull request #741 from GaloisInc/serialize-windows-builds
...
Serialize nightly windows builds
2020-05-27 10:37:58 -07:00
Jared Weakly
221e411b68
Serialize nightly windows builds
2020-05-27 10:26:44 -07:00
Rob Dockins
066cbd492e
Post-merge test suite fixups
2020-05-26 17:45:42 -07:00
Rob Dockins
23f22bbab7
Treat the Unsupported
exception in the same way as the EvalErr
...
exception in the REPL.
2020-05-26 17:38:58 -07:00
Rob Dockins
bbba626052
Merge remote-tracking branch 'origin/master' into split-arith
2020-05-26 17:37:00 -07:00
Rob Dockins
da83c813b2
Additional code comments
2020-05-26 17:08:20 -07:00
Rob Dockins
c1b641c420
Add a test case for issue725
2020-05-26 17:08:20 -07:00
Rob Dockins
06584f4d10
Refactor and comment the Cryptol.Symbolic.SBV module
2020-05-26 17:08:20 -07:00
Rob Dockins
aaf78e23ec
Add a bit more output for the Satisfiable/Counterexample cases
2020-05-26 17:08:20 -07:00
Rob Dockins
1b584d9567
typo
2020-05-26 17:08:20 -07:00
Rob Dockins
60dcbd1d40
Make SBV backends behave the same as What4 backends WRT safety predicates.
...
For now, we always include the safety predicate as part of `:sat` and `:prove`
queries. Eventually, we will make this more configurable and have the
UI indicate if the property or the safety condition failed on proof counterexamples,
etc.
2020-05-26 17:08:20 -07:00
Rob Dockins
dbbd8607a0
Invoke a more severe exception throwing mechanism when we cannot
...
symbolicly translate an operation in the SBV backend.
This matches the behavior of the What4 backends.
2020-05-26 17:08:20 -07:00
Rob Dockins
e817f5c777
Update test suite
2020-05-26 15:33:46 -07:00
Rob Dockins
fd13055eb6
Remove UnsupportedSymbolicOp from the EvalErr
type.
...
Instead, add a new `Unsupported` data type. This requires
that we throw the unsupported exception instead of using `raiseError`.
2020-05-26 15:15:21 -07:00
Rob Dockins
8c6f8dcbe9
Reimplement (^^)
as a primitive taking the exponent in class Integral
2020-05-26 15:13:08 -07:00
Rob Dockins
ca74fc8e98
Remove the vestigial intLg2
method from the Backend
class
2020-05-26 14:10:55 -07:00
Rob Dockins
7f7fc813e6
Add a Literal first a
constraint to fromTo
.
...
This more clearly communicates the intent, which is that both
endpoints of the enumeration must be literals of the type
being enumerated.
2020-05-26 11:43:48 -07:00
Rob Dockins
e78757199e
remove Z n
types from class Integral
2020-05-26 11:38:59 -07:00
Rob Dockins
85e49a92db
Rearrange the Cryptol prelude according to the new typeclass system
2020-05-22 15:39:38 -07:00
brianhuffman
780b1bcecc
Merge pull request #733 from GaloisInc/issue731
...
Issue731
2020-05-22 14:38:15 -07:00