Leonardo de Moura
|
752b54085b
|
refactor(kernel/type_checker): type checker should not unfold macros, but sign an error if a untrusted macro is used
Now, we unfold untrusted macros outside of the Lean kernel.
|
2015-01-20 12:36:56 -08:00 |
|
Leonardo de Moura
|
41935906a8
|
chore(frontends/lean): use update_if_undef
|
2015-01-13 13:02:14 -08:00 |
|
Leonardo de Moura
|
69750c50c6
|
refactor(frontends/lean): move pp_options to library
|
2014-12-19 15:00:05 -08:00 |
|
Leonardo de Moura
|
d98aabe9ab
|
refactor(library): move library/definitional/util module to library
|
2014-12-10 11:23:23 -08:00 |
|
Leonardo de Moura
|
ac664505e6
|
refactor(library): move class management to library module
|
2014-12-09 21:38:55 -08:00 |
|
Leonardo de Moura
|
2bb51554d5
|
feat(library/definitional/util): add telescope equality for HoTT library
This is needed for implementing no_confusion for HoTT.
We can't use heterogeneous equality in HoTT.
|
2014-12-07 18:35:55 -08:00 |
|
Leonardo de Moura
|
5b2d17e4ab
|
feat(frontends/lean): add 'print notation' command
|
2014-12-02 12:04:18 -08:00 |
|
Leonardo de Moura
|
a97d7ffed7
|
feat(frontends/lean/builtin_cmds): display 'print' command output as flycheck information
|
2014-11-29 13:31:42 -08:00 |
|
Leonardo de Moura
|
a005c8f4d0
|
feat(frontends/lean): display eval/check/find_decl results using flycheck
|
2014-11-24 08:35:49 -08:00 |
|
Leonardo de Moura
|
f1e915a188
|
feat(frontends/lean): add 'find_decl' command
|
2014-11-23 23:00:59 -08:00 |
|
Leonardo de Moura
|
50973bb4f3
|
feat(frontends/lean): default 'eval' command ignores opaque/irreducible annotations
To retrieve the previous behavior, we should use [strict] modifier
|
2014-11-10 12:46:04 -08:00 |
|
Leonardo de Moura
|
c7992f2cac
|
feat(frontends/lean): add [whnf] modifier to eval command
|
2014-11-08 10:19:29 -08:00 |
|
Leonardo de Moura
|
4650791108
|
feat(frontends/lean): add 'print fields' command
|
2014-11-05 14:06:54 -08:00 |
|
Leonardo de Moura
|
d58c3e498d
|
feat(frontends/lean/builtin_cmds): add 'print prefix' command
|
2014-11-04 08:40:32 -08:00 |
|
Leonardo de Moura
|
e79c7d9852
|
feat(frontends/lean): make set_option affect fingerprints
|
2014-10-30 14:45:35 -07:00 |
|
Leonardo de Moura
|
64c3ba7b74
|
feat(frontends/lean): display metavariable application arguments in check command
The idea is to "fix" counter-intuitive output like the ones were
produced in the tests check.lean and check2.lean
|
2014-10-30 13:28:25 -07:00 |
|
Leonardo de Moura
|
dcd7e53fa7
|
feat(frontends/lean/builtin_cmds): remove workaround for getting nice metavariable names in the check command
We don't need it anymore after previous commit 2a16050
|
2014-10-30 13:12:45 -07:00 |
|
Leonardo de Moura
|
fe4ea48381
|
feat(library/definitional/projection): add projection generator, closes #257
|
2014-10-29 13:13:05 -07:00 |
|
Leonardo de Moura
|
d66e5a6c41
|
fix(frontends/lean/builtin_cmds): bug (name clashing) in 'check' command new meta-variable naming
|
2014-10-26 19:19:45 -07:00 |
|
Leonardo de Moura
|
7a033ac07e
|
feat(frontends/lean): add 'print axioms' command, close #251
|
2014-10-24 14:35:03 -07:00 |
|
Leonardo de Moura
|
db25f933b0
|
feat(frontends/lean): use nice names for meta-variables when executing check c and c is a constant
|
2014-10-24 08:23:26 -07:00 |
|
Leonardo de Moura
|
a6571c3273
|
feat(frontends/lean): add 'print definition' command
|
2014-10-23 14:54:15 -07:00 |
|
Leonardo de Moura
|
38a9aa2a98
|
feat(frontends/lean): automatically open 'tactic' namespace (if it is not already open) in 'by' and 'begin-end' expressions
|
2014-10-23 10:26:19 -07:00 |
|
Leonardo de Moura
|
555d26aa61
|
feat(frontends/lean/pp): take notation declarations into account when pretty printing
TODO: support foldl/foldr and binders
|
2014-10-19 08:41:29 -07:00 |
|
Leonardo de Moura
|
549f24335e
|
feat(frontends/lean): do not allow coercion definition in sections
|
2014-10-11 18:41:17 -07:00 |
|
Leonardo de Moura
|
158682219f
|
feat(frontends/lean): allow parameters only in contexts
|
2014-10-11 17:13:56 -07:00 |
|
Leonardo de Moura
|
33ad41b93e
|
refactor(frontends/lean): adjust function names to reflect how parameters/variables behave
|
2014-10-11 15:33:31 -07:00 |
|
Leonardo de Moura
|
f0523a3465
|
feat(frontends/lean): namespaces also define scope for variables
|
2014-10-10 16:21:30 -07:00 |
|
Leonardo de Moura
|
25fd370c51
|
fix(frontends/lean): bug when using nested sections and parameters
see tests/lean/run/section4.lean
|
2014-10-08 22:23:20 -07:00 |
|
Leonardo de Moura
|
57c85221fe
|
fix(frontends/lean): collect used universe levels after elaboration in the check command
|
2014-10-08 22:23:19 -07:00 |
|
Leonardo de Moura
|
3b23bec25b
|
feat(frontends/lean): variables/parameters and check commands have access to all section variables/parameters, closes #231
|
2014-10-08 08:40:55 -07:00 |
|
Leonardo de Moura
|
d8572e249d
|
feat(frontends/lean/builtin_cmds): add 'print classes' command
|
2014-10-07 17:30:57 -07:00 |
|
Leonardo de Moura
|
16562adb87
|
feat(frontends/lean): add 'coercions' and 'instances' to 'print' command, closes #71
|
2014-10-05 18:50:48 -07:00 |
|
Leonardo de Moura
|
8e7aac1eb4
|
fix(frontends/lean): add 'eval' command
|
2014-09-26 20:16:03 -07:00 |
|
Leonardo de Moura
|
29d6bff785
|
refactor(frontends/lean): explicit initialization/finalization
|
2014-09-23 10:00:36 -07:00 |
|
Leonardo de Moura
|
4437a65d0b
|
refactor(frontends/lean/builtin_cmds): explicit token initialization
|
2014-09-22 19:22:53 -07:00 |
|
Leonardo de Moura
|
e430dc8bab
|
feat(frontends/lean): add 'irreducible' as syntax sugar for 'reducible [off]'
|
2014-09-19 15:54:32 -07:00 |
|
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
|
48dbd13eef
|
feat(frontends/lean): allow transient classes/instances, i.e.,
classes/instances that are not saved in .olean files
|
2014-09-19 15:54:32 -07:00 |
|
Leonardo de Moura
|
93c2c30310
|
feat(frontends/lean): allow transient coercions, i.e., coercions that
are not saved in .olean files
|
2014-09-19 15:54:32 -07:00 |
|
Leonardo de Moura
|
e3e2370a38
|
feat(frontends/lean): split 'opaque_hint' command into 'opaque' and 'transparent'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-16 18:03:40 -07:00 |
|
Leonardo de Moura
|
a2e36e97f2
|
fix(frontends/lean/builtin_cmds): allow coercion command inside section, fixes #186
|
2014-09-12 12:13:29 -07:00 |
|
Leonardo de Moura
|
d8caa294b5
|
fix(frontends/lean/parser): configuration options defined in a context are transient, fixes #162
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-09 11:02:54 -07:00 |
|
Leonardo de Moura
|
c532dcfaac
|
feat(library/declaration_index): add 'a|abbreviation-name|declaration-name' entries in .ilean files
|
2014-09-04 09:30:25 -07:00 |
|
Leonardo de Moura
|
f9a90b9920
|
feat(frontends/lean): add 'export' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 18:37:01 -07:00 |
|
Leonardo de Moura
|
5e18e6609c
|
feat(frontends/lean): add 'as' clause to 'open' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 17:37:02 -07:00 |
|
Leonardo de Moura
|
e51c4ad2e9
|
feat(frontends/lean): rename 'using' command to 'open'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 16:00:38 -07:00 |
|
Leonardo de Moura
|
fbf13994d8
|
refactor(*): use + for concatenating format objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-24 09:35:25 -07:00 |
|
Leonardo de Moura
|
2f699fa53a
|
feat(*): make sections 'permanent', and add 'transient' contexts, closes #88
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 15:45:15 -07:00 |
|
Leonardo de Moura
|
725f5ba0a0
|
feat(frontends/lean): use 'begin-end' instead of 'proof-qed' for blocks of tactics, closes #81
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 16:58:25 -07:00 |
|