首页> 外文期刊>Theoretical computer science >The HASCASL prologue: Categorical syntax and semantics of the partial λ-calculus
【24h】

The HASCASL prologue: Categorical syntax and semantics of the partial λ-calculus

机译:The HASCASL prologue: Categorical syntax and semantics of the partial λ-calculus

获取原文
获取原文并翻译 | 示例
       

摘要

We develop the semantic foundations of the specification language HASCASL, which combines algebraic specification and functional programming on the basis of Moggi's partial λ-calculus. Generalizing Lambek's classical equivalence between the simply typed λ-calculus and cartesian closed categories, we establish an equivalence between partial cartesian closed categories (pccc's) and partial λ-theories. Building on these results, we define (set-theoretic) notions of intensional Henkin model and syntactic λ-algebra for Moggi's partial λ-calculus. These models are shown to be equivalent to the originally described categorical models in pccc's via the global element construction. The semantics of HASCASL is defined in terms of syntactic λ-algebras. Correlations between logics and classes of categories facilitate reasoning both on the logical and on the categorical side; as an application, we pinpoint unique choice as the distinctive feature of topos logic (in comparison to intuitionistic higher-order logic of partial functions, which by our results is the logic of pccc's with equality). Finally, we give some applications of the model-theoretic equivalence result to the semantics of HASCASL and its relation to first-order CASL.

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号