A Formal Logic for Formal Category Theory

10/16/2022
by   Max S. New, et al.
0

We present a domain-specific type theory for constructions and proofs in category theory. The type theory axiomatizes notions of category, functor, profunctor and a generalized form of natural transformations. The type theory imposes an ordered linear restriction on standard predicate logic, which guarantees that all functions between categories are functorial, all relations are profunctorial, and all transformations are natural by construction, with no separate proofs necessary. Important category theoretic proofs such as the Yoneda lemma and Co-yoneda lemma become simple type theoretic proofs about the relationship between unit, tensor and (ordered) function types, and can be seen to be ordered refinements of theorems in predicate logic. The type theory is sound and complete for a categorical model in virtual equipments, which model both internal and enriched category theory. While the proofs in our type theory look like standard set-based arguments, the syntactic discipline ensure that all proofs and constructions carry over to enriched and internal settings as well.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/18/2023

Fixpoint constructions in focused orthogonality models of linear logic

Orthogonality is a notion based on the duality between programs and thei...
research
01/31/2018

Call-by-name Gradual Type Theory

We present gradual type theory, a logic and type theory for call-by-name...
research
09/17/2023

Formalizing two-level type theory with cofibrant exo-nat

This study provides some results about two-level type-theoretic notions ...
research
12/05/2019

Isomorphism Revisited

Isomorphism is central to the structure of mathematics and has been form...
research
09/29/2020

Isomorphic Data Type Transformations

In stepwise derivations of programs from specifications, data type refin...
research
05/30/2023

The Stratified Foundations as a theory modulo

The Stratified Foundations are a restriction of naive set theory where t...
research
02/05/2020

Combinatorial proofs of two theorems of Lutz and Stull

The purpose of this note is to give combinatorial-geometric proofs for t...

Please sign up or login with your details

Forgot password? Click here to reset