Abstract 1 Introduction 2 Proof of Theorem 2 3 Proof of Theorem 3 4 Proof of Theorem 6 5 Open questions References

Disproving Two Conjectures on the Hamiltonicity of Venn Diagrams

Sofia Brenner ORCID Institute of Mathematics, University of Kassel, Germany    Linda Kleist ORCID Department of Informatics, University of Hamburg, Germany    Torsten Mütze ORCID Institute of Mathematics, University of Kassel, Germany    Christian Rieck ORCID Institute of Mathematics, University of Kassel, Germany    Francesco Verciani ORCID Institute of Mathematics, University of Kassel, Germany
Abstract

In 1984, Winkler conjectured that every simple Venn diagram with n curves can be extended to a simple Venn diagram with n+1 curves. This conjecture is equivalent to the statement that the dual graph of any simple Venn diagram has a Hamilton cycle. In this work, we construct counterexamples to Winkler’s conjecture for all n6. As part of this proof, we computed all 3.430.404 simple Venn diagrams with n=6 curves (even their number was not previously known), among which we found 72 counterexamples.

We also disprove another conjecture about the Hamiltonicity of the arrangement graph of a Venn diagram. Specifically, while working on Winkler’s conjecture, Pruesse and Ruskey proved that this graph has a Hamilton cycle for every simple Venn diagram with n curves, and conjectured that this also holds for non-simple diagrams. We construct counterexamples to this conjecture for all n4.

Keywords and phrases:
Venn diagram, Winkler’s conjecture, Hamilton cycle, perfect matching, hypercube
Copyright and License:
[Uncaptioned image] © Sofia Brenner, Linda Kleist, Torsten Mütze, Christian Rieck, and Francesco Verciani; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Computational geometry
; Mathematics of computing Discrete mathematics
Related Version:
Full Version: https://arxiv.org/abs/2503.18554 [1]
Funding:
Sofia Brenner, Torsten Mütze, Christian Rieck, and Francesco Verciani were supported by German Science Foundation (DFG) grant 522790373. Sofia Brenner also acknowledges funding by a postdoc fellowship of the German Academic Exchange Service (DAAD).
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir Nayyeri

1 Introduction

Venn diagrams are a popular tool to illustrate the relations between sets and operations on them, such as union and intersection, or the well-known inclusion-exclusion principle. Historically, these diagrams were introduced by John Venn [18] (1834–1923) in the context of formal logic. Most illustrations that one finds depict the Venn diagram with three sets represented by unit circles; see Figure 1 (a). It may even come as a surprise that Venn diagrams exist for any number of sets, not just three. Formally, an n-Venn diagram is a collection of n simple closed curves in the plane that intersect in only finitely many points and create exactly 2n regions, one for every possible combination of being inside or outside of each of the n curves. Figures 1 (b)+(c) display diagrams with n=4 and n=5 curves, respectively.

A Venn diagram is simple if at most two of the n curves intersect in any point: The three diagrams in the top row of Figure 1 are simple, whereas the three diagrams in the bottom row are non-simple. An easy application of Euler’s formula shows that a simple Venn diagram has exactly 2n2 crossings, whereas non-simple diagrams may have much fewer. For humans, simple Venn diagrams tend to be easier to read than non-simple diagrams.

Figure 1: Venn diagrams with n=3,4,5 curves: (a), (b), (c) are simple, whereas (d), (e), (f) are non-simple; (a), (b), (d) are reducible, whereas (c), (e), (f) are irreducible; (a), (b), (c), (d) are monotone, whereas (e), (f) are not monotone; (a), (b), (c), (d), (f) are exposed, whereas (e) is not exposed.

1.1 Winkler’s conjecture

In 1984, Peter Winkler [20] raised the following intriguing conjecture about extending a simple Venn diagram by adding one curve to it.

Conjecture 1.

Every simple n-Venn diagram can be extended to a simple (n+1)-Venn diagram by the addition of a suitable curve.

He also mentioned the conjecture as an unsolved open problem in his popular book [21] on mathematical puzzles, and reiterated it in his “Puzzled” column [22] in the Communications of the ACM. The conjecture is also listed as the first open problem in Ruskey and Weston’s inspiring survey [15] on Venn diagrams.

For small cases, the conjecture is easily verifiable by hand for all simple Venn diagrams on n{3,4,5} curves, simply because there are so few of them; the 20 diagrams for n=5 can be found in [6, 10]. Another class of Venn diagrams for which the conjecture is easily seen to be true are reducible diagrams. An n-Venn diagram is reducible if one of its curves can be removed so that the remaining n1 curves form an (n1)-Venn diagram. Otherwise the diagram is called irreducible. The diagram in Figure 1 (c) is irreducible. If a diagram is reducible, then the curve C that can be removed splits every region of the resulting (n1)-Venn diagram into two, and therefore this curve touches every region in the n-Venn diagram. We can thus add an (n+1)st curve by following the curve C and subdividing every region into two, changing sides along C exactly once along every segment between two consecutive crossings. Thus, the interesting instances of Conjecture 1 are irreducible diagrams.

