List of Theorems

List of Theorems

  1. Tutorial What happens to the state while typeof° types λx.xIntroduction
  2. Definition 1.1 Levels and patternsIntroduction
  3. Example 1.2 Scope and patternsIntroduction
  4. Kanren angle Why not just use Scheme closures?Introduction
  5. Pitfall Hypotheses need a dynamic relationIntroduction
  6. Pitfall Two page numberingsIntroduction
  7. Definition 2.1 Target type, order [MN p. 13]Logic programming as proof search
  8. Pitfall First-order syntax does not capture bindingLogic programming as proof search
  9. Remark 2.2Logic programming as proof search
  10. Definition 2.3 Unification problem, unifier, mgu [MN p. 26–28]Logic programming as proof search
  11. Theorem 2.4 mgu [MN p. 28]Logic programming as proof search
  12. Definition 2.5 Solved form [MN p. 29]Logic programming as proof search
  13. Theorem 2.6 Termination and correctness [MN p. 29]Logic programming as proof search
  14. Tutorial Three unification traces [MN p. 29–30]Logic programming as proof search
  15. Kanren angle Unification in (aux kanren micro)Logic programming as proof search
  16. Definition 2.7 Search semantics of the logical symbols [MN p. 39]Logic programming as proof search
  17. Example 2.8 Why goal-directedness can fail [MN p. 41–42]Logic programming as proof search
  18. Definition 2.9 fohc [MN p. 43]Logic programming as proof search
  19. Definition 2.10 O-proof [MN p. 45]Logic programming as proof search
  20. Theorem 2.11 Completeness of goal-directed search for fohc [MN p. 45]Logic programming as proof search
  21. Proposition 2.12 Flatness [MN p. 46]Logic programming as proof search
  22. Tutorial An O-proof for a query with two answersLogic programming as proof search
  23. Kanren angle The same session in (aux kanren micro)Logic programming as proof search
  24. Pitfall An erratum in Figure 2.6Logic programming as proof search
  25. Pitfall An erratum in the last prv clauseLogic programming as proof search
  26. Kanren angle The prover in (aux kanren micro)Logic programming as proof search
  27. Example 2.13 Size and behaviour [MN p. 64–66]Logic programming as proof search
  28. Definition 2.14 Transparent, determinate [MN p. 67–68]Logic programming as proof search
  29. Kanren angle Types and (aux kanren micro)Logic programming as proof search
  30. Kanren angle The FSM, side by side with its λProlog originalLogic programming as proof search
  31. Pitfall Answer order is not part of the logicLogic programming as proof search
  32. Kanren angle Negation as failure and moded built-ins in (aux kanren micro)Logic programming as proof search
  33. Kanren angle What fohc does not need, and later chapters willLogic programming as proof search
  34. Definition 3.1 fohh goals and clauses [MN p. 75]Hereditary Harrop formulas: implication and universal goals
  35. Pitfall the precedence of =>Hereditary Harrop formulas: implication and universal goals
  36. Definition 3.2 polarity [MN p. 76]Hereditary Harrop formulas: implication and universal goals
  37. Proposition 3.3 [MN p. 76]Hereditary Harrop formulas: implication and universal goals
  38. Example 3.4Hereditary Harrop formulas: implication and universal goals
  39. Definition 3.5 clausal order [MN p. 76–77]Hereditary Harrop formulas: implication and universal goals
  40. Rules 3.6 O-proofsHereditary Harrop formulas: implication and universal goals
  41. Definition 3.7 O-proof [MN p. 77]Hereditary Harrop formulas: implication and universal goals
  42. Tutorial programs grow and shrink like a stackHereditary Harrop formulas: implication and universal goals
  43. Kanren angle answer order is a depth-first artefactHereditary Harrop formulas: implication and universal goals
  44. Tutorial the O-proof of r => sHereditary Harrop formulas: implication and universal goals
  45. Pitfall provable, yet the interpreter loopsHereditary Harrop formulas: implication and universal goals
  46. Tutorial a logic variable inside an assumed clauseHereditary Harrop formulas: implication and universal goals
  47. Kanren angle the four queries on (aux kanren micro)Hereditary Harrop formulas: implication and universal goals
  48. Remark 3.8Hereditary Harrop formulas: implication and universal goals
  49. Definition 3.9 eigenvariable, scoped constant [MN p. 82]Hereditary Harrop formulas: implication and universal goals
  50. Tutorial sterile jars [MN p. 83]Hereditary Harrop formulas: implication and universal goals
  51. Pitfall ∀\forall is not “for every value”Hereditary Harrop formulas: implication and universal goals
  52. Definition 3.10 free for [MN p. 85]Hereditary Harrop formulas: implication and universal goals
  53. Example 3.11 [MN p. 85]Hereditary Harrop formulas: implication and universal goals
  54. Tutorial the scope condition, derived from the rulesHereditary Harrop formulas: implication and universal goals
  55. Kanren angle what ∀\forall demands of the unifierHereditary Harrop formulas: implication and universal goals
  56. Tutorial running the two-place reverseHereditary Harrop formulas: implication and universal goals
  57. Pitfall implicit quantification lies inside assumed clausesHereditary Harrop formulas: implication and universal goals
  58. Kanren angle shared variables come for free with closuresHereditary Harrop formulas: implication and universal goals
  59. Theorem 3.12 [MN p. 89]Hereditary Harrop formulas: implication and universal goals
  60. Tutorial why the three formulas failHereditary Harrop formulas: implication and universal goals
  61. Example 3.13 where minimal and intuitionistic negation part waysHereditary Harrop formulas: implication and universal goals
  62. Tutorial a proof that uses a hypothesis twice [MN p. 91]Hereditary Harrop formulas: implication and universal goals
  63. Theorem 3.14 [MN p. 91]Hereditary Harrop formulas: implication and universal goals
  64. Kanren angle => false is not negation as failureHereditary Harrop formulas: implication and universal goals
  65. Example 3.15 normalising a clause to atomic headsHereditary Harrop formulas: implication and universal goals
  66. Pitfall equivalent as programs, not as formulasHereditary Harrop formulas: implication and universal goals
  67. Pitfall scoped constants and the constraint storesHereditary Harrop formulas: implication and universal goals
  68. Definition 4.1 Types and termsTyped λ-terms and unification problems
  69. Definition 4.2 Well-formed, closed, simply typed [MN p. 98]Typed λ-terms and unification problems
  70. Example 4.3 A typing derivationTyped λ-terms and unification problems
  71. Kanren angle terms are data, goals are proceduresTyped λ-terms and unification problems
  72. Definition 4.4 Free for; substitution [MN p. 100]Typed λ-terms and unification problems
  73. Definition 4.5 The rules of λ-conversion [MN p. 100–101]Typed λ-terms and unification problems
  74. Example 4.6 Four equal terms [MN p. 101]Typed λ-terms and unification problems
  75. Pitfall capital letters are not always logic variablesTyped λ-terms and unification problems
  76. Tutorial capture-avoiding β, by handTyped λ-terms and unification problems
  77. Theorem 4.7 Normal forms [MN p. 102]Typed λ-terms and unification problems
  78. Corollary 4.8 Decidable equality [MN p. 102]Typed λ-terms and unification problems
  79. Remark 4.9 Background the book does not spell outTyped λ-terms and unification problems
  80. Pitfall equality is intensionalTyped λ-terms and unification problems
  81. Remark 4.10 An erratum in the size formulaTyped λ-terms and unification problems
  82. Kanren angle de Bruijn terms and a β-normaliser in plain SchemeTyped λ-terms and unification problems
  83. Remark 4.11 Order of a typeTyped λ-terms and unification problems
  84. Definition 4.12 Generalised unification problem [MN p. 105]Typed λ-terms and unification problems
  85. Tutorial reading a quantifier prefixTyped λ-terms and unification problems
  86. Example 4.13 Turning λ-equations into a ∀∃∀ prefix [MN p. 106–107]Typed λ-terms and unification problems
  87. Kanren angle miniKanren has only ∃, and binders leakTyped λ-terms and unification problems
  88. Proposition 4.14 Raising [MN p. 107]Typed λ-terms and unification problems
  89. Tutorial raising, step by stepTyped λ-terms and unification problems
  90. Pitfall raising creates higher-order variablesTyped λ-terms and unification problems
  91. Kanren angle raising versus levelsTyped λ-terms and unification problems
  92. Definition 4.15 Legitimate substitution, unifier, solution [MN p. 109]Typed λ-terms and unification problems
  93. Example 4.16 Unifier but no solutionTyped λ-terms and unification problems
  94. Kanren angle miniKanren answers are unifiersTyped λ-terms and unification problems
  95. Kanren angle a first-order simulation of both prefixesTyped λ-terms and unification problems
  96. Kanren angle words are lists, composition is appendTyped λ-terms and unification problems
  97. Pitfall what a first-order intuition gets wrongTyped λ-terms and unification problems
  98. Definition 4.17 Binder, head, arguments, body [MN p. 111]Typed λ-terms and unification problems
  99. Definition 4.18 βη-long normal form [MN p. 111]Typed λ-terms and unification problems
  100. Example 4.19 η-expanding to long form [MN p. 111]Typed λ-terms and unification problems
  101. Definition 4.20 Rigid and flexible [MN p. 111–113]Typed λ-terms and unification problems
  102. Tutorial classifying heads in practiceTyped λ-terms and unification problems
  103. Kanren angle what the vocabulary means for the unifierTyped λ-terms and unification problems
  104. Definition 4.21 PCP [MN p. 114]Typed λ-terms and unification problems
  105. Tutorial why the encoding is correctTyped λ-terms and unification problems
  106. Remark 4.22 An erratum in the addition gadgetTyped λ-terms and unification problems
  107. Theorem 4.23 [MN p. 116]Typed λ-terms and unification problems
  108. Kanren angle undecidability and the searchTyped λ-terms and unification problems
  109. Remark 4.24 PolymorphismTyped λ-terms and unification problems
  110. Tutorial How to run the Scheme listingsHigher-order programming
  111. Definition 5.1 Rigid and flexible atoms [MN p. 119]Higher-order programming
  112. Definition 5.2 Polarity [MN p. 121–122]Higher-order programming
  113. Definition 5.3 Herbrand universes [MN p. 122]Higher-order programming
  114. Definition 5.4 hohc: higher-order Horn clauses [MN p. 122]Higher-order programming
  115. Theorem 5.5 Completeness of goal-directed search for hohc [MN p. 123–124], [MN p. 148]Higher-order programming
  116. Definition 5.6 hohh: higher-order hereditary Harrop formulas [MN p. 124]Higher-order programming
  117. Definition 5.7 hohh⁺ [MN p. 125]Higher-order programming
  118. Tutorial What the interpreter does with reverse (1::2::3::nil) KHigher-order programming
  119. Pitfall Shadowing and shared variables in assumed clausesHigher-order programming
  120. Kanren angle Hidden predicates are lexical scopeHigher-order programming
  121. Example 5.8 Queries over the database [MN p. 126–127]Higher-order programming
  122. Pitfall A logic variable inside a λ is shared, not abstractedHigher-order programming
  123. Kanren angle Predicate variables with known values are freeHigher-order programming
  124. Kanren angle Partial application is curried defineHigher-order programming
  125. Kanren angle Goals are already first-classHigher-order programming
  126. Example 5.9 Memoised Fibonacci in hohh⁺ [MN p. 132]Higher-order programming
  127. Tutorial Depth-first search for rel R, R john maryHigher-order programming
  128. Kanren angle Binding a logic variable to a relation: possible, but opaqueHigher-order programming
  129. Kanren angle Not available to closuresHigher-order programming
  130. Tutorial Running the encodingsHigher-order programming
  131. Kanren angle Which definitions are freeHigher-order programming
  132. Kanren angle The cut as take° 1Higher-order programming
  133. Tutorial Why three answers, and then oneHigher-order programming
  134. Kanren angle Forwards is free, synthesising F is notHigher-order programming
  135. Pitfall Types do not enforce the invariantsHigher-order programming
  136. Kanren angle A closure is an fdl you can only runHigher-order programming
  137. Kanren angle Interleaving as a home for non-unitary unificationHigher-order programming
  138. Kanren angle Unification on closures is pointer identityHigher-order programming
  139. Definition 5.10 E-formulas [MN p. 161]Higher-order programming
  140. Definition 5.11 A module as a formula [MN p. 162]Higher-order programming
  141. Tutorial Using a hidden constant versus exposing itHigher-order programming
  142. Tutorial The rules of the E-phase at work on [m3] ?- s a.Higher-order programming
  143. Kanren angle Modules: what Scheme scoping gives, and what it does notHigher-order programming
  144. Definition 6.1 The encoding of formulasλ-tree syntax: computing with binders
  145. Pitfall An η-short quantifier is still a quantifierλ-tree syntax: computing with binders
  146. Tutorial How interp finds X = bλ-tree syntax: computing with binders
  147. Kanren angle What works today: abstractions as Scheme closuresλ-tree syntax: computing with binders
  148. Tutorial Following the binder of (abs y\ app y y)λ-tree syntax: computing with binders
  149. Definition 6.2 The binder-mobility idiom, [MN p. 185]λ-tree syntax: computing with binders
  150. Pitfall A fresh constant is not an eigenvariableλ-tree syntax: computing with binders
  151. Kanren angle What mobility requires of a miniKanrenλ-tree syntax: computing with binders
  152. Definition 6.3 β-normal, β-body-normal, [MN p. 185]λ-tree syntax: computing with binders
  153. Tutorial A normal term and a redexλ-tree syntax: computing with binders
  154. Theorem 6.4 Substitution lemma “for free”, [MN p. 186]λ-tree syntax: computing with binders
  155. Tutorial One step under a binder: red1 (abs x\ app (abs y\y) x) Nλ-tree syntax: computing with binders
  156. Tutorial Synthesising a term from its pathsλ-tree syntax: computing with binders
  157. Pitfall Collecting all answers is outside the logicλ-tree syntax: computing with binders
  158. Tutorial Why typeof (abs x\x) Ty answers arr T1 T1λ-tree syntax: computing with binders
  159. Theorem 6.5 Subject reduction for call-by-name, [MN p. 191]–[MN p. 192]λ-tree syntax: computing with binders
  160. Kanren angle The usual miniKanren rendering: an explicit contextλ-tree syntax: computing with binders
  161. Tutorial Tracing ?- trans 1 (abs x\ abs y\ abs z\ y) P.λ-tree syntax: computing with binders
  162. Kanren angle The same translation with an explicit environmentλ-tree syntax: computing with binders
  163. Pitfall Non-overlap modulo a guard, and a missing caseλ-tree syntax: computing with binders
  164. Tutorial Where the five prenex forms come fromλ-tree syntax: computing with binders
  165. Tutorial Reading subst as a hypothetical copyλ-tree syntax: computing with binders
  166. Proposition 6.6 Correctness of subst, [MN p. 200]λ-tree syntax: computing with binders
  167. Definition 6.7 Type lowering, [MN p. 201]–[MN p. 202]λ-tree syntax: computing with binders
  168. Example 6.8 Lowering the quantifier all, [MN p. 201]–[MN p. 202]λ-tree syntax: computing with binders
  169. Proposition 6.9 [MN p. 202]λ-tree syntax: computing with binders
  170. Pitfall Copy is equality logically, not operationallyλ-tree syntax: computing with binders
  171. Kanren angle Clause order and interleavingλ-tree syntax: computing with binders
  172. Definition 6.10 λ-tree syntax, [MN p. 204]λ-tree syntax: computing with binders
  173. Definition 6.11 Essentially universal and essentially existential occurrences, [MN p. 205]λ-tree syntax: computing with binders
  174. Definition 6.12 Lλ, [MN p. 205]–[MN p. 206]λ-tree syntax: computing with binders
  175. Definition 6.13 β₀, [MN p. 206]λ-tree syntax: computing with binders
  176. Example 6.14 Goal versus clause, [MN p. 206]λ-tree syntax: computing with binders
  177. Pitfall β₀ is not the same as Lλλ-tree syntax: computing with binders
  178. Kanren angle A requirements checklist for (aux kanren micro)λ-tree syntax: computing with binders
  179. Definition 7.1 Unification problem [MN p. 211]Unification of λ-terms and higher-order patterns
  180. Example 7.2 Normalising a flexible-flexible problemUnification of λ-terms and higher-order patterns
  181. Remark 7.3Unification of λ-terms and higher-order patterns
  182. Definition 7.4 Rigid and flexible [MN p. 214], [MN p. 113]Unification of λ-terms and higher-order patterns
  183. Kanren angle first-order unification is the degenerate caseUnification of λ-terms and higher-order patterns
  184. Example 7.5 No mgu [MN p. 213]Unification of λ-terms and higher-order patterns
  185. Definition 7.6 Complete set of unifiers [MN p. 213]Unification of λ-terms and higher-order patterns
  186. Example 7.7 No finite CSU [MN p. 213]Unification of λ-terms and higher-order patterns
  187. Pitfall do not promise “the” answerUnification of λ-terms and higher-order patterns
  188. Definition 7.8 Imitation and projection [MN p. 215–216]Unification of λ-terms and higher-order patterns
  189. Pitfall imitation is scope-sensitive, projection is type-sensitiveUnification of λ-terms and higher-order patterns
  190. Tutorial Huet’s procedure on (F a) = (g a a)Unification of λ-terms and higher-order patterns
  191. Definition 7.9 Matching tree [MN p. 219]Unification of λ-terms and higher-order patterns
  192. Theorem 7.10 Completeness of matching trees [MN p. 219–220]Unification of λ-terms and higher-order patterns
  193. Example 7.11 A flexible-flexible residue [MN p. 217]Unification of λ-terms and higher-order patterns
  194. Proposition 7.12 Canonical substitution [MN p. 217–218]Unification of λ-terms and higher-order patterns
  195. Example 7.13 An infinite branch with infinitely many answers [MN p. 218]Unification of λ-terms and higher-order patterns
  196. Example 7.14 An infinite branch and no answer [MN p. 220]Unification of λ-terms and higher-order patterns
  197. Kanren angle the matching tree is a miniKanren search treeUnification of λ-terms and higher-order patterns
  198. Definition 7.15 The Lλ condition [MN p. 220]Unification of λ-terms and higher-order patterns
  199. Example 7.16 Discharging a constant, p. 4–5Unification of λ-terms and higher-order patterns
  200. Definition 7.17 β₀ [MN p. 206]Unification of λ-terms and higher-order patterns
  201. Pitfall β₀ alone is not enoughUnification of λ-terms and higher-order patterns
  202. Lemma 7.18 At most one useful substitution [MN p. 221]Unification of λ-terms and higher-order patterns
  203. Proposition 7.19 Flexible-flexible mgus [MN p. 222]Unification of λ-terms and higher-order patterns
  204. Pitfall same head: positions, not setsUnification of λ-terms and higher-order patterns
  205. Theorem 7.20 Mgus for higher-order patterns [MN p. 222]Unification of λ-terms and higher-order patterns
  206. Definition 7.21 Variable eliminationUnification of λ-terms and higher-order patterns
  207. Pitfall four things the prose leaves implicitUnification of λ-terms and higher-order patterns
  208. Theorem 7.22 Pattern unification is unitary and terminatingUnification of λ-terms and higher-order patterns
  209. Example 7.23 The book’s main example [MN p. 223–224]Unification of λ-terms and higher-order patterns
  210. Tutorial the book’s main example, step by stepUnification of λ-terms and higher-order patterns
  211. Example 7.24 Occurs failure [MN p. 224]Unification of λ-terms and higher-order patterns
  212. Example 7.25 Scope failure [MN p. 224]Unification of λ-terms and higher-order patterns
  213. Example 7.26 Discharging, by eliminationUnification of λ-terms and higher-order patterns
  214. Kanren angle the scope failure that surprised λKanrenUnification of λ-terms and higher-order patterns
  215. Example 7.27 Flexible-flexible, different headsUnification of λ-terms and higher-order patterns
  216. Example 7.28 Pruning under an inner binderUnification of λ-terms and higher-order patterns
  217. Example 7.29 Two occurrences, two pruningsUnification of λ-terms and higher-order patterns
  218. Example 7.30 η on demandUnification of λ-terms and higher-order patterns
  219. Tutorial Example 8.H in de Bruijn formUnification of λ-terms and higher-order patterns
  220. Kanren angle what first-order unification does with the same termsUnification of λ-terms and higher-order patterns
  221. Example 7.31 Eager versus delayed raising [MN p. 224–225]Unification of λ-terms and higher-order patterns
  222. Example 7.32 Why tags must be lowered, p. 16Unification of λ-terms and higher-order patterns
  223. Kanren angle levels and (aux kanren micro)Unification of λ-terms and higher-order patterns
  224. Pitfall unifier versus solution; delayed is not solvedUnification of λ-terms and higher-order patterns
  225. Kanren angle what delaying asks of a miniKanrenUnification of λ-terms and higher-order patterns
  226. Theorem 8.1 Hudelmaier, Dyckhoff; [MN p. 230–231]Applications: provers, functional programs, processes
  227. Tutorial the proof the program findsApplications: provers, functional programs, processes
  228. Pitfall a typo that makes the prover unsoundApplications: provers, functional programs, processes
  229. Kanren angle the decision procedure on today’s (aux kanren micro)Applications: provers, functional programs, processes
  230. Kanren angle what interleaving changes for the looping calculusApplications: provers, functional programs, processes
  231. Tutorial reading the ⊃I clauseApplications: provers, functional programs, processes
  232. Pitfall mode mattersApplications: provers, functional programs, processes
  233. Kanren angle what natural deduction needsApplications: provers, functional programs, processes
  234. Pitfall no rule for ⊥Applications: provers, functional programs, processes
  235. Pitfall cut plus logic variables loses completenessApplications: provers, functional programs, processes
  236. Kanren angle what the classical prover needs, and what interleaving givesApplications: provers, functional programs, processes
  237. Definition 8.2 goals, tactics, tacticals; [MN p. 241]Applications: provers, functional programs, processes
  238. Tutorial how the script closes the goalApplications: provers, functional programs, processes
  239. Kanren angle tacticals in Scheme, and what interleaving does to themApplications: provers, functional programs, processes
  240. Pitfall polymorphic constants, monomorphic variablesApplications: provers, functional programs, processes
  241. Kanren angle the classic miniKanren type inferencer is this programApplications: provers, functional programs, processes
  242. Tutorial evaluating a small applicationApplications: provers, functional programs, processes
  243. Pitfall if is a commit, not logicApplications: provers, functional programs, processes
  244. Proposition 8.3 [MN p. 256]Applications: provers, functional programs, processes
  245. Pitfall the proposition needs the logical readingApplications: provers, functional programs, processes
  246. Tutorial where did the variable case go?Applications: provers, functional programs, processes
  247. Kanren angle what functional meta-programs needApplications: provers, functional programs, processes
  248. Tutorial where the side conditions wentApplications: provers, functional programs, processes
  249. Tutorial three transitions, clause by clauseApplications: provers, functional programs, processes
  250. Definition 8.4 may- and must-judgments; [MN p. 269]Applications: provers, functional programs, processes
  251. Pitfall one pi, two jobsApplications: provers, functional programs, processes
  252. Remark 8.5 Lλ and πI; [MN p. 275]Applications: provers, functional programs, processes
  253. Kanren angle what the π-calculus needsApplications: provers, functional programs, processes
  254. Pitfall a preview, not an algorithmHigher-order miniKanren: the literature
  255. Definition 9.1 Grafting and substitution, p. 2–3Higher-order miniKanren: the literature
  256. Definition 9.2 Scope restriction, p. 3Higher-order miniKanren: the literature
  257. Definition 9.3 de Bruijn levels and indices, footnote 3, p. 4Higher-order miniKanren: the literature
  258. Example 9.4Higher-order miniKanren: the literature
  259. Kanren angle (aux kanren micro) already graftsHigher-order miniKanren: the literature
  260. Definition 9.5 Binder-merging, p. 4Higher-order miniKanren: the literature
  261. Example 9.6 binder-merging at work, p. 4Higher-order miniKanren: the literature
  262. Definition 9.7 Terms, scopes, static closures, Fig. 1, p. 5Higher-order miniKanren: the literature
  263. Definition 9.8 Operations on scopes, p. 5Higher-order miniKanren: the literature
  264. Tutorial the three examples of §4, step by stepHigher-order miniKanren: the literature
  265. Tutorial a wake-up, step by stepHigher-order miniKanren: the literature
  266. Tutorial what λProlog offers the novice instead: make the dependency explicitHigher-order miniKanren: the literature
  267. Tutorial Counter-example 1: the conjunction separates static closures from nominal unificationHigher-order miniKanren: the literature
  268. Tutorial Counter-example 2: the same variable at two depths danglesHigher-order miniKanren: the literature
  269. Tutorial Counter-example 3: “true = false” is a bug of binder-merging, not of pattern unificationHigher-order miniKanren: the literature
  270. Kanren angle what static closures would demand of a miniKanrenHigher-order miniKanren: the literature
  271. Pitfall hypotheses in a host dynamic parameter get lostHigher-order miniKanren: the literature
  272. Kanren angle hypotheses belong to the stateHigher-order miniKanren: the literature
  273. Definition 9.9 Nominal terms and permutationsHigher-order miniKanren: the literature
  274. Definition 9.10 Freshness and α-equality, Fig. 1Higher-order miniKanren: the literature
  275. Definition 9.11 Nominal unification, p. 9Higher-order miniKanren: the literature
  276. Kanren angle what nominal unification asks of a miniKanrenHigher-order miniKanren: the literature
  277. Kanren angle the eigen-absento idea, by hand, on today’s engineHigher-order miniKanren: the literature
  278. Lemma 9.12 Lemma 3, p. 9Higher-order miniKanren: the literature
  279. Lemma 9.13 Def. 11, Lemma 4, p. 10Higher-order miniKanren: the literature
  280. Lemma 9.14 Def. 12, Lemma 5, p. 10–11Higher-order miniKanren: the literature
  281. Pitfall eigen-constants and disequalityHigher-order miniKanren: the literature
  282. Pitfall three different ∀Higher-order miniKanren: the literature
  283. Definition 9.15 Binding with universe indices, p. 16Higher-order miniKanren: the literature
  284. Tutorial why lowering is neededHigher-order miniKanren: the literature
  285. Example 9.16 no mgu outside the fragment, p. 5Higher-order miniKanren: the literature
  286. Definition 9.17 Reduction-free fragment Lλβ, Def. 1Higher-order miniKanren: the literature
  287. Kanren angle what the implementations ask of a miniKanrenHigher-order miniKanren: the literature
  288. Definition 10.1 Terms of (aux kanren micro)Anatomy of (aux kanren micro)
  289. Pitfall A variable is a recordAnatomy of (aux kanren micro)
  290. Kanren angle Indices as levelsAnatomy of (aux kanren micro)
  291. Definition 10.2 StateAnatomy of (aux kanren micro)
  292. Proposition 10.3 The eq?-invariantAnatomy of (aux kanren micro)
  293. Pitfall Preserving the eq?-invariantAnatomy of (aux kanren micro)
  294. Definition 10.4 WalkAnatomy of (aux kanren micro)
  295. Pitfall Deep walks rebuild recordsAnatomy of (aux kanren micro)
  296. Definition 10.5 Unification, :483–515Anatomy of (aux kanren micro)
  297. Pitfall Procedures are opaqueAnatomy of (aux kanren micro)
  298. Kanren angle Where higher-order unification would goAnatomy of (aux kanren micro)
  299. Definition 10.6 PrefixAnatomy of (aux kanren micro)
  300. Tutorial The life of a tuple disequalityAnatomy of (aux kanren micro)
  301. Kanren angle A new store had nowhere to plug inAnatomy of (aux kanren micro)
  302. Definition 10.7 Streams and goalsAnatomy of (aux kanren micro)
  303. Tutorial Fairness, and its shapeAnatomy of (aux kanren micro)
  304. Pitfall Answer order is observableAnatomy of (aux kanren micro)
  305. Kanren angle AUGMENT and GENERIC as goalsAnatomy of (aux kanren micro)
  306. Pitfall The query variable is index 0Anatomy of (aux kanren micro)
  307. Kanren angle What answers will have to showAnatomy of (aux kanren micro)
  308. Tutorial Reading the six answersAnatomy of (aux kanren micro)
  309. Pitfall The scope check must not use eq?Anatomy of (aux kanren micro)
  310. Kanren angle What the tricks leave openAnatomy of (aux kanren micro)
  311. Definition 11.1 Universe levelsBringing λProlog to (aux kanren micro): the design
  312. Example 11.2Bringing λProlog to (aux kanren micro): the design
  313. Definition 11.3 Order independenceBringing λProlog to (aux kanren micro): the design
  314. Definition 11.4 A1: the scope of ∀Bringing λProlog to (aux kanren micro): the design
  315. Definition 11.5 A2: AUGMENT and BACKCHAINBringing λProlog to (aux kanren micro): the design
  316. Definition 11.6 A3: ∀ and ⊃ togetherBringing λProlog to (aux kanren micro): the design
  317. Definition 11.7 A4: λ-tree syntax and βBringing λProlog to (aux kanren micro): the design
  318. Definition 11.8 A5: Lλ unification and delayBringing λProlog to (aux kanren micro): the design
  319. Definition 11.9 A6: λProlog’s semantics where Ma and Friedman differBringing λProlog to (aux kanren micro): the design
  320. Definition 11.10 A7: the book’s programsBringing λProlog to (aux kanren micro): the design
  321. Definition 11.11 A8: micro’s stores on λ-termsBringing λProlog to (aux kanren micro): the design
  322. Definition 11.12 A9: conservativityBringing λProlog to (aux kanren micro): the design
  323. Pitfall A goal that unifies on its own must end in μkanren-post-unifyBringing λProlog to (aux kanren micro): the design
  324. Definition 11.13 Protocol invariantsBringing λProlog to (aux kanren micro): the design
  325. Pitfall A hook that forgets a binding must also drop it from the bindingsBringing λProlog to (aux kanren micro): the design
  326. Tutorial One =° on a λ-term, through micro and the hooksBringing λProlog to (aux kanren micro): the design
  327. Definition 12.1 λ-terms of the moduleThe module (aux kanren lambda)
  328. Example 12.2 Construction and printingThe module (aux kanren lambda)
  329. Definition 12.3 Flexible, β-redex, rigid; head normal formThe module (aux kanren lambda)
  330. Pitfall What is and is not an η-redexThe module (aux kanren lambda)
  331. Definition 12.4 The λ stateThe module (aux kanren lambda)
  332. Tutorial Reading the probeThe module (aux kanren lambda)
  333. Definition 12.5 Pattern, read off levelsThe module (aux kanren lambda)
  334. Rules 12.6 Unification rules of μkanren-λ-unifyThe module (aux kanren lambda)
  335. Definition 12.7 Variable eliminationThe module (aux kanren lambda)
  336. Tutorial Reading the contextsThe module (aux kanren lambda)
  337. Tutorial Strict and non-strict occurrencesThe module (aux kanren lambda)
  338. Tutorial When an occurrence of F is fatalThe module (aux kanren lambda)
  339. Definition 12.8 CheckThe module (aux kanren lambda)
  340. Proposition 12.9 No captured eigenvariableThe module (aux kanren lambda)
  341. Pitfall The first ∀° switches the check on for goodThe module (aux kanren lambda)
  342. Proposition 12.10 Wake-up terminatesThe module (aux kanren lambda)
  343. Pitfall Suspended is not solvedThe module (aux kanren lambda)
  344. Example 12.11 Warm-up: flexible–rigid, and ξThe module (aux kanren lambda)
  345. Example 12.12 Pruning: problem 8.H [MN p. 223–224]The module (aux kanren lambda)
  346. Example 12.13 Flexible–flexibleThe module (aux kanren lambda)
  347. Example 12.14 A non-pattern, suspended and wokenThe module (aux kanren lambda)
  348. Example 12.15 A binding taken backThe module (aux kanren lambda)
  349. Example 12.16 Occurs and scope failures, and a soft occurrenceThe module (aux kanren lambda)
  350. Example 12.17 An argument that may be an abstractionThe module (aux kanren lambda)
  351. Tutorial Why the depth must be restored on every answerThe module (aux kanren lambda)
  352. Example 12.18 Lowering, seen from the stateThe module (aux kanren lambda)
  353. Example 12.19 Discharge: raising, closing, retryingThe module (aux kanren lambda)
  354. Example 12.20 Levels reach into clauses, p. 16The module (aux kanren lambda)
  355. Tutorial λx.λy.x, step by stepThe module (aux kanren lambda)
  356. Tutorial λx.x x fails by the occurs checkThe module (aux kanren lambda)
  357. Definition 12.21 TrialThe module (aux kanren lambda)
  358. Pitfall Readings are per constraint, and only for ≠The module (aux kanren lambda)
  359. Pitfall Hints are not part of equalityThe module (aux kanren lambda)
  360. Tutorial what happensThe book’s examples in (aux kanren lambda)
  361. Tutorial the levels at workThe book’s examples in (aux kanren lambda)
  362. Tutorial the state of Γ, step by stepThe book’s examples in (aux kanren lambda)
  363. Tutorial a logic variable inside a hypothesisThe book’s examples in (aux kanren lambda)
  364. Tutorial trace of sterile QThe book’s examples in (aux kanren lambda)
  365. Tutorial two kinds of clause variablesThe book’s examples in (aux kanren lambda)
  366. Tutorial typing abs x\x, state by stateThe book’s examples in (aux kanren lambda)
  367. Kanren angle running type inference backwardsThe book’s examples in (aux kanren lambda)
  368. Tutorial β on demandThe book’s examples in (aux kanren lambda)
  369. Tutorial the book’s trace, replayedThe book’s examples in (aux kanren lambda)
  370. Tutorial how an unknown abstraction is built, piece by pieceThe book’s examples in (aux kanren lambda)
  371. Tutorial the book’s trace as state changesThe book’s examples in (aux kanren lambda)
  372. Tutorial matching the answers to the book’sThe book’s examples in (aux kanren lambda)
  373. Tutorial a non-pattern that waits for the recursive callThe book’s examples in (aux kanren lambda)
  374. Tutorial reading the answer against the book’s termThe book’s examples in (aux kanren lambda)
  375. Tutorial three rules, three answersThe book’s examples in (aux kanren lambda)
  376. Tutorial 8.H with levelsThe book’s examples in (aux kanren lambda)
  377. Tutorial from suspension to answerThe book’s examples in (aux kanren lambda)
  378. Tutorial why q = G (H y) must waitThe book’s examples in (aux kanren lambda)
  379. Pitfall a residual is a condition, not a proofThe book’s examples in (aux kanren lambda)
  380. Tutorial each difference, and the reason for itThe book’s examples in (aux kanren lambda)
  381. Kanren angle what the comparison showsThe book’s examples in (aux kanren lambda)
  382. Tutorial What the levels do in the second assertionLimitations, costs and the merge
  383. Pitfall What a green run does not sayLimitations, costs and the merge
  384. Definition 14.1 two readings of an eigenvariable under ≠Limitations, costs and the merge
  385. Tutorial Why the first escape is caught and the second is notLimitations, costs and the merge
  386. Tutorial Where the time goes after a ∀°Limitations, costs and the merge
  387. Pitfall precedenceReference card: rules and algorithms
  388. Definition A.1 Herbrand universes [MN p. 122]Reference card: rules and algorithms
  389. Definition A.2 rigid and flexible atoms [MN p. 119]Reference card: rules and algorithms
  390. Definition A.3 polarity; hereditary Harrop [MN p. 76]Reference card: rules and algorithms
  391. Definition A.4 essentially universal / existential [MN p. 205]Reference card: rules and algorithms
  392. Definition A.5 Lλ [MN p. 205–206,220]Reference card: rules and algorithms
  393. Rules A.6 Right rulesReference card: rules and algorithms
  394. Rules A.7 Backchaining (left) rulesReference card: rules and algorithms
  395. Definition A.8 O-proof [MN p. 45,77]Reference card: rules and algorithms
  396. Proposition A.9 flatness of fohc [MN p. 46]Reference card: rules and algorithms
  397. Kanren angle which rules a miniKanren already hasReference card: rules and algorithms
  398. Rules A.10 Typing rulesReference card: rules and algorithms
  399. Definition A.11 order of a type [MN p. 13]Reference card: rules and algorithms
  400. Definition A.12 free for; substitution [MN p. 85,100]Reference card: rules and algorithms
  401. Definition A.13 closures [MN p. 100–101]Reference card: rules and algorithms
  402. Definition A.14 normal forms [MN p. 101–102,111]Reference card: rules and algorithms
  403. Theorem A.15 normalisation [MN p. 102]Reference card: rules and algorithms
  404. Example A.16 η-long expansion [MN p. 111]Reference card: rules and algorithms
  405. Definition A.17 rigid and flexible terms [MN p. 111–112,214]Reference card: rules and algorithms
  406. Definition A.18 unification problem [MN p. 105,211]Reference card: rules and algorithms
  407. Definition A.19 unifier, solution [MN p. 109]Reference card: rules and algorithms
  408. Example A.20 the prefix order matters [MN p. 110,213]Reference card: rules and algorithms
  409. Proposition A.21 raising [MN p. 107]Reference card: rules and algorithms
  410. Rules A.22 First-order unificationReference card: rules and algorithms
  411. Theorem A.23 [MN p. 28–29]Reference card: rules and algorithms
  412. Rules A.24 Huet’s transformation rulesReference card: rules and algorithms
  413. Definition A.25 pre-unification; canonical substitution [MN p. 217–218]Reference card: rules and algorithms
  414. Theorem A.26 matching trees [MN p. 219–220]Reference card: rules and algorithms
  415. Example A.27 a matching tree [MN p. 216–219]Reference card: rules and algorithms
  416. Definition A.28 pattern [MN p. 220]Reference card: rules and algorithms
  417. Theorem A.29 [MN p. 208,221–224]Reference card: rules and algorithms
  418. Rules A.30 Pattern unificationReference card: rules and algorithms
  419. Example A.31 elim, occurs, scope [MN p. 223–224]Reference card: rules and algorithms
  420. Example A.32 elim with pruning [MN p. 224–225]Reference card: rules and algorithms
  421. Rules A.33 The abstract interpreter on decorated goalsReference card: rules and algorithms
  422. Definition A.34 binding condition and lowering, p. 16Reference card: rules and algorithms
  423. Proposition A.35 Prop. 4.1Reference card: rules and algorithms
  424. Example A.36 scope failure [MN p. 85,106]Reference card: rules and algorithms
  425. Remark A.37 higher-order binding condition; reconstruction in our notes, not in the bookReference card: rules and algorithms
  426. Kanren angle what levels requireReference card: rules and algorithms
  427. Pitfall one word, several meaningsGlossary
  428. Kanren angle what the glossary says about the missing piecesGlossary
  429. Kanren angle three entries checked on today’s engineGlossary