A Systematic Approach to Algorithms

Vijay K. Garg · The University of Texas at Austin

Chapter 3. Lattice-Linear Language

A small surface language for composing LLP programs.

Stub page. Interactive demos for the composition operators are planned for a future site update. The present page summarises the chapter's content for navigational purposes.

Overview

LLP programs are usually presented one at a time, each with its own state vector $G$, forbidden predicate, and advance rule. In practice, larger algorithms are built by composing several LLP programs that share a state. This chapter introduces a small surface language for expressing such compositions cleanly. Seven composition operators are defined:

For each operator, the chapter states conditions under which the composition preserves lattice-linearity, and illustrates the operator with a concrete example drawn from later chapters (stable marriage, shortest path, MST).

Related material on this site

Several later chapters use compositions defined here: