Leonardo de Moura
874aadd7e3
chore: update namedPattern signature
...
Remark: It is not being used yet.
2022-01-17 17:21:18 -08:00
Leonardo de Moura
6631f1d5b3
chore: use namedPatternOld
2022-01-17 17:18:03 -08:00
Leonardo de Moura
0f217eb4c1
chore: prepare to change namedPattern signature
2022-01-17 17:13:09 -08:00
Leonardo de Moura
be4c86f780
chore: remove temporary workarounds
2022-01-17 17:03:15 -08:00
Leonardo de Moura
f8653a8cb7
chore: add temporary workaround
2022-01-17 16:58:39 -08:00
Leonardo de Moura
2c690926cf
feat: update namedPattern parser
2022-01-17 16:49:20 -08:00
Leonardo de Moura
de11f7e1bc
feat: add sizeOf spec lemmas as simp theorems
2022-01-17 16:14:38 -08:00
Leonardo de Moura
8f47043aee
chore: add trace message for sizeOf theorem
2022-01-17 15:42:42 -08:00
Gabriel Ebner
ab276a5ae3
chore: show declaration with sorry in #eval
2022-01-17 13:18:22 -08:00
Leonardo de Moura
999e125e3f
feat: mark arguments such as {_ : BEq α} as specialization target
...
We want to specialize functions such as
```
def find? {_ : BEq α} {_ : Hashable α} : PersistentHashMap α β → α → Option β
| { root := n, .. }, k => findAux n (hash k |>.toUSize) k
```
2022-01-17 13:05:50 -08:00
Gabriel Ebner
561a869e49
fix: provide reference implementation for Array.modify
2022-01-17 12:41:12 -08:00
Leonardo de Moura
dd3d8f6fad
feat: complete namespaces
...
closes #940
2022-01-17 10:03:36 -08:00
Leonardo de Moura
da06bb6605
fix: matching inside new termination_by
2022-01-17 08:47:05 -08:00
Leonardo de Moura
bac91b9b5b
chore: remove arbitrary
2022-01-15 12:14:27 -08:00
Leonardo de Moura
579908e9b1
chore: using Inhabited.default at Deriving/Inhabited
2022-01-15 11:59:43 -08:00
Leonardo de Moura
7d5f14b4a7
chore: elaborate default_or_ofNonempty% and add mkDefault
2022-01-15 11:55:58 -08:00
Leonardo de Moura
9de58c66eb
chore: add default_or_ofNonempty%
2022-01-15 11:50:39 -08:00
Leonardo de Moura
a3a134a297
chore: export Inhabited.default
2022-01-15 11:50:28 -08:00
Leonardo de Moura
901c0dba83
chore: update lake
2022-01-15 11:44:40 -08:00
Leonardo de Moura
b0d9c16c7a
chore: rename PointedType => NonemptyType
2022-01-15 11:43:53 -08:00
Henrik Böving
c1b31a57eb
feat: store ModuleData of imported modules in EnvironmentHeader
2022-01-15 10:40:52 -08:00
tydeu
07bfdc02e7
chore: update Lake
2022-01-15 17:57:51 +01:00
Leonardo de Moura
83b616ad07
chore: update lake
2022-01-14 20:42:36 -08:00
Leonardo de Moura
e3241e82bc
feat: define PointedType as { α : Type u // Nonempty α }
2022-01-14 20:36:51 -08:00
Leonardo de Moura
6ea0aaf35a
fix: do not invoke add_extern for declarations marked with implementedBy
2022-01-14 20:27:50 -08:00
Leonardo de Moura
9499cea2a5
fix: bug at skip_code_generation
2022-01-14 19:58:24 -08:00
Leonardo de Moura
42db1f09d2
chore: update lake
2022-01-14 19:49:30 -08:00
Leonardo de Moura
b970919978
chore: remove unnecessary Inhabited
2022-01-14 19:48:10 -08:00
Leonardo de Moura
acd482c5f2
feat: define Array.modify without using Inhabited
2022-01-14 19:47:42 -08:00
Leonardo de Moura
b22a3a4cc4
feat: skip code generation for declarations marked with implementedBy, init, and builtinInit
...
This is a bit hackish. We should clean up when we rewrite the compiler
in Lean.
2022-01-14 19:20:16 -08:00
Leonardo de Moura
a438a2ee21
feat: elaborate arbitrary_or_ofNonempty% and use it to define constants
2022-01-14 17:22:39 -08:00
Leonardo de Moura
0a726a755f
feat: add helper parser arbitrary_or_ofNonempty%
2022-01-14 17:11:55 -08:00
Leonardo de Moura
c34adb7dd5
feat: allow partial definitions to be define if type is non empty
2022-01-14 16:50:36 -08:00
Leonardo de Moura
f1adedb2de
feat: add Classical.ofNonempty
2022-01-14 15:59:11 -08:00
Leonardo de Moura
83b69bc340
refactor: move Classical.choice and Nonempty to Prelude
2022-01-14 15:59:11 -08:00
Sebastian Ullrich
753e396705
fix: recurse in findAllWithExt
2022-01-14 18:59:58 +01:00
Sebastian Ullrich
6ec406b7d0
feat: System.FilePath.walkDir
2022-01-14 16:22:14 +01:00
larsk21
b712918db9
fix: unify handleDefinition for imports
2022-01-14 10:32:06 +01:00
larsk21
ecaa004dcc
feat: make withWaitFindSnap consider all snaps of a document
2022-01-14 10:32:06 +01:00
larsk21
e584560b17
feat: enable "go to definition" for imports
2022-01-14 10:32:06 +01:00
larsk21
89bbaf514e
feat: include imports in header snap info tree
2022-01-14 10:32:06 +01:00
Sebastian Ullrich
8e5fc66330
fix: do not error on non-existent search path entries
2022-01-14 09:18:57 +01:00
Sebastian Ullrich
a0e8c6183b
fix: parser should create choice node even on error
2022-01-14 09:18:57 +01:00
Joscha
8c5868e106
perf: reduce size of ilean files
2022-01-14 09:18:57 +01:00
Sebastian Ullrich
37f5be1b26
chore: fix servertest_init_exit
2022-01-14 09:18:57 +01:00
Sebastian Ullrich
d503fe6d13
refactor: avoid double exception layer with AsyncList
2022-01-14 09:18:57 +01:00
Joscha
d8ec900ae9
refactor: use array instead of list in AsyncElabState
2022-01-14 09:18:57 +01:00
Joscha
ab52480b69
fix: implement suggestions
2022-01-14 09:18:57 +01:00
Joscha
4bcf7ab31f
style: add copyright headers
2022-01-14 09:18:57 +01:00
Joscha
b9f8f5eb38
fix: find references of function parameters
2022-01-14 09:18:57 +01:00