Commit graph

15740 commits

Author SHA1 Message Date
Leonardo de Moura
9e503c8bca chore: use `` 2021-01-01 10:15:38 -08:00
Leonardo de Moura
3a369938c8 feat: simpLambda 2021-01-01 09:52:01 -08:00
Leonardo de Moura
27f532c3bb chore: cleanup
`AppBuilder.lean` was still using the "manual auto-lifting" approach.
2021-01-01 09:16:48 -08:00
Leonardo de Moura
59762b727e refactor: move pre and fuel check to simpLoop 2021-01-01 09:01:39 -08:00
Leonardo de Moura
b756562d4a feat: simp beta/proj/recursor/matcher 2021-01-01 08:29:21 -08:00
Leonardo de Moura
8d83e71c5e refactor: use tail recursion at simp loop 2021-01-01 05:59:10 -08:00
Leonardo de Moura
4a06057410 feat: simp 2020-12-31 15:44:18 -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
e3d61480f8 fix: missing withFreshCache and cleanup elimMVarDeps 2020-12-31 09:47:05 -08:00
Sebastian Ullrich
4c3b247dee feat: server: report document symbol hierarchy 2020-12-31 15:00:59 +01:00
Sebastian Ullrich
00841033d8 chore: Hover.lean ~> LanguageFeatures.lean 2020-12-31 15:00:42 +01:00
Sebastian Ullrich
da0777ece6 chore: deactivate hover provider for now 2020-12-31 10:56:45 +01:00
Wojciech Nawrocki
d2a992adf7 feat: filter server request cancellations 2020-12-31 10:45:58 +01:00
Wojciech Nawrocki
19e395ded7 feat: begin work on mouse hovers in server 2020-12-31 10:45:58 +01:00
Wojciech Nawrocki
2333a3fbab fix: error responses in tests 2020-12-31 10:45:58 +01:00
Leonardo de Moura
bdd0eae625 chore: missing ) in trace message 2020-12-30 20:20:57 -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
Sebastian Ullrich
bcc84ce49b fix: cancellation
Interestingly this led to a deadlock in `edits.lean` using `-j2` (hardcoded because of #246), should maybe investigate this...
2020-12-30 22:34:10 +01:00
Sebastian Ullrich
8e3052fe8d feat: server: show "processing..." message 2020-12-30 22:34:10 +01:00
Sebastian Ullrich
a7e89f6d7e fix: leanpkg on Windows 2020-12-30 21:07:07 +01:00
Sebastian Ullrich
d58b02a0be fix: translate Windows error codes 2020-12-30 21:07:07 +01:00
Leonardo de Moura
6aab25b3cc chore: add missing ppSpace 2020-12-30 11:23:16 -08:00
Sebastian Ullrich
4c43f76b2a chore: use explicit cancellation token in server 2020-12-30 17:03:35 +01:00
Sebastian Ullrich
4a262fbc5b fix: remove auto-cancellation of IO tasks
Chained tasks were never auto-canceled, so let's be explicit everywhere
2020-12-30 17:03:09 +01:00
Sebastian Ullrich
91dac6ccff fix: race condition in Task.bind 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
Leonardo de Moura
bf88656288 feat: add binrel! parser
It is a helper macro for using binary relations such as `<` and `>`.
2020-12-29 15:11:28 -08:00
Sebastian Ullrich
9e237f8a12 feat: basic port of leanpkg 2020-12-29 14:42:48 -08:00
Sebastian Ullrich
6e33020da4 feat: version information API 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
64f7af9da5 feat: add SimpM 2020-12-29 14:21:02 -08:00
Sebastian Ullrich
b69060f350 fix: category quotations in term position 2020-12-29 11:16:34 +01: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
d0b8dc128b chore: annotate instance 2020-12-28 17:57:52 -08:00
Leonardo de Moura
479da7b914 feat: elaborate noindex! annotation 2020-12-28 17:49:54 -08:00
Leonardo de Moura
41308c9848 feat: add parser for annotating terms that should not be indexed 2020-12-28 17:21:33 -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
944cc567d0 chore: cleanup
Document why we have `shouldAddAsStar`.
2020-12-28 16:41:00 -08:00
Leonardo de Moura
a58b799bd6 chore: add instances for debugging purposes 2020-12-28 16:34:02 -08:00
Leonardo de Moura
539c43e153 fix: typo
closes #238
2020-12-28 15:55:25 -08:00
Leonardo de Moura
01b6f4f06b fix: incorrect shadowing of let mut variable 2020-12-28 15:52:11 -08:00
Leonardo de Moura
95ba7b59e8 fix: construct key before validateHint
`validateHint` may assign metavariables
2020-12-28 15:40:20 -08:00
Leonardo de Moura
9611e2d84e feat: add simp attribute 2020-12-28 08:20:28 -08:00
Sebastian Ullrich
ca3dd82ed4 doc: notations & precedence 2020-12-28 00:44:16 +01:00