Leonardo de Moura
|
08ccd58eb6
|
feat(frontends/lean): add 'reducible' modifier for controlling which
definitions are unfolded during elaboration
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-19 15:54:32 -07:00 |
|
Leonardo de Moura
|
dd31ed60b0
|
refactor(library): remove unnecessary file hott_kernel, HoTT and
standard library have been merged
|
2014-09-18 20:30:37 -07:00 |
|
Leonardo de Moura
|
80fd14b39e
|
refactor(frontends/lean): replace collect_metavars with metavar_closure helper class
|
2014-09-11 14:49:35 -07:00 |
|
Leonardo de Moura
|
e14814d4bf
|
feat(frontends/lean): add '[protected]' modifier
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 15:01:13 -07:00 |
|
Leonardo de Moura
|
060093cbab
|
refactor(library): add type_util module, and move get_expect_num_args to it
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 08:40:03 -07:00 |
|
Leonardo de Moura
|
be56fcf0bd
|
fix(frontends/lean/pp): pretty print 'let-expressions', closes #87
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 18:20:58 -07:00 |
|
Leonardo de Moura
|
01000ff7df
|
feat(library): add typed_expr macro
We use it to enforce that a let-variable has the expected type
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 11:26:06 -07:00 |
|
Leonardo de Moura
|
d4ac482d76
|
refactor(kernel): move annotation to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:38:10 -07:00 |
|
Leonardo de Moura
|
b746492ac8
|
refactor(library/simple_formatter): rename simple_formatter to print
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:32:08 -07:00 |
|
Leonardo de Moura
|
7d987df429
|
refactor(kernel/formatter): move simple_formatter to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:26:45 -07:00 |
|
Leonardo de Moura
|
3d8477f7de
|
fix(library/module): ignore multiple declarations of 'sorry', fixes #59
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 15:55:58 -07:00 |
|
Leonardo de Moura
|
dc3e9a15d2
|
refactor(library/definitions_cache): rename to definition_cache
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 18:12:12 -07:00 |
|
Leonardo de Moura
|
343407b1b6
|
feat(shell/lean): add --index option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 18:05:48 -07:00 |
|
Leonardo de Moura
|
dc503e6e3d
|
feat(library): add definitions_cache datastructure for implementing .clean files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-10 09:53:13 -07:00 |
|
Leonardo de Moura
|
b0a5ff7f93
|
refactor(library): rename hop_match to match
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 18:30:30 -07:00 |
|
Leonardo de Moura
|
552be37d48
|
feat(library/hop_match): port higher-order (pattern) matcher to Lean 0.2, we still have to implement support for universe levels
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 16:03:58 -07:00 |
|
Leonardo de Moura
|
33cb2db5b5
|
feat(library/head_map): a simple indexing datastructure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-08 15:08:13 -07:00 |
|
Leonardo de Moura
|
55894f01e3
|
feat(frontends/lean): add 'opaque_hint' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 18:58:20 -07:00 |
|
Leonardo de Moura
|
72bce91c18
|
refactor(library/unifier): move inductive datatype support to inductive_unifier_plugin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 11:00:35 -07:00 |
|
Leonardo de Moura
|
e445515f2b
|
refactor(kernel): move standard and hott kernel instantiations to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 10:31:27 -07:00 |
|
Leonardo de Moura
|
ab929d7201
|
refactor(library/unifier): store the unifier_plugin in the environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 10:25:58 -07:00 |
|
Leonardo de Moura
|
a66a08c89e
|
feat(frontends/lean): parse strings as expressions of type 'string.string'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 10:00:55 -07:00 |
|
Leonardo de Moura
|
0198dfc7c5
|
feat(frontends/lean): parse numerals as expressions of type 'num.num'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 08:09:33 -07:00 |
|
Leonardo de Moura
|
3169f8c126
|
feat(library): add mk_explicit/is_explicit procedures for '@'-expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-24 12:11:27 -07:00 |
|
Leonardo de Moura
|
bf8f3318d8
|
feat(library): add unifier module skeleton
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-21 13:38:17 -07:00 |
|
Leonardo de Moura
|
01cecb76db
|
feat(frontends/lean/builtin_cmds): add 'variable' command family
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 15:13:50 -07:00 |
|
Leonardo de Moura
|
a914345d29
|
feat(library): new scoping framework
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 19:33:02 -07:00 |
|
Leonardo de Moura
|
4f83b1a50b
|
feat(library): add choice expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 14:35:34 -07:00 |
|
Leonardo de Moura
|
c1796d0ce4
|
chore(*): remove dead code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 10:35:17 -07:00 |
|
Leonardo de Moura
|
4cf1b05831
|
refactor(library/token_set): move to frontends/lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-05 13:10:50 -07:00 |
|
Leonardo de Moura
|
7dba2c29d2
|
feat(library): add token set
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 02:34:12 -07:00 |
|
Leonardo de Moura
|
712c10f818
|
fix(library/scope): make sure the local universe names do not conflict with universe parameter names when close a section, add declaration parameter name sanitizers
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 15:39:57 -07:00 |
|
Leonardo de Moura
|
f82658f213
|
feat(library): add helper functions for 'updating' declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 15:13:38 -07:00 |
|
Leonardo de Moura
|
286d7f0e64
|
feat(library): add namespace management
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-31 15:41:01 -07:00 |
|
Leonardo de Moura
|
1b5366cfb7
|
feat(library): add module for implementing aliases and 'using' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-30 21:42:40 -07:00 |
|
Leonardo de Moura
|
6902d8cb05
|
feat(library): add simple placeholder module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-30 20:28:28 -07:00 |
|
Leonardo de Moura
|
128d668f03
|
feat(library): add support for creating 'private/hidden' names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-29 18:37:09 -07:00 |
|
Leonardo de Moura
|
2be9bcef78
|
feat(library/coercion): add coercion management implementation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-24 19:28:42 -07:00 |
|
Leonardo de Moura
|
8ffe66dc4f
|
feat(library): add module system API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 18:35:59 -07:00 |
|
Leonardo de Moura
|
dd3edcb19f
|
feat(library): add shared environment object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 15:42:52 -07:00 |
|
Leonardo de Moura
|
11793e7998
|
feat(library): add simple normalization procedure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 09:40:30 -07:00 |
|
Leonardo de Moura
|
d625c9a26c
|
refactor(kernel): move max_sharing to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 11:15:08 -07:00 |
|
Leonardo de Moura
|
660b9299ad
|
refactor(kernel): (de)serialization procedures don't need to be in the kernel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 17:23:36 -07:00 |
|
Leonardo de Moura
|
1be758e4ef
|
feat(library/resolve_macro.cpp): add macro to encode propositional resolution proofs compactly
This is also a test for the macro_definition infrastructure that we have in the kernel.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 13:53:11 -07:00 |
|
Leonardo de Moura
|
24d8092a73
|
feat(library): add goodies for binary functions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 13:53:10 -07:00 |
|
Leonardo de Moura
|
ab1a89e24c
|
refactor(library): remove dead files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 14:44:52 -07:00 |
|
Leonardo de Moura
|
f7e705badb
|
refactor(library/kernel_bindings): reactive some of the kernel Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-04-29 11:52:09 -07:00 |
|
Leonardo de Moura
|
e769c26800
|
refactor(kernel): move files that don't need to be in the kernel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-04-25 18:30:40 -07:00 |
|
Leonardo de Moura
|
984ac03ac7
|
refactor(kernel): replace kernel object with definition, disable affected files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-04-17 16:10:47 -07:00 |
|
Leonardo de Moura
|
d836e45452
|
refactor(library): remove unnecessary files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-03-18 10:27:57 -07:00 |
|