---
title: "#prolog articles | Hashnode"
description: "Prolog is a programming language used in AI. Read the latest #prolog articles and tutorials on Hashnode."
url: "https://hashnode.com/tag/prolog"
---

Tag

# #prolog

17 posts · 6 followers

[Scott D. Weeden](https://hashnode.com/@scott-weeden) · [Jan 6](https://hashnode.com/posts/the-resolution-proof-method/695cac02af93789090f14133)

### [The Resolution Proof Method](https://first-order-logic.hashnode.dev/the-resolution-proof-method?utm_source=hashnode&utm_medium=feed)

Logic programming and automated reasoning systems heavily rely on a proof technique called Resolution. Unlike natural deduction, which can feel like guesswork, resolution is a refutation procedure -- it tries to prove a formula is unsatisfiable. The ...

2 min read · [first-order-logic.hashnode.dev](https://first-order-logic.hashnode.dev/the-resolution-proof-method?utm_source=hashnode&utm_medium=feed)

[Scott D. Weeden](https://hashnode.com/@scott-weeden) · [Jan 6](https://hashnode.com/posts/preparing-logic-for-machines-pnf-and-skolemization/695cac02af93789090f14131)

### [Preparing Logic for Machines: PNF and Skolemization](https://first-order-logic.hashnode.dev/preparing-logic-for-machines-pnf-and-skolemization?utm_source=hashnode&utm_medium=feed)

In the world of automated theorem proving, raw logical formulas are often too messy for algorithms to handle directly. Before a computer can prove a theorem, we usually need to standardize the format. Today, we look at two critical transformation ste...

2 min read · [first-order-logic.hashnode.dev](https://first-order-logic.hashnode.dev/preparing-logic-for-machines-pnf-and-skolemization?utm_source=hashnode&utm_medium=feed)

[Scott D. Weeden](https://hashnode.com/@scott-weeden) · [Jan 6](https://hashnode.com/posts/a-beginners-guide-to-prolog-syntax-and-recursion/695cac04eb31b2baa5a84c26)

### [A Beginner's Guide to Prolog Syntax and Recursion](https://first-order-logic.hashnode.dev/a-beginners-guide-to-prolog-syntax-and-recursion?utm_source=hashnode&utm_medium=feed)

Prolog (Programming in Logic) is unique because it lacks standard keywords like for or while. Instead, we define a knowledge base of facts and rules and ask questions about them. Syntax Basics Constants: Start with lowercase letters (e.g., john, piz...

2 min read · [first-order-logic.hashnode.dev](https://first-order-logic.hashnode.dev/a-beginners-guide-to-prolog-syntax-and-recursion?utm_source=hashnode&utm_medium=feed)

[Scott D. Weeden](https://hashnode.com/@scott-weeden) · [Jan 6](https://hashnode.com/posts/from-logic-to-prolog-horn-clauses-and-sld-resolution/695cac03af93789090f14135)

### [From Logic to Prolog: Horn Clauses and SLD-Resolution](https://first-order-logic.hashnode.dev/from-logic-to-prolog-horn-clauses-and-sld-resolution?utm_source=hashnode&utm_medium=feed)

How do we bridge the gap between abstract mathematical resolution and a programming language like Prolog? The answer lies in a specific subset of logic called Horn Clauses. What is a Horn Clause? A Horn clause is a disjunction of literals with at mos...

2 min read · [first-order-logic.hashnode.dev](https://first-order-logic.hashnode.dev/from-logic-to-prolog-horn-clauses-and-sld-resolution?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [Jun 4, 2025](https://hashnode.com/posts/pilog-lispandprolog/683ff1ff73d7802ecc2f82da)

### [Pilog (Lisp&Prolog)](https://serj-aleks.hashnode.dev/pilog-lispandprolog?utm_source=hashnode&utm_medium=feed)

На основе PicoLisp построен декларативный язык, обладающий семантикой Prolog, но использующий синтаксис Lisp. Факты и правила могут быть объявлены с помощью be функции. Как и в Прологе, разница между фактами и правилами заключается в том, что последн...

2 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/pilog-lispandprolog?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [May 31, 2025](https://hashnode.com/posts/database/683ab7447448a38a6b7126bc)

### [Database](https://serj-aleks.hashnode.dev/database?utm_source=hashnode&utm_medium=feed)

pool pool2 journal id blk seq lieu lock commit rollback mark free dbck tree genKey genStrKey useKey +relation +Any +Bag +Bool +Number +Date +Time +Symbol +String +Link +Joint +Blob +Hook +Hook2 +index +Key +Ref +Ref2 +Idx +Sn +Fold +IdxFold +Aux +UB ...

2 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/database?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [May 1, 2025](https://hashnode.com/posts/aux-aux/68131c5cdf58a1dccdb11413)

### [aux ... +Aux](https://serj-aleks.hashnode.dev/aux-aux?utm_source=hashnode&utm_medium=feed)

+Aux - префиксный класс, поддерживающий вспомогательные ключи для +relation, в дополнение к индексам +Ref или +Idx. Ожидает список вспомогательных атрибутов того же объекта и объединяет все ключи в этом порядке в один ключ индекса. (rel nr (+Ref +Num...

1 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/aux-aux?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [Apr 30, 2025](https://hashnode.com/posts/append/6811c3a230bdcdc1e05f5ae8)

### [append](https://serj-aleks.hashnode.dev/append?utm_source=hashnode&utm_medium=feed)

В отношении строк, как правило, говорят о конкатенации, но надо признать, что append - тоже конвенциональный термин, собственно, пришедший из Lisp и, кстати, использующийся и в Prolog, где эта операция может как присоединять, так и разделять списки. ...

1 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/append?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [Feb 21, 2025](https://hashnode.com/posts/retract/67b895bf43bda983a7baf955)

### [retract](https://serj-aleks.hashnode.dev/retract?utm_source=hashnode&utm_medium=feed)

Сегодня tiddlyhost.com на профилактике, на который я постоянно отсылаю за примерами и это нарушило установленный ритм публикации. Но я подумал, что сослаться можно по памяти на функции, которые я оформил там по принятой схеме заранее. А существо дела...

2 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/retract?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [Feb 18, 2025](https://hashnode.com/posts/rule-rules/67b43e5a8d58ca1bf5955a25)

### [\*Rule ... rules](https://serj-aleks.hashnode.dev/rule-rules?utm_source=hashnode&utm_medium=feed)

\*Rule - глобальная переменная, содержащая текущий символ правила Pilog. Она очищается в начале нового REPL. rules - выводит все правила, определенные для аргументов sym. https://picolisp.tiddlyhost.com/#rules Интерпретаторы (не компьютерные программы...

1 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/rule-rules?utm_source=hashnode&utm_medium=feed)
