Commit graph

2076 commits

Author SHA1 Message Date
Sebastian Ullrich
a6c319a25c chore: remove message_builder from time_task 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
b2e42a3ea6 chore: remove --json option 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
7282470f24 fix: Message.toString: use same formatting as C++ code 2021-01-12 09:51:14 -08:00
Leonardo de Moura
b6abf19656 fix: unfold abbreviations only
For example, we should not reduce types of the form `let x := ...; ...`
2021-01-12 08:11:04 -08:00
Leonardo de Moura
c1f3c724e1 fix: missing alternative 2021-01-12 07:44:31 -08:00
Leonardo de Moura
b5fdc5e364 fix: expand abbreviations at isClass? 2021-01-12 06:56:23 -08:00
Leonardo de Moura
1ebf69e163 fix: simple-match macro 2021-01-12 06:41:32 -08:00
Leonardo de Moura
36008271ea feat: ensure no unassigned metavariables in the declaration header when type is explicitly provided 2021-01-11 16:40:14 -08:00
Leonardo de Moura
8d0085ae31 feat: unification hints + type classes 2021-01-11 15:34:57 -08:00
Leonardo de Moura
ec7be1d801 feat: add processAssignment' 2021-01-11 15:22:10 -08:00
Leonardo de Moura
5b1b5bed0c chore: naming convention 2021-01-11 12:52:51 -08:00
Leonardo de Moura
84f78edb31 feat: store declaration ranges 2021-01-11 12:50:11 -08:00
Leonardo de Moura
93445848dd feat: use range of inductive/structure for auxiliary constructions 2021-01-11 11:54:07 -08:00
Leonardo de Moura
3388c63e11 fix: typo at ParamInfo.isExplicit 2021-01-11 07:08:17 -08:00
Leonardo de Moura
7dec568ef6 fix: missing withDeclName 2021-01-11 06:50:55 -08:00
Leonardo de Moura
300fcc3321 fix: bug at getStuckMVar? 2021-01-11 06:43:08 -08:00
Leonardo de Moura
be33ca69cd feat: environment extension for storing declaration ranges 2021-01-10 18:25:56 -08:00
Leonardo de Moura
c4259649ed refactor: add MapDeclarationExtension 2021-01-10 18:25:56 -08:00
Mateja Petrovic
00b11f267a
chore: typos 2021-01-10 22:42:54 +01:00
Leonardo de Moura
308c61027a feat: save doc strings
We can now document `let rec` too.
2021-01-10 07:13:33 -08:00
Leonardo de Moura
2c8001a7f3 feat: add DocString.lean 2021-01-10 07:13:33 -08:00
Leonardo de Moura
873634be7e feat: hierarchical InfoTree 2021-01-09 14:10:11 -08:00
Leonardo de Moura
796b57b73f chore: add copyright 2021-01-09 14:10:11 -08:00
Wojciech Nawrocki
238f5c1d70 feat: type info 2021-01-09 14:10:11 -08:00
Sebastian Ullrich
13dbe9c7c2 chore: remove dead code 2021-01-08 18:55:21 +01:00
Leonardo de Moura
b069b1174f fix: nasty interaction between macro scopes and auto bound implicit names
See issue #255
2021-01-08 06:33:30 -08:00
Leonardo de Moura
11c7ca40c3 fix: missing case at Match.lean 2021-01-07 17:38:22 -08:00
Leonardo de Moura
fcd73e72c1 feat: add getModuleOf
cc @Kha @Vtec234
2021-01-07 15:20:29 -08:00
Leonardo de Moura
d0b4bda739 chore: add cache 2021-01-06 06:21:55 -08:00
Leonardo de Moura
43f258af3f chore: cleanup 2021-01-05 17:23:50 -08:00
Leonardo de Moura
c2afb6fc24 chore: cleanup 2021-01-05 14:58:23 -08:00
Leonardo de Moura
5baa162713 chore: lean 3 behavior for apply 2021-01-05 12:29:29 -08:00
Leonardo de Moura
544a6cbb94 chore: cleanup 2021-01-05 12:29:29 -08:00
Sebastian Ullrich
626ff28e0e refactor: Wojciech tells me I should simply do it like this instead 2021-01-03 00:41:31 +01:00
Sebastian Ullrich
cf101fa5ae chore: that last commit shouldn't have worked, and yet apparently it did 2021-01-02 23:45:25 +01:00
Sebastian Ullrich
d576827e60 fix: wait for imports on document symbols request 2021-01-02 23:23:54 +01:00
Wojciech Nawrocki
66a715dde1
chore: tolerate more errors in server 2021-01-02 14:32:27 -05:00
Wojciech Nawrocki
1dd96bd004
fix: encode none optional JSON fields as missing
VSCode is unhappy otherwise
2021-01-02 14:13:22 -05:00
Leonardo de Moura
f0ac477d2e feat: add sanity checks 2021-01-01 18:31:28 -08:00
Leonardo de Moura
e517d72bee feat: simpForall 2021-01-01 17:24:56 -08:00
Leonardo de Moura
244b72befd feat: simpArrow 2021-01-01 17:15:15 -08:00
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
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