Commit graph

15788 commits

Author SHA1 Message Date
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
Sebastian Ullrich
02a4383afb fix: stdlib.make 2021-01-10 18:10:22 +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
4b7f09fbf1 fix: specify -no-pie on Linux 2021-01-09 23:02:48 +01:00
Sebastian Ullrich
db2613cead fix: leanc should not depend on ccache or cmake g++
use e.g. `LEAN_CXX=ccache clang++` to re-enable
2021-01-09 23:02:48 +01: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
ae61f2ac67 chore: remove dead code 2021-01-05 18:36:27 -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
Leonardo de Moura
403699f5e4 fix: elim_array_cases 2021-01-04 16:10:49 -08:00
Sebastian Ullrich
58bcce401c chore: revert release bit 2021-01-04 15:44:03 +01:00
Sebastian Ullrich
34cf4bc3ff chore: fix LEAN_SPECIAL_VERSION_DESC 2021-01-04 15:44:03 +01:00
Sebastian Ullrich
efbc283ad6 feat: release 4.0.0-M1 2021-01-04 14:54:53 +01:00
Sebastian Ullrich
db0d2e45fe doc: dependencies & editors 2021-01-03 21:23:52 +01: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
Sebastian Ullrich
7b3e799a14 fix: leanpkg: lean version string 2021-01-02 22:21:31 +01:00
Sebastian Ullrich
5aab1cadc0 chore: remove debug print 2021-01-02 22:00:30 +01:00
Sebastian Ullrich
eaf368b06b chore: install leanpkg 2021-01-02 22:00:30 +01:00
Sebastian Ullrich
a9eaba0869 chore: leanpkg: always use master as default upstream branch, not version string
If anyone actually liked this behavior, please reach out
2021-01-02 22:00:30 +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