Leonardo de Moura
41a093f2df
feat: also return true if term contain delayed assignments
2020-01-16 19:53:11 -08:00
Leonardo de Moura
0c9107fc72
feat: add instantiateLCtxMVars and instantiateMVarDeclMVars
2020-01-16 15:45:40 -08:00
Leonardo de Moura
911e9535b9
feat: elabDefLike
2020-01-06 12:10:08 -08:00
Leonardo de Moura
b0fd7ad264
feat: convert unassigned universe level mvars into parameters
2020-01-05 13:21:39 -08:00
Leonardo de Moura
c233225153
feat: add mkForallUsedOnly
...
This commit also fixes a bug at `mkBinding` for unused let-decls
2020-01-05 11:53:39 -08:00
Leonardo de Moura
a3dba3a011
feat: add univMVarToParam
2020-01-05 09:07:01 -08:00
Leonardo de Moura
a32fd2e693
feat: implement design documented at 868a217202
2019-12-21 15:53:36 -08:00
Leonardo de Moura
868a217202
doc: revise design for creating let-expressions of terms containing metavariables
...
TODO: implement :)
The goal is to fix accidental zeta-expansions occurring when creating
let-declarations where the body of the expression contains
syntheticOpaque metavariables.
2019-12-20 10:04:37 -08:00
Leonardo de Moura
e922f8a46c
feat: split synthetic into synthetic and syntheticOpaque
2019-12-16 17:06:45 -08:00
Leonardo de Moura
827c0c3294
doc: update synthetic metavariable comment
2019-12-16 11:50:27 -08:00
Leonardo de Moura
067dca5a65
chore: naming convention
2019-12-15 18:28:00 -08:00
Leonardo de Moura
ac86983128
chore: naming convention
2019-12-15 07:40:32 -08:00
Leonardo de Moura
c3005671f5
chore: avoid ^do ...
2019-12-11 06:19:12 -08:00
Leonardo de Moura
cc5a3cca29
chore: move helper modules to src/Init/Lean/Util
2019-12-04 17:17:34 -08:00
Leonardo de Moura
f15af1df0a
chore: move Lean auxiliary datatypes to src/Init/Lean/Data
2019-12-04 17:00:13 -08:00
Leonardo de Moura
bae4a5fc7c
fix: use same approach used at instantiateMVars
...
The idea is to beta reduce whenever we instantiate `?m` at `?m xs`
with a lambda expression.
2019-12-03 14:13:04 -08:00
Leonardo de Moura
00a5860ce6
feat: add withMVarContext
...
cc @dselsam @kha
2019-12-02 10:50:00 -08:00
Leonardo de Moura
5682c6e33b
feat: add hasAssignableMVar
2019-12-01 18:32:48 -08:00
Leonardo de Moura
f701683388
chore: add abbreviations MVarId and FVarId
2019-11-28 08:18:06 -08:00
Leonardo de Moura
f8fb195719
feat: cache local instances at metavariable declarations
2019-11-28 05:57:46 -08:00
Leonardo de Moura
b1f9b7cd4d
feat: add AbstractMVars
2019-11-27 09:45:40 -08:00
Leonardo de Moura
f9376fe04b
feat: add withNewMCtxDepth
2019-11-26 17:01:36 -08:00
Leonardo de Moura
c445199747
chore: library/Init ==> src/Init
...
cc @Kha @dselsam @cipher1024
2019-11-22 06:06:05 -08:00