Grünbaum [9] modified Winkler’s conjecture, dropping the requirement for the diagrams to be simple. This makes the problem harder in the sense that more diagrams are allowed, but easier in the sense that there is substantially more freedom when adding the new curve. This variant of the conjecture was proved subsequently by Chilakamarri, Hamburger and Pippert [4], by using a straightforward reduction to a classical result of Whitney [19].

1.1.1 Translation to a Hamilton cycle problem

Problems on Venn diagrams such as Winkler’s conjecture are best discussed by considering the dual graph of the Venn diagram, i.e., the plane graph that has a vertex inside every region, and edges connecting vertices corresponding to neighboring regions; see Figure 2. For this, we consider the n-dimensional hypercube Qn, or n-cube for short, the graph formed by all bitstrings of length n, with an edge between any two bitstrings that differ in a single bit. The dual graph Q(D) of a simple n-Venn diagram D satisfies the following properties:

1

It is a connected subgraph of Qn that is also spanning, i.e., all 2n vertices are present. Specifically, the vertex in Q(D) corresponding to a region of the diagram D is the characteristic vector of the inside/outside relation with respect to each curve, where 0 and 1 represent outside and inside, respectively.111When considering the diagram in the plane, then the inside and outside of a curve C are the bounded and unbounded region of 2C, respectively.

2

It is a plane quadrangulation, i.e., it is drawn in the plane without edge crossings, and every face (including the outer face) is a 4-cycle.

3

For every position i{1,,n} and every bit b{0,1}, the subgraph of Q(D) induced by all vertices x with xi=b is connected.

Conversely, the dual of any subgraph of Qn satisfying these properties is an n-Venn diagram.

Figure 2: (a) A 4-Venn diagram and its dual graph, a 4-Venn quadrangulation; (b) a Hamilton cycle in the quadrangulation; (c) the 5-Venn diagram obtained from (a) by adding the curve corresponding to the Hamilton cycle in (b).

We refer to subgraphs of Qn satisfying 13, which are the duals of n-Venn diagrams, as n-Venn quadrangulations.

Extending the diagram D by a single curve means that the new curve has to enter and leave every region of D exactly once, splitting it into two, one of them inside and the other one outside the newly added curve. This corresponds to traversing a Hamilton cycle in the dual graph Q(D), i.e., a cycle in the graph that visits every vertex exactly once; see Figure 2 (b)+(c).

Conjecture 1 can thus be restated equivalently as follows: For n2, every n-Venn quadrangulation admits a Hamilton cycle.

1.1.2 The counterexamples

As Qn is a bipartite graph, Venn quadrangulations are bipartite, too. A necessary condition for the existence of a Hamilton cycle in a bipartite graph is the existence of a perfect matching. We provide counterexamples to Conjecture 1 by constructing, for every n6, an n-Venn quadrangulation that has no perfect matching and thus no Hamilton cycle. One of our counterexamples for n=6 is shown in Figure 3.

Figure 3: (Left) A counterexample to Winkler’s conjecture for n=6, namely a simple 6-Venn diagram that cannot be extended to a simple 7-Venn diagram by adding a suitable curve. Highlighted are 12 red regions that are surrounded by only 11 blue regions, which is a local obstruction for extendability.333This drawing was produced using a SageMath program [16] developed by Manfred Scheucher for his and Felsner’s work [7] on pseudocircle arrangements. We used this program with Scheucher’s permission, using as input the 6-Venn quadrangulation on the right. (Right) The dual graph of the diagram on the left, namely a 6-Venn quadrangulation P that has no perfect matching and hence no Hamilton cycle. Edges are colored according to the colors of the curves. The highlighted subgraph H contains a subset of 12 red vertices in one partition class and their 11 blue neighbors, witnessing the non-existence of a perfect matching. The green subgraph L is the ladder used for extending the counterexample to all values of n>6, and all those extensions contain a copy of H.
Theorem 2.

For every n6 there is an n-Venn quadrangulation that has no perfect matching and hence no Hamilton cycle. Its dual is a simple n-Venn diagram that cannot be extended to a simple (n+1)-Venn diagram by adding a suitable curve.

