How this calculation works
Test whether a small target graph is a minor of a supplied simple undirected graph. A positive result includes disjoint connected branch sets, one per target vertex, with an original edge between every pair required by the target. Contracting those branch sets and deleting surplus structure constructs the minor. This is more permissive than finding an induced subgraph.
A minor model uses disjoint connected branch sets with an edge between every required target pair.A worked example
A four-cycle contains a triangle minor. Contracting edge 0–1 gives branch sets {0,1},{2},{3}, each connected and mutually adjacent as required. The host has no triangle subgraph, which shows why contraction changes the question.
Good to know
Host≤8 and target≤5 vertices, simple undirected graphs. At most 500,000 branch-search states. A completed negative result is distinct from a cap error. Extra host/branch edges may be deleted; not induced subgraph testing.
What deletion and contraction allow
A graph minor may be formed by deleting vertices, deleting edges and contracting edges. Contraction merges connected vertices and can turn a long path into a single connection.
The target need not appear literally among the original adjacency rows. Extra edges between branch sets are allowed because they can be deleted after contraction. This is why a failed induced-subgraph search does not establish that the target is absent as a minor.
Allows edge contractions and deletions, not just relabeling equal-order graphs. The Tournament score sequence realization calculator offers a complementary calculation under its own stated assumptions.
Understanding a branch-set certificate
Each target vertex is represented by a nonempty connected subset of source vertices. These subsets must be pairwise disjoint. For every target edge, some source edge must join its two associated subsets.
Vertices outside all subsets are simply unused. Internal paths within a branch set make contraction possible; connectivity of the entire union alone is insufficient. Read the returned labels against the target’s vertex order before attempting to visualize the contracted graph.
Worked example and mathematical rule
A four-cycle contains a triangle minor. Contracting edge 0–1 gives branch sets {0,1},{2},{3}, each connected and mutually adjacent as required. The host has no triangle subgraph, which shows why contraction changes the question.
A minor model uses disjoint connected branch sets with an edge between every required target pair.
How the bounded search works
The implementation enumerates connected candidate subsets and searches compatible disjoint assignments. It prunes choices that cannot supply required target adjacencies.
This is an exact finite search within the stated small-graph and state limits, rather than a probabilistic heuristic. Minor testing is computationally demanding even when the definition looks simple. A state-cap error means the search was not completed; it must not be interpreted as a certified negative result.
Positive and negative conclusions
A positive certificate is easy to audit: check nonemptiness, pairwise disjointness, induced connectivity within every branch set and all required cross-edges. A completed negative search rules out all branch-set assignments for this entered instance.
It does not rule out a different target or a graph after adding missing edges. A source graph with fewer vertices than the target cannot contain it as a minor, because contractions and deletions never create additional vertices.
Common definition mix-ups
A subdivision replaces edges with internally vertex-disjoint paths; a minor can have a broader branch-set structure. An induced minor restricts which extra edges may be deleted and is also a different notion.
This tool tests ordinary graph minors only. Numeric vertex labels have no geometric meaning, so drawing crossings are irrelevant unless represented as actual vertices. Relabeling either graph changes a certificate’s labels but should not change whether a minor exists.
Applications and boundaries
Small minor examples help illustrate structural graph theory, including why certain graph families exclude particular obstructions. The calculator does not perform a general planarity test or produce a full forbidden-minor classification.
A single absent target is not a certificate of membership in every family that excludes it. When using a result in an argument, state the exact target and retain the branch sets or completed negative-search status. The computational bounds are part of reproducibility, especially when the instance is close to the supported size limit.
A few questions, answered
Are extra edges between branch sets forbidden?
No. Ordinary minor construction permits deleting surplus edges.
Is a minor the same as a subgraph?
No. Minors also allow edge contractions.
What does a search-cap error prove?
Nothing about absence; it means the bounded exhaustive search did not finish.
Can a graph contain a larger target as a minor?
Not one with more vertices than the source graph.