一种概率性和非确定性的按推值调用语言
A Probabilistic and Non-Deterministic Call-by-Push-Value Language
摘要:
没有已知的方法可以为高阶概率语言提供域理论语义,使得所涉及的域是连续的或准连续的--后者需要进行任何严肃的数学运算。我们认为,这个问题自然消失的语言有两种类型,其中一种是在笛卡尔封闭的连续dcpos范畴解释,另一种是解释在一个范畴,是封闭的概率powerdomain函子。这样的设置由Paul B. Levy的按推值调用范式。根据这种见解,我们定义了一种按推值调用的语言,概率选择位于值类型内部,并且从值类型到计算类型的转换涉及恶魔般的非确定性。我们给出了域理论语义和操作语义的语言,我们表明,他们是健全的和足够的。通过添加统计终止测试器和并行if,我们证明了该语言甚至是完全抽象的-这两个原语是必需的。
英文摘要:
There is no known way of giving a domain-theoretic semantics to higher-order probabilistic languages, in such a way that the involved domains are continuous or quasi-continuous - the latter is required to do any serious mathematics. We argue that the problem naturally disappears for languages with two kinds of types, where one kind is interpreted in a Cartesian-closed category of continuous dcpos, and the other is interpreted in a category that is closed under the probabilistic powerdomain functor. Such a setting is provided by Paul B. Levy's call-by-push-value paradigm. Following this insight, we define a call-by-push-value language, with probabilistic choice sitting inside the value types, and where conversion from a value type to a computation type involves demonic non-determinism. We give both a domain-theoretic semantics and an operational semantics for the resulting language, and we show that they are sound and adequate. With the addition of statistical termination testers and parallel if, we show that the language is even fully abstract - and those two primitives are required for that.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。