Floris van Doorn
a02ea6b751
Unfold macros using the full typechecker in normalize.
...
Fix #7 . The problem (as I understand it) was that macros were expanded using a typechecker which didn't unfold (semireducible) definitions, which led to the macros not being unfolded correctly.
Many many many thanks to @gebner!
2017-07-20 12:09:39 +01:00
Leonardo de Moura
d38979f783
fix(util/trie): compilation issue
...
See #1619
2017-06-16 14:21:51 -04:00
Leonardo de Moura
3e429f0368
fix(util/trie): fix the build
2017-06-16 14:21:51 -04:00
Floris van Doorn
d86284da63
doc(ubuntu/emacs): update installation instructions
2017-05-25 18:23:27 -04:00
Floris van Doorn
e522343c88
doc(emacs): move configurations to emacs readme and expand try it out section
2017-05-24 21:00:30 -04:00
Floris van Doorn
0de635a6c9
doc(ubuntu/emacs): update installation instructions
2017-05-24 20:38:10 -04:00
Floris van Doorn
a588c0f205
chore(algebra): clean up some imports
...
Also add some notation to lean-input.el
2017-05-22 00:55:35 -04:00
Floris van Doorn
540d451e01
fix(hott): small fixes
2017-03-07 22:56:47 -05:00
Floris van Doorn
914addc66c
feat(homotopy): introduce notation for topological type constructors
...
Also change the alternative induction/recursion principle for the smash product
2017-01-18 22:24:59 +01:00
Sebastian Ullrich
3e3ce6b8ca
feat(util/name): accept more subscripts in identifiers
2016-12-10 22:34:32 +01:00
Sebastian Ullrich
d7320f4938
fix(frontends/lean): fix some output of escaped identifiers
2016-12-10 22:34:05 +01:00
Ramana Kumar
82f71e4561
fix(library/blast/congruence_closure): fix what look to be typos in congr_key_cmp
2016-11-02 10:35:33 -07:00
Sebastian Ullrich
97a6fc23aa
chore(emacs): input & highlighting
2016-11-02 10:33:54 -07:00
Sebastian Ullrich
7ece6ca3a8
fear(frontends/lean): pretty-printing
2016-11-02 10:33:23 -07:00
Sebastian Ullrich
692b358031
feat(frontends/lean/scanner): accept arbitrary escaped identifiers
2016-11-02 10:32:46 -07:00
Sebastian Ullrich
9f8eef5e65
feat(emacs): integrate lean-next-error-mode
2016-11-02 10:32:46 -07:00
Leonardo de Moura
2014b86cf7
fix(library/tc_multigraph): remove incorrect assertion
2016-09-29 01:35:05 -07:00
Leonardo de Moura
a5fb28ca78
chore(frontends/lean,tests): fix tests and style
2016-07-09 10:29:34 -07:00
Floris van Doorn
e4071639f1
fix(builtin_cmds): metavar_args should be false by default
2016-07-09 10:21:17 -07:00
Sebastian Ullrich
e9a6a532ab
fixup! also allow shadowing non-constructor definitions
2016-07-09 10:19:23 -07:00
Sebastian Ullrich
d7789fa58a
feat(frontends/lean): support variables shadowing in patterns
2016-07-09 10:19:23 -07:00
Sebastian Ullrich
87c5ba9f52
Revert "fix(library/definitional/equations): add more equation validation to avoid obscure error message"
...
This reverts commit a3bc1b0cd5
.
2016-07-09 10:19:23 -07:00
Sebastian Ullrich
54844e2325
feat(frontends/lean): add parent classes to local context in struct definitions
...
Fixes #1066
2016-07-05 19:39:57 -07:00
Soonho Kong
3941cc1839
feat(emacs/lean-input.el): add exclude-list to lean-input-export-translations
2016-06-04 05:43:38 -04:00
Soonho Kong
d2b9fd073f
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-06-03 12:00:43 -04:00
Sebastian Ullrich
c73b2860d5
fix(frontends/lean): uniform handling of declaration compound names
...
* allow compound names in `namespace` and `structure`
* adjust error messages
2016-06-02 18:07:03 -07:00
Soonho Kong
bf9f3ddb3c
fix(CMakeLists.txt): update cmake minimum version to 2.8.12
...
In #1060 , we start using compatibility module which requires cmake version >= 2.8.12.
2016-06-02 15:38:23 -04:00
Lev Nachmanson
08b18804fd
dev(lp): fix column_info initialization in lp_solver
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:33:36 -07:00
Lev Nachmanson
3d818f62a4
dev(lp): refactor the lar_core_solver parameters into a separate struct
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:33:36 -07:00
Lev Nachmanson
1529eb1e41
dev(lp): move some dummy field from lar_solver to lar_core_solver
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:33:36 -07:00
Lev Nachmanson
0bb21914e6
dev(lp): simplify the design of lar_solver
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:33:36 -07:00
Lev Nachmanson
1d3c46e712
dev(lp): add a file
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:33:36 -07:00
Lev Nachmanson
d823349d2e
dev(lp): integrate with z3
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:33:36 -07:00
Sebastian Ullrich
f2200fab65
feat(frontends/lean/pp): add option to hide binder types
2016-06-02 11:28:00 -07:00
Soonho Kong
e44f9a0e62
feat(util/memory.cpp): use COMP_HAS_SIZED_DEALLOCATION macro
...
To conditionally include sized deallocation definitions.
Related issue #1044
2016-06-02 11:16:17 -07:00
Soonho Kong
5cda399125
feat(CMakeLists.txt): use compatibility module to check sized_deallocation feacture
...
related issue #1044
see https://github.com/foonathan/compatibility
2016-06-02 11:16:17 -07:00
Sebastian Ullrich
cfc5a20b4a
fix(util/memory): add C++14 sized delete operators
...
Fixes #1044
2016-06-02 11:16:17 -07:00
Sebastian Ullrich
057935d844
fix(emacs): set pp.width to column width instead of buffer width of flycheck error list
2016-05-29 23:09:25 -04:00
Sebastian Ullrich
9fa30e3f7d
chore(emacs): remove Lua support
2016-05-12 01:44:06 -04:00
Jeremy Avigad
ef95a04d21
chore(README.md): add link to Emacs mode information. Closes #1046 .
2016-05-06 14:15:51 -07:00
Jeremy Avigad
b02009fcb9
feat(src/emacs/README.md): add more information about key bindings and commands
2016-05-06 14:15:51 -07:00
Soonho Kong
2ef22fceca
fix(util/lp/lp_solver.h): get_max_iterations_per_stage returns unsigned
...
related issue #1051
2016-05-06 11:36:40 -04:00
Daniel Selsam
eeee7d51cf
chore(kernel/error_msgs): show inferred type when function expected
2016-04-11 09:47:14 -07:00
Sebastian Ullrich
5810a4de8f
fix(emacs/lean-server.el): invoke lean --server from project root if existent
2016-04-11 09:42:34 -07:00
Sebastian Ullrich
08c55754a9
fix(emacs/lean-mode.el): invoke lean from project root if existent
2016-04-11 09:42:34 -07:00
Sebastian Ullrich
543d7702f0
fix(shell/lean): fix documentation of some cmdline options
2016-04-11 09:42:34 -07:00
Leonardo de Moura
226f8bafeb
fix(library/tactic/rewrite_tactic): do not allow projections to be unfolded
...
fixes #1032
This is just a workaround. A better fix has been implemented in the
lean3 branch.
2016-03-28 13:02:57 -07:00
Leonardo de Moura
a07ad6df62
fix(library/tmp_type_context): fixes #1033
...
This is just a workaround.
tmp_type_context is dead code in lean3.
2016-03-28 09:38:22 -07:00
Leonardo de Moura
6f74f65220
fix(library/type_context): instantiate was not replacing all assigned metavars
2016-03-23 13:37:33 -07:00
Daniel Selsam
8f0a0d2b32
feat(library/export, doc/export_format): remove support for mutually inductive types
2016-03-10 20:22:47 -08:00