CIRT: Calculus of Inductive Refinement Types
Alessio Ferrarini, Niki Vazou, G. A. Kavvos
Key points
From the paper's conclusion- We extend the model to positive and stratified inductive types, showing that both are consistent in the presence of impredicativity.
Abstract
Refinement types are a powerful mechanism for statically verifying properties of programs. They have been successfully integrated into practical languages such as Haskell, Scala, and Rust. However, their metatheory is not yet fully understood. In this paper we present the first semantic model for a refinement type system that supports the full feature combination of subtyping, SMT-style equality, impredicative polymorphism, and (stratified) inductive types. Interactions between these features have led to inconsistencies in the past, and existing formalizations of refinement type systems omit at least one of them. We present a realizability model based on partial equivalence relations (PERs) over a Scott domain, which overcomes these obstacles. We use our model to prove the consistency of a core refinement type system and to give a semantic account of the annotation-independence property of refinement types. Our semantics uses two interpretations: a refined one, which interprets types and their refinements as PERs; and an unrefined one, consisting of complete uniform PERs with a bottom element (CUPERs), which models computational behaviour independently of refinements. We extend the model to positive and stratified inductive types, showing that both are consistent in the presence of impredicativity.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- First-Class Refinement Types for ScalaProceedings of the ACM on Programming Languages · 2026
- Confluence Techniques for Dependent Type Theory with Typed ConversionProceedings of the ACM on Programming Languages · 2026
- Context Types: Bunched Modalities for Unifying Safety and ReachabilityarXiv · 2026
- Kukicha -- Efficient Yet Powerful Refinement Types for Object-Oriented LanguagesFormal Aspects of Computing · 2026
- Denotational Results in Compiler Correctness and Comparisons with Operational ApproachesarXiv · 2026
- Bringing Foundational Verification to Real-World Rust CodeProceedings of the ACM on Programming Languages · 2026