Ordering a cubic graph by median edge positions #
Given a path decomposition of a simple 3-regular graph, place every edge at a position inside a bag containing its endpoints, so that positions are distinct and increase with the bag index. Each vertex has three incident positions; order the vertices by the middle one. Then every prefix cut has at most one more edge than the bag in which the last vertex's median edge lies: a crossing edge below the median of the last vertex is the unique low edge of its later endpoint, one above it is the unique high edge of its earlier endpoint, and the median itself is a single edge. Each charged vertex lies in that bag by consecutiveness.
The main result is card_cutFinset_key_lt_le: with bags of size at most
p + 1, an injective key orders the vertices so that every prefix cut has at
most p + 2 edges.
Bags indexed by natural numbers #
The bag with index i, or the empty set beyond the decomposition.
Equations
Instances For
A bag containing both endpoints of an edge; 0 for non-edges.
Equations
- Algebraic.Cutwidth.MedianOrdering.bagOf H D e = if h : ∃ (i : Fin D.length), ∀ a ∈ e, a ∈ D.bag i then ↑(Classical.choose h) else 0
Instances For
Edge positions #
An injective rank of the edges.
Equations
- Algebraic.Cutwidth.MedianOrdering.rank e = ↑((Fintype.equivFin (Sym2 W)) e)
Instances For
The position of an edge: its bag index, refined by its rank.
Equations
Instances For
Incident edges and medians #
Among the three incident edges of a vertex there is a middle one.
The median edge of a vertex.
Equations
- Algebraic.Cutwidth.MedianOrdering.median H D regular u = Classical.choose ⋯
Instances For
The position of the median edge.
Equations
- Algebraic.Cutwidth.MedianOrdering.theta H D regular u = Algebraic.Cutwidth.MedianOrdering.pos H D (Algebraic.Cutwidth.MedianOrdering.median H D regular u)
Instances For
The incident edges split into those below, at, and above the median.
At most one incident edge lies below the median.
At most one incident edge lies above the median.
The vertex ordering #
The ordering key of a vertex: its median position, refined by a rank.
Equations
- Algebraic.Cutwidth.MedianOrdering.key H D regular w = Algebraic.Cutwidth.MedianOrdering.theta H D regular w * Fintype.card W + ↑((Fintype.equivFin W) w)
Instances For
The median ordering bound. Every prefix of the key ordering has a cut of
at most p + 2 edges when all bags have at most p + 1 vertices.