Proofs for the ordering transfer #
The components of the wire graph are closed sets of wires (component_closed), and a closed
set contributes no crossing signals to a split (forward_union_of_closed,
backward_union_of_closed). The ranking of the wires lists the components one after another,
ordered by their first wire, and inside each component follows the vertex order that the
graph-ordering bound gives its wire graph (WireGraph). A prefix up to a wire w is then the
union of whole earlier components, which are closed, and of the wires of the component of w
whose vertices lie in a lower set of that order. Its crossing signals are therefore bounded by
a lower-set cut of one connected wire graph (exists_rank).
Components of the wire graph #
The component of a wire, as a closed set.
Equations
- Algebraic.Cutwidth.MultiOutput.Internal.componentSet p w = { carrier := Algebraic.Cutwidth.MultiOutput.component p w, closed := ⋯ }
Instances For
Closed sets contribute no crossing signals #
Adding a closed set disjoint from P does not change the forward signals of P.
Adding a closed set disjoint from P does not change the backward signals of P.
Ranking by an injective key #
In a finite set ranked by an injective key, the number of elements with a smaller key compares like the keys.
The ranking of the wires #
The least index of a wire of the component of w; it identifies the component.
Equations
- Algebraic.Cutwidth.MultiOutput.Internal.componentId p w = (Finset.image (fun (v : Cslib.Circuits.Wire n s) => ↑v.index) (Algebraic.Cutwidth.MultiOutput.component p w)).min
Instances For
The position of a wire of K in the order chosen on the wire graph of K.
Equations
- Algebraic.Cutwidth.MultiOutput.Internal.posIn ord K w = if h : w ∈ K.carrier then {x : Algebraic.Cutwidth.MultiOutput.Internal.WireGraph.Vertex K | x < Sum.inl ⟨w, h⟩}.card else 0
Instances For
The position of a wire in the order chosen on its component.
Equations
Instances For
The ranking key: the component's identifier, then the position inside the component.
Equations
Instances For
The rank of a wire: the number of wires with a smaller key.
Equations
Instances For
The vertices of the wire graph of the component of w up to the vertex of w.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The prefix decomposition. The prefix up to w is the union of the wires of earlier
components and of the wires of the component of w whose vertices lie up to that of w.
The earlier components form a closed set.
Prefix crossings are lower-set cuts of one component.
The ordering transfer #
The ordering hypothesis forces a nonnegative additive constant: the empty lower set of the one-vertex graph has an empty cut.
The ordering transfer.
The ordering transfer for a connected wire graph.