A Categorical Framework for Program Semantics and Semantic Abstraction - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

A Categorical Framework for Program Semantics and Semantic Abstraction


Categorical semantics of type theories are often characterized as structure-preserving functors. This is because in category theory both the syntax and the domain of interpretation are uniformly treated as structured categories, so that we can express interpretations as structure-preserving functors between them. This mathematical characterization of semantics makes it convenient to manipulate and to reason about relationships between interpretations. Motivated by this success of functorial semantics, we address the question of finding a functorial analogue in abstract interpretation, a general framework for comparing semantics, so that we can bring similar benefits of functorial semantics to semantic abstractions used in abstract interpretation. Major differences concern the notion of interpretation that is being considered. Indeed, conventional semantics are value-based whereas abstract interpretation typically deals with more complex properties. In this paper, we propose a functorial approach to abstract interpretation and study associated fundamental concepts therein. In our approach, interpretations are expressed as oplax functors in the category of posets, and abstraction relations between interpretations are expressed as lax natural transformations representing concretizations. We present examples of these formal concepts from monadic semantics of programming languages and discuss soundness.
Fichier principal
Vignette du fichier
mfps.pdf (677.49 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04290749 , version 1 (17-11-2023)




Shin-Ya Katsumata, Xavier Rival, Jérémy Dubut. A Categorical Framework for Program Semantics and Semantic Abstraction. MFPS 2023 - Mathematical Foundations of Program Semantics, Jun 2023, Bloomington, United States. ⟨hal-04290749⟩
25 View
69 Download



Gmail Mastodon Facebook X LinkedIn More