概率和非良基类型系统互模拟的元概率程序设计语言
A meta-probabilistic-programming language for bisimulation of probabilistic and non-well-founded type systems
摘要:
我们引入了一个正式的元语言的概率编程,能够表达程序和类型系统中,他们被嵌入。我们的动机是希望AGI不仅学习相关知识(程序/证明),而且学习适当的推理方式(逻辑/类型系统)。我们利用立方类型论和依赖类型元图的框架来形式化我们的方法。在这样做时,我们表明,元语言中的特定结构可以通过互模拟(意味着路径等价)与它们对应的类型系统相关。这使得我们的方法提供了一种方便的方法来派生合成指称语义的各种类型系统。特别是,我们推导出纯型系统(PTS)和概率依赖型系统(PDTS)的互模拟。我们进一步讨论了PTS的关系,非良基集理论,并证明了我们的方法的可行性与实现的互模拟证明在一个守护立方类型论类型检查。
英文摘要:
We introduce a formal meta-language for probabilistic programming, capable of expressing both programs and the type systems in which they are embedded. We are motivated here by the desire to allow an AGI to learn not only relevant knowledge (programs/proofs), but also appropriate ways of reasoning (logics/type systems). We draw on the frameworks of cubical type theory and dependent typed metagraphs to formalize our approach. In doing so, we show that specific constructions within the meta-language can be related via bisimulation (implying path equivalence) to the type systems they correspond. This allows our approach to provide a convenient means of deriving synthetic denotational semantics for various type systems. Particularly, we derive bisimulations for pure type systems (PTS), and probabilistic dependent type systems (PDTS). We discuss further the relationship of PTS to non-well-founded set theory, and demonstrate the feasibility of our approach with an implementation of a bisimulation proof in a Guarded Cubical Type Theory type checker.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。