Documentation

CslibFrontier.Computability.Pebbling.Path

The directed path #

The directed path 0 → 1 → 2 → ⋯ on ℕ is the computation graph of a straight-line computation that runs for ever: vertex n + 1 has the single predecessor n, and 0 is the only source. It is the graph of Bennett's reversible simulation of an irreversible computation, where vertex n stands for the checkpoint after n + 1 segments of the computation. Its black pebbling is trivial: two pebbles slide along it, so every vertex other than the source has black pebbling price 2.

Main definitions #

Main results #

The directed path 0 → 1 → 2 → ⋯ on ℕ.

@[simp]
theorem Cslib.Pebbling.BlackPebblable.two_le_of_adj {V : Type u_1} [DecidableEq V] {G : Digraph V} {s : ℕ} {u v : V} (huv : G.Adj u v) (h : BlackPebblable G s v) :
2 ≤ s

A vertex with a predecessor cannot be black-pebbled with fewer than two pebbles: when its pebble is placed, the predecessor's pebble is still on the graph.

Every vertex of the directed path other than the source has black pebbling price 2.

The source of the directed path has black pebbling price 1.