Commit graph

26741 commits

Author SHA1 Message Date
Leonardo de Moura
b10d751a2f chore: Elaborator ==> Elab 2019-12-06 13:40:20 -08:00
Leonardo de Moura
92958e8d66 refactor: remove Syntax.other
We are going to use synthetic metavariables for postponing elaboration.
2019-12-06 09:23:44 -08:00
Leonardo de Moura
fd20bae8be chore: disable new elaborator before major refactoring 2019-12-06 09:13:32 -08:00
Leonardo de Moura
68e18937b2 chore: remove #preterm 2019-12-05 11:38:53 -08:00
Leonardo de Moura
59eb963153 chore: missing , 2019-12-05 11:26:15 -08:00
Leonardo de Moura
2ae92340ef feat: add intro and assumption 2019-12-05 10:57:48 -08:00
Leonardo de Moura
5b9402f0e3 feat: add Expr.headBeta 2019-12-05 09:01:50 -08:00
Leonardo de Moura
5247c3719b doc: document private keyword elaboration issues 2019-12-05 08:55:21 -08:00
Leonardo de Moura
a8578b4354 chore: remove old files 2019-12-05 08:24:20 -08:00
Leonardo de Moura
f80ec55149 feat: improve tracing messages 2019-12-05 07:29:01 -08:00
Leonardo de Moura
0f1184e1d6 feat: instantiateMVars when formatting messages 2019-12-05 07:02:28 -08:00
Leonardo de Moura
9715bc7738 fix: missing instantiateMVars 2019-12-05 06:57:50 -08:00
Leonardo de Moura
dd0b71938d feat: register Meta tracing options 2019-12-05 06:38:28 -08:00
Leonardo de Moura
da844e231a chore: update stage0 2019-12-05 06:19:18 -08:00
Leonardo de Moura
4fe9179f19 feat: option declarations in Lean 2019-12-05 06:18:35 -08:00
Sebastian Ullrich
3cce06ca78 chore: add tests/plugin/.gitignore 2019-12-05 13:21:08 +01:00
Sebastian Ullrich
948b0bf1f1 fix: interpreter::call_boxed: support over-application
MetaHasEval instances were not fully eta-expanded
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
1afd3b9d01 refactor: interpreter::run_main: use call_boxed 2019-12-05 13:21:08 +01:00
Sebastian Ullrich
44ce73ced9 refactor: call generated boxed wrapper instead of reinventing it in the interpreter 2019-12-05 13:21:08 +01:00
Sebastian Ullrich
e3e50b7940 chore: rename confusing interpreter function 2019-12-05 13:21:08 +01:00
Sebastian Ullrich
3e46b8a8a4 test: simplify meta2.lean 2019-12-05 13:21:08 +01:00
Sebastian Ullrich
92380ec5bd feat: implement MetaHasEval for MetaM 2019-12-05 13:20:24 +01:00
Sebastian Ullrich
fde58d8fe4 feat: add Lean.MetaHasEval, rename HasEval to Lean.HasEval 2019-12-05 13:20:24 +01:00
Leonardo de Moura
3422dbca5f chore: fix tests 2019-12-04 17:25:46 -08:00
Leonardo de Moura
38861bb87e chore: update stage0 2019-12-04 17:18:18 -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
223b136a9e chore: update stage0 2019-12-04 17:03:42 -08:00
Leonardo de Moura
021fda2d80 chore: fix tests 2019-12-04 17:02:56 -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
827d2d7b72 chore: use mkAppN 2019-12-04 16:25:17 -08:00
Leonardo de Moura
f570d2a1c3 fix: caching condition 2019-12-04 16:14:26 -08:00
Leonardo de Moura
e3b8013c4e feat: add mkAppM
This is the generic application builder.
2019-12-04 16:12:24 -08:00
Leonardo de Moura
dacf69b2f0 chore: remove mkCApp* functions 2019-12-04 13:07:42 -08:00
Leonardo de Moura
ad54d8e024 feat: add helper functions 2019-12-04 12:43:24 -08:00
Leonardo de Moura
1784b0ee67 chore: Heq ==> HEq 2019-12-04 11:20:38 -08:00
Leonardo de Moura
07f3ff61ea chore: update stage0 2019-12-04 11:01:28 -08:00
Leonardo de Moura
5813fbb26a feat: add AppBuilder module
It is essentially a placeholder.
2019-12-04 11:00:17 -08:00
Leonardo de Moura
86279adc63 chore: add more comments, cleanup, enforce linearity 2019-12-04 09:46:26 -08:00
Leonardo de Moura
ab75062eb4 chore: avoid unnecessary complexity 2019-12-04 06:24:33 -08:00
Leonardo de Moura
7f852d1dad doc: getSubgoalsAux 2019-12-04 06:14:05 -08:00
Leonardo de Moura
1ad97e8e9e refactor: simplify code 2019-12-04 05:54:21 -08:00
Leonardo de Moura
a0a7f11faf refactor: remove unnecessary tryResolveCore from tryAnswer 2019-12-04 05:36:53 -08:00
Leonardo de Moura
1e16b31190 doc: Meta/SynthInstance.lean 2019-12-03 20:09:06 -08:00
Leonardo de Moura
2664a82c32 chore: remove old test 2019-12-03 15:06:02 -08:00
Leonardo de Moura
c164f2c049 chore: update stage0 2019-12-03 15:02:10 -08:00
Leonardo de Moura
4ce457eb51 chore: remove prototype for the new type class resolution
The code has been integrated into the `Meta` module.
2019-12-03 15:01:05 -08:00
Leonardo de Moura
e0089c89df chore: update stage0 2019-12-03 14:52:49 -08:00
Leonardo de Moura
b6dde16be5 chore: remove #synth debugging command 2019-12-03 14:51:54 -08:00
Leonardo de Moura
963063dfee chore: disable tests for type class resolution prototype 2019-12-03 14:50:14 -08:00
Leonardo de Moura
9994500284 test: add more tests 2019-12-03 14:40:38 -08:00