We present a formal study of semantics for relational programming language miniKanren. First, we formulate denotational semantics which corresponds to the minimal Herbrand model for definite logic programs. Second, we present operational semantics which models the distinctive feature of miniKanren implementation — interleaving, — and prove its soundness and completeness w.r.t. the denotational semantics. Our development is supported by a Coq specification, from which a reference interpreter can be extracted. We also derive from our main result a certified semantics (and a reference interpreter) for SLD resolution with cut and prove its soundness.
Wed 2 DecDisplayed time zone: Osaka, Sapporo, Tokyo change
17:30 - 19:00
|Certified Semantics for Relational Programming|
|An Abstract Machine for Strong Call by Value|
Malgorzata Biernacka University of Wroclaw, Dariusz Biernacki University of Wrocław, Witold Charatonik Institute of Computer Science, University of Wroclaw, Tomasz Drab Institute of Computer Science, University of WroclawLink to publication
|Algebraic and coalgebraic perspectives on interaction laws|