As mentioned before, for n5 all simple n-Venn diagrams are extendable, so Theorem 2 is best possible in the sense that the counterexamples for n=6 are minimal. In fact, as part of our proof of Theorem 2 we computed all distinct 6-Venn diagrams and analyzed their properties, summarized in the next theorem, Figure 4 and Table 1. Specifically, we consider two diagrams the same if they differ only by mirroring and/or stereographic projection. Equivalently, we count their dual n-Venn quadrangulations up to graph isomorphism. Prior to this work, the number of simple n-Venn diagrams was only known up to n5. Specifically, for each n4 there is only one, and for n=5 there are 20 [6, 10].

To state the next theorem, we define a few relevant properties. A k-region in an n-Venn diagram is a region that lies inside of exactly k of the n curves (and outside of the remaining nk curves). A monotone Venn diagram is one in which for every 0<k<n, every k-region is adjacent to both a (k1)-region and a (k+1)-region. Bultena, Grünbaum and Ruskey [3] proved that monotone diagrams are precisely the ones that can be drawn such that every curve has a convex shape. An exposed diagram is one in which the outer region is bounded by all n curves. It is not hard to see that any monotone diagram is also exposed. Chilakamarri, Hamburger and Pippert [5] constructed n-Venn diagrams for every n in which all regions are (combinatorial) triangles, quadrangles or pentagons, in particular, they are not exposed for n6.

Theorem 3.

There are 3.430.404 non-isomorphic 6-Venn quadrangulations (i.e., simple 6-Venn diagrams up to mirroring and/or stereographic projection). Of these, 72 do not have a Hamilton cycle (i.e., the diagram cannot be extended to a simple 7-Venn diagram), 60 do not have a Hamilton path, and 17 do not have a perfect matching. Furthermore, of the corresponding Venn diagrams, 157.619 are reducible, 32.255 are monotone and 267.510 are not exposed, and all those are extendable to a 7-Venn diagram.

Figure 4: Census of 6-Venn diagrams and their properties stated in Theorem 3, visualized as an Euler diagram. The sizes of the boxes are not to scale.

As a consequence of Theorem 3, there are 6-Venn quadrangulations (in total 7217=55 many) that have a perfect matching but no Hamilton cycle, and 6-Venn quadrangulations (in total 6017=43 many) that have a perfect matching but no Hamilton path.

The programs we used for computing all simple 6-Venn diagrams and the result files with all 6-Venn quadrangulations are available for download [2].

1.2 Pruesse and Ruskey’s conjecture

While working on Winkler’s conjecture, Pruesse and Ruskey [14] considered the question of finding a Hamilton cycle not in the dual graph of a Venn diagram, but in the arrangement graph whose vertices are the crossings of the curves, and curve segments between consecutive crossings form the edges; see Figure 5. Note that these graphs may have multiple edges.

Figure 5: Hamilton cycles in the arrangement graphs of the Venn diagrams from Figure 1 (a)–(c).
Theorem 4 ([14, Cor. 1]).

For n2, the arrangement graph of any simple n-Venn diagram has a Hamilton cycle.

Their proof demonstrates that the arrangement graph of a simple Venn diagram is 4-connected for n3, and thus a well-known theorem of Tutte [17] implies Hamiltonicity. Pruesse and Ruskey also conjectured that their result generalizes to non-simple diagrams.

Conjecture 5 ([14, Conj. 1]).

For n2, the arrangement graph of any (not necessarily simple) n-Venn diagram has a Hamilton cycle.

1.2.1 The counterexamples

We disprove Conjecture 5 by providing counterexamples for all n4. Similarly to Theorem 2, our counterexamples have an even number of vertices and do not admit a perfect matching, which would be necessary for having a Hamilton cycle. One of the counterexamples for n=4 is shown in Figure 6.

Theorem 6.

For every n4, there is a non-simple n-Venn diagram whose arrangement graph has an even number of vertices and no perfect matching, and hence no Hamilton cycle.

Figure 6: A counterexample to Pruesse and Ruskey’s conjecture for n=4, namely a non-simple 4-Venn diagram whose arrangement graph has an even number of vertices and no perfect matching, and hence no Hamilton cycle. The 6 red vertices form an independent set, and the complement has only 4 vertices, witnessing the non-existence of a perfect matching.

We remark that the counterexamples constructed in the proof of Theorem 6, including the one shown in Figure 6, are actually monotone. With straightforward modifications the diagrams can also be made crossing, i.e., such that whenever two curves meet, they cross.

2 Proof of Theorem 2

Our first lemma describes a technique to construct a simple (n+1)-Venn diagram from a simple n-Venn diagram, by carefully gluing together two slitted copies of the smaller diagram, surrounding one of the copies with an additional curve. In this process, a certain local substructure H is preserved, and we will later apply the lemma by taking for H a substructure that witnesses non-extendability. The lemma is conveniently stated in the language of the dual Venn quadrangulations.

