Leonardo de Moura
|
33cb9382aa
|
feat(frontends/lean): add beta-reduction tactic command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 19:41:54 -07:00 |
|
Leonardo de Moura
|
360e9b9486
|
feat(library/tactic): add apply tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 18:33:53 -07:00 |
|
Leonardo de Moura
|
6645fdeae0
|
feat(frontends/lean): add repeat tactic command, refactor tactic sequence notation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 12:24:13 -07:00 |
|
Leonardo de Moura
|
2510d5722a
|
feat(frontends/lean): add unfold tactic command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 12:05:45 -07:00 |
|
Leonardo de Moura
|
6d09d82a7c
|
feat(frontends/lean): add notation for orelse tactic, add show and now tactics
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 11:39:18 -07:00 |
|
Leonardo de Moura
|
a1bbb09de4
|
feat(frontends/lean): add notation for then tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 11:24:56 -07:00 |
|
Leonardo de Moura
|
ffa175009b
|
feat(frontends/lean): use tactics for solving unassigned metavariables
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 09:50:16 -07:00 |
|
Leonardo de Moura
|
1e39a21823
|
feat(frontends/lean): add basic tactics
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 09:03:51 -07:00 |
|
Leonardo de Moura
|
7d5522e36a
|
chore(tests): add missing tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 09:03:51 -07:00 |
|
Leonardo de Moura
|
cf28981f45
|
feat(tests/lean/run): add test_single script that sets the LEAN_PATH
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 07:47:46 -07:00 |
|
Leonardo de Moura
|
193ce35419
|
refactor(frontends/lean/inductive_cmd): redesign inductive datatype elaboration, use the new elaborator, and use simpler algorithm to infer the resulting universe
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-28 15:33:56 -07:00 |
|
Leonardo de Moura
|
0adacb5191
|
feat(kernel): add infer implicit, and use it to infer implicit arguments of inductive datatype eliminators, and tag whether parameters should be implicit or not in introduction rules in the module inductive_cmd
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-28 13:57:36 -07:00 |
|
Leonardo de Moura
|
47ff300d1a
|
fix(frontends/lean): '@' explicit mark
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-28 07:30:36 -07:00 |
|
Leonardo de Moura
|
ccce9d90a4
|
feat(frontends/lean/elaborator): add 'delayed coercions', add example demonstrating why the new feature is useful
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 18:39:23 -07:00 |
|
Leonardo de Moura
|
150d285b39
|
fix (library/unifier): occurs_context_check
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 14:45:36 -07:00 |
|
Leonardo de Moura
|
16bdc51fc4
|
refactor(kernel/type_checker): simplify type checker API, and remove add_cnstr_fn
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 13:36:31 -07:00 |
|
Leonardo de Moura
|
a70f8dd98e
|
feat(kernel/inductive): mark parameters, type formers and indices as implicit parameters in the elimination rule
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 11:05:14 -07:00 |
|
Leonardo de Moura
|
5e0e737213
|
feat(library/scoped_ext): do not import 'children' namespace objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 10:32:34 -07:00 |
|
Leonardo de Moura
|
a7623845f9
|
test(tests/lean/run): add another example on how to deal with ambiguity
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 10:18:35 -07:00 |
|
Leonardo de Moura
|
930960c54d
|
fix(frontends/lean/builtin_cmds): abstract section parameters in the 'check' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 10:06:50 -07:00 |
|
Leonardo de Moura
|
cc21bfd01d
|
test(tests/lean/run): more tests on how to deal with ambiguity
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 09:32:26 -07:00 |
|
Leonardo de Moura
|
dc5553ea5c
|
test(tests/lean/run): add test demonstrating how to control ambiguity
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 09:32:19 -07:00 |
|
Leonardo de Moura
|
da6e92787a
|
test(tests/lean/run): add simple overloading test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-26 09:32:12 -07:00 |
|
Leonardo de Moura
|
acf8c13619
|
feat(kernel): add strict implicit arguments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-25 17:50:49 -07:00 |
|
Leonardo de Moura
|
4bc1f3cf81
|
test(lean/run): add elaborator tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-25 16:15:01 -07:00 |
|
Leonardo de Moura
|
49a6048060
|
test(lean/run): add another test for new elaborator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-25 13:18:32 -07:00 |
|
Leonardo de Moura
|
3e7dfa6212
|
fix(frontends/lean): infer type of definitions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-25 08:39:14 -07:00 |
|
Leonardo de Moura
|
d055c4880f
|
feat(frontends/lean): connect new elaborator to frontend
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-25 08:31:00 -07:00 |
|
Leonardo de Moura
|
aa8b5655dd
|
feat(frontends/lean): add notation overwrite
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-23 16:10:36 -07:00 |
|
Leonardo de Moura
|
5bd86754af
|
feat(frontends/lean/builtin_cmds): change notation for marking implicit/cast parameter in sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-22 17:51:00 -07:00 |
|
Leonardo de Moura
|
2589d60bfd
|
feat(frontends/lean): add nameless 'have' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-20 17:18:18 -07:00 |
|
Leonardo de Moura
|
4b227409bf
|
feat(frontends/lean): add 'then have' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-20 14:27:21 -07:00 |
|
Leonardo de Moura
|
4560413a92
|
feat(frontends/lean): add '[fact]' modifier for 'have' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-20 11:58:05 -07:00 |
|
Leonardo de Moura
|
39177ec10a
|
feat(frontends/lean): flip definition modifiers position, now they must occur after the identifier
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-20 11:58:05 -07:00 |
|
Leonardo de Moura
|
bdab979e09
|
feat(frontends/lean): add inductive_cmd
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 16:00:59 -07:00 |
|
Leonardo de Moura
|
3bb53810c5
|
test(lean/run): add notation test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 09:48:47 -07:00 |
|
Leonardo de Moura
|
08845be2fc
|
feat(frontends/lean/notation_cmd): improve 'notation' cmd
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 09:28:01 -07:00 |
|
Leonardo de Moura
|
3e3c4ee5ed
|
feat(frontends/lean/parser): add local_scope object to Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 08:38:23 -07:00 |
|
Leonardo de Moura
|
6259d20218
|
feat(frontends/lean/parser): expand Lua parser API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 08:03:17 -07:00 |
|
Leonardo de Moura
|
813e033f54
|
test(lean): add simple example of notation implemented using Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 22:37:22 -07:00 |
|
Leonardo de Moura
|
819c8276f2
|
feat(frontends/lean/builtin_cmds): add 'variables' command family
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 08:25:00 -07:00 |
|
Leonardo de Moura
|
639d58f4c7
|
feat(frontends/lean/builtin_cmds): add 'print options' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 17:31:28 -07:00 |
|
Leonardo de Moura
|
3e377a9732
|
feat(frontends/lean/builtin_cmds): add 'set_option' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 17:27:43 -07:00 |
|
Leonardo de Moura
|
4f3da90443
|
feat(frontends/lean/builtin_exprs): add 'have' and 'show' expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 15:04:29 -07:00 |
|
Leonardo de Moura
|
f70b1b028a
|
feat(frontends/lean): provide position to parse_fn external function, add 'by' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 12:28:58 -07:00 |
|
Leonardo de Moura
|
34dfacc10e
|
refactor(frontends/lean): Bool does not need to be a reserved keyword
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 10:52:12 -07:00 |
|
Leonardo de Moura
|
6db265e7ab
|
feat(frontends/lean/builtin_exprs): parse '_' placeholder
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 10:41:08 -07:00 |
|
Leonardo de Moura
|
5ce0502a36
|
feat(frontends/lean/builtin_exprs): add parser for 'let' expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 09:50:34 -07:00 |
|
Leonardo de Moura
|
5fee6fd140
|
feat(shell/lean): add '-o' command line option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-14 08:10:43 -07:00 |
|
Leonardo de Moura
|
fad4780d72
|
test(lean/run): add overload test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 18:06:44 -07:00 |
|
Leonardo de Moura
|
48c58af9b5
|
feat(frontends/lean/parser): allow explicit universe level to be provided to aliases and locals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 18:00:52 -07:00 |
|
Leonardo de Moura
|
3bde699fbe
|
feat(frontends/lean/parser): add parse_level
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 12:34:55 -07:00 |
|
Leonardo de Moura
|
cffbae3667
|
test(tests/lean/run): add new test group, where we just execute Lean (and don't check output)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 21:07:23 -07:00 |
|