How this calculation works
Search for a multiset of simple cycles covering every edge exactly twice; a cycle-space basis need not cover all edges twice and is not this integer feasibility problem.
For each edge e, Σ_C x_C·1[e∈C]=2, with x_C a nonnegative integer multiplicity.A worked example
A triangle has one undirected simple cycle. Listing that cycle twice gives edge multiplicities (2,2,2), hence a cycle double cover.
Good to know
Simple undirected graph, 3–9 vertices, ≤16 edges. Enumerate all simple cycles with ≤10,000 unique cycles; ≤2 million residual-cover search states. Exhaustion is unresolved, never a proof of nonexistence.
Reference: Chan: A survey of the cycle double cover conjecture (definition and examples) (opens in a new tab) ↗
Cycle double cover definition
A cycle double cover is a list of cycles in which every edge occurs exactly twice. The condition applies to edges, so a vertex may appear in many listed cycles without violating the definition.
Repeated cycles are permitted. This matters even for the smallest example: a graph that is one triangle needs its sole simple cycle twice, rather than two differently oriented descriptions counted as different cycles.
Compare this with the Graph cycle basis calculator from edge list. Search for a multiset of simple cycles covering every edge exactly twice; a cycle-space basis need not cover all edges twice and is not this integer feasibility problem.
Simple-cycle multiset conventions
The calculator treats a cycle as an undirected cyclic sequence of distinct vertices. Rotating its starting point or reading it backwards does not create a new cycle. Canonicalization removes those duplicate descriptions.
Cycles are then allowed integer multiplicities in the cover. Separating cycle identity from cover multiplicity avoids either omitting legitimate repeated cycles or inflating the search with equivalent traversals. A triangle supplies the smallest simple example: its sole simple cycle can be selected twice, giving multiplicity two on all three edges. The word multiset is essential. Requiring different cycles would incorrectly reject this case. An isolated vertex has no edge-coverage demand and does not create a cycle by itself. By contrast, a bridge cannot occur in any simple cycle, so its required multiplicity cannot be met. The calculator's exact cover search exposes that obstruction without assuming the general cycle double cover conjecture has been settled.
Bridge obstruction
A bridge lies on no cycle, because deleting it separates its endpoints. A required edge that never belongs to a cycle can never reach multiplicity two. This provides an immediate negative certificate.
The absence of bridges removes that particular obstruction. The bounded search still constructs and checks an explicit cover; the page need not depend on any current claim about a universal existence theorem.
Enumerating unique cycles
Enumerate all simple cycles before solving the edge-demand problem. Initially every edge has residual demand two. Choosing a cycle subtracts one from the demand of each of its edges.
A branch becomes invalid if it would reduce an edge below zero. Choosing an uncovered edge first restricts the next choices to cycles containing that edge, while memoization recognizes repeated residual-demand states. The search enumerates simple cycles with orientation and starting-point duplicates removed. Each chosen cycle subtracts one from the remaining demand of its edges, and no demand may become negative. Completion occurs only when every edge demand is zero. Branching on an uncovered edge narrows the candidate cycles that can be chosen next. This differs from a cycle-space basis: basis arithmetic over GF(2) tracks parity, whereas this problem requires integer multiplicity exactly two, including twice-used cycles that would cancel in a binary sum.
Residual edge-demand search
When every residual demand reaches zero, the selected cycle list is a complete positive certificate. Recounting membership from the original edge list must give exactly two for every edge.
For a triangle, the first selection changes all demands from two to one and the second changes them to zero. The two list entries describe the same canonical cycle with multiplicity two.
Auditing a theta-graph certificate
The static picture separates the cycle layers so that repeated coverage remains visible. On a larger example, inspect the edge multiplicity table instead of judging completeness from overlapping colored strokes.
A cycle-space basis answers a different question: its symmetric differences generate even edge sets. Basis membership does not require each graph edge to occur twice, so a basis cannot substitute for this certificate. Inspect the final edge-multiplicity table rather than judging only the drawn loops. Every row must equal two, including edges shared by several displayed cycles. If the resource cap interrupts enumeration or cover search, the result remains unresolved. Reducing duplicate input edges is appropriate because the current interface describes a simple graph, not a multigraph with individually labeled parallel edges.
Finite-search conclusions and work caps
A completed exhaustive search can establish feasibility or infeasibility within the stated graph model. Cycle enumeration and residual-state limits are computation boundaries and must be distinguished from completed negative conclusions.
If a limit is reached, retain the input and the explicit unresolved status. A promising partial collection may cover most edges twice, yet one uncovered or overcovered edge prevents it from being a double cover.
A few questions, answered
May the same cycle appear twice?
Yes. Repetition is a multiplicity in the cover, as the triangle example demonstrates.
Why can a bridge never be covered?
A bridge belongs to no cycle, so it cannot receive its required two occurrences.
Is a cycle basis a double cover?
A cycle basis spans the cycle space; its edges need not have multiplicity two.
Does a search timeout mean no cover exists?
No. Reaching a resource limit leaves feasibility unresolved.