If e is an edge of Qn whose end vertices differ in the kth bit, then we refer to k as the type of the edge e. A ladder in an n-Venn quadrangulation is a subgraph L on pairwise distinct vertices x1,,xn and y1,,yn such that x1=0n, yn=1n, for some k[n]:={1,,n} all pairs (xi,yi) for i=1,,n are edges of type k in L, and for i=1,,n1 all pairs (xi,xi+1) and (yi,yi+1) are edges of arbitrary type in L; see Figure 7. A ladder for n=6 is highlighted in green in Figure 3. We note that in a Venn quadrangulation, every 4-cycle also bounds a face, i.e., either the inside or outside of the 4-cycle is empty, because otherwise condition 3 would be violated. Consequently, in a ladder, each of the 4-cycles (xi,xi+1,yi+1,yi) for i=1,,n1 bounds a 4-face.

Figure 7: Illustration of Lemma 7.
Lemma 7.

Consider an n-Venn quadrangulation P that contains a ladder L and a subgraph H with LH=. Then there is an (n+1)-Venn quadrangulation P that contains a ladder L and a copy H of H such that LH=.

The proof of Lemma 7 is illustrated in Figure 7.

Proof.

Let x1,,xn and y1,,yn be the vertices of the ladder L in P as defined before, and let k[n] be the type of the edges (xi,yi) for i=1,,n. We write C for the outer cycle of L, i.e., for the graph C:=L{(xi,yi)i=2,,n1}. Note that in every 4-cycle of a Venn quadrangulation, there are edges of exactly two different types, and opposite edges have the same type. Consequently, both edges (xi,xi+1) and (yi,yi+1) of L (and C) have the same type for i=1,,n1, and because of the condition x1=0n and yn=1n, every type j[n]{k} appears for exactly one pair of opposite edges (xi,xi+1) and (yi,yi+1) for some i=1,,n1. We write Cj0 and Cj1 for the two connected subgraphs of C obtained from C by removing both edges (xi,xi+1) and (yi,yi+1), such that the first one contains the vertex x1=0n and the second one contains the vertex yn=1n.

We assume w.l.o.g. that the 4-cycle (x1,x2,y2,y1) bounds the outer face of P. Let P be the graph obtained from P by removing the edges (xi,yi) of the ladder L for all i=2,,n1. Let rev(P) denote the plane graph obtained from P by mirroring. Appending a 0-bit to all vertices of P and a 1-bit to all vertices of rev(P) gives the graphs P0 and rev(P)1. We let P be the plane graph obtained by connecting P0 and rev(P)1 via 2n additional type-(n+1) edges (xj0,xj1) and (yj0,yj1) for all j=1,,n. It is straightforward to check that P satisfies conditions 13. In particular, the connectivity condition 3 is ensured via the subgraphs Cj0 and Cj1 for all bit positions j[n]{k}, and for the bit position k it is ensured via the subgraphs C0 and C1.

Note that P contains a ladder L on the vertices x10,,xn0,yn0 and x11,,xn1,yn1. Clearly, H0 is a copy of H in P that is disjoint from L.

We are now ready to prove Theorem 2.

Proof of Theorem 2.

The 6-Venn quadrangulation P from Figure 3 has no perfect matching, as witnessed by the marked subgraph H. Specifically, H contains a subset of 12 vertices from one partition class (marked red) whose neighborhood (marked blue) has only size 11. This is the easy direction of Hall’s marriage theorem.

Repeatedly applying Lemma 7 to P with the subgraph H and the ladder L marked in Figure 3 yields an n-Venn quadrangulation without perfect matching for all n>6. This completes the proof.

3 Proof of Theorem 3

In this section we describe our C++ and SageMath programs that compute all 6-Venn quadrangulations. For the reader’s convenience, the code and data produced by them are available for download [2]. Specifically, the 6-Venn quadrangulations are provided in graph6 format, and in a compact binary adjacency list representation. The following explanations are valid for general n, but have a reasonable computation time only for n6. Table 1 provides the counts of Venn diagrams with various properties for all n=1,,6.

Table 1: Counts of n-Venn diagrams with different properties for n=1,,6 curves. Every second row (unmarked) counts the diagrams up to mirroring and/or stereographic projection, or equivalently, the number of non-isomorphic n-Venn quadrangulations. Every other row (marked with *) counts the diagrams up to mirroring, or equivalently, the number of non-isomorphic n-Venn quadrangulations with a marked vertex which represents the outer region. We note that Mamakani, Myrvold and Ruskey [12] have counted 39.020 monotone 6-Venn diagrams before, which is in disagreement with our count of 77.395.
n 1 2 3 4 5 6
all 1 1 1 1 20 3.430.404
* 1 1 1 2 320 219.170.802
monotone 1 1 1 1 11 32.255
* 1 1 1 1 18 77.395
exposed 1 1 1 1 20 3.162.894
* 1 1 1 1 54 7.885.573
reducible 1 1 1 1 11 157.619
* 1 1 1 2 182 10.031.770
no Hamilton cycle 0 0 0 0 0 72
* 0 0 0 0 0 3.932
no Hamilton path 0 0 0 0 0 60
* 0 0 0 0 0 3.192
no perfect matching 0 0 0 0 0 17
* 0 0 0 0 0 1.088

