Leonardo de Moura
|
498b2f681e
|
feat(frontends/lean/placeholder_elaborator): better error message for ambiguous class-instance resolution
|
2014-10-30 14:44:58 -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
|
2a160508c3
|
feat(frontends/lean): lean --server should display meta-variables using the approach used in check command, closes #280
|
2014-10-30 12:45:41 -07:00 |
|
Leonardo de Moura
|
a98b12f067
|
fix(frontends/lean/elaborator): incorrect error position in begin-end block, fixes #276
|
2014-10-29 16:51:06 -07:00 |
|
Leonardo de Moura
|
1c9992800f
|
fix(frontends/lean/info_manager): suppress useless tactic type information, closes #277
|
2014-10-29 16:51:06 -07:00 |
|
Leonardo de Moura
|
0c185fc4ab
|
fix(library/tactic): add relax_main_opaque flag to proof_state objects, closes #274
|
2014-10-29 08:57:34 -07:00 |
|
Leonardo de Moura
|
83e4c0fcec
|
feat(frontends/lean): hide tactic "types"
it is not very useful to display the type of tactics (e.g., apply,
intros, ...)
|
2014-10-28 22:38:10 -07:00 |
|
Leonardo de Moura
|
eeb6c72508
|
feat(frontends/lean): modify begin-end semantics, closes #258
|
2014-10-28 22:15:38 -07:00 |
|
Leonardo de Moura
|
7516fcad97
|
feat(kernel/type_checker): add is_stuck method, and improve ensure_pi method, closes #261
|
2014-10-27 13:16:50 -07:00 |
|
Leonardo de Moura
|
2e5ad274a5
|
fix(frontends/lean/elaborator): remove invalid assertions
These assertions became invalid when we changed the behavior of undef
indentifiers at
8e6de93394
|
2014-10-27 10:31:09 -07:00 |
|
Leonardo de Moura
|
81dc201bab
|
fix(frontends/lean/elaborator): nested begin-end bug
|
2014-10-26 18:23:30 -07:00 |
|
Leonardo de Moura
|
a544d32fcf
|
fix(frontends/lean/elaborator): missing information when displaying unsolved placeholders
|
2014-10-26 16:11:58 -07:00 |
|
Leonardo de Moura
|
f027acb5cb
|
fix(frontends/lean): missing type info in expressions nested in tactics
|
2014-10-23 18:31:05 -07:00 |
|
Leonardo de Moura
|
e750c9b67a
|
feat(frontends/lean): add 'info' tactic for producing PROOF_STATE info for emacs mode
|
2014-10-23 13:18:30 -07:00 |
|
Leonardo de Moura
|
2c330e704e
|
fix(frontends/lean/elaborator): error localization for 'expr_to_tactic' failures
|
2014-10-23 10:26:19 -07:00 |
|
Leonardo de Moura
|
7c62446023
|
refactor(frontends/lean): remove dead code
|
2014-10-22 17:39:06 -07:00 |
|
Leonardo de Moura
|
5e15ac0c92
|
feat(library/tactic): add new approach for embedding non-elaborated expressions into tactics
|
2014-10-22 17:29:50 -07:00 |
|
Leonardo de Moura
|
f0cc17af87
|
fix(frontends/lean/elaborator): missing type information when ! operator (aka consume_args) is used
|
2014-10-20 08:31:36 -07:00 |
|
Leonardo de Moura
|
b94d121580
|
refactor(library): move flycheck "helper" classes to separate module
|
2014-10-15 09:08:04 -07:00 |
|
Leonardo de Moura
|
fc01edee4d
|
fix(frontends/lean/elaborator): perform translation using "user-level" names
|
2014-10-14 17:53:24 -07:00 |
|
Leonardo de Moura
|
58c9421bab
|
refactor(library/tactic): elaborate expressions nested in tactics with respect to current goal, save postponed constraints (e.g., flex-flex constraints) closes #44, fixes #70
|
2014-10-14 17:18:40 -07:00 |
|
Leonardo de Moura
|
a26618e0f2
|
feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied
|
2014-10-12 13:06:00 -07:00 |
|
Leonardo de Moura
|
5e6ff3eef3
|
fix(frontends/lean/elaborator): bug when reporting error position
|
2014-10-10 17:31:12 -07:00 |
|
Leonardo de Moura
|
3d65b1c25c
|
fix(frontends/lean/elaborator): incorrect type information being reports in lean-mode, fixes #241
|
2014-10-10 15:41:55 -07:00 |
|
Leonardo de Moura
|
052bc6ff20
|
fix(frontends/lean/elaborator): better specific universe detection
|
2014-10-09 14:43:07 -07:00 |
|
Leonardo de Moura
|
8947bf4347
|
feat(frontends/lean): display type of binders, closes #238
|
2014-10-08 22:54:10 -07:00 |
|
Leonardo de Moura
|
d445857f56
|
fix(frontends/lean): change how "as-is" expressions are handled
Implicit arguments are consumed.
|
2014-10-08 22:23:20 -07:00 |
|
Leonardo de Moura
|
8fa171cb92
|
refactor(library/unifier): allow general 'unify' procedure to take an initial substitution as argument
|
2014-10-07 17:30:57 -07:00 |
|
Leonardo de Moura
|
16041e4948
|
fix(frontends/lean/elaborator): 'as-is' expressions
The elaborator should not introduce implicit arguments on terms marked
as 'as-is'.
|
2014-10-07 16:38:31 -07:00 |
|
Leonardo de Moura
|
531de7990d
|
refactor(frontends/lean/tactic_hint): simplify tactic_hints
|
2014-10-07 11:34:58 -07:00 |
|
Leonardo de Moura
|
64f6601fe3
|
fix(frontends/lean/proof_qed_elaborator): information about synthesized variables in a proof-qed block was being lost
|
2014-10-04 09:15:42 -07:00 |
|
Leonardo de Moura
|
a1bb6d6017
|
refactor(frontends/lean/elaborator): expose elaborator class
|
2014-10-03 16:10:36 -07:00 |
|
Leonardo de Moura
|
dccf8a3a75
|
chore(frontends/lean/elaborator): fix field name
|
2014-10-03 15:34:23 -07:00 |
|
Leonardo de Moura
|
4cb54ac825
|
feat(frontends/lean/elaborator): more strict test for bad universe solution
|
2014-10-02 14:29:51 -07:00 |
|
Leonardo de Moura
|
98e66586e9
|
feat(frontends/lean/elaborator): elaborator rejects 'Type' if the universe is explicit
|
2014-10-02 14:29:51 -07:00 |
|
Leonardo de Moura
|
153e3927ac
|
feat(frontends/lean/elaborator): modify '!' semantics: it stops consuming arguments as soon it finds an argument that does not occur in the rest of the type.
|
2014-10-01 18:50:17 -07:00 |
|
Leonardo de Moura
|
ead827d6b7
|
feat(frontends/lean): add ! operator the "dual" of @ , closes #220
|
2014-10-01 17:13:41 -07:00 |
|
Leonardo de Moura
|
2730e5163e
|
feat(frontends/lean): allow 'sorry' implicit argument to access the whole context, and avoid cryptic error message
See new test for explanation.
|
2014-09-30 18:04:04 -07:00 |
|
Leonardo de Moura
|
9c55bbb871
|
feat(frontends/lean/elaborator): report an error when Type becomes a Prop after elaboration, closes #208
|
2014-09-29 08:18:10 -07:00 |
|
Leonardo de Moura
|
c775da16ec
|
feat(frontends/lean/elaborator): discard partial solution during
class-instance resolution, use only tactic_hints associated with
classes, enforce is_strict
|
2014-09-25 19:46:08 -07:00 |
|
Leonardo de Moura
|
318fec43a4
|
feat(frontends/lean/elaborator): use tactic_hints for unsolved placeholders
|
2014-09-25 17:54:10 -07:00 |
|
Leonardo de Moura
|
bb1c6d44ac
|
fix(frontends/lean/elaborator): missing register_meta
|
2014-09-25 17:52:36 -07:00 |
|
Leonardo de Moura
|
8747f12118
|
refactor(frontends/lean/elaborator): remove unnecessary
set_local_context_for method
|
2014-09-25 10:21:31 -07:00 |
|
Leonardo de Moura
|
b8eb65aac2
|
perf(frontends/lean/placeholder_elaborator): reuse local_context, this
is possible now because local_context is a mainly "functional object"
|
2014-09-25 10:11:41 -07:00 |
|
Leonardo de Moura
|
2e2d2d21f1
|
refactor(local_context): local_context::scope auxiliary object is not
needed anymore
|
2014-09-25 09:59:27 -07:00 |
|
Leonardo de Moura
|
09162e5fea
|
refactor(frontends/lean/local_context): remove name_generator from local_context
|
2014-09-25 09:44:34 -07:00 |
|
Leonardo de Moura
|
354c456639
|
refactor(frontends/lean/local_context): move mvar2meta mapping to elaborator
|
2014-09-25 09:31:03 -07:00 |
|
Leonardo de Moura
|
fce1113b80
|
refactor(frontends/lean/coercion_elaborator): simplify
coercion_elaborator interface
|
2014-09-25 08:48:31 -07:00 |
|
Leonardo de Moura
|
a61b95a87e
|
refactor(frontends/lean/proof_qed_elaborator): simplify
proof_qed_elaborator interface
|
2014-09-25 08:38:02 -07:00 |
|
Leonardo de Moura
|
29d6bff785
|
refactor(frontends/lean): explicit initialization/finalization
|
2014-09-23 10:00:36 -07:00 |
|