Thomas M. DuBuisson
92aa8ffca2
Make 'lg2' actually compute 'lg2'
...
So this boring bug has seen three patches today... sigh.
2015-05-13 16:15:47 -07:00
Thomas M. DuBuisson
fb6b9b6a3f
Remove unintentional string change
...
Oops, string twiddle I use to ease grepping snuck in,.
2015-05-13 13:35:24 -07:00
Thomas M. DuBuisson
87c265615b
Fix #215
...
We were hitting `x :: Double == inf`.
2015-05-13 13:34:08 -07:00
Thomas M. DuBuisson
d553a33179
Fix #214 : Add the test that shows the success.
...
Notice the actual fix is in commit
342b1cf3ff
2015-05-11 10:25:22 -07:00
Iavor S. Diatchki
342b1cf3ff
Fix the exporting of length function to SMT
2015-05-08 16:44:21 -07:00
Iavor S. Diatchki
5edb15ff9e
Merge branch 'master' of github.com:GaloisInc/cryptol
2015-05-08 15:47:58 -07:00
Iavor S. Diatchki
af3a8c1a87
Another take on improvements.
2015-05-08 15:40:58 -07:00
Thomas M. DuBuisson
7457f7d5aa
Example crash in HEAD (issue #214 )
...
This shows a type error in 2.2.3 but crashes HEAD.
2015-05-08 13:56:53 -07:00
Iavor S. Diatchki
2400c1d300
Split out expression simplification in a separate module
2015-05-08 13:40:35 -07:00
Iavor S. Diatchki
dd27e76753
An extra constraint for well-definedness of LenFromThen
2015-05-08 09:41:35 -07:00
Thomas M. DuBuisson
fd4ed49fe5
@yav Another TC example for #212
...
So I'm treating this issue as a running conversation centered around
this one topic, let me know if it gets old.
2015-05-07 23:24:41 -07:00
Iavor S. Diatchki
0708e37db6
Simplify things by reusing type-checker names in the solver.
...
This is simpler and more efficient.
2015-05-07 16:20:59 -07:00
Iavor S. Diatchki
b92c6f62fd
Merge branch 'master' of github.com:GaloisInc/cryptol
2015-05-07 11:39:51 -07:00
Iavor S. Diatchki
1b4eaa5379
Start on interval analysis
2015-05-07 11:39:43 -07:00
Iavor S. Diatchki
298aa8ea77
Checkpoint
2015-05-07 10:46:36 -07:00
Thomas M. DuBuisson
94abebdf01
Example type constraint width issues
2015-05-07 09:31:10 -07:00
Iavor S. Diatchki
2508f15b60
Split off in a separate module
2015-05-06 10:19:01 -07:00
Iavor S. Diatchki
9de771299d
Checkpoint.
2015-05-05 17:04:12 -07:00
Iavor S. Diatchki
e15cf8ce15
A bit more simplification of types.
2015-05-05 14:32:12 -07:00
Iavor S. Diatchki
c38608126b
Merge branch 'master' of github.com:GaloisInc/cryptol
2015-05-05 12:20:27 -07:00
Iavor S. Diatchki
0686a11a6b
Fix pretty printing bug
2015-05-05 12:20:08 -07:00
Iavor S. Diatchki
c32e79983e
Some more info about non-linear constraints.
...
Fixes #185
2015-05-05 12:19:55 -07:00
Brian Huffman
f95d3fadb6
Add regression test for issue #211 .
2015-05-05 11:49:12 -07:00
Brian Huffman
508af4e1ec
Make evaluation of splitAt a bit lazier. Fixes #211 .
2015-05-05 11:27:01 -07:00
Dylan McNamee
aa1565bac4
documentation fixes (tuples, spelling, other wibble)
2015-05-05 08:38:43 -07:00
Iavor S. Diatchki
aa4bd9c9b0
More debug info and comments only
2015-05-04 17:14:24 -07:00
Iavor S. Diatchki
c9bbf02a71
Fix incorrect import of PNeq.
2015-05-04 16:10:13 -07:00
Iavor S. Diatchki
52d2c666bd
Remove TypeCheck/Solver/Smtlib.hs
...
This should not be used
2015-05-04 15:58:55 -07:00
Adam C. Foltzer
4438329f76
Merge branch 'releases'
2015-04-30 15:31:14 -07:00
Adam C. Foltzer
b35dbbd403
Merge branch 'hotfix/2.2.3' into releases
2015-04-30 14:59:35 -07:00
Adam C. Foltzer
8007f97205
prepare for 7.10
...
- Move the stackage file so it's not on by default (will test with it on
Jenkins instead of all the time)
- Use CPP to remove unnecessary import warnings in 7.10
2015-04-30 13:53:24 -07:00
Adam C. Foltzer
a07980b652
bump version to 2.2.3
2015-04-30 13:53:24 -07:00
Brian Huffman
267a5d1486
Fix endian-ness bug in (^^)
introduced in b6b7e18adb
.
...
Fixes #203 .
2015-04-30 13:53:24 -07:00
Brian Huffman
43cd2df448
Bump sbv minimum version to 4.3
2015-04-30 13:53:24 -07:00
Brian Huffman
ba91e37a5d
Merge module Cryptol.Symbolic.BitVector into Cryptol.Symbolic.Value
2015-04-30 13:53:24 -07:00
Brian Huffman
c710239bdb
Adapt to further changes in SBV 4.3
2015-04-30 13:53:24 -07:00
Brian Huffman
8ddec0a2bc
Adapt to use new Data.SBV.Dynamic API in SBV-4.3
2015-04-30 13:53:24 -07:00
Adam C. Foltzer
10dcfd7243
Merge branch 'releases' into master from 2.2.2
...
We accidentally forgot to merge the 2.2.2 changes back into master, but
since they were mostly temporary fixes pending SBV updates, this didn't
cause any problems. This commit is just to be tidy :)
2015-04-30 13:51:51 -07:00
Adam C. Foltzer
0f04f0753d
Merge branch 'hotfix/2.2.2' into releases
2015-04-30 13:49:20 -07:00
Brian Huffman
4eb2d6734b
Fix fastTypeOf
to handle selectors in the presence of type synonyms
2015-04-22 16:19:51 -07:00
Iavor S. Diatchki
aeb5ef6e6f
Another way to represent simplification strucuture
2015-04-21 17:03:44 -07:00
Iavor S. Diatchki
37c3d9af06
Correct rule for LenFromThen x y w == 0
.
...
LenFromThen never returns an empty list
2015-04-21 14:22:28 -07:00
Iavor S. Diatchki
05ef4d410f
Merge branch 'master' of github.com:GaloisInc/cryptol
2015-04-20 17:07:36 -07:00
Iavor S. Diatchki
40b1407401
A few more special cases
2015-04-20 17:04:37 -07:00
Iavor S. Diatchki
3c12a27cb0
Fix minimization algorithm
2015-04-20 16:40:37 -07:00
Brian Huffman
7df1b1d08a
Fix endian-ness bug in (^^)
introduced in b6b7e18adb
.
...
Fixes #203 .
2015-04-20 14:45:11 -07:00
Iavor S. Diatchki
8c997d353d
Handle addition and subtraction together.
2015-04-20 13:50:52 -07:00
Iavor S. Diatchki
6d22474a9f
Merge branch 'master' of github.com:GaloisInc/cryptol
2015-04-20 11:53:18 -07:00
Iavor S. Diatchki
e9646b74bf
Add a flag for verbose constraint solving.
2015-04-20 11:51:49 -07:00
Dylan McNamee
f12f7d82eb
lg2 -> width
2015-04-20 10:00:25 -07:00