Maybe surprisingly, the computational proof of Theorem 3 was the technically most demanding part of this work, even though in the end there are relatively few 6-Venn quadrangulations in total (<107 many). In fact, we had first found a counterexample to Winkler’s conjecture for n=7 (using different methods that involved SAT solvers) and a proof of Theorem 2 for n7, before finding the few counterexamples for n=6.

3.1 Dynamic programming on two halves of a Venn diagram

We consider a simple n-Venn diagram D and one of its curves, say the nth one. In the dual graph Q(D), the edges dual to the ones on the curve are all edges of Q(D) of type n, and they form a matching M in Q(D); see Figure 8 (a). Removing the matching edges M and removing the nth bit from all vertex labels splits Q(D) into two subgraphs P,PQn1, each of which satisfies the following conditions (cf. 13 from before):

1’

It is a connected subgraph of Qn1 that is also spanning, i.e., all 2n1 vertices are present.

2’

It is a plane graph in which every inner face is a 4-cycle, whereas the length of the outer face is at least 2n2.

The outer face is bounded by a cycle C, which is the same for P and P, and we refer to it as the boundary cycle. Furthermore, we refer to any subgraph of Qn1 satisfying 1’2’ with boundary cycle C as a C-quadrangulation. Conversely, given two C-quadrangulations P,PQn1 with C=:(x1,,x), we may consider the union

H:=P1P0{(xi0,xi1)i=1,,}Qn, (1)

where P1 and P0 are obtained from P and P by appending a 1-bit or 0-bit to all vertices, respectively. If this graph H satisfies the connectivity condition 3, then H is an n-Venn quadrangulation. In this case we say that P and P are compatible.

Figure 8: (a) Splitting an n-Venn quadrangulation into two C-quadrangulations P,PQn1. (b) Recursively computing C-quadrangulations by including/excluding 4-faces F to fill the inner face B.

We can therefore compute all simple n-Venn quadrangulations as follows:

  1. (i)

    Compute all cycles C of Qn1 up to automorphisms of the hypercube.

  2. (ii)

    For every cycle C computed in step (i), compute all C-quadrangulations, i.e., subgraphs of Qn1 satisfying 1’2’ with C as the boundary cycle.

  3. (iii)

    For any two C-quadrangulations P,PQn1 computed in step (ii), check if they are compatible, i.e., compute the graph H as in (1) and check whether H satisfies condition 3. If so, store it.

  4. (iv)

    From the list of n-Venn quadrangulations stored in step (iii), filter out isomorphic duplicates.

  5. (v)

    Analyze properties of all non-isomorphic n-Venn quadrangulations resulting from step (iv) according to the different properties, namely existence of a perfect matching and a Hamilton cycle or path, being monotone, exposed, reducible etc.

In the following, we describe each of these five steps in more detail. The first three steps are implemented as a single C++ program, for efficiency reasons, and take approximately 30 hours to compute on a single desktop computer. The last two steps are implemented in SageMath, where several convenient high-level functions are available for working with graphs, and take approximately 60 hours to compute.

For validation purposes, we also computed the reducible 6-Venn diagrams in a different way, namely by inserting all possible Hamilton cycles into the 20 known 5-Venn quadrangulations, confirming the count of 157.619. Similarly, we also computed the monotone 6-Venn diagrams in a different way, using the method described in [12], confirming the count of 32.255.

3.1.1 Step (i): Computing all cycles 𝑪 of 𝑸𝒏𝟏

Any cycle C=(x1,,x) in Qn1 can be described by the first vertex x1 and the sequence of edge types (τ1,,τ), i.e., τi[n1] is the type of the edge of C between vertices xi and xi+1 for i=1,, (where x+1:=x1). The automorphisms of the hypercube are given by all permutations of positions and taking the exclusive-or with an arbitrary fixed bitstring of length n. Consequently, we can assume w.l.o.g. that x1=0n1. Note that for any sequence τ=(τ1,,τ) of edge types from [n1], there is a unique permutation σ on [n1] such that σ(τ)=(σ(τ1),,σ(τ)) is lexicographically minimal, i.e., for every prefix (σ(τ1),,σ(τp)), p=1,,, of the permuted sequence, if it contains r different types, then these are the types 1,,r. Therefore, we can assume w.l.o.g. that τ=σ(τ) is lexicographically minimal and furthermore, for every cyclic shift and/or reversal τ of the sequence τ, we have τlexσ(τ). Factoring out the automorphisms of Qn1 in this way drastically reduces the number of distinct cycles C that need to be considered.

