strong axioms
type theory (dependent, extensional, intensional type theory)
As a discipline, logic is the study of methods of reasoning. While in the past (and often today in philosophical circles), this discipline was prescriptive (describing how one should reason), it is increasingly (and usually in mathematical circles) descriptive (describing how one does reason).
As a (potentially) mathematical object, a logic is a specific method of reasoning. There are several ways to formalise this which for the moment we will not to get into, but maybe later.
It turns out that logic is naturally expressed in the language of category theory: given any category , its objects may be understood as types of terms, and morphisms as terms (generalized elements of ). A proposition is then a subobject, – the subobject of all those variables for which the proposition is true.
In summary:
type theory deals with understanding categories in terms of their slice categories, collected in their codomain fibration;
logic deals with understanding subobjects, hence subterminal objects of these slice categories.
For instance,
limits and colimits, exponentials, and object classifiers belong to the type theory,
while images, dual images, intersections, unions, and subobject classifiers belong to the logic.
See also: