2014-08-01 17:37:55 +00:00
|
|
|
logic
|
|
|
|
=====
|
|
|
|
|
2014-12-15 21:13:04 +00:00
|
|
|
Logical constructions and theorems, beyond what has already been
|
2015-07-29 20:30:18 +00:00
|
|
|
declared in init.datatypes and init.logic.
|
2014-08-01 17:37:55 +00:00
|
|
|
|
2015-07-29 20:30:18 +00:00
|
|
|
The command `import logic` does not import any axioms by default.
|
2014-10-05 17:50:13 +00:00
|
|
|
|
2014-12-15 21:13:04 +00:00
|
|
|
* [connectives](connectives.lean) : the propositional connectives
|
2014-12-01 05:19:56 +00:00
|
|
|
* [eq](eq.lean) : additional theorems for equality and disequality
|
2014-10-05 17:50:13 +00:00
|
|
|
* [cast](cast.lean) : casts and heterogeneous equality
|
|
|
|
* [quantifiers](quantifiers.lean) : existential and universal quantifiers
|
|
|
|
* [identities](identities.lean) : some useful identities
|
2014-12-15 21:13:04 +00:00
|
|
|
* [instances](instances.lean) : class instances for eq and iff
|
|
|
|
* [subsingleton](subsingleton.lean)
|
|
|
|
* [default](default.lean)
|
2014-10-05 17:50:13 +00:00
|
|
|
|
2015-07-29 20:30:18 +00:00
|
|
|
The file `choice.lean` declares a choice axiom, and uses it to
|
|
|
|
prove the excluded middle, propositional completeness, axiom of
|
|
|
|
choice, and prove that the decidable class is trivial when the
|
|
|
|
choice axiom is assumed.
|
|
|
|
|
|
|
|
* [choice](choice.lean)
|
|
|
|
|
2014-12-15 21:13:04 +00:00
|
|
|
Subfolders:
|
2014-10-05 17:50:13 +00:00
|
|
|
|
2014-08-23 01:10:22 +00:00
|
|
|
* [examples](examples/examples.md)
|