In the following, we describe another observation that allows us to restrict the lengths of the boundary cycles to consider. As mentioned before, the total number of crossings in a simple n-Venn diagram D is 2n2. Clearly, this number equals the number of faces of Q(D). The number of vertices of Q(D) is 2n, and therefore Euler’s formula yields 2n+14 for the number of edges of Q(D). These edges split into n different matchings M1,M2,,Mn according to their types, and we can therefore always guarantee that one matching Mi has size |Mi|2n+14n, and the fraction on the right should be rounded up to the next even integer, because the corresponding boundary cycle in the hypercube must have even integral length. For n=6 this yields the lower bound |Mi|22 for one of the matchings. By symmetry, we can thus restrict our search to cycles C in Q5 of lengths 22,24,26,28,30,32. Note that if C has the maximum length 2n1, then it is a Hamilton cycle in Qn1, and the resulting n-Venn diagram H obtained by pairing two compatible C-quadrangulations is reducible and thus extendable.

The number of cycles of lengths 22,24,26,28,30,32 in Q5 up to automorphisms is 819.049,2.168.994,3.859.153,4.028.138,1.934.320,237.675, respectively. The last number agrees with the fifth entry of OEIS sequence A159344, as it should.

3.1.2 Step (ii): Computing all 𝑪-quadrangulations

Figure 9: Different cases in the recursion to compute all C-quadrangulations.

For a fixed cycle C in Qn1 as computed in the previous step, we aim to compute all C-quadrangulations. This is done recursively, by filling the inside of C with 4-faces, one at a time. In each step, the current partial C-quadrangulation P has an inner face B that still needs to be quadrangulated; see Figure 8 (b). For this we consider every edge e along B, and every 4-cycle F in Qn1 that contains e (there are n3 such 4-cycles). Every such 4-cycle F containing e has two additional vertices u and v. We locate u and v in P and distinguish the following cases: If u and v are on B but in the wrong cyclic order, then F is excluded, i.e., it will not be added to P as a 4-face. Similarly, if u or v are present in P but not on B, then F is excluded. These two cases are shown in Figure 9 (c), respectively. If u and v are on B but not next to e (Figure 9 (b)), then F is ignored for this recursion step (because including F would split the inner face bounded by B into two separate faces). If u and v are next to e on B or not in P (Figure 9 (a) shows the six possible such cases), then F is eligible for a branching step. Specifically, we branch and recurse on the two possibilities of either including F, updating B accordingly, or excluding F, which does not change B. Some care has to be taken to choose a clever branching order to avoid recomputing the same C-quadrangulation along different insertion orderings of its 4-faces, and also to keep the recursion tree small, i.e., to enforce and detect dead ends quickly (for details, see our C++ implementation [2]). Such a dead end would be an edge e on B for which all 4-cycles F containing e are excluded (apart possibly from one that can be included “behind” e).

3.1.3 Step (iii): Pairing up 𝑪-quadrangulations

For a fixed cycle C of Qn1, after computing all C-quadrangulations, we consider all pairs P,P of them, and check if P and P are compatible, i.e., whether the graph H defined in (1) satisfies condition 3. This is achieved by a simple graph search, run separately for every bit position i[n] and bit value b{0,1}, i.e., 2n searches in total. This can be slightly optimized by first doing the graph searches separately within each graph P and P, checking whether and how the subgraphs given by a fixed i[n] and b{0,1} intersect with C (already this may lead to discarding P or P, independently of the other), and then computing the overall connectivity resulting from that.

3.1.4 Step (iv): Filtering out isomorphic graphs

After computing all n-Venn quadrangulations as described in the previous step, we need to filter out duplicates, i.e., graphs that are isomorphic copies. These isomorphic copies can arise from two different boundary cycles C and C, obtained by splitting the same diagram along two different curves. The filtering is achieved by first computing a canonical graph labeling, available in SageMath via the function canonical_label() (which internally uses the tool bliss), and conversion into graph6 format, so that the isomorphism test becomes a string comparison.

3.1.5 Step (v): Analyzing properties of 𝒏-Venn quadrangulations

The different properties of a given n-Venn quadrangulation can be checked straightforwardly, either by efficient algorithms (perfect matchings, monotone, exposed, reducible) or by brute-force (Hamilton cycle/path), using standard SageMath functions. For n=6 there are relatively few graphs and they are relatively small and sparse (64 vertices and 124 edges), so this is fast enough.

