Commit graph

8697 commits

Author SHA1 Message Date
Floris van Doorn
dd5dcb1dd1 feat(hott): prove something without using ua and update book.md 2016-07-09 10:20:21 -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
Leonardo de Moura
b58eac5013 chore(tests/lean/extra): fix test 2016-06-02 11:28:00 -07:00
Sebastian Ullrich
273753f3fc chore(tests): mass-update for pp.binder_types false 2016-06-02 11:28:00 -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
Rob Lewis
371638a628 fix(theories/analysis): rename derivative theorems 2016-06-02 10:45:54 -07:00
Rob Lewis
6b71b75d6f fix(theories/move): add missing theorem to move 2016-06-02 10:45:54 -07:00
Rob Lewis
5a439942dd feat(library/theories): adapt analysis theory to use new topological limits 2016-06-02 10:45:54 -07:00
Rob Lewis
6f25abfb87 feat(library/algebra): missing theorems 2016-06-02 10:45:54 -07:00
Rob Lewis
670ee10b27 feat(library/analysis): basic properties about real derivatives 2016-06-02 10:45:54 -07:00
Rob Lewis
92531fba16 feat(theories/analysis): intro/elim rules for continuous_on, etc 2016-06-02 10:45:54 -07:00
Rob Lewis
963c9e8977 feat(theories/topology): add missing continuity facts 2016-06-02 10:45:54 -07:00
Rob Lewis
194cd89000 feat(theories/analysis): use new homomorphism names from algebra 2016-06-02 10:45:54 -07:00
Rob Lewis
89de67f4c3 feat(algebra/ordered_field): add missing theorems about division 2016-06-02 10:45:54 -07:00
Rob Lewis
3482e1eab9 feat(theories/analysis): finish basic properties of Frechet derivative 2016-06-02 10:45:53 -07:00
Rob Lewis
99a4ffb8f2 feat(theories/analysis): more on frechet derivatives 2016-06-02 10:45:53 -07:00
Rob Lewis
3c0f19c967 feat(theories/analysis): define frechet derivative + basic theorems 2016-06-02 10:45:53 -07:00
Rob Lewis
c87e79ff7f feat(theories/analysis): add weak squeeze theorem for converges_to_at 2016-06-02 10:45:53 -07:00
Rob Lewis
56ca41a916 feat(algebra/module): difference of linear operators is linear 2016-06-02 10:45:53 -07:00
Rob Lewis
79ff2f7b8f feat(algebra/ordered_field): add stronger division sign theorem 2016-06-02 10:45:53 -07:00
Jeremy Avigad
47843e4fe1 refactor(README.md): change Latex link from pygments to lstlean 2016-06-02 10:45:13 -07:00
Jeremy Avigad
2bc67cf936 refactor(library/theories/analysis/metric_space): refactor some proofs 2016-06-02 10:45:13 -07:00
Jeremy Avigad
e17c5c4f08 feat(library/theories/analysis/*): install new limits 2016-06-02 10:45:13 -07:00
Jeremy Avigad
dd8be61c84 feat(library/theories/topology/limit): add general properties of limits, various improvements 2016-06-02 10:45:13 -07:00
Jeremy Avigad
eae80118bf feat(library/theories/topology/limit.lean): add topological filters 2016-06-02 10:45:13 -07:00
Jeremy Avigad
b8c230a55d refactor(library/theories/topology/approaches): rename 'filterlim' to 'tendsto' etc., and general cleaning 2016-06-02 10:45:13 -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
Floris van Doorn
66ec690061 feat(book): add new theorems to book.md 2016-05-06 14:27:27 -07:00
Floris van Doorn
52dd6cf90b feat(hott): Port files from other repositories to the HoTT library.
This commit adds truncated 2-quotients, groupoid quotients, Eilenberg MacLane spaces, chain complexes, the long exact sequence of homotopy groups, the Freudenthal Suspension Theorem, Whitehead's principle, and the computation of homotopy groups of almost all spheres which are known in HoTT.
2016-05-06 14:27:27 -07:00
Floris van Doorn
ab7adf3084 fix(pathover): remove unused argument of loop_pathover 2016-05-06 14:27:27 -07:00
Floris van Doorn
2afdaf6906 fix(groupoid): redefine groupoid given by a group
The composition was in the reverse order
2016-05-06 14:27:27 -07:00
Floris van Doorn
1135d80266 feat(hott): use group isomorphisms instead of equality between groups 2016-05-06 14:27:27 -07:00
Floris van Doorn
8db4676c46 feat(hott): various changes and additions in the HoTT library
Add more theorems about mapping cylinders, fibers, truncated 2-quotient, truncated univalence, pre/postcomposition with an iso in a precategory.

renamings: equiv.refl -> equiv.rfl and equiv_eq <-> equiv_eq'
2016-05-06 14:27:27 -07:00