arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.04145cs.LO
收藏

新范式的组合语义学:概率、混合和超越

Compositional semantics for new paradigms: probabilistic, hybrid and beyond

Fredrik Dahlqvist, Renato Neves

摘要:

新兴的计算范例,如概率和混合编程,引入了新的原始操作,通常需要与经典的编程结构相结合。然而,它仍然是一个挑战,以系统的方式提供这些功能及其组合的语义。出于这个原因,我们引入了一个通用的,一元的框架,使我们能够调查不仅是一个给定的范式支持的编程功能,但也可以扩展到新的构造。通过应用我们的方法的概率和混合的情况下,例如,我们列出所有的二进制程序操作,他们拥有的,并精确显示时,如果重要的公理,如交换性和幂等性举行。使用这个框架,我们还研究了将失败和非确定性的概念的可能性,并获得新的结果,在这个问题上的混合和概率规划。

英文摘要:

Emerging computational paradigms, such as probabilistic and hybrid programming, introduce new primitive operations that often need to be combined with classic programming constructs. However, it still remains a challenge to provide a semantics to these features and their combination in a systematic manner. For this reason, we introduce a generic, monadic framework that allows us to investigate not only which programming features a given paradigm supports, but also on how it can be extended with new constructs. By applying our method to the probabilistic and hybrid case, we list for example all binary program operations they possess, and show precisely when and if important axioms such as commutativity and idempotency hold. Using this framework, we also study the possibility of incorporating notions of failure and non-determinism, and obtain new results on this topic for hybrid and probabilistic programming.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