Tag. refinement-types
References (13)
Revisiting Soundness for Occurrence Typing, Semantically fu-2026-revisiting
Towards Formal Verification of Hybrid Synchronous Programs with Refinement Types dane-2026-towards
Indexed Types for a Statically Safe WebAssembly geller-2024-indexed
Focusing on Refinement Typing economou-2023-focusing
Dependent Type Refinements for Futures somayyajula-2023-dependent
Explicit Refinement Types ghalayini-2023-explicit
CN: Verifying Systems C Code with Separation-Logic Refinement Types pulte-2023-cn
Synchronous Programming and Refinement Types in Robotics: From Verification to Implementation chen-2022-synchronous
An Isbell duality theorem for type refinement systems mellies-2017-an
Functors are type refinement systems mellies_zeilberger_2015
The standard reading of type theory through the lens of category theory is based on the idea of viewing a type system as a category of well-typed terms. We propose a basic revision of this reading: rather than interpreting type systems as categories, we describe them as functors from a category of typing derivations to a category of underlying terms. Then, turning this around, we explain how in fact any functor gives rise to a generalized type system, with an abstract notion of typing judgment, typing derivations and typing rules. This leads to a purely categorical reformulation of various natural classes of type systems as natural classes of functors.
The main purpose of this paper is to describe the general framework (which can also be seen as providing a categorical analysis of refinement types), and to present a few applications. As a larger case study, we revisit Reynolds’ paper on “The Meaning of Types” (2000), showing how the paper’s main results may be reconstructed along these lines.