FIRST STEPS IN SYNTHETIC GUARDED DOMAIN THEORY: STEP-INDEXING IN THE TOPOS OF TREES

被引:36
作者
Birkedal, Lars [1 ]
Mogelberg, Rasmus Ejlers
Schwinghammer, Jan [2 ]
Stovring, Kristian [3 ]
机构
[1] IT Univ Copenhagen, Copenhagen, Denmark
[2] Univ Saarland, D-66123 Saarbrucken, Germany
[3] Univ Copenhagen, DIKU, DK-1168 Copenhagen, Denmark
关键词
Denotational semantics; guarded recursion; step-indexing; recursive types; STATE;
D O I
10.2168/LMCS-8(4:1)2012
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present the topos S of trees as a model of guarded recursion. We study the internal dependently-typed higher-order logic of S and show that S models two modal operators, on predicates and types, which serve as guards in recursive definitions of terms, predicates, and types. In particular, we show how to solve recursive type equations involving dependent types. We propose that the internal logic of S provides the right setting for the synthetic construction of abstract versions of step-indexed models of programming languages and program logics. As an example, we show how to construct a model of a programming language with higher-order store and recursive types entirely inside the internal logic of S. Moreover, we give an axiomatic categorical treatment of models of synthetic guarded domain theory and prove that, for any complete Heyting algebra A with a well-founded basis, the topos of sheaves over A forms a model of synthetic guarded domain theory, generalizing the results for S.
引用
收藏
页数:45
相关论文
共 35 条
[1]  
Abbott M, 2004, LECT NOTES COMPUT SC, V3142, P59
[2]   State-Dependent Representation Independence [J].
Ahmed, Amal ;
Dreyer, Derek ;
Rossberg, Andreas .
ACM SIGPLAN NOTICES, 2009, 44 (01) :340-353
[3]  
[Anonymous], 1986, Introduction to Higher Order Categorical Logic
[4]  
[Anonymous], 20 C COMP SCI LOG CS
[5]  
[Anonymous], 1992, Sheaves in geometry and logic
[6]   A very modal model of a modern, major, general type system [J].
Appel, Andrew W. ;
Mellies, Paul-Andre ;
Richards, Christopher D. ;
Vouillon, Jerome .
ACM SIGPLAN NOTICES, 2007, 42 (01) :109-122
[7]  
Birkedal L., 2010, FICS
[8]  
Birkedal L., 2011, LNCS, V6604, P305
[9]   First steps in synthetic guarded domain theory: step-indexing in the topos of trees [J].
Birkedal, Lars ;
Mogelberg, Rasmus Ejlers ;
Schwinghammer, Jan ;
Stovring, Kristian .
26TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2011), 2011, :55-64
[10]   Step-Indexed Kripke Models over Recursive Worlds [J].
Birkedal, Lars ;
Reus, Bernhard ;
Schwinghammer, Jan ;
Stovring, Kristian ;
Thamsborg, Jacob ;
Yang, Hongseok .
ACM SIGPLAN NOTICES, 2011, 46 (01) :119-131