Leonardo de Moura
|
f4433f3147
|
feat: add Alternative (StateRefT' ω σ m)
|
2021-08-10 14:27:05 -07:00 |
|
Leonardo de Moura
|
9cd729265e
|
fix: missing instantiateMVars
|
2021-08-10 10:04:16 -07:00 |
|
Leonardo de Moura
|
9fe1cd1026
|
chore: modify default value for option structureDiamondWarning
We still have some TODO items, but structure diamond support is
already useful in practice.
|
2021-08-10 09:24:53 -07:00 |
|
Leonardo de Moura
|
50deae9b8b
|
feat: copy binderInfo and inferMod from original field
|
2021-08-10 09:12:58 -07:00 |
|
Leonardo de Moura
|
bc26a9b527
|
feat: improve copyNewFieldsFrom
|
2021-08-10 09:08:35 -07:00 |
|
Leonardo de Moura
|
af1cecc641
|
feat: better error message
|
2021-08-10 07:46:15 -07:00 |
|
Leonardo de Moura
|
9e5998baf0
|
feat: register instance/reducible attribute for structuer diamond coercions
|
2021-08-10 07:16:59 -07:00 |
|
Leonardo de Moura
|
0f184a8c93
|
fix: binder annotation for class diamond coercions
|
2021-08-10 06:59:28 -07:00 |
|
Sebastian Ullrich
|
0b3e548672
|
fix: syntax tree returned by syntax elaborator
|
2021-08-10 12:02:04 +02:00 |
|
Leonardo de Moura
|
bccad8edb1
|
feat: add coercion to parent structure whose fields having been copied
|
2021-08-09 19:01:08 -07:00 |
|
Leonardo de Moura
|
97664de3ee
|
fix: diamonds with dependent fields
|
2021-08-09 19:01:08 -07:00 |
|
Leonardo de Moura
|
e8403f89b0
|
fix: ensure field names are atomic
|
2021-08-09 19:01:08 -07:00 |
|
Leonardo de Moura
|
6f318ddde3
|
feat: save binderInfo and inferMod ad registerStructure
|
2021-08-09 19:01:08 -07:00 |
|
Leonardo de Moura
|
5ef72057e9
|
feat: save additional information at StructureFieldInfo
|
2021-08-09 19:01:08 -07:00 |
|
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 |
|