Commit graph

24104 commits

Author SHA1 Message Date
Leonardo de Moura
f67501a890 chore: cleanup 2021-08-09 19:01:08 -07:00
Leonardo de Moura
3f3e5d9dcb fix: private field + default value bug 2021-08-09 19:01:08 -07:00
Leonardo de Moura
3896c44b55 chore: fix incorrect comment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2021-08-09 19:01:08 -07:00
Leonardo de Moura
fdce7a99e1 feat: structure diamonds basic support
See TODO in the new comments.
2021-08-09 19:01:08 -07:00
Leonardo de Moura
56c2f595c7 feat: add getFieldType 2021-08-09 19:01:08 -07:00
Daniel Selsam
0118c47117 refactor: separate pp.funBinderTypes and pp.piBinderTypes 2021-08-09 16:13:40 +02:00
François G. Dorais
358a129d78 fix: protect rfl 2021-08-07 13:25:54 -07:00
Leonardo de Moura
9cc94296e5 chore: remove staging workaround theorems 2021-08-07 12:52:31 -07:00
Leonardo de Moura
a821dcbff2 chore: enforce naming convention for theorems
see issue #402

fix: `ElabTerm.lean`
2021-08-07 12:48:38 -07:00
Leonardo de Moura
a863f1b8a3 fix: fixes #616 2021-08-07 07:29:54 -07:00
Leonardo de Moura
8a84532760 feat: add PEmpty
closes #537
2021-08-06 19:18:22 -07:00
Leonardo de Moura
6e2b7189e8 fix: fixes #242 2021-08-06 18:39:55 -07:00
Leonardo de Moura
d482212a1c feat: add Meta.abstract
closes #474
2021-08-06 18:19:06 -07:00
Leonardo de Moura
3293e9ef08 chore: fix module comments, they must occur after the imports 2021-08-06 14:02:42 -07:00
Leonardo de Moura
5796b93134 fix: support for /-! at whitespace 2021-08-06 13:52:32 -07:00
Leonardo de Moura
dca9278e09 feat: add elabModuleDoc 2021-08-06 13:45:36 -07:00
Leonardo de Moura
3d485bf375 feat: add moduleDocExt 2021-08-06 13:40:54 -07:00
Leonardo de Moura
8d5964ce19 feat: add module doc parser 2021-08-06 13:17:56 -07:00
Leonardo de Moura
1be41f2adb chore: fix stdlib 2021-08-06 12:58:58 -07:00
Leonardo de Moura
76cc99179d fix: fixes #370 2021-08-06 12:52:23 -07:00
Leonardo de Moura
a230fe2d06 fix: forallMetaTelescope issue
This commit incorporates the fix at PR #612, and clean up
`Meta/Basic.lean` using Lean 4 features.
2021-08-06 09:47:10 -07:00
Sebastian Ullrich
01985f4b4c fix: actually interpret imported anonymous [init] decls
Fixes #588
2021-08-06 09:46:46 -07:00
Daniel Selsam
c6e1e356ab perf: trace messages should disable pp.analyze 2021-08-06 18:30:40 +02:00
Daniel Selsam
34a27f2d56 fix: pp.analyze strict implicits 2021-08-06 17:02:00 +02:00
Daniel Selsam
14177fbaf6 feat: misc pp.analyze improvements 2021-08-06 16:51:14 +02:00
Leonardo de Moura
84b155cfc0 chore: add docstring 2021-08-05 18:12:14 -07:00
Leonardo de Moura
56320cb84f chore: naming convention and cleanup 2021-08-05 16:23:21 -07:00
Leonardo de Moura
bcfc927799 fix: fixes #602 2021-08-05 16:14:04 -07:00
Leonardo de Moura
789c7073dc fix: avoid eager TC synthesis at isDefEq 2021-08-05 12:09:22 -07:00
Leonardo de Moura
4dbb3e6db1 fix: add workaround to prevent code explosion at deriving for FromJson
fixes #569
2021-08-05 06:58:07 -07:00
Sebastian Ullrich
9ef2345aec perf: enforce hash map load factor 2021-08-05 06:28:24 -07:00
Wojciech Nawrocki
3bbf19a404 feat: FromToJson for nested inductives 2021-08-05 06:27:57 -07:00
Sebastian Ullrich
07d1735ea2 feat: borrow inference: preserve mutual tail calls
Fixes #603
2021-08-05 06:26:06 -07:00
Daniel Selsam
4cdfbde93b fix: pp.analyze also bottom-up the trivials 2021-08-05 08:51:05 +02:00
Daniel Selsam
1a815a4339 perf: pp.analyze add quick check 2021-08-05 08:51:05 +02:00
Daniel Selsam
b86e9a3a27 fix: pp.analyze bottom-up only checks unknown types 2021-08-05 08:51:05 +02:00
Leonardo de Moura
1f0e0a7452 doc: document alternative design option 2021-08-04 20:16:58 -07:00
Leonardo de Moura
72e7bf4999 fix: synthPending bug 2021-08-04 20:07:06 -07:00
Leonardo de Moura
aff28f51cd fix: fixes #604 2021-08-04 17:19:17 -07:00
Leonardo de Moura
0869bbe558 fix: missig registerMVarErrorImplicitArgInfo for postponed instance mvars 2021-08-04 16:58:00 -07:00
Leonardo de Moura
91b60cbb22 chore: indentation 2021-08-04 16:50:57 -07:00
Leonardo de Moura
61cdf93750 fix: missing registerMVarErrorImplicitArgInfo 2021-08-04 16:09:18 -07:00
Sebastian Ullrich
4b87e69ff5 fix: deletion on Windows for real 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
7e2cf59aaf chore: deleting open .olean files on Windows 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
3c91c9e874 feat: try memory-mapping .olean files on Windows 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
0aaab9e024 chore: remove file_lock.h 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
e4ef665c54 feat: atomically (re-)create .olean files 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
2e8075b015 chore: raise default profiler.threshold to 100ms 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
fbdcaab009 feat: show number of mmap-ed modules in --stats 2021-08-04 16:40:57 +02:00
Sebastian Ullrich
5a71a5b18a chore: lean.mk: create .olean atomically 2021-08-04 16:40:57 +02:00