Leonardo de Moura
|
6a22c0f771
|
chore(frontends/lean/old_elaborator): improve error message
|
2016-06-14 21:47:29 -07:00 |
|
Leonardo de Moura
|
5b8ac6ba30
|
feat(library/tactic): add 'exact' tactic
|
2016-06-14 21:30:58 -07:00 |
|
Leonardo de Moura
|
c5ec35ac65
|
chore(library/init/meta/name): change notation for mk_str_name
|
2016-06-14 21:09:24 -07:00 |
|
Leonardo de Moura
|
cb9b5650b7
|
feat(library/tactic): add 'subst' tactic
|
2016-06-14 21:01:57 -07:00 |
|
Daniel Selsam
|
214e960574
|
fix(frontends/lean/elaborator): incorrect assertion
Conflicts:
src/frontends/lean/elaborator.cpp
|
2016-06-14 18:05:39 -07:00 |
|
Leonardo de Moura
|
a136c2ec1e
|
fix(library/tactic/revert_tactic): update output parameter
|
2016-06-14 17:56:12 -07:00 |
|
Daniel Selsam
|
aabdabdb17
|
fix(src/frontends/lean/structure_cmd): fixes #1036
|
2016-06-14 17:52:31 -07:00 |
|
Daniel Selsam
|
4fdf608c36
|
fix(src/frontends/lean/structure_cmd): check if indices are provided
|
2016-06-14 17:52:19 -07:00 |
|
Leonardo de Moura
|
50b6f9517a
|
feat(library/tactic/app_builder_tactics): add tactic.mk_mapp
|
2016-06-14 17:33:32 -07:00 |
|
Leonardo de Moura
|
9fad884dd8
|
feat(library/tactic): add tactic.mk_app for using app_builder
|
2016-06-14 17:13:10 -07:00 |
|
Leonardo de Moura
|
9235f62368
|
fix(library/type_context): invoking type class resolution when type_context is already in tmp_mode
|
2016-06-14 17:12:00 -07:00 |
|
Leonardo de Moura
|
bceb9aa4f7
|
refactor(library/app_builder): port app_builder to new type_context
|
2016-06-14 16:16:07 -07:00 |
|
Leonardo de Moura
|
48fa99163a
|
feat(init): add <$>, <*> and >>= notation
|
2016-06-14 16:07:37 -07:00 |
|
Leonardo de Moura
|
23cd318b1e
|
feat(library/data/option): add monad instance
|
2016-06-14 15:56:03 -07:00 |
|
Leonardo de Moura
|
62905152f9
|
feat(kernel/environment): add is_eqp for environment
|
2016-06-14 12:28:59 -07:00 |
|
Leonardo de Moura
|
944ae3dfbb
|
chore(tests/lean): fix tests output
|
2016-06-14 11:56:44 -07:00 |
|
Daniel Selsam
|
3ead9c1a59
|
doc(src/library/pp_options): improve description of pp.proofs option
|
2016-06-14 11:51:56 -07:00 |
|
Daniel Selsam
|
70c189d683
|
fix(tests/lean/eta_decls): fix broken test
|
2016-06-14 11:51:47 -07:00 |
|
Daniel Selsam
|
aff7ceadee
|
feat(src/frontends/lean/pp): look at pp.proofs when pp-ing coercions
|
2016-06-14 11:51:34 -07:00 |
|
Daniel Selsam
|
1d6de3412d
|
fix(src/frontends/lean/pp): pp coercions that take arguments
|
2016-06-14 11:51:19 -07:00 |
|
Daniel Selsam
|
4d77f5ab2d
|
feat(src/frontends/lean/pp): option to print theorem statements instead of proof terms
Conflicts:
src/frontends/lean/pp.cpp
src/library/pp_options.cpp
|
2016-06-14 11:50:53 -07:00 |
|
Daniel Selsam
|
533d1ab130
|
fix(frontends/lean/inductive_cmd): remove universe placeholder from parameters
|
2016-06-14 11:36:34 -07:00 |
|
Daniel Selsam
|
a4692671e2
|
fix(src/library/defeq_simplifier): incorrect assertion
|
2016-06-14 11:31:46 -07:00 |
|
Daniel Selsam
|
6435dad371
|
fix(src/frontends/lean/builtin_cmds): typo in error message
|
2016-06-14 11:29:03 -07:00 |
|
Leonardo de Moura
|
2279807baf
|
chore(frontends/lean): remove #tactic command
|
2016-06-14 11:28:52 -07:00 |
|
Leonardo de Moura
|
179f23b64c
|
fix(library/lazy_abstraction): representation
|
2016-06-14 11:09:43 -07:00 |
|
Leonardo de Moura
|
26c10c368a
|
refactor(library): instantiate ==> instantiate_mvars
Motivation: avoid confusion with 'instantiate' procedure for variables
|
2016-06-14 10:29:47 -07:00 |
|
Leonardo de Moura
|
a16e3343a0
|
chore(library,frontends/lean): disable modules that need to be refactored
|
2016-06-14 10:02:11 -07:00 |
|
Leonardo de Moura
|
546033633b
|
feat(frontends/lean/pp): add option for pretty printing lazy-abstractions
|
2016-06-14 09:24:51 -07:00 |
|
Leonardo de Moura
|
c64e4267d9
|
chore(tests/lean): remove tests for command that will be deleted
|
2016-06-14 08:58:35 -07:00 |
|
Leonardo de Moura
|
5a50102e92
|
fix(tests/lean): test
|
2016-06-13 15:28:33 -07:00 |
|
Leonardo de Moura
|
9bcb4e05db
|
feat(library/tactic): store tactic_state at failure
|
2016-06-13 15:25:55 -07:00 |
|
Leonardo de Moura
|
a9cae34a75
|
fix(library/type_context): unification hints
|
2016-06-13 14:53:02 -07:00 |
|
Leonardo de Moura
|
2c60dd8f42
|
fix(library/type_context): typo
|
2016-06-13 14:43:51 -07:00 |
|
Leonardo de Moura
|
6d78d0cc98
|
feat(frontends/lean/old_elaborator): interface old_elaborator with new tactic framework
The interface is not efficient, but it is sufficient for testing
purposes. We will replace the elaborator with a new one.
|
2016-06-13 13:59:01 -07:00 |
|
Leonardo de Moura
|
3962d9b021
|
fix(library/tactic/tactic_state): VM closure arguments should be in reverse order
|
2016-06-13 13:23:46 -07:00 |
|
Leonardo de Moura
|
290a925c5f
|
fix(library/tactic/revert_tactic): type_context revert method already assigns metavar
|
2016-06-13 12:53:56 -07:00 |
|
Leonardo de Moura
|
906bb45a44
|
feat(library/tactic/tactic_state): add format_result tactic
|
2016-06-13 12:46:41 -07:00 |
|
Leonardo de Moura
|
35022dbeca
|
feat(frontends/lean/pp): pp should not fail if infer_type fails for locals and/or metas
|
2016-06-13 12:26:41 -07:00 |
|
Leonardo de Moura
|
695bba6291
|
fix(library/type_context): make sure code doesn't fail if local decl does not exist
|
2016-06-13 12:26:03 -07:00 |
|
Leonardo de Moura
|
db5d0d52c5
|
feat(library/tactic): add helper functions
|
2016-06-13 11:58:55 -07:00 |
|
Leonardo de Moura
|
5459e9ad8a
|
chore(frontends/lean): remove dead code
|
2016-06-13 10:42:38 -07:00 |
|
Leonardo de Moura
|
b54203f6b3
|
feat(frontends/lean): parse by-expression
|
2016-06-13 10:25:26 -07:00 |
|
Leonardo de Moura
|
f86f8b040f
|
feat(library/tactic): add 'by' annotation
|
2016-06-13 10:12:00 -07:00 |
|
Leonardo de Moura
|
d16e1d85fb
|
chore(frontends/lean): remove proof-qed expressions
|
2016-06-13 10:04:51 -07:00 |
|
Leonardo de Moura
|
21bf883fa5
|
feat(library/tactic/tactic_state,library/init/meta): add helper tactics (context, num_goals, repeat, repeat_at_most, repeat_exactly), rename main_type ==> target
|
2016-06-11 21:15:00 -07:00 |
|
Leonardo de Moura
|
7058a2ccc8
|
test(tests/lean/run/meta_tac6): add test for 'clear' tactic
|
2016-06-11 20:31:35 -07:00 |
|
Leonardo de Moura
|
c0edb143b4
|
fix(library/tactic/tactic_state): missing return
|
2016-06-11 20:31:04 -07:00 |
|
Leonardo de Moura
|
4c6de9f8e4
|
fix(library/metavar_context): incorrect assertions
|
2016-06-11 20:29:10 -07:00 |
|
Leonardo de Moura
|
bc47eca2ff
|
fix(library/lazy_abstraction): incorrect assertion
|
2016-06-11 20:28:54 -07:00 |
|