Multigraphs, layouts, and the layout hypothesis #
A Multigraph V E gives every edge two endpoints. Parallel edges are distinct elements of E;
the orientation of an edge plays no role. A layout numbers the vertices v₀, v₁, ..., and its
frontier at time t is the cut between the first t vertices and the rest. The width of a
layout is the size of its largest frontier; the cutwidth of a graph is the least width of a
layout.
For a connected graph, the cycle rank β₁ = |E| - |V| + 1 counts its independent cycles.
Trees have cycle rank zero and, in bounded degree, logarithmic cutwidth. The circuit lower
bound needs one fact from graph theory: that graphs of maximum degree d have layouts whose
width is at most a fixed multiple A of their cycle rank, up to lower-order terms.
LayoutBound d A states this as a hypothesis, so that any layout theorem can be plugged in. For
subcubic graphs (d = 3, the case of circuits of fan-in two) it is proved in Frontier.Layouts
with A = (3/π) arccos((1 + 2√2)/4) ≈ 0.2807, from Gaussian edge-score layouts, and hence with
A = 1/3. The circuit lower bounds take LayoutBound (r + 1) A as an assumption and prove the
coefficient (1 + 1/A) / (r - 1) for circuits of fan-in r.
Main definitions #
Frontier.Multigraph: a multigraph, withIncident,edgesAt,MaxDegreeLE,Loopless,Adj,Connected,cut, andcycleRank.Frontier.Layout V: a numbering of the vertices, withLayout.initial.Frontier.LayoutBound d A: the layout hypothesis for maximum degreedwith coefficientA.
Main results #
Frontier.Multigraph.Connected.card_vertex_le: a connected graph has at least|V| - 1edges, so its cycle rank|E| + 1 - |V|involves no truncation.
A multigraph: every edge has two endpoints, its source and its target. Parallel edges
are distinct elements of E. The orientation plays no role in what follows.
- src : E → V
One endpoint of an edge.
- tgt : E → V
The other endpoint of an edge.
Instances For
Every vertex has at most d incident edges.
Equations
- G.MaxDegreeLE d = ∀ (v : V), (G.edgesAt v).ncard ≤ d
Instances For
Every two vertices are joined by a walk.
Equations
- G.Connected = ∀ (u v : V), Relation.ReflTransGen G.Adj u v
Instances For
The connected cycle-rank expression max (|E| - |V| + 1) 0. For a nonempty connected
graph, this is the number of independent cycles. On disconnected graphs it is not the sum
of the component cycle ranks.
Instances For
Adjacency is symmetric.
Walks can be reversed.
A graph in which every vertex reaches one fixed vertex is connected.
A layout of a finite set of vertices: a numbering v₀, v₁, ..., v_{N-1}.
Equations
- Complexity.Frontier.Layout V = (V ≃ Fin (Nat.card V))
Instances For
The layout hypothesis for maximum degree d, with coefficient A. For every η > 0
there is a constant C such that every connected, loopless multigraph of maximum degree d
has a layout all of whose frontiers have at most (A + η) β₁ + η |V| + C edges, where β₁ is
the cycle rank.
Only the coefficient A matters for the circuit lower bound: any error term that is
sublinear in the number of vertices may be absorbed into η |V| + C.
Equations
- One or more equations did not get rendered due to their size.