<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>The book: Programming with Higher-Order Logic on Massimo Nocentini</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/</link><description>Recent content in The book: Programming with Higher-Order Logic on Massimo Nocentini</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/index.xml" rel="self" type="application/rss+xml"/><item><title>Logic programming as proof search</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch02-horn/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch02-horn/</guid><description>&lt;p&gt;&lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/ch01-intro/"&gt;Chapter&amp;nbsp;1&lt;/a&gt; gave the overall plan of this document: read Miller and Nadathur&amp;rsquo;s &lt;em&gt;Programming with&#10;Higher-Order Logic&lt;/em&gt; &lt;label for="sn-8843f5-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-8843f5-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt; with a miniKanren programmer&amp;rsquo;s eyes, and find out what&#10;&lt;code&gt;(aux kanren micro)&lt;/code&gt; would need in order to host its ideas. This chapter lays the first-order foundation. It covers the&#10;book&amp;rsquo;s Introduction and its Chapters 1 and 2, plus the parts of the Teyjus appendix needed to run the&#10;examples. Nothing here goes beyond Prolog in expressive power. What is new, compared with the usual&#10;Prolog textbook, is the &lt;em&gt;point of view&lt;/em&gt;. A logic program is a set of formulas, a query is a formula,&#10;and running the query means &lt;em&gt;searching for a proof&lt;/em&gt; in a sequent calculus. Each logical connective&#10;has a fixed search meaning, independent of the program. Atomic goals are solved by &lt;em&gt;backchaining&lt;/em&gt;&#10;on program clauses. A language counts as a logic programming language when this goal-directed search&#10;is &lt;em&gt;complete&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Hereditary Harrop formulas: implication and universal goals</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch03-hh/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch03-hh/</guid><description>&lt;p&gt;In &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch02-horn/"&gt;Chapter&amp;nbsp;2&lt;/a&gt; we met the logic of first-order Horn clauses, &lt;em&gt;fohc&lt;/em&gt;, the logic behind Prolog.&#10;Its search semantics was given by a handful of reduction rules, one per logical symbol, and two&#10;of them never fired: AUGMENT, for goals of the form &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;⊃&lt;/mo&gt;&lt;mi&gt;G&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;D\supset G&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; and GENERIC, for goals of the form&#10;&lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="normal"&gt;∀&lt;/mi&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mtext&gt; &lt;/mtext&gt;&lt;mi&gt;G&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\forall x\,G&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/span&gt; The reason is purely syntactic: in &lt;em&gt;fohc&lt;/em&gt; neither goals nor clause bodies may&#10;contain implications or universal quantifiers, so the signature &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="normal"&gt;Σ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\Sigma&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; and the program &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;𝒫&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{P}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; stay&#10;fixed for the whole computation. Miller and Nadathur &lt;label for="sn-f422ed-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-f422ed-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt; observe that such a language “does not make&#10;very strong use of the structure afforded by logic” [MN p. 75].&lt;/p&gt;</description></item><item><title>Typed λ-terms and unification problems</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch04-lambda/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch04-lambda/</guid><description>&lt;p&gt;&lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch02-horn/"&gt;Chapter&amp;nbsp;2&lt;/a&gt; and &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch03-hh/"&gt;Chapter&amp;nbsp;3&lt;/a&gt; did logic programming over &lt;em&gt;first-order&lt;/em&gt; terms. &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch03-hh/"&gt;Chapter&amp;nbsp;3&lt;/a&gt; added&#10;universal quantifiers and implications to goals (&lt;em&gt;fohh&lt;/em&gt;), and with them eigenvariables: constants made&#10;up during the search that no logic variable created earlier may capture. Chapter 4 of the book&#10;&lt;label for="sn-55e956-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-55e956-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt; keeps the logic and changes the &lt;em&gt;terms&lt;/em&gt;. First-order terms give way to&#10;&lt;em&gt;simply typed λ-terms&lt;/em&gt;. This chapter studies those terms on their own and leaves the higher-order&#10;logic built on them to &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch05-hoprog/"&gt;Chapter&amp;nbsp;5&lt;/a&gt; [MN p. 96].&lt;/p&gt;</description></item><item><title>Higher-order programming</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch05-hoprog/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch05-hoprog/</guid><description>&lt;p&gt;&lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch04-lambda/"&gt;Chapter&amp;nbsp;4&lt;/a&gt; replaced first-order terms by simply typed &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-terms and allowed quantification at every type, including predicate types (types whose target is &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;𝗈&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathsf{o}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;);&lt;/span&gt; it also showed that unification of such terms is undecidable and may have infinitely many incomparable solutions. This chapter, which follows Chapter 5 of the book &lt;label for="sn-33c6b9-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-33c6b9-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt; and the core of its Chapter 6, asks the practical question: &lt;em&gt;what logic programming languages do we get, and what do they buy us?&lt;/em&gt;&lt;/p&gt;</description></item><item><title>λ-tree syntax: computing with binders</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch06-lambdatree/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch06-lambdatree/</guid><description>&lt;p&gt;The previous chapters gave us two kinds of machinery. &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch04-lambda/"&gt;Chapter&amp;nbsp;4&lt;/a&gt; and &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch05-hoprog/"&gt;Chapter&amp;nbsp;5&lt;/a&gt; gave us simply typed &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-terms as &lt;em&gt;data&lt;/em&gt;, with an equality that already contains &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\alpha&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-, &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;β&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\beta&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;- and &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;η&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\eta&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-conversion. &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch03-hh/"&gt;Chapter&amp;nbsp;3&lt;/a&gt; gave us the two goal connectives of hereditary Harrop formulas: the universal goal &lt;code&gt;pi x\ G&lt;/code&gt;, proved with a fresh &lt;em&gt;eigenvariable&lt;/em&gt;, and the implicational goal &lt;code&gt;D =&amp;gt; G&lt;/code&gt;, proved with the program temporarily extended by &lt;code&gt;D&lt;/code&gt;. This chapter, which follows Chapter 7 of the book&lt;label for="sn-375d15-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-375d15-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt; ([MN p. 175]–[MN p. 210]), shows what the two kinds of machinery can do together: they let a logic program compute over syntax that contains &lt;em&gt;binders&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Unification of λ-terms and higher-order patterns</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch07-hounif/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch07-hounif/</guid><description>&lt;p&gt;The previous chapters built programs whose execution keeps asking one question: &lt;em&gt;find values for the logic variables that make two &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-terms equal modulo &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\alpha&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;β&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\beta&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; and &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;η&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\eta&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;. &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch04-lambda/"&gt;Chapter&amp;nbsp;4&lt;/a&gt; showed how such questions are written as quantified formulas; &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch05-hoprog/"&gt;Chapter&amp;nbsp;5&lt;/a&gt; and &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch06-lambdatree/"&gt;Chapter&amp;nbsp;6&lt;/a&gt; produced them by the thousand, from higher-order predicates such as &lt;code&gt;mappred&lt;/code&gt; and from the &lt;code&gt;pi x\ ...&lt;/code&gt; goals that walk under binders in &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-tree syntax. &lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch06-lambdatree/"&gt;Chapter&amp;nbsp;6&lt;/a&gt; also isolated the fragment &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;L_\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; in which a logic variable is applied only to distinct bound variables. This chapter, which follows Chapter 8 of the book&lt;label for="sn-864800-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-864800-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt;, explains how an implementation &lt;em&gt;solves&lt;/em&gt; these questions, and why &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;L_\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; is the fragment to aim for.&lt;/p&gt;</description></item><item><title>Applications: provers, functional programs, processes</title><link>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch08-apps/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch08-apps/</guid><description>&lt;p&gt;The previous chapters assembled three tools: &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-tree syntax, which represents object-level binders by meta-level abstractions (&lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch06-lambdatree/"&gt;Chapter&amp;nbsp;6&lt;/a&gt;); the universal and implicational goals of hereditary Harrop formulas, which give fresh constants and scoped hypotheses (&lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch03-hh/"&gt;Chapter&amp;nbsp;3&lt;/a&gt;); and the unification of &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-terms, decidable and most-general in the pattern fragment &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;L_\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; (&lt;a class="xref" href="https://massimo-nocentini.github.io/book/higher-order-kanren/part-1/ch07-hounif/"&gt;Chapter&amp;nbsp;7&lt;/a&gt;). Chapters 9–11 of the book&lt;label for="sn-018767-1" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-018767-1" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="millernadathur2012"&gt;Dale Miller and Gopalan Nadathur. &lt;cite&gt;Programming with Higher-Order Logic&lt;/cite&gt;. Cambridge University Press, Cambridge, 2012&lt;/span&gt;&lt;/span&gt; put the three to work on three families of meta-programs: &lt;em&gt;proof systems&lt;/em&gt; (intuitionistic and classical provers, proof checkers, tactics), &lt;em&gt;functional programs&lt;/em&gt; (type inference, evaluators, partial evaluation, CPS conversion) and &lt;em&gt;processes&lt;/em&gt; (the &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\pi&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-calculus, its transitions, traces, and an encoding of the &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;λ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\lambda&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;-calculus).&lt;/p&gt;</description></item></channel></rss>