We give extensional and intensional characterizations of functional programs with nondeterminism: as structure preserving functions between biorders, and as nondeterministic sequential algorithms on ordered concrete data structures which compute them. A fundamental result establishes that these extensional and intensional representations are equivalent, by showing how to construct the unique sequential algorithm which computes a given monotone and stable function, and describing the conditions on sequential algorithms which correspond to continuity with respect to each order. We illustrate by defining may and must-testing denotational semantics for a sequential functional language with bounded and unbounded choice operators. We prove that these are computationally adequate, despite the non-continuity of the must-testing semantics of unbounded nondeterminism. In the bounded case, we prove that our continuous models are fully abstract with respect to may and must-testing by identifying a simple universal type, which may also form the basis for models of the untyped lambda-calculus. In the unbounded case we observe that our model contains computable functions which are not denoted by terms, by identifying a further "weak continuity" property of the definable elements, and use this to establish that it is not fully abstract.


翻译:我们给功能程序提供扩展和强化的定性,这种定性是非确定性的:作为保持两极之间功能的结构,以及作为定购具体数据结构的不确定性顺序算法,用以计算它们。一个基本结果证明,这些扩展和强化的表达形式是等效的,方法是展示如何构建计算给定单调和稳定功能的独特序列算法,描述符合每个顺序连续性的顺序算法的条件。我们通过定义可能并必须测试与约束和无约束的选择操作者相接的功能语言的批注性语义。我们证明,这些算法是充分的,尽管必须测试非约束和不确定非约束的语义。在受约束的情况下,我们证明我们连续的模型对于可能并且必须通过确定一个简单的通用类型来测试。我们通过界定可能构成非类型羊羔-计算模型的基础。在无约束的案例中,我们发现,我们的模型含有可调制的功能,但不能用抽象术语来确定“无法完全确定”的连续性。

0
下载
关闭预览

相关内容

让 iOS 8 和 OS X Yosemite 无缝切换的一个新特性。 > Apple products have always been designed to work together beautifully. But now they may really surprise you. With iOS 8 and OS X Yosemite, you’ll be able to do more wonderful things than ever before.

Source: Apple - iOS 8
专知会员服务
76+阅读 · 2021年3月16日
【干货书】机器学习速查手册,135页pdf
专知会员服务
124+阅读 · 2020年11月20日
知识图谱推理,50页ppt,Salesforce首席科学家Richard Socher
专知会员服务
105+阅读 · 2020年6月10日
因果图,Causal Graphs,52页ppt
专知会员服务
241+阅读 · 2020年4月19日
【哈佛大学商学院课程Fall 2019】机器学习可解释性
专知会员服务
100+阅读 · 2019年10月9日
已删除
将门创投
5+阅读 · 2019年4月4日
Arxiv
0+阅读 · 2021年10月28日
Arxiv
0+阅读 · 2021年10月27日
Arxiv
0+阅读 · 2021年10月24日
Arxiv
4+阅读 · 2019年9月5日
Semantics of Data Mining Services in Cloud Computing
Arxiv
4+阅读 · 2018年10月5日
VIP会员
相关资讯
已删除
将门创投
5+阅读 · 2019年4月4日
Top
微信扫码咨询专知VIP会员