4 Proof of Theorem 6

In this section, we prove Theorem 6.

Figure 10: Non-simple Venn diagrams Dn, n2, and Dn, n4, constructed in the proof of Theorem 6. Another drawing of D4 is shown in Figure 6.
Proof of Theorem 6.

We inductively construct a family of non-simple monotone n-Venn diagrams Dn for n2; see Figures 10 and 11. These are not the counterexamples yet, but those will be built from Dn later by small modifications. Specifically, we describe Dn as a wire diagram, i.e., each crossing occurs within a horizontally separated narrow vertical strip, and outside of these strips the n curves are aligned to horizontal lines at heights 1,2,,n. Furthermore, the diagram wraps around cylindrically at the left and right boundary. The curves are labeled 1,2,,n from bottom to top at the boundaries, according to their height.

Figure 11: Illustration of the general inductive construction of Dn+1 from Dn. The reversed copy of Dn is denoted rev(Dn).

Figure 12: Modification of the diagram Dn to obtain Dn by slightly shifting the curve n1.

For the induction basis n=2, we take D2 as the wire diagram obtained from the unique Venn diagram with 2 curves, which has 2 crossings; see Figure 10. For the induction step nn+1, let Dn be the diagram obtained from Dn by removing the rightmost crossing. To construct Dn+1, we take a copy of Dn vertically aligned at heights 1,,n, a second copy of Dn but reversed (mirrored along a vertical line, i.e., left and right are interchanged) to the right of the first copy and vertically aligned at heights 2,,n+1; see Figure 11. We then add the curve n+1 starting on the left at height n+1 above the first copy of Dn, staying there until its right side, then crossing below the reversed second copy of Dn to height 1, staying there until its right side, and finally crossing back up to height n+1 at the right boundary. The curves 1,,n are connected between the two copies of Dn through one additional crossing with the curve n+1, and to the right of the second copy through a second additional crossing with the curve n+1, creating two additional crossings in total, so that the ordering of curves on the right boundary becomes 1,,n+1, as desired. One can easily verify the following properties inductively:

  1. (i)

    The total number of crossings in Dn is 2n1. In particular, the arrangement graph of Dn has an even number of vertices.

  2. (ii)

    The subgraph of Dn given by curve 1 and curve 2 contains all crossings, and exactly one pair of parallel edges between any two consecutive crossings. Every second crossing involves only the curves 1 and 2, i.e., the degree of the corresponding vertices is 4, and these vertices form an independent set.

  3. (iii)

    Exactly two of the crossings in Dn involve all n curves, i.e., the degree of the corresponding vertices is 2n, and the clockwise cyclic orderings of the curves around the two crossings are n1,1,2,,n2,n,n2,,2,1,n1,n and n,1,2,,n1,n,n1,,2,1, respectively.

From (ii) we see in particular that the arrangement graph of Dn has a perfect matching and a Hamilton cycle, i.e., it is not a counterexample to Conjecture 5. However, for n4 we can modify Dn to obtain a diagram Dn as follows; see Figure 12: From the first crossing involving all n curves, we slightly shift down the curve n1, and from the second crossing involving all n curves, we slightly shift up the curve n1, so that each of these two crossings is split into two, one of degree 4 and the other of degree 2n2 (this is possible because of (iii)). By (i), the number of vertices of Dn is 2n1+2, an even number. Furthermore, in the arrangement graph of Dn, let U be the independent set of all degree 4 vertices and let U¯ be its complement. From (ii) we obtain that |U|=2n1/2+2=2n2+2 and |U¯|=2n1/2=2n2, and consequently |U|>|U¯|. This inequality and the fact that U is an independent set shows that Dn does not have a perfect matching. This is the easy direction of Tutte’s theorem on perfect matchings.

5 Open questions

A natural question that remains open is whether Winkler’s conjecture holds for monotone Venn diagrams. We believe that the answer is “no”, but there are no counterexamples for n6 (recall Figure 4). One idea to find a monotone n-Venn quadrangulation without a perfect matching for n7 would be to extend the local obstruction H highlighted in Figure 3, but so far we have not succeeded in this endeavor.

Computationally, it could be interesting to find all non-simple Venn diagrams for n=4 or n=5 curves and analyze their properties. What can be said about the asymptotic number of n-Venn diagrams as n grows, or about the proportion of diagrams with certain properties?

In addition to these questions, there is a large number of other intriguing problems on Venn diagrams, concerning symmetry, convexity, number of crossings, restrictions on the allowed shapes of the curves (triangles, rectangles etc.), to be found in the survey [15]. For example, is there a simple n-Venn diagram with rotational symmetry made of n congruent curves for every prime number n (see [8, 11, 13])?

