Commit graph

8609 commits

Author SHA1 Message Date
Floris van Doorn
fb81bcaeee fix(tests): fix tests after changes is the HoTT library 2016-07-09 10:20:22 -07:00
Floris van Doorn
17ccc283a9 feat(hott): move basic theorems from colimit development to library.
Most notable changes:
rename apo011 -> apd011 and apd011 -> apdt011
make an argument of pathover_of_eq explicit
2016-07-09 10:20:22 -07:00
Floris van Doorn
ae1b2e854c feat(hott): various minor changes 2016-07-09 10:20:21 -07:00
Floris van Doorn
fcf06ae2f5 feat(vankampen): prove the van Kampen theorem with basepoints 2016-07-09 10:20:21 -07:00
Floris van Doorn
e5ab514263 feat(lstlean.tex): add Omega, and fix ` and * 2016-07-09 10:20:21 -07:00
Floris van Doorn
15cdd593c1 feat(init.{equiv|ua}): remove duplicated theorem 2016-07-09 10:20:21 -07:00
Floris van Doorn
41de1a8271 feat(hit): add construction of propositional truncation to the library 2016-07-09 10:20:21 -07:00
Floris van Doorn
735230ad07 feat(hott): small changes, simplify van Kampen 2016-07-09 10:20:21 -07:00
Floris van Doorn
e96e4a677d feat(homotopy): prove the naive Seifert-Van Kampen theorem
Also define the pushout of categories and the pushout of groupoids
2016-07-09 10:20:21 -07:00
Floris van Doorn
61848c4a2e feat(hott): define pushout of groupoids 2016-07-09 10:20:21 -07:00
Floris van Doorn
9f13527c25 chore(hott): update default files and some markdown files 2016-07-09 10:20:21 -07:00
Floris van Doorn
ac2afb6d82 doc(depgraph): update installation instructions 2016-07-09 10:20:21 -07:00
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