Arrow Research search
Back to CSL

CSL 2013

Global semantic typing for inductive and coinductive computing

Conference Paper Accepted Paper Logic in Computer Science ยท Theoretical Computer Science

Abstract

Common data-types, such as N, can be identified with term algebras. Thus each type can be construed as a global set; e. g. for N this global set is instantiated in each structure S to the denotations in S of the unary numerals. We can then consider each declarative program as an axiomatic theory, and assigns to it a semantic (Curry-style) type in each structure. This leads to the intrinsic theories of [Leivant, 2002], which provide a purely logical framework for reasoning about programs and their types. The framework is of interest because of its close fit with syntactic, semantic, and proof theoretic fundamentals of formal logic. This paper extends the framework to data given by coinductive as well as inductive declarations. We prove a Canonicity Theorem, stating that the denotational semantics of an equational program P, understood operationally, has type \tau over the canonical model iff P, understood as a formula has type \tau in every "data-correct" structure. In addition we show that every intrinsic theory is interpretable in a conservative extension of first-order arithmetic.

Authors

Keywords

  • Inductive and coinductive types
  • equational programs
  • intrinsic theories
  • global model theory

Context

Venue
Annual Conference on Computer Science Logic
Archive span
1988-2026
Indexed papers
1413
Paper id
244323141195188238
v2026.09.13