Leonardo de Moura
d747fcb17c
refactor(library/tactic/simp_lemmas): new caching mechanism
2016-10-06 20:20:01 -07:00
Leonardo de Moura
1e93c2c235
refactor(library/rfl_lemmas): simplify
2016-10-06 16:49:20 -07:00
Leonardo de Moura
0d74ad97a7
chore(library/init): definition => def
2016-10-06 16:04:12 -07:00
Leonardo de Moura
e473d7cefc
feat(frontends/lean/definition_cmds): make sure copied lemma is a rfl lemma if source is a rfl lemma
...
The idea is to allow the defeq simplifier to use the copied lemma.
2016-10-06 15:49:38 -07:00
Leonardo de Moura
c745519e50
feat(frontends/lean/definition_cmds): generate equation lemmas for top-level definitions
2016-10-06 15:30:43 -07:00
Leonardo de Moura
fd3158d37d
chore(tests/lean/induction_tac1): adjust output
2016-10-05 22:01:16 -07:00
Leonardo de Moura
bf0f24e22d
feat(src/library/defeq_canonizer): improve cache
2016-10-05 22:00:23 -07:00
Leonardo de Moura
91076b06ad
feat(library/init/meta/converter): add 'find_pattern' conversional
2016-10-05 19:22:17 -07:00
Leonardo de Moura
895a94d17e
feat(library/init/meta/converter): match based conversions
2016-10-05 18:54:11 -07:00
Leonardo de Moura
1b628930ba
feat(kernel/inductive): v_idx ==> ih_idx
2016-10-05 17:13:52 -07:00
Leonardo de Moura
68df31df67
feat(library/init/meta/converter): add adapter for applying propext automatically
2016-10-05 17:13:28 -07:00
zjhmale
9c23a3ded3
doc(make): change g++-4.9 to g++
...
now if use g++4.9 as compiler flag on OSX, it will produce error message
that
```
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
g++-4.9
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting
either the environment variable "CXX" or the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the
compiler name if it is in the PATH.
```
2016-10-05 15:38:22 -07:00
Gabriel Ebner
996b4375a9
feat(library/flycheck,frontends/lean/elaborator): show trace messages in flycheck
2016-10-05 15:20:00 -07:00
Gabriel Ebner
6883720cc7
fix(library/init/meta/expr): consistently compare expressions
2016-10-05 15:17:02 -07:00
Daniel Selsam
480b31e172
chore(inductive_compiler/mutual): remove outdated comment
2016-10-05 15:10:22 -07:00
Daniel Selsam
6b8583ecac
chore(inductive_compiler/mutual): better error message for non-positive occurrences
2016-10-05 15:10:21 -07:00
Daniel Selsam
3d2ff8a76d
chore(frontends/lean/inductive_cmd): readable name for ind result level placeholder
2016-10-05 15:10:21 -07:00
Daniel Selsam
03ed74fea1
fix(inductive_compiler): generate has_sizeof for structures
2016-10-05 15:10:21 -07:00
Leonardo de Moura
1e325c11a1
feat(library/standard): add system.IO
2016-10-05 15:05:22 -07:00
Leonardo de Moura
990c414b86
feat(library/init/meta/converter): add 'congr' and 'depthfirst' conversionals
2016-10-05 15:05:22 -07:00
Leonardo de Moura
cf00d266de
fix(CMakeLists.txt): disable check when compiling with emscripten
2016-10-05 15:05:22 -07:00
Leonardo de Moura
a6808cfbad
fix(library/init/meta/converter): fix conversion error message
2016-10-05 15:05:22 -07:00
Leonardo de Moura
a52ea72c62
fix(library/vm/vm_environment): invalid vm_obj being returned
2016-10-05 15:05:22 -07:00
Leonardo de Moura
4a9a637ddf
feat(library/init/meta/converter): add 'funext' converter and 'conversion' tactic
2016-10-05 15:05:07 -07:00
Leonardo de Moura
a2bf24a916
feat(library/init/meta/relation_tactics): add tactic for retrieving lhs and rhs from an registered relation
2016-10-05 10:40:55 -07:00
Leonardo de Moura
7c6510f7de
feat(library/init/meta/format): add 'format.indent'
2016-10-05 10:39:40 -07:00
Leonardo de Moura
73ed9db161
chore(frontends/lean/token_table): remove old keyword
2016-10-05 08:46:23 -07:00
Leonardo de Moura
c9af4f53c7
feat(library/init/meta/tactic): add solve_aux
2016-10-05 08:45:44 -07:00
Leonardo de Moura
3a3e30523b
feat(library/init/meta): start converter library
2016-10-04 20:50:54 -07:00
Leonardo de Moura
7f30844348
feat(library/tactic/simplifier/simp_lemmas): add tactic for applying one simplification step form a simp_lemmas set
2016-10-04 19:51:33 -07:00
Leonardo de Moura
e2de6ab28b
fix(library/init/meta/simp_tactic): typo
2016-10-04 19:51:12 -07:00
Leonardo de Moura
76fca40be2
test(tests/lean/slow_error): add test that exposed perf problem in type context
2016-10-04 02:06:25 -07:00
Leonardo de Moura
4516d1b046
feat(library/init/meta/attribute, library/tactic/user_attribute): make sure caching_user_attribute is in (Type 1)
2016-10-04 02:05:34 -07:00
Leonardo de Moura
6b582ca6c3
fix(library/vm/vm): bug at get_constant
2016-10-04 01:58:39 -07:00
Leonardo de Moura
bd4c77d414
fix(library/tactic/user_attribute): anonymous attribute names are now allowed
2016-10-04 01:11:33 -07:00
Leonardo de Moura
545b89d556
fix(library/vm): memory violation
2016-10-04 00:09:52 -07:00
Leonardo de Moura
269fb198fb
perf(library/type_context): process function before arguments
2016-10-03 23:34:14 -07:00
Gabriel Ebner
837938981e
fix(tests/util/lp): fix debug build
2016-10-03 22:22:12 -07:00
Soonho Kong
8b1f55010b
feat(CMakeLists.txt): include cpp14_lang/sized_deallocation.cmake
...
Previously, it downloaded cpp14_lang/sized_deallocation.cmake file from
Github during cmake was running. This worked in most cases but failed in an
environment where network connection was not provided. A particular
example is to build Ubuntu packages. See [1] for details.
This patch is to include cpp14_lang/sized_deallocation.cmake file in the
repository. It also set COMP_CMAKE_PATH to indicate the location of the
pre-downloaded file. 'CACHE INTERNAL ""' is required to set the scope of
COMP_CMAKE_PATH file so that it's visible inside of
'CompBase.cmake'. See [2] for details.
[1]: https://launchpadlibrarian.net/263258156/buildlog_ubuntu-precise-amd64.lean_0.2.0.20160603023524.gitc73b2860d5211187e9aa1039d1a49dcabdca4292~12.04_BUILDING.txt.gz
[2]: https://cmake.org/cmake/help/v2.8.12/cmake.html#command:set
2016-10-03 22:21:55 -07:00
Gabriel Ebner
93cf15391c
fix(library/tactic/simplifier/util): fix deserialization of flat macros
2016-10-03 22:20:15 -07:00
Leonardo de Moura
2164b4d553
feat(kernel/type_checker): make sure anonymous binder names are rejected by the kernel
2016-10-03 22:15:49 -07:00
Leonardo de Moura
629cfa6ba1
feat(library/tactic/simplifier): disable broken theory_simplifiers
2016-10-03 22:06:44 -07:00
Leonardo de Moura
f9ca306fe2
chore(tests/lean/run): fix tests
2016-10-03 21:44:48 -07:00
Leonardo de Moura
d549044d27
feat(library/init/meta,library/tactic/simplifier): user defined simp attributes
2016-10-03 21:39:17 -07:00
Leonardo de Moura
4ee9554c96
fix(library/vm/vm): reference may be invalidated when the vector is resized
2016-10-03 21:31:17 -07:00
Leonardo de Moura
a0a7e22bb7
fix(library/vm/vm): uninitialized variable
2016-10-03 21:25:30 -07:00
Leonardo de Moura
88c6177a4c
fix(library/tactic/simplifier/simp_lemmas): incorrect binding
2016-10-03 20:46:22 -07:00
Leonardo de Moura
7be74a6c0c
feat(library/init/meta/simp_tactic): add command for creating simp attributes
2016-10-03 20:38:15 -07:00
Leonardo de Moura
d252f4ac7d
feat(frontends/lean/elaborator): improve mini-lenses
2016-10-03 20:17:45 -07:00
Leonardo de Moura
e9ef7d1342
chore(util/parray): remove dead code
2016-10-03 19:09:57 -07:00