[Paper Review] Categories with families, FOLDS and logic enriched type theory
This paper introduces a hyperdoctrine framework over categories with families (cwfs) to provide a unified semantic foundation for logic enriched type theories, including FOLDS and Aczel/Belo's dependently typed first-order logic (DFOL). It establishes a soundness and completeness theorem using a dependent Lindenbaum-Tarski algebra, validates standard first-order semantics, and introduces a local propositions-as-types principle for constructive reasoning.
Categories with families (cwfs) is an established semantical structure for dependent type theories, such as Martin-Lo type theory. Makkai's first-order logic with dependent sorts (FOLDS) is an example of a so-called logic enriched type theory. We introduce in this article a notion of hyperdoctrine over a cwf, and show how FOLDS and Aczel's and Belo's dependently typed (intuitionistic) first-order logic (DFOL) fit in this semantical framework. A soundness and completeness theorem is proved for such a logic. The semantics is functorial in the sense of Lawvere, and uses a dependent version of the Lindenbaum-Tarski algebra for a DFOL theory. Agreement with standard first-order semantics is established. Some applications of DFOL to constructive mathematics and categorical foundations are given. A key feature is a local propositions-as-types principle.
Motivation & Objective
- To develop a general semantic framework for logic enriched type theories using categories with families (cwfs).
- To formalize FOLDS and DFOL within a unified hyperdoctrine structure over cwfs.
- To establish soundness and completeness for DFOL using a dependent version of the Lindenbaum-Tarski algebra.
- To validate the semantics against standard first-order logic and demonstrate functoriality in the sense of Lawvere.
- To explore applications in constructive mathematics and categorical foundations through a local propositions-as-types principle.
Proposed method
- Defining a hyperdoctrine over a cwf as a fibration of propositions satisfying specific structure-preserving properties.
- Constructing a dependent Lindenbaum-Tarski algebra for a DFOL theory, generalizing the classical construction to dependent sorts.
- Using the hyperdoctrine framework to interpret logical connectives and quantifiers in a type-theoretic setting.
- Establishing functorial semantics via Lawvere-style adjoint functors, ensuring logical and categorical coherence.
- Integrating the propositions-as-types principle locally within the hyperdoctrine, enabling constructive reasoning.
- Proving soundness and completeness by showing that semantic validity aligns with syntactic derivability in DFOL.
Experimental results
Research questions
- RQ1How can FOLDS and DFOL be uniformly interpreted within a categorical framework based on cwfs?
- RQ2What is the appropriate generalization of the Lindenbaum-Tarski algebra to dependent type theories?
- RQ3How can soundness and completeness be established for DFOL in a dependent, type-theoretic setting?
- RQ4In what way does the proposed semantics agree with standard first-order model theory?
- RQ5How does the local propositions-as-types principle enhance constructive reasoning in categorical foundations?
Key findings
- A hyperdoctrine over a cwf provides a general and coherent semantics for logic enriched type theories, including FOLDS and DFOL.
- The dependent Lindenbaum-Tarski algebra construction yields a sound and complete model for DFOL, extending classical algebraic logic to dependent types.
- The semantics is functorial in the sense of Lawvere, ensuring compatibility with categorical reasoning and duality principles.
- The framework validates standard first-order semantics, confirming consistency with established model theory.
- The local propositions-as-types principle is realized within the hyperdoctrine, enabling constructive interpretation of logical propositions as types.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.