Commit graph

10756 commits

Author SHA1 Message Date
Leonardo de Moura
1d0d45d890 feat(library/init/data/to_string): mark list.to_string as protected 2016-12-18 13:17:10 -08:00
Sebastian Ullrich
26ead0e7ac feat(library/data/int/basic): has_to_string int 2016-12-18 13:15:41 -08:00
Leonardo de Moura
468211eb9b chore(.gitignore): ignore VSCode config file 2016-12-18 12:35:25 -08:00
Leonardo de Moura
1e76ba64e8 test(tests/lean/run/norm_num_tst): add norm_num tactic tests 2016-12-17 21:19:15 -08:00
Leonardo de Moura
ca2095f2dd feat(library/init/algebra): add discrete_linear_ordered_field 2016-12-17 21:18:59 -08:00
Leonardo de Moura
37209d45a5 feat(library/init/algebra/norm_num): add missing norm_num lemmas 2016-12-17 20:20:55 -08:00
Leonardo de Moura
c99f25dbf5 feat(library/init/algebra/ordered_ring): add linear_ordered_comm_ring 2016-12-17 19:48:21 -08:00
Leonardo de Moura
303696e693 feat(library/init/algebra): add ordered_field 2016-12-17 19:34:10 -08:00
Leonardo de Moura
97fe22b20e feat(library/init/algebra/ordered_ring): ordered semiring/ring lemmas 2016-12-17 17:49:25 -08:00
Leonardo de Moura
060a554db1 feat(library/tactic): add norm_num_tactic 2016-12-17 16:48:40 -08:00
Leonardo de Moura
b84d5811d1 feat(library/init/algebra): add missing min/max/abs lemmas 2016-12-17 15:22:12 -08:00
Leonardo de Moura
0b9bc383b3 test(tests/lean/run): add regression test
This example exposes the problem described by Kha at slack.
2016-12-17 14:08:10 -08:00
Leonardo de Moura
1726d37d4e fix(library/algebra/order): decidable_linear_order
Add fields for decidable_eq and decidable_le.
We need this because a concrete instance may have its own
implementation that is not definitionally equal to
the old ones defined at library/algebra/order.lean.
Without this change, types such as nat and int would
have multiple definitions for decidable_eq and decidable_le
which are not definitionally equal.
2016-12-17 14:01:43 -08:00
Leonardo de Moura
626f8db389 feat(library/init/algebra/functions): define min/max/abs 2016-12-17 13:17:55 -08:00
Leonardo de Moura
422d43cf47 fix(library/init/data/nat/basic): issue reported by @kha 2016-12-17 13:17:30 -08:00
Leonardo de Moura
d41c403442 feat(library/init/meta/simp_tactic, library/init/meta/interactive): add simp_using_hs 2016-12-17 12:54:04 -08:00
Leonardo de Moura
eda7870b38 fix(library/tactic/simp_lemmas): missing case 2016-12-17 12:53:39 -08:00
Leonardo de Moura
ac1af2dfda feat(library/tactic/simplify): trace prove failures 2016-12-17 11:53:44 -08:00
Leonardo de Moura
7d5b866503 feat(library/init/meta/tactic): add is_prop and is_proof tactics 2016-12-17 11:53:21 -08:00
Leonardo de Moura
8683ea4f60 feat(library/tactic/simp_lemmas): add simp_lemmas.pp 2016-12-17 11:53:02 -08:00
Leonardo de Moura
1320c16e3d chore(library/init/algebra/field): avoid '.' 2016-12-17 11:02:18 -08:00
Leonardo de Moura
305838bece refactor(library/debugger): move debugger to tools 2016-12-17 10:50:13 -08:00
Leonardo de Moura
63ec7cd6cf chore(library/tools/super): replace ↣ with ^.
The plan is to delete the funny arrow ↣ notation and keep only ^.
2016-12-16 19:14:05 -08:00
Leonardo de Moura
85ae8ce307 chore(tools/super): add copyright 2016-12-16 19:06:50 -08:00
Leonardo de Moura
4b97b00536 refactor(library/tools/super): move examples to test folder 2016-12-16 19:05:32 -08:00
Leonardo de Moura
5572d7f3ec perf(kernel,library/module): enable expr caching when deserializing .olean files 2016-12-16 18:33:46 -08:00
Gabriel Ebner
6b15f6cef9 feat(library/tools/super): add super prover 2016-12-16 18:18:13 -08:00
Gabriel Ebner
6ed538a705 fix(library/module_mgr): finally fix invalidation 2016-12-16 18:18:00 -08:00
Leonardo de Moura
a0ad8a678a feat(library/init/algebra/norm_num): add missing lemmas for norm_num tactic 2016-12-16 12:15:40 -08:00
Leonardo de Moura
816c315b50 feat(library/init/algebra): add field 2016-12-16 12:02:30 -08:00
Leonardo de Moura
b0d27d6d92 feat(library/tactic/simplify): simplify_core calls itself to discharge hypothese 2016-12-16 10:26:44 -08:00
Leonardo de Moura
f9ad1dbfc0 fix(frontends/lean/definition_cmds): bug at inline_new_defs
closes #1253
2016-12-15 20:32:06 -08:00
Leonardo de Moura
e362745c4c chore(tests/lean): fix tests 2016-12-15 17:04:21 -08:00
Leonardo de Moura
bcf15b0d39 feat(library/init/data/int): import int by default 2016-12-15 16:59:36 -08:00
Leonardo de Moura
9119554835 feat(frontends/lean/structure_cmd): avoid unnecessary local_ref 2016-12-15 16:22:22 -08:00
Leonardo de Moura
6e57e70d04 fix(frontends/lean/pp): pretty print issue, and fix broken tests output
Remark: we do not allow user to access abstracted version anymore inside
of a section.
2016-12-15 15:42:54 -08:00
Leonardo de Moura
8bce559330 fix(frontends/lean/elaborator): another issue at resolve_names
see #1251
2016-12-15 15:11:24 -08:00
Leonardo de Moura
8b43314e23 feat(library/aliases,frontends/lean/parser): take local_ref's into account when defining new aliases; use get_local_ref at id_to_expr; use get_local_ref at resolve_local_name
see #1251
2016-12-15 14:10:44 -08:00
Leonardo de Moura
384cf04efd refactor(library/aliases,frontends/lean/local_ref_info): merge aliases and local_ref_info modules 2016-12-15 13:24:30 -08:00
Andrew Ashworth
3153b72415 fix(doc/make/msys2): incorrect build instructions
-D CMAKE_BUILD_TYPE=Release does nothing since the default build type is Release. Also, it should be enclosed in quotes "-D CMAKE_BUILD_TYPE=Release", otherwise the shell/cmake fails to properly interpret the arguments.
2016-12-15 10:07:01 -08:00
Jeremy Avigad
8b84af4853 feat(library/init/data/int/basic,order): the integers as an ordered ring 2016-12-15 09:56:22 -08:00
Jeremy Avigad
57dcbcc1c6 feat(library/init/data/nat/lemmas): add facts about order and subtraction 2016-12-15 09:56:09 -08:00
Gabriel Ebner
d89512b6fc fix(util/task_queue): fix undefined behavior with null references 2016-12-15 09:48:57 -08:00
Sebastian Ullrich
b2d28f5ac5 fix(emacs): do not query user before exiting emacs >= 25 2016-12-15 09:48:02 -08:00
Leonardo de Moura
e248577e1c feat(library/vm): allow vm bytecode to invoke native closures 2016-12-14 19:16:55 -08:00
Leonardo de Moura
bd2f9bce05 fix(library/compiler/erase_irrelevant): issue created by elim_unused_lets optimization 2016-12-14 18:51:53 -08:00
Leonardo de Moura
b0ce461fcd feat(library/vm): native closures that do not depend on vm_state
Remark: native_closures are used in the C++ code generator.
2016-12-14 18:51:24 -08:00
Daniel Selsam
317989bf9e feat(tactic/exact_tactic): exact_core that takes transparency 2016-12-13 08:27:21 -08:00
Leonardo de Moura
b2c1ea6fdb fix(library/type_context): failure cache
The new regression test exposes the problem being fixed.
2016-12-13 07:50:03 -08:00
Daniel Selsam
fc7410633f feat(library/type_context): cache failures at is_def_eq 2016-12-13 07:01:12 -08:00