Leonardo de Moura
|
616f49c2e4
|
feat(frontends/lean): improved 'obtains' expression
|
2015-05-05 18:30:16 -07:00 |
|
Leonardo de Moura
|
8aefcc182e
|
feat(frontends/lean/parser): add 'parse_simple_binders'
|
2015-05-05 18:30:16 -07:00 |
|
Leonardo de Moura
|
87aaf373f4
|
fix(frontends/lean): fix '#' override notation on the left-hand-side of recursive equations (and match-expressions)
|
2015-05-03 21:08:09 -07:00 |
|
Leonardo de Moura
|
441f1f9fe2
|
feat(frontends/lean): import error message for "unknown" tactics when parsing
|
2015-05-02 18:57:58 -07:00 |
|
Leonardo de Moura
|
2d9c950144
|
feat(library/tactic/constructor_tactic): allow 'constructor' tactic without index
see issue #500
|
2015-04-30 21:15:07 -07:00 |
|
Leonardo de Moura
|
d6d30f12c6
|
feat(frontends/lean): add "polymorphic" print command
closes #524
|
2015-04-29 16:17:33 -07:00 |
|
Leonardo de Moura
|
1be72f1faa
|
feat(frontends/lean): parse argument of unary tactis with rbp=0, tokens may have a different precedence in expression and tactic modes
|
2015-04-28 13:43:05 -07:00 |
|
Leonardo de Moura
|
a23118d357
|
feat(frontends/lean): add tactic_notation command
This addresses the first part of issue #461
We still need support for tactic definitions
|
2015-04-27 17:46:13 -07:00 |
|
Leonardo de Moura
|
2613e7c444
|
fix(frontends/lean): bug when handling identifiers in tactics
This bug was reported by Jeremy in the Lean Google group:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/lean-discuss/ZKJ8WPPEVJA/n05x6rPRzvMJ
|
2015-04-22 16:03:22 -07:00 |
|
Leonardo de Moura
|
dc93603b4a
|
feat(frontends/lean): parameter and variable binder type update
see issue #532
|
2015-04-22 12:28:11 -07:00 |
|
Leonardo de Moura
|
53653c3526
|
fix(frontends/lean): pretty printing in sections with parameters
fix #530
|
2015-04-21 22:44:09 -07:00 |
|
Leonardo de Moura
|
df05edf333
|
feat(frontends/lean): generate warning when 'exit' is used
closes #553
|
2015-04-20 14:45:39 -07:00 |
|
Leonardo de Moura
|
26c914173c
|
feat(frontends/lean): add --profile option
|
2015-03-31 11:53:55 -07:00 |
|
Leonardo de Moura
|
9b577a7b3e
|
feat(frontends/lean): add 'migrate' command
|
2015-03-14 21:48:00 -07:00 |
|
Leonardo de Moura
|
b88b98ac22
|
feat(frontends/lean): try to add definition/theorem as axiom when it fails to be processed
The idea is to avoid a "tsunami" of error messages when a heavily used
theorem breaks in the beginning of the file
|
2015-03-13 14:47:21 -07:00 |
|
Leonardo de Moura
|
3b721fe675
|
feat(frontends/lean): add missing 'help' command
|
2015-03-06 13:56:20 -08:00 |
|
Leonardo de Moura
|
368f9d347e
|
refactor(frontends/lean): approach used to parse tactics
The previous approach was too fragile
TODO: we should add separate parsing tables for tactics
|
2015-03-05 18:11:21 -08:00 |
|
Leonardo de Moura
|
30d20e8029
|
chore(frontends/lean/parser): remove dead code
|
2015-02-11 16:29:58 -08:00 |
|
Leonardo de Moura
|
014271da8b
|
feat(frontends/lean): better error messages for ill-terminated declarations
|
2015-02-10 14:38:00 -08:00 |
|
Leonardo de Moura
|
b4dd2cc729
|
refactor(library/tactic/rewrite_tactic): more general rewrite step
The rule can be an arbitrary expression.
Allow user to provide a pattern that restricts the application of the rule.
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
0cea63651d
|
fix(frontends/lean): store line/col information at snapshots, save snapshot before 'end' scope, and before "closing" open namespaces
closes #422
|
2015-02-04 10:40:36 -08:00 |
|
Leonardo de Moura
|
b5c4e603db
|
feat(frontends/lean): allow parameters to be used in sections
Restriction:
- coercions and notations cannot be defined in parametric sections
closes #401
|
2015-01-23 17:42:19 -08:00 |
|
Leonardo de Moura
|
edcc92d9c7
|
feat(frontends/lean): remove 'using' from structure instance command
|
2015-01-17 09:38:10 -08:00 |
|
Leonardo de Moura
|
13660cfecd
|
feat(frontends/lean/parser): add parse_qualified_expr
|
2015-01-16 12:42:42 -08:00 |
|
Leonardo de Moura
|
8ab775bd6f
|
feat(*): distinguish between logical and runtime exceptions.
Now, we use throwable as the new base class for all Lean exceptions, and
exception is the subclass for "logical" exceptions.
|
2015-01-15 16:54:55 -08:00 |
|
Leonardo de Moura
|
b8f665e561
|
feat(frontends/lean): elaborate recursive equations
Remark: we are not compiling them yet.
|
2014-12-10 22:25:40 -08:00 |
|
Leonardo de Moura
|
24a15b6c46
|
fix(frontends/lean): disable class-instance resolution when executing find_decl, fixes #343
|
2014-11-24 21:33:52 -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
|
64686c1278
|
feat(frontends/lean): allow user to associate precedence to binders, closes #323
|
2014-11-23 17:30:46 -08:00 |
|
Leonardo de Moura
|
3aac26d658
|
fix(frontends/lean): tactic + variables bug, fixes #315
|
2014-11-09 14:43:22 -08:00 |
|
Leonardo de Moura
|
7897e21a14
|
feat(frontends/lean/structure_cmd): allow fields to be suppresed, but constructor to be provided
|
2014-11-03 22:55:51 -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
|
c1653a9fb4
|
feat(frontends/lean): only valid proof states should be displayed, closes #275
|
2014-10-29 17:29:40 -07:00 |
|
Leonardo de Moura
|
cc6a96e8ba
|
fix(frontends/lean): improve begin-end construct
|
2014-10-26 15:47:29 -07:00 |
|
Leonardo de Moura
|
8e6de93394
|
fix(frontends/lean/parser): add two kinds of no_undef_id behavior: to (global) constant; to local constant
|
2014-10-26 09:47:11 -07:00 |
|
Leonardo de Moura
|
bb953b80aa
|
feat(frontends/lean): reserve notation, closes #95
|
2014-10-21 15:39:47 -07:00 |
|
Leonardo de Moura
|
2431de542f
|
refactor(frontends/lean/parser): add missing 'const'
|
2014-10-13 13:07:42 -07:00 |
|
Leonardo de Moura
|
bc70e7244d
|
feat(frontends/lean): add option '-X': discard all proofs after theorems are checked
This option is useful for generating compact .olean files for web demos
|
2014-10-13 10:05:38 -07:00 |
|
Leonardo de Moura
|
1cc8007b9a
|
refactor(frontends/lean): rename parser methods is_section* to is_local*
|
2014-10-11 10:25:39 -07:00 |
|
Leonardo de Moura
|
b0f8d86f26
|
feat(frontends/lean/parser): reject ambiguous parameter declaration, closes #242
|
2014-10-10 18:08:03 -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
|
0641ee33ce
|
feat(frontends/lean): allow variables anywhere
|
2014-10-10 16:16:19 -07:00 |
|
Leonardo de Moura
|
4010767c20
|
feat(shell): add options --cpp and --discard
|
2014-10-10 15:55:08 -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
|
5b9bd279af
|
chore(frontends/lean/parser): minor cleanup
|
2014-10-08 08:40:55 -07:00 |
|
Leonardo de Moura
|
e71d4548de
|
fix(frontends/lean): universe levels associated with section variables should not be fixed in the section
|
2014-10-04 07:13:19 -07:00 |
|
Leonardo de Moura
|
a1bb6d6017
|
refactor(frontends/lean/elaborator): expose elaborator class
|
2014-10-03 16:10:36 -07:00 |
|
Leonardo de Moura
|
01d4644026
|
fix(frontends/lean): bug in include/omit commands: in the end of section/context, the configuration must be restored
|
2014-10-03 08:52:35 -07:00 |
|
Leonardo de Moura
|
284f300440
|
feat(frontends/lean): add 'include' and 'omit' commands, closes #184
|
2014-10-03 07:23:24 -07:00 |
|
Leonardo de Moura
|
f006d93794
|
feat(frontends/lean): section variables occur after section parameters
|
2014-10-02 17:55:34 -07:00 |
|