Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

69 total results found

Chapter 1: The Virtual Laboratory — Linux Mint & Logice

Modern SWI-Prolog (2026 Edition): The L... Part I: The Ground Floor Chapter 1: The...

Overview Every serious engineering project begins with a reliable workspace. Before we write a single Prolog clause or a single Go function, we need an environment that is consistent, isolated, secure, and reproducible. This chapter is devoted entirely to that...

Chapter 2: Speaking Logic — The Beginner's Vocabulary

Modern SWI-Prolog (2026 Edition): The L... Part I: The Ground Floor Chapter 1: The...

Overview There is a particular moment that almost every developer experiences when learning Prolog for the first time. It usually arrives somewhere in the second or third hour of study, after the syntax has started to feel slightly familiar but before the engi...

Chapter 3: The Engine Room — Unification, Backtracking, and Recursion

Modern SWI-Prolog (2026 Edition): The L... Part I: The Ground Floor Chapter 1: The...

Overview The two previous chapters were concerned with what we write in Prolog — the syntax of facts, rules, and queries, and the way those constructs combine to form a useful knowledge base. This chapter turns attention to how the engine executes what we writ...

Chapter 4: Modern Structures — Dicts, Strings, and Go-Interop Data

Modern SWI-Prolog (2026 Edition): The L...

Overview The knowledge bases we built in Part I were powerful for what they were, but they shared a common characteristic: every entity was represented as a flat compound term with a fixed number of positional arguments. The predicate app(swi_prolog, '10.2.1',...

Chapter 5: DCGs — Parsing System Streams

Modern SWI-Prolog (2026 Edition): The L...

Overview Every serious computing environment generates text. Log files, configuration files, system status output, network packet captures, audit trails — all of these are streams of structured text that carry meaning in their format. The challenge for any inf...

Chapter 6: The SWI-Go Interface — Golog 2026

Modern SWI-Prolog (2026 Edition): The L... Part III: The Go Connection (The High-P...

Overview Part II left us with a capable, self-contained Prolog system. The infrastructure knowledge base models the homelab in structured Dicts. The DCG parser ingests /var/log/auth.log and turns raw syslog text into queryable data. The security analysis pipel...

New Page

Modern SWI-Prolog (2026 Edition): The L... Part III: The Go Connection (The High-P...

Chapter 7: Tabling — Memory-Safe Infinite Reasoning

Modern SWI-Prolog (2026 Edition): The L... Part IV: The High-Performance Engine (T...

Overview In Chapter 6, we passed --table-space=128m to the engine initialisation and moved on without explanation. That flag allocates a dedicated memory region for a capability that does not exist in classical Prolog: the ability to reason correctly over cycl...

Chapter 8: Prolog at the Edge — The WASM Revolution

Modern SWI-Prolog (2026 Edition): The L... Part IV: The High-Performance Engine (T...

Overview Every chapter in Part III so far has been about the server side of the architecture. The Go orchestrator embeds libswipl and calls it at microsecond latency. The tabling engine resolves cyclic infrastructure graphs without stack overflow. These are re...

Chapter 9: The "Go-Log" Concurrency Model

Modern SWI-Prolog (2026 Edition): The L... Part IV: The High-Performance Engine (T...

Overview The orchestrator built in Chapter 6 has a ceiling. Every call to the embedded Prolog engine blocks the calling goroutine until the query returns. If a Go HTTP server receives fifty simultaneous requests each requiring a Prolog evaluation, those evalua...

Outline

Modern SWI-Prolog (2026 Edition) Second... Index

THE MASTER SYLLABUS: Sovereign Infrastructure & Industrial Logic VOLUME I: The Foundations of Logic Chapter 1: The Sovereign Paradigm Core Concepts: The fundamental differences between imperative state mutation and declarative relational logic are explored ...

Gemini Prompt

Modern SWI-Prolog (2026 Edition) Second... Index

MASTER SYSTEM DIRECTIVE: Sovereign Infrastructure Project (v4) Role: You are the Master Architect and Managing Editor for a 2,300+ page industrial-grade textbook: "Modern SWI-Prolog (2026 Edition): Sovereign Infrastructure & Industrial Logic." Assume the raw o...

Chapter 1: The Sovereign Paradigm

Modern SWI-Prolog (2026 Edition) Second... VOLUME I: The Foundations of Logic

Before a single line of Prolog is written, the engineer must understand why this technology is being chosen. Not because it is fashionable — it is decidedly not — but because it is correct for a specific class of infrastructure problem that imperative tools ha...

SWI-Prolog
chapter-01
sovereign-infrastructure
security
volume-1

Chapter 2: The Anatomy of Unification

Modern SWI-Prolog (2026 Edition) Second... VOLUME I: The Foundations of Logic

The word "unification" is borrowed from mathematical logic, where it names the process of finding a substitution that makes two expressions identical. That definition is precise and complete. The engineer who internalises it — rather than reaching for the comf...

SWI-Prolog
chapter-02
unification
wam
security
volume-i

Chapter 3: The Static Knowledge Base

Modern SWI-Prolog (2026 Edition) Second... VOLUME I: The Foundations of Logic

Every inference engine requires a foundation of facts it treats as unconditionally true. In Prolog, this foundation is the Knowledge Base (KB): the complete set of facts and rules loaded into the WAM at any given moment. The correctness of every derivation the...

SWI-Prolog
chapter-03
knowledge-base
cwa
proxmox
security
volume-i

Chapter 4: Search and Backtracking

Modern SWI-Prolog (2026 Edition) Second... VOLUME I: The Foundations of Logic

Prolog's execution model is not a function call graph. It is a search. Every query the engine receives is a problem statement — "find all substitutions for these variables that make this formula true" — and the engine's job is to explore the space of possible ...

SWI-Prolog
Chapter-04
Backtracking
sld-resolution
choice-points
security
volume-i

Chapter 5: The Command Oracle (ZFS & Proxmox)

Modern SWI-Prolog (2026 Edition) Second... VOLUME I: The Foundations of Logic

Every administrative command issued against production infrastructure carries an implicit precondition: the system is in the state the operator believes it to be in. zpool replace requires the failing disk to be in the specified pool. qm clone requires the sou...

SWI-Prolog
chapter-05
oracle
zfs
proxmox
shell-safety
lfcg
volume-i

Chapter 6: Control Flow and The Cut (!)

Modern SWI-Prolog (2026 Edition) Second... VOLUME I: The Foundations of Logic

Backtracking is Prolog's correctness mechanism: it exhausts all proof paths, guaranteeing that every solution is found. For general logic programming this is a virtue. For infrastructure control predicates — where a predicate must produce exactly one answer, w...

SWI-Prolog
chapter-06
cut
negation
control-flow
security
volume-i