References

  • [1] Sofia Brenner, Linda Kleist, Torsten Mütze, Christian Rieck, and Francesco Verciani. Disproving two conjectures on the Hamiltonicity of Venn diagrams, 2025. URL: https://arxiv.org/abs/2503.18554.
  • [2] Sofia Brenner, Torsten Mütze, and Francesco Verciani. Venn Diagrams Program(s) and Output. Software, swhId: swh:1:dir:baf5f66047caf6259cf73873956fbaf9305fa782 (visited on 2026-05-18). URL: https://tmuetze.de/papers/venn.zip, doi:10.4230/artifacts.26092.
  • [3] Bette Bultena, Branko Grünbaum, and Frank Ruskey. Convex drawings of intersecting families of simple closed curves. In Canadian Conference on Computational Geometry (CCCG), 1999. URL: http://www.cccg.ca/proceedings/1999/c14.pdf.
  • [4] Kiran B. Chilakamarri, Peter Hamburger, and Raymond E. Pippert. Hamilton cycles in planar graphs and venn diagrams. J. Comb. Theory B, 67(2):296–303, 1996. doi:10.1006/JCTB.1996.0047.
  • [5] Kiran B. Chilakamarri, Peter Hamburger, and Raymond E. Pippert. Venn diagrams and planar graphs. Geom. Dedicata, 62(1):73–91, 1996. doi:10.1007/BF00240003.
  • [6] Kiran B. Chilakamarri, Peter Hamburger, and Raymond E. Pippert. Analysis of Venn diagrams using cycles in graphs. Geom. Dedicata, 82(1-3):193–223, 2000. doi:10.1023/A:1005288325189.
  • [7] Stefan Felsner and Manfred Scheucher. Arrangements of pseudocircles: Triangles and drawings. Discret. Comput. Geom., 65(1):261–278, 2021. doi:10.1007/S00454-020-00173-4.
  • [8] Jerrold R. Griggs, Charles E. Killian, and Carla D. Savage. Venn diagrams and symmetric chain decompositions in the boolean lattice. Electron. J. Comb., 11(1), 2004. doi:10.37236/1755.
  • [9] Branko Grünbaum. Venn diagrams. I. Geombinatorics, 1(4):5–12, 1992.
  • [10] Peter Hamburger and Raymond E. Pippert. Simple, reducible Venn diagrams on five curves and Hamiltonian cycles. Geom. Dedicata, 68(3):245–262, 1997. doi:10.1023/A:1004924423245.
  • [11] Charles E. Killian, Frank Ruskey, Carla D. Savage, and Mark Weston. Half-simple symmetric Venn diagrams. Electron. J. Comb., 11(1), 2004. doi:10.37236/1839.
  • [12] Khalegh Mamakani, Wendy Myrvold, and Frank Ruskey. Generating simple convex Venn diagrams. J. Discrete Algorithms, 16:270–286, 2012. doi:10.1016/j.jda.2012.04.013.
  • [13] Khalegh Mamakani and Frank Ruskey. New roses: Simple symmetric Venn diagrams with 11 and 13 curves. Discret. Comput. Geom., 52(1):71–87, 2014. doi:10.1007/S00454-014-9605-6.
  • [14] Gara Pruesse and Frank Ruskey. All simple Venn diagrams are Hamiltonian, 2015. doi:10.48550/arXiv.1504.06651.
  • [15] Frank Ruskey and Mark Weston. A survey of Venn diagrams. Electron. J. Combin., 4(1):Dynamic Survey 5, 1997. doi:10.37236/26.
  • [16] Manfred Scheucher. Pseudocircle arrangements tools, 2024. GitHub repository: https://github.com/manfredscheucher/pseudocircle-arrangements-tools/.
  • [17] William T. Tutte. A theorem on planar graphs. Trans. Amer. Math. Soc., 82:99–116, 1956. doi:10.2307/1992980.
  • [18] John Venn. On the diagrammatic and mechanical representation of propositions and reasonings. Phil. Mag. S. 5., 9(59):1–18, 1880. doi:10.1080/14786448008626877.
  • [19] Hassler Whitney. A theorem on graphs. Ann. of Math. (2), 32(2):378–390, 1931. doi:10.2307/1968197.
  • [20] Peter Winkler. Venn diagrams: Some observations and an open problem. Congr. Numer., 45:267–274, 1984.
  • [21] Peter Winkler. Mathematical puzzles: A connoisseur’s collection. AK Peters Series, Taylor & Francis, 2004.
  • [22] Peter Winkler. Puzzled: Where sets meet (Venn diagrams). Commun. ACM, 55(2):128, 2012. doi:10.1145/2076450.2076475.