Disjoint union of actual listed multigraphs #
Even names tag the left graph and odd names tag the right graph. Declarations and indexed edges are concatenated without deduplication. The dart equivalence preserves each old end and left-then-right edge order. No scan is funded by the magnitude of a vertex name.
Disjoint parity-tagged copies, with all left declarations and edges before all right declarations and edges. Duplicate declarations, loops, parallel edges and points survive.
Instances For
The complete indexed dart sum, retaining all old edge ends in concatenation order.
Instances For
Actual left endpoints carry the even tag, including both ends of a loop.
Parity tagging retains all old edge reversals in their respective indexed blocks.
theorem Cslib.Complexity.Graph.endpoints_declared_disjointUnion (G H : Graph) (hG : ∀ v ∈ G.incidenceVertices, v ∈ G.vertices) (hH : ∀ v ∈ H.incidenceVertices, v ∈ H.vertices) (v : ℕ) :
v ∈ (G.disjointUnion H).incidenceVertices → v ∈ (G.disjointUnion H).vertices
Endpoint declaration is inherited from the corresponding source graph.