Leonardo de Moura
15c052d44a
feat: basic simpLet
2021-01-01 15:54:29 -08:00
Leonardo de Moura
493d089878
feat: add support for simp { contextual := true }
2021-01-01 15:39:41 -08:00
Leonardo de Moura
e742dd1348
feat: allow user to set Simp.Config at simp
2021-01-01 15:12:18 -08:00
Leonardo de Moura
ac394e4fdf
fix: simp at hypotheses and using hypotheses
2021-01-01 12:05:38 -08:00
Leonardo de Moura
ce09e795b9
feat: finalizeProof at rewrite step
2021-01-01 11:33:34 -08:00
Leonardo de Moura
3a369938c8
feat: simpLambda
2021-01-01 09:52:01 -08:00
Leonardo de Moura
b756562d4a
feat: simp beta/proj/recursor/matcher
2021-01-01 08:29:21 -08:00
Leonardo de Moura
57e05af9da
feat: add simp benchmark
2020-12-31 15:46:56 -08:00
Leonardo de Moura
e2c8b1694b
feat: improve subst
2020-12-31 10:54:55 -08:00
Leonardo de Moura
698908584b
fix: revert
2020-12-31 09:47:05 -08:00
Leonardo de Moura
90428cc09b
feat: expand let-decls at decide!
2020-12-31 09:47:05 -08:00
Leonardo de Moura
a32c45a515
feat: simp infrastructure
2020-12-30 18:00:04 -08:00
Leonardo de Moura
34f6f8ef5d
feat: pre/post simp lemmas
2020-12-30 13:46:14 -08:00
Leonardo de Moura
03cc69f1db
feat: track permutation simp lemmas
2020-12-30 13:46:14 -08:00
Leonardo de Moura
6aab25b3cc
chore: add missing ppSpace
2020-12-30 11:23:16 -08:00
Sebastian Ullrich
48361d92dd
chore: increase robustness of stdlib benchmark?
2020-12-30 17:01:05 +01:00
Leonardo de Moura
eba3983658
feat: use binrel! gadget to define >, <, ... notations
...
It has better support for applying coercions.
2020-12-29 16:53:10 -08:00
Leonardo de Moura
51e2db9850
feat: elaborate binrel! macro
2020-12-29 16:37:43 -08:00
Sebastian Ullrich
9e237f8a12
feat: basic port of leanpkg
2020-12-29 14:42:48 -08:00
Leonardo de Moura
d9325ca53a
feat: improve redundant alternative error message
2020-12-29 14:39:45 -08:00
Leonardo de Moura
39e374e7cd
fix: improve error message at invalid match-expr
...
The location is not perfect because we only have a `ref` for the whole alternative.
2020-12-29 14:21:02 -08:00
Leonardo de Moura
8b17d4e2d6
feat: cdot notation for tuples
...
They are morally a parenthesized term.
2020-12-28 18:08:23 -08:00
Leonardo de Moura
479da7b914
feat: elaborate noindex! annotation
2020-12-28 17:49:54 -08:00
Leonardo de Moura
7165d50c93
feat: simp lemmas of the form not p
2020-12-28 17:03:32 -08:00
Leonardo de Moura
5a772e58d3
test: simp extension
2020-12-28 16:52:15 -08:00
Leonardo de Moura
4f4c8f45cd
chore: fix tests
2020-12-28 16:27:38 -08:00
Leonardo de Moura
19a3f8e5e5
chore: fix typo
2020-12-28 09:01:23 -08:00
Sebastian Ullrich
4a22854b1e
chore: make server tests fixable
2020-12-27 15:05:29 +01:00
Sebastian Ullrich
bbafd80322
chore: token antiquotations: return/take full Syntax (but only use head info of it)
...
/cc @leodemoura
2020-12-26 23:54:46 +01:00
Sebastian Ullrich
837d6a1529
chore: fix test
2020-12-26 21:12:51 +01:00
Leonardo de Moura
4450b8567d
fix: sigma notation precedence
2020-12-26 09:35:40 -08:00
Leonardo de Moura
01f8127c16
fix: position information at expandDoIf?
2020-12-26 08:26:54 -08:00
Wojciech Nawrocki
a2760d0144
test: multi-process server
2020-12-26 13:22:47 +01:00
Leonardo de Moura
48b92a4486
fix: error message and test
2020-12-25 10:03:42 -08:00
Leonardo de Moura
f05cbd1365
test: add test for "broken for"
2020-12-25 10:03:42 -08:00
Leonardo de Moura
b855d79718
feat: filter "failed to synthesize ..." errors when there are other errors
2020-12-25 10:03:42 -08:00
Sebastian Ullrich
b2fda9b9ae
chore: disable randomly failing test
...
/cc @mhuisi @Vtech234
2020-12-25 18:48:58 +01:00
Sebastian Ullrich
c3c27f8dd3
feat: lift restriction on number of antiquotations in splice
...
/cc @leodemoura
2020-12-25 18:41:03 +01:00
Sebastian Ullrich
4878f0d13e
fix: delaborator: correctly toggle individual when setting pp.all
2020-12-25 16:12:04 +01:00
Leonardo de Moura
480462fa24
feat: improve {...} error message
2020-12-24 09:35:55 -08:00
Leonardo de Moura
207b8a8c37
chore: fix test
2020-12-24 09:23:05 -08:00
Leonardo de Moura
87207030ce
test: pretty printing if-then-else
...
@Kha We will probably have to write a handwritten formatter in the
future. The new test shows some limitations with `do`, `else if`, ...
where we want the output
```
if x == 0 then do
IO.println "foo"
IO.println "zero"
else if x % 2 == 0 then do
IO.println x
IO.println "even"
else do
IO.println x
IO.println "odd"
```
2020-12-24 08:40:30 -08:00
Sebastian Ullrich
f42bd8f693
chore: deactivate server tests for now
2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
1b9ae69729
feat: port basic server tests
2020-12-23 20:00:36 +01:00
Leonardo de Moura
ef51087138
feat: do not log error messages with synthetic sorry's
...
Before this commit, only error messages caught at `elabTerm` were
filtered.
cc @Kha
2020-12-23 10:52:27 -08:00
Leonardo de Moura
edb51b8977
test: implicit lambdas in action
2020-12-23 10:24:00 -08:00
Leonardo de Moura
74686a149a
test: add structure field default value test
2020-12-23 08:35:27 -08:00
Leonardo de Moura
e74ba14f4c
feat: modify structSimpleBinder parser
...
@Kha It felt odd that we can write
```
map f x := ...
```
in instances, but we had to write
```
map (f x) := ...
```
when setting the field default value in a class.
2020-12-23 08:23:14 -08:00
Leonardo de Moura
7720b843bb
feat: allow users to use binders when setting default value for parent fields
2020-12-23 08:12:29 -08:00
Leonardo de Moura
df03130927
feat: improve error message
2020-12-22 17:50:26 -08:00