A meta-probabilistic-programming language for bisimulation of probabilistic and non-well-founded type systems

03/30/2022
by   Jonathan Warrell, et al.
0

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 for a small-scale type system in Guarded Cubical Agda.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/15/2023

A Formalization of Operads in Coq

What provides the highest level of assurance for correctness of executio...
research
05/18/2018

Proofs and Programs about Open Terms

Formal deductive systems are very common in computer science. They are u...
research
02/01/2019

Semantic Query Integration With Reason

Graph-based data models allow for flexible data representation. In parti...
research
02/02/2018

Zero-Cost Coercions for Program and Proof Reuse

We introduce the notion of identity coercions between non-indexed and in...
research
12/12/2021

Reflective Metagraph Rewriting as a Foundation for an AGI "Language of Thought"

MeTTa (Meta Type Talk) is a novel programming language created for use i...
research
09/15/2023

A Two-Level Linear Dependent Type Theory

We present a type theory combining both linearity and dependency by stra...
research
07/13/2023

Ill-Typed Programs Don't Evaluate

We introduce two-sided type systems, which are a particular kind of sequ...

Please sign up or login with your details

Forgot password? Click here to reset