Leonardo de Moura
48b855bfe5
chore: fix tests
2021-03-10 18:45:22 -08:00
Leonardo de Moura
0068732751
test: benchmarks for simp
2021-03-09 15:09:51 -08:00
Leonardo de Moura
4c82f5c688
test: perf experiments
2021-03-09 13:42:47 -08:00
Leonardo de Moura
b26c7087fe
chore: increase test size
2021-03-04 17:27:24 -08:00
Leonardo de Moura
2b78de650a
test: experiment
2021-03-04 14:48:49 -08:00
Leonardo de Moura
5626b537c7
chore: move nondet to Std/Control/Nondet.lean
2021-03-02 07:57:25 -08:00
Leonardo de Moura
533731d61e
chore: fix nondet
2021-03-02 07:38:44 -08:00
Leonardo de Moura
d71aab5dc4
fix: allow bigger ctor objects
...
`IR/Checker.lean` is now also checking the maximum number of fields
and scalar size
2021-01-29 18:23:38 -08:00
Leonardo de Moura
a0ed2d1738
chore: update tests
2021-01-27 15:17:51 -08:00
Sebastian Ullrich
8a02dfec4f
feat: subsume variables under variable
...
/cc @leodemoura
2021-01-22 14:36:05 +01:00
Leonardo de Moura
7ae861f6bd
test: simplify
2021-01-21 18:32:23 -08:00
Leonardo de Moura
d6eb5a9ff2
feat: generate sizeOf equality lemmas for constructors
...
TODO: support for nested inductive types.
2021-01-21 17:44:15 -08:00
Leonardo de Moura
0bce549d92
test: remove code that is being generated automatically
2021-01-21 10:35:22 -08:00
Leonardo de Moura
dc142cff13
test: sizeOf experiments
2021-01-18 17:21:03 -08:00
Leonardo de Moura
731ca49088
chore: cleanup
2020-12-13 15:51:34 -08:00
Leonardo de Moura
d6ba0592d1
chore: remove dead code
2020-12-13 15:50:08 -08:00
Leonardo de Moura
e9a1c3ac44
test: deriving experiment
2020-12-12 15:26:55 -08:00
Leonardo de Moura
ce1baa5f39
test: deriving command experiments
2020-12-11 18:34:17 -08:00
Leonardo de Moura
2a5b18fde4
test: add nondet example
2020-10-29 16:33:40 -07:00
Leonardo de Moura
898a08a0c1
chore: avoid Has prefix in type classes
...
closes #203
2020-10-27 18:29:19 -07:00
Leonardo de Moura
10c32fcf94
chore: HasToString => ToString
2020-10-27 16:11:48 -07:00
Leonardo de Moura
db9e390b4d
chore: remove new_frontend from tests
2020-10-25 09:16:38 -07:00
Leonardo de Moura
21d90afa43
feat: add ForInStep type
2020-10-03 15:16:45 -07:00
Leonardo de Moura
4fae8588fd
test: optional ';'
2020-09-28 17:11:00 -07:00
Leonardo de Moura
db7633e156
test: forIn using . notation instead of type classes
2020-09-27 08:27:05 -07:00
Leonardo de Moura
e30249c2d2
chore: add workarounds to forIn experiment
2020-09-27 08:20:58 -07:00
Leonardo de Moura
2754d78749
proto: type classes for the for in notation
2020-09-25 18:48:23 -07:00
Sebastian Ullrich
95e24371f5
test: final webserver demo
2020-06-25 10:48:38 +02:00
Leonardo de Moura
43df7b75cb
chore: PLDI examples
2020-06-17 21:28:37 -07:00
Leonardo de Moura
0c6d6f1ff1
chore: fix test
2020-06-17 21:28:37 -07:00
Sebastian Ullrich
fff0cdc0ec
test: Webserver: maybe-final version
2020-06-17 17:37:08 +02:00
Sebastian Ullrich
3c547db67c
test: Webserver: introduce antiquotations for custom parsers, remove Prelim namespace
...
/cc @leodemoura
2020-06-17 11:54:41 +02:00
Leonardo de Moura
0c089b8cbd
feat: elaborate syntaxAbbrev as a definition
...
@Kha I elaborated it as a definition. It works because we can now
reference Parser declarations in `syntax` command.
This change allowed us to replace `p.getArg 0` with `p` in the
`Websever` demo.
2020-06-16 15:43:17 -07:00
Leonardo de Moura
3e028e3812
feat: allow syntax command to use existing parser declarations
...
@Kha Note that I had to change the pattern. After I replaced,
```
syntax text : child
```
with
```
syntax Prelim.text : child
```
Thus, I wrote
```
`(child|$t:text)
```
as
```
`(child|$t)
```
It works for this example, but it may be a problem in general.
2020-06-16 15:08:23 -07:00
Sebastian Ullrich
ade961bcf3
test: webserver demo
2020-06-16 22:10:43 +02:00
Sebastian Ullrich
e6b988a10a
feat: add natural language demo
2020-06-13 16:20:23 +02:00
Leonardo de Moura
17b6957f6c
chore: fix tests
2020-05-26 15:05:01 -07:00
Leonardo de Moura
9c0bd9dd41
chore: fix tests
2020-05-26 15:05:00 -07:00
Sebastian Ullrich
b1d9e37d66
test: add re-elaborating delaborator PoC to playground
2020-03-19 17:18:46 -07:00
Leonardo de Moura
434c148800
test: add termElab attribute test
2020-01-01 14:16:49 -08:00
Leonardo de Moura
6c04a4bcc3
feat: mkElabAttribute
2020-01-01 10:59:29 -08:00
Leonardo de Moura
dd4bed3c6f
test: simple termParser attribute test
2019-12-31 17:03:11 -08:00
Leonardo de Moura
c6048f0f94
feat: generalize binInsert
2019-11-23 08:20:20 -08:00
Leonardo de Moura
886eb3f51f
test: add foldUnify and getUnify
...
These are the primitives we need for retrieving candidate instances.
2019-11-23 06:24:09 -08:00
Leonardo de Moura
30c05416a4
test: add foldMatch and getMatch
...
These are the primitives we need for retrieving candidate simp lemmas.
2019-11-23 06:24:03 -08:00
Leonardo de Moura
ad837950d9
test: discrimination tree prototype
2019-11-22 18:41:07 -08:00
Sebastian Ullrich
3dcd4febd9
feat: make LEAN_PATH a mapping from package names to root dirs, remove C++ impl
2019-11-20 16:39:53 +01:00
Leonardo de Moura
38d9a7c063
test: interpreter bug
...
@Kha Could you please take a look at this repro?
When I use the compiler,
```
./run.sh usizeBug.lean
```
I get the expected answer: `2`.
When I use the interpreter,
```
../../bin/lean --run usizeBug.lean
```
I get `1`. I found the problem today, and managed to isolate the
problem to this small repro.
2019-11-18 18:12:33 -08:00
Leonardo de Moura
524872d68a
chore: avoid Expr constructors in tests
2019-11-14 16:54:36 -08:00
Sebastian Ullrich
9b55687597
fix: show #eval errors
2019-10-18 13:10:13 +02:00