Algorithms

Algorithms, as mathematics

It is not a code trace. It is a mathematical object you can manipulate.

A browsable catalogue of algorithms explained through the mathematics underneath them — recurrences, semirings, lattices, potentials.

What this is

Each page takes one algorithm and rebuilds it around its mathematical object: a recurrence, a semiring, a lattice, a potential function, a poset. Concrete artefact first, abstraction second; you drive the interaction and control the pace.

24 algorithms · 1 field · 19 mathematical branches

The Long Repair

The ship is dying. The mathematics is the manual.

A campaign of short repair puzzles. Each mission asks you to make the algorithm's next move — not watch it. A wrong move rewinds and names the rule that broke.

Enter the repair bay →

The Observatory — put a live algorithm on the bench and break it →

Curated Mathematical Trails

Guided pathways connecting algorithms through their shared mathematical reality.

Trail 01 · Duality

The Zero-Gap Bridge

Follow how linear bounds, geometric cuts, and order covers collapse duality gaps to zero.

Trail 02 · Algebraic Geometry

Breaking Classical Asymptotics

How discovering unexpected tensor ranks and polynomial identities shattered centuries of arithmetic orthodoxy.

Trail 03 · Metric Geodesics

Wavefronts & Semiring Closures

Shortest paths not as pointer updates, but as physical waves expanding through tropical metric semirings.

Browse by field

Where the algorithm is usually met — programming first, then systems, mathematics, and beyond.

Filter by mathematics

The same catalogue, sliced along the mathematical branch each algorithm leans on. Jump to a branch below.

algebra

algorithms

analysis

combinatorics

complexity

complexity-theory

fixed-point-theory

game-theory

geometry

graph-theory

information-theory

linear-programming

metric-geometry

multilinear-algebra

number-theory

numerical-analysis

optimization

order-theory

probability

The full catalogue

Programming 24