首页> 外文期刊>Theoretical computer science >A domain-theoretic semantics of lax generic functions
【24h】

A domain-theoretic semantics of lax generic functions

机译:lax泛型函数的域理论语义

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

摘要

The semantic structure of a polymorphic calculus λ{sub}m is studied. λ{sub}m is defined over a hierarchical type structure, and a function in this calculus, called a generic function, can be composed from more than one lambda expression and the ways it behaves on each type are weakly related in that it lax commutes with the coercion functions defined from the subtypes to the supertypes. Since laxness is intermediate between ad hocness (behaviors on each type are not related) and coherency (commuting with the coercion functions), λ{sub}m has syntactic properties lying between those of calculi with ad hoc generic functions and coherent generic functions studied in Tsuiki (Math. Struct. Comput. Sci. 8 (1998) 321). That is, although λ{sub}m allows self application and thus is not normalizing, it does not have any unsolvable terms. For this reason, all the semantic domains are connected by mutually recursive equations and, at the same time, they do not have the least elements. We solve them by considering fibrations and expressing the equations as a recursive equation about fibrations. We also show the adequacy theorem for λ{sub}m following the construction of Pitts and use it to derive some syntactic properties.
机译:研究了多态演算λ{sub} m的语义结构。 λ{sub} m是在分层类型结构上定义的,并且在该演算中的一个函数(称为泛型函数)可以由多个lambda表达式组成,并且它在每种类型上的行为方式之间的联系较弱,因为它对通配的转换不严格从子类型到超类型定义的强制功能。由于松弛是介于ad hocness(每种类型的行为不相关)和连贯性(与coercion函数交换)之间的中间点,因此λ{sub} m的句法性质介于具有ad hoc泛型函数的结石和相关的泛型函数之间。 Tsuiki(Math。Struct.Comput.Sci.8(1998)321)。也就是说,尽管λ{sub} m允许自我应用,因此未进行归一化,但它没有任何不可解的项。因此,所有语义域都通过相互递归的方程式相互连接,同时它们没有最少的元素。我们通过考虑纤维化并将方程表达为关于纤维化的递归方程来解决它们。我们还证明了在构造Pitts之后λ{sub} m的充分性定理,并用它来推导某些句法性质。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号