lean2/library/logic
Floris van Doorn d8a616fa70 refactor(library): major changes in the library
I made some major changes in the library. I wanted to wait with pushing
until I had finished the formalization of the slice functor, but for
some reason that is very hard to formalize, requiring a lot of casts and
manipulation of casts. So I've not finished that yet.

Changes:

- in multiple files make more use of variables

- move dependent congr_arg theorems to logic.cast and proof them using heq (which doesn't involve nested inductions and fewer casts).

- prove some more theorems involving heq, e.g. hcongr_arg3 (which do not
  require piext)

- in theorems where casts are used in the statement use eq.rec_on
  instead of eq.drec_on

- in category split basic into basic, functor and natural_transformation

- change the definition of functor to use fully bundled
categories. @avigad: this means that the file semisimplicial.lean will
also need changes (but I'm quite sure nothing major).  You want to
define the fully bundled category Delta, and use only fully bundled
categories (type and ᵒᵖ are notations for the fully bundled
Type_category and Opposite if you open namespace category.ops). If you
want I can make the changes.

- lots of minor changes
2014-11-03 18:45:12 -08:00
..
axioms refactor(library): major changes in the library 2014-11-03 18:45:12 -08:00
examples feat(library/algebra/category): use variables instead of parameters 2014-10-11 16:40:18 -07:00
cast.lean refactor(library): major changes in the library 2014-11-03 18:45:12 -08:00
connectives.lean refactor(library): use 'reserve' notation in the standard library 2014-10-21 15:39:47 -07:00
decidable.lean refactor(library): major changes in the library 2014-11-03 18:45:12 -08:00
default.lean refactor(library/logic): remove 'core' subdirectory 2014-10-05 10:50:13 -07:00
eq.lean refactor(library): major changes in the library 2014-11-03 18:45:12 -08:00
identities.lean feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied 2014-10-12 13:06:00 -07:00
if.lean feat(frontends/lean): change default precedence to 1 2014-10-20 18:40:55 -07:00
inhabited.lean feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied 2014-10-12 13:06:00 -07:00
instances.lean refactor(library): use 'reserve' notation in the standard library 2014-10-21 15:39:47 -07:00
logic.md refactor(library/logic): remove 'core' subdirectory 2014-10-05 10:50:13 -07:00
nonempty.lean feat(frontends/lean): force 'classes' to be declared before instances are declared, closes #228 2014-10-07 18:02:15 -07:00
prop.lean refactor(library/logic): remove 'core' subdirectory 2014-10-05 10:50:13 -07:00
quantifiers.lean feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied 2014-10-12 13:06:00 -07:00