Sebastian Ullrich
ab42cffad2
refactor: rename all Default.lean files except for Init/Default.lean
2019-11-19 13:52:21 +01:00
Leonardo de Moura
0f2172fab5
chore: fix tests
2019-11-18 20:02:41 -08:00
Leonardo de Moura
68bcb4bf96
chore: fix tests
2019-11-18 19:54:05 -08: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
352e568b15
doc: zmod example
2019-11-18 12:45:53 -08:00
Leonardo de Moura
033f781724
chore: fix tests
2019-11-17 08:53:18 -08:00
Leonardo de Moura
1d9a76ae45
chore: fix tests
...
Remark: weird discrepancies in the new typeclass module.
Ignoring for now since it was not integrated yet.
2019-11-16 12:19:27 -08:00
Leonardo de Moura
d9f3b4bf63
refactor: remove Expr.mvar hidden field
2019-11-15 10:04:42 -08:00
Sebastian Ullrich
5c286ca6fd
chore: bench cross suite: move default.nix and update README
2019-11-15 16:39:14 +01:00
Sebastian Ullrich
425230abc4
chore: fix cross bench suite
2019-11-15 16:39:14 +01:00
Sebastian Ullrich
a961e1314a
chore: cross bench suite: fix fatal laziness in rbmap_checkpoint.hs
2019-11-15 16:39:14 +01:00
Sebastian Ullrich
ef9150cacd
chore: cross bench suite: add Strict Haskell category (disabled by default)
...
No change to slightly faster in general, except for a significant speedup in rbmap_10 that should be fixed in the lazy version
2019-11-15 16:39:00 +01:00
Leonardo de Moura
524872d68a
chore: avoid Expr constructors in tests
2019-11-14 16:54:36 -08:00
Leonardo de Moura
c768a24735
chore: mkApp => mkAppN
...
We are goint to use `mkApp` for creating unary applications
2019-11-14 15:44:17 -08:00
Leonardo de Moura
ed43f4a901
doc: document problems with the variable and variables commands
2019-11-13 20:25:04 -08:00
Leonardo de Moura
0193ead596
test: add corner case
2019-11-12 13:59:24 -08:00
Leonardo de Moura
28d7fe3f49
test: add etaExpanded? tests
2019-11-12 12:24:31 -08:00
Leonardo de Moura
3af65381bd
feat: add isPropQuick
...
It is used to speedup `isProp`.
2019-11-11 20:25:29 -08:00
Leonardo de Moura
01bd502db1
test: add more tests for MetaM
2019-11-11 12:09:10 -08:00
Leonardo de Moura
7469146b0d
test: add tests for MetaM
2019-11-11 11:30:22 -08:00
Sebastian Ullrich
f2bc0b1c84
chore: add parser benchmark to speedcenter suite
2019-11-11 10:31:46 +01:00
Sebastian Ullrich
5a29922b6f
chore: replace broken frontend benchmark with repeated parser benchmark on pinned Core.lean
2019-11-11 10:31:46 +01:00
Sebastian Ullrich
389f32e1c8
chore: bench/default.nix: fix and improve Lean building
2019-11-11 10:31:39 +01:00
Leonardo de Moura
c3756b49eb
chore: fix tests
2019-11-10 09:04:23 -08:00
Sebastian Ullrich
1f601708e4
fix: print messages to stderr
...
This ensures that errors during dependency resolution in the Makefile actually show up
2019-11-10 09:01:43 -08:00
Daniel Selsam
bff5e4ed37
feat: solves mvars in reverse order during tabled tc
2019-11-09 21:15:34 -08:00
Leonardo de Moura
c44517c876
chore: fix tests
2019-11-09 20:32:28 -08:00
Daniel Selsam
9ce13e93c9
feat: allow metas in intermediate tc answers
2019-11-09 15:49:39 -08:00
Daniel Selsam
0bab51b66e
feat: solve typeclass subgoals in reverse order
...
Some instance arguments may still need to be reversed.
2019-11-09 15:47:50 -08:00
Sebastian Ullrich
aa557a9d5a
test: trivial linter test
2019-11-09 15:43:37 -08:00
Leonardo de Moura
1e065d495b
feat: expose hasLooseBVar
2019-11-09 12:29:50 -08:00
Leonardo de Moura
6d358a5dee
test: add test to demonstrate why it is useful to include instances in the PersistentHashMap type
2019-11-08 08:28:31 -08:00
Leonardo de Moura
5d9f3f6fba
chore: add ambiguity comment
2019-11-08 08:28:31 -08:00
Daniel Selsam
19ec5cda13
doc: typeclass loop issue and suggestions
2019-11-08 08:28:26 -08:00
Sebastian Ullrich
68a126be3f
chore: update benchmark packages
2019-11-07 17:47:58 +01:00
Daniel Selsam
3b6755dea1
doc: namespace A.B vs namespace A namespace B
2019-11-06 10:16:33 -08:00
Daniel Selsam
7cddeaa0d3
doc: tc triggers nested tc, potentially with tmp metavar leak
2019-11-06 10:15:05 -08:00
Leonardo de Moura
41e574d6cc
chore: fix tests
2019-11-05 14:44:05 -08:00
Leonardo de Moura
f8c5face56
chore: update
2019-11-02 12:12:27 -07:00
Leonardo de Moura
638ceebab4
feat: helper functions
2019-11-01 17:07:26 -07:00
Daniel Selsam
5d4be4fd3c
doc: elabissue for simple namespace issue
2019-10-31 21:08:12 -07:00
Leonardo de Moura
ec71dd256f
chore: fix test
2019-10-31 21:01:31 -07:00
Leonardo de Moura
1933d70aae
doc: explain why elaborator fails and propose alternative elaboration strategies
...
cc @dselsam @kha @rwbarton
2019-10-31 08:50:01 -07:00
Daniel Selsam
6cb4442349
doc: elabissue for overloads + list coercion
2019-10-31 08:04:00 -07:00
Leonardo de Moura
2f4a1f1239
test: universe level normalization function
2019-10-30 13:19:58 -07:00
Leonardo de Moura
57cdda5821
chore: trying fix
2019-10-29 13:37:38 -07:00
Sebastian Ullrich
5ce9ca81da
chore: revert "test: capture stderr as well"
...
This reverts commit 2866824b51 .
2019-10-29 19:55:48 +01:00
Leonardo de Moura
453b6f94c3
test: add synthetic metavar test
2019-10-28 19:59:51 -07:00
Leonardo de Moura
05f0c83253
test: add new test for MetavarContext.mkLambda
2019-10-28 19:49:29 -07:00
Sebastian Ullrich
b6d96dc0f4
doc: elabissue for underapplied proj notation
2019-10-28 18:07:22 -07:00