Commit graph

26741 commits

Author SHA1 Message Date
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
bd1b1af781 chore: simplify signature 2019-11-10 18:33:31 -08:00
Leonardo de Moura
269ae853b8 feat: add FunInfo 2019-11-10 18:26:57 -08:00
Leonardo de Moura
fd3786b585 chore: simplify FunInfo cache 2019-11-10 17:27:33 -08:00
Leonardo de Moura
20e8086fea feat: add Hashable (Option a) instance 2019-11-10 17:25:32 -08:00
Leonardo de Moura
25fed41446 feat: add forallBoundedTelescope 2019-11-10 17:12:13 -08:00
Leonardo de Moura
8653082133 fix: must take BinderInfo into account in the elaborator
This is not needed in the `TacticM` monad.
So, we should check if this is a bottleneck and the future.
2019-11-10 16:51:30 -08:00
Leonardo de Moura
82f521119c feat: add isPropAux and caches for FunInfo module, rename byUnfoldingReducibleOnly => usingTransparency, 2019-11-10 16:49:07 -08:00
Leonardo de Moura
c3756b49eb chore: fix tests 2019-11-10 09:04:23 -08:00
Sebastian Ullrich
17b8ac894a fix: parser error recovery should be silent and be able to skip more than one token 2019-11-10 09:01:43 -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
Sebastian Ullrich
3e74159e01 fix: import errors using --json 2019-11-10 09:01:43 -08:00
Leonardo de Moura
a21a024172 feat: add Meta/DefEq.lean 2019-11-10 08:55:26 -08:00
Leonardo de Moura
5ee39220ac chore: update stage0 2019-11-10 08:05:40 -08:00
Leonardo de Moura
41fccd976b refactor: add Lean.Meta directory for MetaM monad 2019-11-10 08:04:00 -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
1dd8770b3a feat: forallTelescope and forallTelescopeReducing 2019-11-09 21:10:12 -08:00
Leonardo de Moura
c62355e26b feat: inferType for let expressions 2019-11-09 20:44:27 -08:00
Leonardo de Moura
cff9e4192d feat: add inferLambdaType 2019-11-09 20:33:29 -08:00
Leonardo de Moura
c44517c876 chore: fix tests 2019-11-09 20:32:28 -08:00
Leonardo de Moura
00131b14f6 feat: add MetaM.mkForall and MetaM.mkLambda 2019-11-09 20:23:17 -08:00
Leonardo de Moura
981cd44eaa feat: add lambdaTelescope 2019-11-09 20:20:18 -08:00
Daniel Selsam
f574cdf5e0 feat: fresh contexts for each new subgoal 2019-11-09 15:51:23 -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
Sebastian Ullrich
1442c1b377 feat: call linters on non-mutual definitions 2019-11-09 15:43:37 -08:00
Sebastian Ullrich
dac6f273b5 feat: simplistic linter framework 2019-11-09 15:43:37 -08:00
Sebastian Ullrich
da69beac0a feat: add --plugin for loading shared libraries 2019-11-09 15:41:13 -08:00
Sebastian Ullrich
80871ee394 chore: remove outdated macOS cmake setup 2019-11-09 15:41:13 -08:00
Sebastian Ullrich
4281a50297 fix: leanc: use cc when compiling a .c file 2019-11-09 15:41:13 -08:00
Leonardo de Moura
c33a1f977f feat: ensure isClass unfolds only reducible constants 2019-11-09 14:02:11 -08:00
Leonardo de Moura
d72b22572d feat: update vector of local instances 2019-11-09 13:49:27 -08:00
Leonardo de Moura
adcb9091ef fix: avoid redundant let-decls 2019-11-09 12:32:31 -08:00
Leonardo de Moura
1e065d495b feat: expose hasLooseBVar 2019-11-09 12:29:50 -08:00
Leonardo de Moura
3592f6d34d chore: withCacheScope => savingCache 2019-11-09 12:17:46 -08:00
Leonardo de Moura
c47dc18d63 chore: update stage0 2019-11-09 12:08:39 -08:00
Leonardo de Moura
5d3b1f09d2 chore: add TODO 2019-11-09 12:07:09 -08:00
Leonardo de Moura
1eccb19401 feat: add inferForallType 2019-11-09 12:00:45 -08:00
Leonardo de Moura
d54880b6d1 feat: helper functions for debugging, handling metavars, creating telescopes, extract universe level from types, checking whether type is a class, and declaring locals 2019-11-09 11:37:32 -08:00
Leonardo de Moura
d10e08236f feat: add finally 2019-11-09 07:28:12 -08:00
Leonardo de Moura
f063bf4a40 chore: update stage0 2019-11-08 16:24:17 -08:00
Leonardo de Moura
e5b77d4de8 feat: combine InferType and TypeUtil into Meta 2019-11-08 16:20:11 -08:00
Leonardo de Moura
1ff782334b chore: remove option for disabling zeta 2019-11-08 14:35:43 -08:00
Leonardo de Moura
791250fb9b chore: remove unfold_lemmas option
We should use `transparency_mode::All` instead.
2019-11-08 10:07:27 -08:00
Leonardo de Moura
dce1de3905 chore: remove transparency_mode::None 2019-11-08 10:04:06 -08:00
Leonardo de Moura
975188cee1 fix: typo 2019-11-08 10:02:44 -08:00
Leonardo de Moura
086dd2c362 chore: remove transparency_mode::Instances 2019-11-08 09:54:03 -08:00