Commit graph

8628 commits

Author SHA1 Message Date
Jakob von Raumer
0ff8a96be1 feat(hott) formalize book lemma 9.9.1: essentially surjective functors induce faithful functors in the functor category 2016-09-08 19:34:54 -07:00
Jakob von Raumer
3de39200a4 chore(hott) update book.md and constructions.md to include rezk completion 2016-09-08 19:34:54 -07:00
Jeremy Avigad
2cdefbbf0c feat(library/theories/commutative_algebra/ideal.lean): add ideals and ring quotient 2016-07-27 14:19:57 -04:00
Jeremy Avigad
e72032d46a fix(library/theories/group_theory/{basic,quotient}): small fixes 2016-07-27 12:46:14 -04:00
Jakob von Raumer
cc70845332 chore(hott) update book.md and constructions.md to include rezk completion 2016-07-09 10:32:50 -07:00
Jakob von Raumer
18a27cf963 chore(hott) merge namespaces in rezk completion 2016-07-09 10:31:42 -07:00
Jakob von Raumer
82a8d137da feat(hott) prove that rezk functor is a weak equivalence 2016-07-09 10:31:42 -07:00
Jakob von Raumer
57bf0a09dd feat(hott) add rezk completion as univalent category 2016-07-09 10:31:42 -07:00
Jakob von Raumer
86d9a1c84d feat(hott) add id_of_iso of rezk completion 2016-07-09 10:31:42 -07:00
Jakob von Raumer
6d6ab3f36b feat(hott) instantiate rezk completion as precategory 2016-07-09 10:31:42 -07:00
Jakob von Raumer
64e1e5404c feat(hott) add composition for rezk completion 2016-07-09 10:31:41 -07:00
Jakob von Raumer
5c4aac6c8a feat(hott) add idenity for rezk completion 2016-07-09 10:31:41 -07:00
Jakob von Raumer
8d4ad591c8 feat(hott) add missing pathover lemmas 2016-07-09 10:31:41 -07:00
Jakob von Raumer
a5fe82f177 feat(hott) add carrier and hom set of rezk completion 2016-07-09 10:31:41 -07:00
Leonardo de Moura
a5fb28ca78 chore(frontends/lean,tests): fix tests and style 2016-07-09 10:29:34 -07:00
Gabriel Ebner
53236718a8 refactor(library/data/pnat): make pnat a decidable_linear_order 2016-07-09 10:23:10 -07:00
Floris van Doorn
e4071639f1 fix(builtin_cmds): metavar_args should be false by default 2016-07-09 10:21:17 -07:00
Floris van Doorn
2cc8914874 feat(homotopy): add results about infty-connectedness and loops of EM-spaces 2016-07-09 10:20:22 -07:00
Floris van Doorn
3213b1b3b0 feat(EM): Prove some corollaries of Whitehead's principle, and prove that K(G,1) is unique.
Also reorder the arguments of is_equiv_compose
2016-07-09 10:20:22 -07:00
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