This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

A structure theorem for pseudo-segments and its applications

Jacob Fox Stanford University, Stanford, CA. Supported by a Packard Fellowship and by NSF award DMS-1855635. Email: [email protected].    János Pach Rényi Institute of Mathematics, H-1364 Budapest, POB 127, Hungary. Supported by NKFIH grants K-131529, Austrian Science Fund Z 342-N31, and ERC Advanced Grant 882971“GeoScape.”Email: [email protected].    Andrew Suk Department of Mathematics, University of California at San Diego, La Jolla, CA, 92093 USA. Supported an NSF CAREER award and NSF award DMS-1952786. Email: [email protected].
Abstract

We prove a far-reaching strengthening of Szemerédi’s regularity lemma for intersection graphs of pseudo-segments. It shows that the vertex set of such a graph can be partitioned into a bounded number of parts of roughly the same size such that almost all bipartite graphs between different pairs of parts are complete or empty. We use this to get an improved bound on disjoint edges in simple topological graphs, showing that every nn-vertex simple topological graph with no kk pairwise disjoint edges has at most n(logn)O(logk)n(\log n)^{O(\log k)} edges.

1 Introduction

Given a set of curves 𝒞\mathcal{C} in the plane, we say that 𝒞\mathcal{C} is a collection of pseudo-segments if any two members in 𝒞\mathcal{C} have at most one point in common, and no three members in 𝒞\mathcal{C} have a point in common. The intersection graph of a collection 𝒞\mathcal{C} of sets has vertex set 𝒞\mathcal{C} and two sets in 𝒞\mathcal{C} are adjacent if and only if they have a nonempty intersection.

A partition of a set is an equipartition if each pair of parts in the partition differ in size by at most one. Szemerédi’s celebrated regularity lemma roughly says that the vertex set of any graph has an equipartition such that the bipartite graph between almost all pairs of parts is random-like.

Our main result is a strengthening of Szemerédi’s regularity lemma for intersection graphs of pseudo-segments. It replaces the condition that the bipartite graphs between almost all pairs of parts is random-like to being homogeneous, either complete or empty.

Theorem 1.1.

For each ε>0\varepsilon>0 there is K=K(ε)K=K(\varepsilon) such that for every finite collection 𝒞\mathcal{C} of pseudo-segments in the plane, there is an equipartition of 𝒞\mathcal{C} into KK parts 𝒞1,,𝒞K\mathcal{C}_{1},\ldots,\mathcal{C}_{K} such that for all but at most εK2\varepsilon K^{2} pairs 𝒞i\mathcal{C}_{i}, 𝒞j\mathcal{C}_{j} of parts, either every curve in 𝒞i\mathcal{C}_{i} crosses every curve in 𝒞j\mathcal{C}_{j}, or every curve in 𝒞i\mathcal{C}_{i} is disjoint from every curve in 𝒞j\mathcal{C}_{j}.

Pach and Solymosi [35] proved the special case of Theorem 1.1 where 𝒞\mathcal{C} is a collection of segments in the plane, and this result was later extended to semi-algebraic graphs [3] and hypergraphs [15] of bounded description complexity. However, the techniques used to prove these results heavily rely on the algebraic structure. In fact, while it follows from the Milnor-Thom theorem that there are only 2O(nlogn)2^{O(n\log n)} graphs on nn vertices which are semialgebraic of bounded description complexity (see [36, 3, 42]) there are many more (namely 2Ω(n4/3)2^{\Omega(n^{4/3})}) graphs on nn vertices which are intersection graphs of pseudo-segments [17].

Theorem 1.1 does not hold if we do not allow to have exceptional pairs of parts. Indeed, the so-called half-graph (i.e., the graph on the vertex set {ui,vi:1in}\{u_{i},v_{i}:1\leq i\leq n\} with uivjE(G)u_{i}v_{j}\in E(G) if and only if i<ji<j) can be represented as the intersection graph of segments, and it is easy to see that it has no equipartition without exceptional pairs [30].

Next, we discuss an application of Theorem 1.1 in graph drawing.

Disjoint edges in simple topological graphs. A topological graph is a graph drawn in the plane such that its vertices are represented by points and its edges are represented by nonself-intersecting arcs connecting the corresponding points. The edges are allowed to intersect, but they may not intersect vertices apart from their endpoints. Furthermore, no two edges are tangent, i.e., if two edges share an interior point, then they must properly cross at that point in common. A topological graph is simple if every pair of its edges intersect at most once. Two edges of a topological graph cross if their interiors share a point, and are disjoint if they neither share a common vertex nor cross.

A thrackle is a simple topological graph with no two disjoint edges. A famous conjecture due to Conway states that every nn-vertex thrackle has at most nn edges. In fact, Conway offered a $1000 reward for a proof or disproof of this conjecture. The first linear upper bound was established by Lovász, Pach, and Szegedy in [29], who showed that every nn-vertex thrackle has at most 2n2n edges. This bound was subsequently improved in [5, 22, 23].

Determining the maximum number of edges in a simple topological graph with no kk pairwise disjoint edges seems to be a difficult task. In [38], Pach and Tóth showed that every nn-vertex simple topological graph with no k3k\geq 3 pairwise disjoint edges has at most O(nlog4k8n)O(n\log^{4k-8}n) edges. They conjectured that for every fixed kk, the number of edges in such graphs is at most Ok(n)O_{k}(n). Our next result substantially improves the upper bound for large kk.

Theorem 1.2.

If G=(V,E)G=(V,E) is an nn-vertex simple topological graph with no kk pairwise disjoint edges, then |E(G)|n(logn)O(logk)|E(G)|\leq n(\log n)^{O(\log k)}.

In [21], Fox and Sudakov showed that every dense nn-vertex simple topological graph contains Ω(log1+δn)\Omega(\log^{1+\delta}n) pairwise disjoint edges, where δ1/40\delta\approx 1/40. As an immediate Corollary to Theorem 1.2, we improve this bound to nearly polynomial under a much weaker assumption.

Corollary 1.3.

Let ε>0\varepsilon>0, and let G=(V,E)G=(V,E) be an nn-vertex simple topological graph with at least 2n1+ε2n^{1+\varepsilon} edges. Then GG has nΩ(ε/loglogn)n^{\Omega(\varepsilon/\log\log n)} pairwise disjoint edges.

For complete nn-vertex simple topological graphs, Aichholzer et al. [2] showed that one can always find Ω(n1/2)\Omega(n^{1/2}) pairwise disjoint edges. Whether or not this can be improved to Ω(n)\Omega(n) is an open problem.

The proofs of the above theorems heavily rely on a bipartite Ramsey-type result for intersection graphs of pseudo-segments (Theorem 2.8), as will be explained in Section 2. At the end of Section 2, using a variant of Szemerédi’s regularity lemma originally proposed by Komlós and Sós [27, 31, 33], we show how this Ramsey-type result implies two “density-type” theorems (Theorems 2.12 and 2.11). Roughly speaking, we prove that if there are many (resp., few) crossings between two families of pseudo-segments, then they have two large subfamilies such that every member of the first subfamily crosses every member of the second (resp., no member of the first subfamily crosses any member of the second). In Subsection 2.3, we show that any finite collection of pseudo-segments in the plane contains a linear-sized subset with the property that only a small fraction of pairs in the subset are crossing, or nearly all of them cross. In Section 3, we prove Theorem 2.8 in the special case where one of the families is double grounded. Building on these results, in Section 4, we establish our bipartite Ramsey-type theorem (Theorem 2.8) for any two families of pseudo-segments with the property that for each family, only a small fraction of pairs are crossing, or nearly all of them cross. Finally, in Section 5, we prove Theorem 2.8 in its full generality. We conclude our paper with a number of remarks and with an application of our results to an old problem in graph drawing (Theorem 1.2).

2 Ramsey-type properties of hereditary families of graphs

A family of graph is hereditary if it is closed under taking induced subgraphs. In this section, we show that the property that in a hereditary family of graphs, a homogeneous regularity lemma holds, is equivalent to some seemingly weaker Ramsey-type properties. See Theorem 2.2, below. It will imply that in order to prove Theorem 1.1, it is enough to establish that the family of intersection graphs of pseudo-segments satisfies some bipartite Ramsey-type condition (Theorem 2.8).

We need the following definitions.

Definition 2.1.

Let \mathcal{F} be a family of graphs.

  1. 1.

    \mathcal{F} has the Erdős-Hajnal property if there is ε=ε()>0\varepsilon=\varepsilon(\mathcal{F})>0 such that every graph in \mathcal{F} with nn vertices contains a clique or independent set of size nεn^{\varepsilon}.

  2. 2.

    \mathcal{F} has the polynomial Rödl property if there is C=C()C=C(\mathcal{F}) such that for every ε>0\varepsilon>0, every nn-vertex graph in \mathcal{F} has an induced subgraph on at least ϵC()n\epsilon^{C(\mathcal{F})}n vertices that is ε\varepsilon-homogeneous.

  3. 3.

    \mathcal{F} has the strong Erdős-Hajnal property if there is a constant ε=ε()>0\varepsilon=\varepsilon(\mathcal{F})>0 such that the vertex set of every nn-vertex graph in \mathcal{F} with n2n\geq 2 has two disjoint subsets, each of size at least εn\varepsilon n, such that the bipartite graph between them is complete or empty.

  4. 4.

    \mathcal{F} has the mighty Erdős-Hajnal property if there is a constant ε=ε()>0\varepsilon=\varepsilon(\mathcal{F})>0 such that for every graph GG in \mathcal{F} and every pair of disjoint subsets A,BV(G)A,B\subset V(G) with |A|=|B||A|=|B|, there are AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|ε|A||A^{\prime}|\geq\varepsilon|A| and |B|ε|B||B^{\prime}|\geq\varepsilon|B| such that the bipartite graph between AA and BB in GG is complete or empty.

  5. 5.

    \mathcal{F} has the homogeneous regularity property if for every ε>0\varepsilon>0 there is K=K(ε)K=K_{\mathcal{F}}(\varepsilon) such that the vertex set of every graph GG\in\mathcal{F} has an equipartition V(G)=V1VKV(G)=V_{1}\cup\cdots\cup V_{K} into KK parts such that for all but at most εK2\varepsilon K^{2} pairs of parts (Vi,Vj)(V_{i},V_{j}), the bipartite graph between them is complete or empty (i.e., Vi×VjE(G)V_{i}\times V_{j}\subset E(G) or Vi×VjE(G)=V_{i}\times V_{j}\cap E(G)=\emptyset).

  6. 6.

    \mathcal{F} has the homogeneous density property if for every ε>0\varepsilon>0 there is C=C(ε)C=C(\varepsilon) such that for every GG\in\mathcal{F} and every pair A,BV(G)A,B\subset V(G) of disjoint subsets of the same size with at least ε|A||B|\varepsilon|A||B| edges between them, there are AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|εC|A||A^{\prime}|\geq\varepsilon^{C}|A| and |B|εC|B||B^{\prime}|\geq\varepsilon^{C}|B| with the property that A×BE(G).A^{\prime}\times B^{\prime}\subset E(G).

For any family of graphs, \mathcal{F}, let ¯\overline{\mathcal{F}} be the family consisting of the complements of the elements of \mathcal{F}. In the sequel, we will heavily use the following.

Theorem 2.2.

Let \mathcal{F} be a hereditary family of graphs. Then the following are equivalent

  1. 1.

    \mathcal{F} has the mighty Erdős-Hajnal property.

  2. 2.

    \mathcal{F} has the homogeneous regularity property.

  3. 3.

    \mathcal{F} and ¯\overline{\mathcal{F}} both have the homogeneous density property.

Before proving Theorem 2.2, we make some remarks about the relative strengths of the above properties.

A classical result of Erdős and Szekeres [10] states that every graph on nn vertices has a clique or independent set on 12log2n\frac{1}{2}\log_{2}n vertices. The first improvement on the constant 12\frac{1}{2} was found recently by Campos, Griffiths, Morris, and Sahasrabudhe [6]. From the other direction, Erdős [8] showed that for every integer n>2n>2, there is a graph on nn vertices that contains no clique or independent set on 2log2n2\log_{2}n vertices.

It is known that this result can be substantially improved in several restricted settings; see, e.g., [7, 14]. According to the famous Erdős-Hajnal conjecture [9], which has been established only in some special cases, every hereditary family of graphs that is not the family of all graphs, satisfies the Erdős-Hajnal property.

Rödl [41] proved that for any hereditary family \mathcal{F} of graphs that is missing a graph and any ε>0\varepsilon>0, there is δ=δ(ε)>0\delta=\delta_{\mathcal{F}}(\varepsilon)>0 such that any graph in \mathcal{F} on nn vertices contains an induced subgraph on at least δn\delta n vertices which is ε\varepsilon-homogeneous. Rödl’s proof used Szemerédi’s regularity lemma and consequently gives a weak quantitative bound. Better quantitative bounds were obtained more recently in [20, 4].

Fox and Sudakov [20] conjectured that a polynomial dependence holds in Rödl’s theorem. That is, every hereditary family of graphs that is not the family of all graphs, satisfies the polynomial Rödl property. It is a simple exercise that any family having the polynomial Rödl property also has the Erdős-Hajnal property. In particular, the conjecture of Fox and Sudakov is a strengthening of the Erdős-Hajnal conjecture. Many cases of this strengthening of the Erdős-Hajnal conjecture were recently verified in [11, 32].

One way to prove that a family of graphs satisfies the Erdős-Hajnal property is to show that it has the strong Erdős-Hajnal property. However, this technique is limited, as the strong Erdős-Hajnal property is strictly stronger than the Erdős-Hajnal property. For example, it was proved by Tomon [43] that the family of intersection graphs of curves in the plane (the family of “string graphs”) has the Erdős-Hajnal property, yet, as was shown by Pach and G. Tóth [39], it does not have the strong Erdős-Hajnal property. Interestingly, the family of intersection graphs of curves in the plane, each pair of which have a bounded number of intersections, has the strong Erdős-Hajnal property [19]. The same is true for intersection graphs of xx-monotone curves or convex sets in the plane [18].

In Lemma 2.13 below, we prove that every hereditary family of graphs that has the strong Erdős-Hajnal property must also have the polynomial Rödl property. The strong Erdős-Hajnal property is strictly stronger than the polynomial Rödl property, as it is a simple exercise to show that the family of triangle-free graphs has the polynomial Rödl property but does not have the strong Erdős-Hajnal property.

However, for some applications, even the strong Erdős-Hajnal property is not sufficient, and one needs to introduce a stronger property: the mighty Erdős-Hajnal property, which is a bipartite version of the strong Erdős-Hajnal property. The simplest example of a class of graphs that has the strong property, but not the mighty one, is the family of bipartite graphs. A more interesting example is the family of intersection graphs of convex sets in the plane, which has the strong Erdős-Hajnal property by [18], but not he mighty Erdős-Hajnal property as it contains the complement of every bipartite graph. On the other hand, it was proved by Pach and Solymosi [36, 35] that intersection graphs of segments, or, more generally, intersection graphs of semialgebraic sets of bounded description complexity, have even the mighty Erdős-Hajnal property [3].

2.1 Proof of Theorem 2.2

We split the proof of the equivalences in Theorem 2.2 into four smaller lemmas.

Lemma 2.3.

Suppose that a hereditary family \mathcal{F} of graphs has the homogeneous regularity property. Then \mathcal{F} also has the mighty Erdős-Hajnal property.

Proof.

Let GG\in\mathcal{F} and A,BV(G)A,B\subset V(G) be disjoint with |A|=|B|=n|A|=|B|=n. Let GG^{\prime} be the induced subgraph of GG with vertex set ABA\cup B. Since \mathcal{F} is hereditary and GG^{\prime} is an induced subgraph of GG\in\mathcal{F}, then GG^{\prime}\in\mathcal{F}. By the homogeneous regularity property of GG^{\prime} applied with ε=1/65\varepsilon=1/65 there is an absolute constant K>100K>100 and an equipartition of ABA\cup B into KK parts V1,,VKV_{1},\ldots,V_{K} such that all but εK2\varepsilon K^{2} pairs of parts (Vi,Vj)(V_{i},V_{j}) are complete or empty. Note that the parts ViV_{i} that have at most n/(2K)n/(2K) elements in AA together have at most Kn/(2K)=n/2K\cdot n/(2K)=n/2 elements from AA. Each part ViV_{i} has at most 2n/K4n/K\lceil 2n/K\rceil\leq 4n/K elements. So there at least (n/2)/(4n/K)=K/8(n/2)/(4n/K)=K/8 parts ViV_{i} that have at least n/(2K)n/(2K) elements from AA. Similarly, at least K/8K/8 parts have at least n/(2K)n/(2K) elements from BB. So there are K2/64K^{2}/64 pairs of parts (Vi,Vj)(V_{i},V_{j}) such that ViV_{i} has at least n/(2K)n/(2K) elements from AA and VjV_{j} has at least n/(2K)n/(2K) elements from BB. Since we chose ε=1/200\varepsilon=1/200, there are at least K2/64K2/65>0K^{2}/64-K^{2}/65>0 pairs of parts (Vi,Vj)(V_{i},V_{j}) that are complete or empty to each other, ViV_{i} contains at least n/(2K)n/(2K) elements from AA and VjV_{j} contains at least n/(2K)n/(2K) elements of BB. Fixing such a pair (Vi,Vj)(V_{i},V_{j}) and letting A=ViAA^{\prime}=V_{i}\cap A and B=VjBB^{\prime}=V_{j}\cap B, we have AA^{\prime} and BB^{\prime} are complete or empty to each other and are of the desired size. So \mathcal{F} has the mighty Erdős-Hajnal property. ∎

Lemma 2.4.

Suppose that a hereditary family \mathcal{F} of graphs has the mighty Erdős-Hajnal property. Then \mathcal{F} also has the homogeneous regularity property.

Proof.

Since \mathcal{F} has the mighty Erdős-Hajnal property, there is c>0c>0 such that for every graph G0G_{0} in \mathcal{F} and for all disjoint vertex subsets A,BV(G0)A,B\subset V(G_{0}) with |A|=|B||A|=|B|, there is AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|c|A||A^{\prime}|\geq c|A| and |B|c|B||B^{\prime}|\geq c|B| such that the pair (A,B)(A^{\prime},B^{\prime}) is homogeneous.

We will show that \mathcal{F} also has the homogeneous regularity property. Let GG\in\mathcal{F} have nn vertices. We will show that GG has an equipartition into KK parts such that the bipartite graph between all but at most εK2\varepsilon K^{2} pairs of parts are complete or empty. If nKn\leq K, then partition V(G)V(G) into KK sets which have size at most one. Then every pair of parts is complete or empty between them. So we may assume n>Kn>K.

Arbitrarily equipartition V(G)=V1VtV(G)=V_{1}\cup\ldots\cup V_{t} into t=4/εt=4/\varepsilon sets, so at most a fraction ε/4\varepsilon/4 of the pairs of vertices are in the same part in the partition. Delete one vertex from each part ViV_{i} that has size n/t+1\lfloor n/t\rfloor+1 so all parts have the same size. Still, all but at least an ε/3\varepsilon/3 fraction of the pairs of vertices go between these pairs of sets of the same. Let 0={(Vi,Vj)}1i<jt\mathcal{B}_{0}=\{(V_{i},V_{j})\}_{1\leq i<j\leq t}.

Let ε=c2ε/100\varepsilon^{\prime}=c^{2}\varepsilon/100 At each step ii of a process we will have a family i\mathcal{B}_{i} of pairs of disjoint vertex subsets all of the same size satisfying the following four properties:

  1. 1.

    |i|t2(1/ε)2i|\mathcal{B}_{i}|\leq t^{2}(1/\varepsilon^{\prime})^{2i}.

  2. 2.

    Each pair of vertices of GG go between at most one pair of vertex subsets of i\mathcal{B}_{i}.

  3. 3.

    All but a fraction (12ε)2i(1-2\varepsilon^{\prime})^{2i} of the pairs of vertices that go between a pair of vertex subsets in 0\mathcal{B}_{0} go between a pair of vertex subsets in i\mathcal{B}_{i}.

  4. 4.

    At most a (1c2)i(1-c^{2})^{i} fraction of the pairs of vertices of the graph go between a pair of vertex subsets in i\mathcal{B}_{i} that are not homogeneous.

Note that the above properties hold for i=0i=0. Suppose we have already found i\mathcal{B}_{i}. For each pair (A,B)i(A,B)\in\mathcal{B}_{i}, by the mighty Erdős-Hajnal property, there are subsets AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|c|A||A^{\prime}|\geq c|A| and |B|c|B||B^{\prime}|\geq c|B| and the bipartite graph between AA and BB is complete or empty. Partition each of the four sets AA^{\prime}, AAA\setminus A^{\prime}, BB^{\prime} and BBB\setminus B^{\prime} into parts of size ε|A|\varepsilon^{\prime}|A| with one possible remaining set. For each pair of these subsets of AA and BB of size ε|A|\varepsilon^{\prime}|A| such that one is a subset of AA and the other is a subset of BB, we place the pair of subsets in i+1\mathcal{B}_{i+1}.

We next observe that each of the four properties listed hold. For each pair (A,B)i(A,B)\in\mathcal{B}_{i}, we get at most (1/ε)2(1/\varepsilon^{\prime})^{2} pairs in i+1\mathcal{B}_{i+1}, so |i+1|(1/ε)2|i||\mathcal{B}_{i+1}|\leq(1/\varepsilon^{\prime})^{2}|\mathcal{B}_{i}|, which inductively gives the first claimed property. The second claimed property holds since every pair of vertices that go between a pair of vertex subsets in i+1\mathcal{B}_{i+1} also go between a pair of vertex subsets in i\mathcal{B}_{i}. At least a (12ε)2(1-2\varepsilon^{\prime})^{2}-fraction of the pairs of vertices in A×BA\times B go between pairs of vertices in i+1\mathcal{B}_{i+1}, which inductively gives the third claimed property. Finally, for each (A,B)i(A,B)\in\mathcal{B}_{i}, since at least a (1c)2(1-c)^{2} fraction of the pairs of vertices go between the homogeneous pair (A,B)(A^{\prime},B^{\prime}), the last claimed property holds.

After i0=c2log(4/ε)i_{0}=c^{-2}\log(4/\varepsilon) steps, all but a fraction (1c2)i0<ec2i0=ε/4(1-c^{2})^{i_{0}}<e^{-c^{2}i_{0}}=\varepsilon/4 of the pairs of vertices in GG go between a pair of vertex subsets in i0\mathcal{B}_{i_{0}} that are not homogeneous. The fraction of pairs of vertices in GG that do no go between a pair of vertex subsets in i0\mathcal{B}_{i_{0}} is at most ε/3+1(12ε)2i0ε/2\varepsilon/3+1-(1-2\varepsilon^{\prime})^{2i_{0}}\leq\varepsilon/2.

For each pair (A,B)i0(A,B)\in\mathcal{B}_{i_{0}}, we obtain two bipartitions V(G)=A(V(G)A)V(G)=A\cup(V(G)\setminus A) and V(G)=B(V(G)B)V(G)=B\cup(V(G)\setminus B). Let 𝒬\mathcal{Q} be the common refinement of all of these 2|i0|2|\mathcal{B}_{i_{0}}| bipartitions, so 𝒬\mathcal{Q} is a partition of V(G)V(G) into 22|i0|2^{2|\mathcal{B}_{i_{0}}}| parts.

We next obtain an equipartition 𝒫\mathcal{P} of V(G)V(G) into KK parts. For every equipartition into KK parts, we have parts of size n/K\lfloor n/K\rfloor or n/K\lceil n/K\rceil, with the number of parts of size n/K\lceil n/K\rceil being the remainder when nn is divided by KK. Partition each part of 𝒬\mathcal{Q} into parts of size n/K\lfloor n/K\rfloor or n/K\lceil n/K\rceil, with additional one part of size at most n/Kn/K. We partition the union of the |Q||Q| additional parts into sets of size n/K\lfloor n/K\rfloor or n/K\lceil n/K\rceil so that to obtain an equipartition PP of V(G)V(G) into KK parts. The fraction of pairs of vertices in GG not going between a homogeneous pair in partition PP is at most ε/2+ε/4+2|Q|/Kε\varepsilon/2+\varepsilon/4+2|Q|/K\leq\varepsilon. Thus, PP is the desired equipartition. ∎

Lemma 2.5.

Suppose that \mathcal{F} and ¯\overline{\mathcal{F}} are hereditary families that both have the homogeneous density property. Then \mathcal{F} also has the mighty Erdős-Hajnal property.

Proof.

Let GG\in\mathcal{F} and A,BA,B be disjoint vertex subsets of GG of the same size. The bipartite graph between AA and BB have edge density at least 1/21/2 or at most 1/21/2. In the first case, since \mathcal{F} has the homogeneous density property, there is a constant c>0c>0 and subsets AAA^{\prime}\subset A with |A|c|A||A^{\prime}|\geq c|A| and BBB^{\prime}\subset B with |B|c|B||B^{\prime}|\geq c|B| such that AA^{\prime} is complete to BB^{\prime}. In the second case, since ¯\overline{\mathcal{F}} has the homogeneous density property, there is a constant c>0c>0 and subsets AAA^{\prime}\subset A with |A|c|A||A^{\prime}|\geq c|A| and BBB^{\prime}\subset B with |B|c|B||B^{\prime}|\geq c|B| such that AA^{\prime} is empty to BB^{\prime}. So we get \mathcal{F} has the mighty Erdős-Hajnal property. ∎

Lemma 2.6.

Suppose that a hereditary family \mathcal{F} has the mighty Erdős-Hajnal property. Then \mathcal{F} and ¯\overline{\mathcal{F}} both have the homogeneous density property.

The proof of Lemma 2.6 is now a standard application of a weak bipartite version of Szemerédi’s regularity lemma. The version we use is due to Komlós and Sós (see [27, 33] or Theorem 9.4.1 on page 223 of [31]).

Lemma 2.7 ([27, 33]).

Let G=(A,B,E)G=(A,B,E) be a bipartite graph with parts AA and BB such that |A|=|B|=n|A|=|B|=n. Let 0<c1/20<c\leq 1/2. If |E|εn2|E|\geq\varepsilon n^{2}, then there exists subsets A0A,B0BA_{0}\subset A,B_{0}\subset B such that

  1. 1.

    |A0|=|B0|=ε1/c2n|A_{0}|=|B_{0}|=\varepsilon^{1/c^{2}}n, and

  2. 2.

    |E(A0,B0)|ε|A0||B0||E(A_{0},B_{0})|\geq\varepsilon|A_{0}||B_{0}|, and

  3. 3.

    |E(A,B)|>0|E(A^{\prime},B^{\prime})|>0 for any AA0A^{\prime}\subset A_{0} and BB0B^{\prime}\subset B_{0} with |A|,|B|c|A0||A^{\prime}|,|B^{\prime}|\geq c|A_{0}|.

Proof of Lemma 2.6.

Since \mathcal{F} has the mighty Erdős-Hajnal property, there is a constant 0<c1/20<c\leq 1/2 such that for every GG\in\mathcal{F} and disjoint vertex subsets A,BA,B of GG of the same size, there are AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|,|B|c|A||A^{\prime}|,|B^{\prime}|\geq c|A| such that the bipartite graph between AA^{\prime} and BB^{\prime} is either complete or empty.

By symmetry, it suffices to show that \mathcal{F} has the homogeneous density property. Let GG\in\mathcal{F} and A,BA,B be disjoint vertex subsets of equal size such that the edge density between AA and BB is at least ε\varepsilon. By Lemma 2.7, there are A0AA_{0}\subset A and B0BB_{0}\subset B such that |A0|=|B0|=ε1/c2|A||A_{0}|=|B_{0}|=\varepsilon^{1/c^{2}}|A|, the edge density between A0A_{0} and B0B_{0} is at least ε\varepsilon, and |E(A,B)|>0|E(A^{\prime},B^{\prime})|>0 for any AA0A^{\prime}\subset A_{0} and BB0B^{\prime}\subset B_{0} with |A|,|B|c|A0||A^{\prime}|,|B^{\prime}|\geq c|A_{0}|. Applying the mighty Erdős-Hajnal property to A0A_{0} and B0B_{0}, we get subsets AA^{\prime} and BB^{\prime} with |A|,|B|c|A0||A^{\prime}|,|B^{\prime}|\geq c|A_{0}| that are complete or empty to each other. However, the above condition that there is at least one edge between AA^{\prime} and BB^{\prime} implies that AA^{\prime} and BB^{\prime} are complete to each other, completing the proof. ∎

2.2 Deductions for intersection graphs of pseudo-segments

By Theorem 2.2, the main result in this paper (Theorem 1.1) is equivalent to saying that the family of intersection graphs of pseudo-segments has the mighty Erdős-Hajnal property. Therefore, to prove Theorem 1.1, it suffices to prove the following result.

Theorem 2.8.

Let \mathcal{R} be a set of nn red curves, and \mathcal{B} be a set of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

Then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R} and \mathcal{B}^{\prime}\subset\mathcal{B}, where ||,||Ω(n)|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\Omega(n), such that either every curve in \mathcal{R}^{\prime} crosses every curves in \mathcal{B}^{\prime}, or every curve in \mathcal{R}^{\prime} is disjoint from every curves in \mathcal{B}^{\prime}.

As mentioned earlier, a weaker result, that the family of intersection graphs of pseudo-segments has the strong Erdős-Hajnal property, was proved earlier by Fox, Pach, and Tóth [19]. We repeat it below for convenience.

Theorem 2.9 ([19]).

Let 𝒞\mathcal{C} be a collection on nn pseudo-segments in the plane. Then there are subsets 𝒞1,𝒞2𝒞\mathcal{C}_{1},\mathcal{C}_{2}\subset\mathcal{C}, where |𝒞1|,|𝒞2|Ω(n)|\mathcal{C}_{1}|,|\mathcal{C}_{2}|\geq\Omega(n), such that either every curve in 𝒞1\mathcal{C}_{1} crosses every curve in 𝒞2\mathcal{C}_{2}, or every curve in 𝒞1\mathcal{C}_{1} is disjoint from every curve in 𝒞2\mathcal{C}_{2}

By Theorem 2.2, Theorem 2.8 is equivalent to the following two theorems holding.

Theorem 2.10.

There is an absolute constant c>0c>0 such that the following holds. Let \mathcal{R} be a collection of nn red curves, and \mathcal{B} be a collection of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

If there are at least εn2\varepsilon n^{2} crossing pairs in ×\mathcal{R}\times\mathcal{B}, then there are subsets ,\mathcal{R}^{\prime}\subset\mathcal{R},\mathcal{B}^{\prime}\subset\mathcal{B}, where ||,||εcn|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\varepsilon^{c}n, such that every curve in \mathcal{R}^{\prime} crosses every curve in \mathcal{B}^{\prime}.

Theorem 2.11.

There is an absolute constant c>0c>0 such that the following holds. Let \mathcal{R} be a collection of nn red curves, and \mathcal{B} be a collection of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

If there are at least εn2\varepsilon n^{2} disjoint pairs in ×\mathcal{R}\times\mathcal{B}, then there are subsets ,\mathcal{R}^{\prime}\subset\mathcal{R},\mathcal{B}^{\prime}\subset\mathcal{B}, where ||,||εcn|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\varepsilon^{c}n, such that every curve in \mathcal{R}^{\prime} is disjoint from every curve in \mathcal{B}^{\prime}.

Theorem 2.11 is the first density-type result for disjointness graphs of pseudo-segments, and is the key ingredient in the proof of Theorem 1.2. For the proof of Theorem 2.8, we need the following non-bipartite version of Theorem 2.10 established by the first two authors in [13].

Theorem 2.12 ([13]).

There is an absolute constant c>0c^{\prime}>0 such that the following holds. Let 𝒞\mathcal{C} be a collection of nn pseudo-segments in the plane with at least εn2\varepsilon n^{2} crossing pairs. Then there are subsets 𝒞1,𝒞2𝒞\mathcal{C}_{1},\mathcal{C}_{2}\subset\mathcal{C}, each of size cεnc^{\prime}\varepsilon n, such that every curve in 𝒞1\mathcal{C}_{1} crosses every curve in 𝒞2\mathcal{C}_{2}.

2.3 The strong Erdős-Hajnal property implies the polynomial Rödl property

The goal of this subsection is to prove the following lemma, and deduce that the family of intersection graphs of pseudo-segments has the polynomial Rödl property.

Lemma 2.13.

If a hereditary family \mathcal{F} of graphs has the strong Erdős-Hajnal property, then it also has the polynomial Rödl property.

In proving Lemma 2.13, given a graph GG in a hereditary family of graphs satisfying the strong Erdős-Hajnal property, we find a large subgraph of GG or its complement that is a balanced complete multipartite graph with many parts. Such a subgraph must have density close to one, giving the desired ε\varepsilon-homogeneous induced subgraph.

Proof of Lemma 2.13.

Since \mathcal{F} has the strong Erdős-Hajnal property, there is a constant c>0c>0 such that every GG\in\mathcal{F} on n2n\geq 2 vertices has disjoint vertex subsets V1,V2V_{1},V_{2} with |V1|=|V2|=cn|V_{1}|=|V_{2}|=cn such that the graph between V1V_{1} and V2V_{2} is complete or empty. We repeatedly apply this to the induced subgraph of each of the vertex subsets of GG we obtain. After tt levels of iteration, we obtain 2t2^{t} disjoint vertex subsets, each of size ctnc^{t}n, that are complete or empty between each pair of them, and the induced subgraph HH of GG formed by taking one vertex from each of these 2t2^{t} subsets is a cograph. Since cographs are perfect graphs, and any perfect graph with mm vertices contains a clique or independent set of size at least m1/2m^{1/2}, HH contains a clique or independent set with at least 2t/22^{t/2} vertices. Let U1,,UsU_{1},\ldots,U_{s} be the vertex subsets that the vertices from this clique or independent set belong to. Then the edge density of the induced subgraph on the union i=1sUi\bigcup_{i=1}^{s}U_{i} is either more than 11/s1-1/s or less than 1/s1/s. Let t=2log2(1/ε)t=2\log_{2}(1/\varepsilon). Since s2t/2=1/εs\geq 2^{t/2}=1/\varepsilon and ct=εCc^{t}=\varepsilon^{C} with C=2log2(1/c)C=2\log_{2}(1/c), this completes the proof. ∎

Given a collection 𝒞\mathcal{C} of curves in the plane, let G(𝒞)G(\mathcal{C}) denote the intersection graph of 𝒞\mathcal{C}. According to Theorem 2.9, the family of intersection graphs of pseudo-segments has the strong Erdős-Hajnal property. Applying Lemma 2.13, we obtain

Corollary 2.14.

The family of intersection graphs of pseudo-segments has the polynomial Rödl property. That is, there is an absolute constant c1>0c_{1}>0 such that the following holds. Let ε>0\varepsilon>0 and 𝒞\mathcal{C} be a collection of nn pseudo-segments in the plane. Then there is a subset 𝒞𝒞\mathcal{C}^{\prime}\subset\mathcal{C} of size εc1n\varepsilon^{c_{1}}n whose intersection graph G(𝒞)G(\mathcal{C}^{\prime}) is ε\varepsilon-homogeneous.

We will frequently use the following simple lemma in this paper.

Lemma 2.15.

Let G=(V,E)G=(V,E) be a graph on nn vertices. If the edge density of GG is at most ε\varepsilon, then any induced subgraph on δn\delta n vertices has edge density at most 2ε/δ22\varepsilon/\delta^{2}. Likewise, if the edge density of GG is at least 1ε1-\varepsilon, then any induced subgraph on δn\delta n vertices has edge density at least 12ε/δ21-2\varepsilon/\delta^{2}.

Proof.

Suppose the edge density of GG is at most εn2\varepsilon n^{2} edges. Hence, any induced subgraph on δn\delta n vertices will have at most (2ε/δ2)(δn)2/2(2\varepsilon/\delta^{2})(\delta n)^{2}/2 edges, which implies that the edge density of the induced subgraph is at most 2ε/δ22\varepsilon/\delta^{2}. A symmetric argument follows in the case when the edge density of GG is at least 1ε1-\varepsilon. ∎

3 Proof of Theorem 2.8 – for double grounded red curves

Given a collection of curves 𝒞\mathcal{C} in the plane, we say that 𝒞\mathcal{C} is double grounded if there are two distinct curves γ1\gamma_{1} and γ2\gamma_{2} such that for each curve α𝒞\alpha\in\mathcal{C}, α\alpha has one endpoint on γ1\gamma_{1} and the other on γ2\gamma_{2}, and the interior α\alpha is disjoint from γ1\gamma_{1} and γ2\gamma_{2}. Throughout this paper, for simplicity, we will always assume that both endpoints of each of our curves have distinct xx-coordinates. We refer to the endpoint of a curve with the smaller (larger) xx-coordinate as its left (right) endpoint. The aim of this section is to prove Theorem 2.8 in the special case where one of the color classes (the red one, say) consists of double grounded curves.

A curve in the plane is called xx-monotone if every vertical line intersects it in at most one point. We start by considering double grounded xx-monotone curves, and at the end of this section, we will remove the xx-monotone condition. We will need the following result, known as the cutting-lemma for xx-monotone curves. See, for example, Proposition 2.11 in [26].

Lemma 3.1 (The Cutting Lemma).

Let 𝒞\mathcal{C} be a collection of nn double grounded xx-monotone curves, whose grounds that are disjoint vertical segments γ1\gamma_{1} and γ2\gamma_{2}, and let r>1r>1 be a parameter. Then 2(γ1γ2)\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}) can be subdivided into tt connected regions Δ1,,Δt\Delta_{1},\ldots,\Delta_{t}, such that the interior of each Δi\Delta_{i} is intersected by at most n/rn/r curves from 𝒞\mathcal{C}, and we have t=O(r2)t=O(r^{2}).

In the proof of the following lemma and throughout the paper, we will implicitly use the Jordan curve theorem.

Lemma 3.2.

Let \mathcal{R} be a set of nn red double grounded xx-monotone curves, whose grounds are disjoint vertical segments γ1\gamma_{1} and γ2\gamma_{2}. Let \mathcal{B} be a set of nn blue curves (not necessarily xx-monotone) such that every blue curve in \mathcal{B} is disjoint from grounds γ1\gamma_{1} and γ2\gamma_{2}, and suppose that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

Then then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R} and \mathcal{B}^{\prime}\subset\mathcal{B} such that ||,||Ω(n)|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\Omega(n), and either every curve in \mathcal{R^{\prime}} crosses every curve in \mathcal{B}^{\prime}, or every curve in \mathcal{R}^{\prime} is disjoint from every curve in \mathcal{B}^{\prime}.

Proof.

Let PP be the set of left-endpoints of the curves in \mathcal{B}. We apply Lemma 3.1 to \mathcal{R} with parameter r=4r=4 to obtain a subdivision

2(γ1γ2)=Δ1Δt,\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2})=\Delta_{1}\cup\cdots\cup\Delta_{t},

such that for each Δi\Delta_{i}, the interior of Δi\Delta_{i} intersects at most n/4n/4 members in \mathcal{R}, and tc042t\leq c_{0}4^{2} where c0c_{0} is an absolute constant from Lemma 3.1. By the pigeonhole principle, there is a region Δi\Delta_{i} such that Δi\Delta_{i} contains at least n/c042n/c_{0}4^{2} points from PP. Let 0\mathcal{B}_{0}\subset\mathcal{B} be the set of blue curves whose left endpoints are in Δi\Delta_{i}. Hence |0|=Ω(n)|\mathcal{B}_{0}|=\Omega(n).

Let QQ be the right endpoints of the curves in 0\mathcal{B}_{0}. Using the same subdivision described above, there is a region Δj\Delta_{j} such that Δj\Delta_{j} contains at least |Q|/(c042)n/(c042)2|Q|/(c_{0}4^{2})\geq n/(c_{0}4^{2})^{2} points from QQ. Let 10\mathcal{B}_{1}\subset\mathcal{B}_{0} be the set of blue curves with their left endpoint in Δi\Delta_{i} and right endpoint in Δj\Delta_{j}. Let 1\mathcal{R}_{1}\subset\mathcal{R} consists of all red curves that do not intersect the interior of Δi\Delta_{i} and Δj\Delta_{j}. Lemma 3.1 implies that

|1|n2n4=n2,|\mathcal{R}_{1}|\geq n-\frac{2n}{4}=\frac{n}{2},

and |1|=Ω(n).|\mathcal{B}_{1}|=\Omega(n). Recall that each blue curve in 1\mathcal{B}_{1} does not intersect the grounds γ1\gamma_{1} nor γ2\gamma_{2}. Fix an arbitrary curve α01\alpha_{0}\in\mathcal{R}_{1}. The proof now falls into the following cases.

Case 1. Suppose at least |1|/2|\mathcal{R}_{1}|/2 curves in 1\mathcal{R}_{1} are disjoint from α0\alpha_{0}. Let 21\mathcal{R}_{2}\subset\mathcal{R}_{1} be the set of red curves disjoint from α0\alpha_{0}. For each α2{α0}\alpha\in\mathcal{R}_{2}\setminus\{\alpha_{0}\},

2(γ1γ2α0α),\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha),

consists of two connected components, one bounded and the other unbounded.

Refer to caption
(a) Case 1.a.
Refer to caption
(b) Case 1.b.
Figure 1: Case 1, α0\alpha_{0} and α\alpha are disjoint.

Case 1.a. Suppose for at least |2|/2|\mathcal{R}_{2}|/2 red curves α2\alpha\in\mathcal{R}_{2}, both Δi\Delta_{i} and Δj\Delta_{j} lie in the same connected component of 2(γ1γ2α0α)\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha). See Figure 1(a). Let 32\mathcal{R}_{3}\subset\mathcal{R}_{2} be the collection of such red curves. Then for each α3\alpha\in\mathcal{R}_{3}, each blue curve β1\beta\in\mathcal{B}_{1} crosses α\alpha if and only if β\beta crosses α0\alpha_{0}. Hence, there is a subset 21\mathcal{B}_{2}\subset\mathcal{B}_{1} of size at least Ω(n)\Omega(n), such that either every blue curve in 2\mathcal{B}_{2} crosses every red curve in 3\mathcal{R}_{3}, or every blue curve in 2\mathcal{B}_{2} is disjoint from every red curve in 3\mathcal{R}_{3}. Moreover, |3|=Ω(n)|\mathcal{R}_{3}|=\Omega(n) and we are done.

Case 1.b. Suppose for at least |2|/2|\mathcal{R}_{2}|/2 red curves α2\alpha\in\mathcal{R}_{2}, regions Δi\Delta_{i} and Δj\Delta_{j} lie in different connected component of 2(γ1γ2α0α)\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha). See Figure 1(b). Similar to above, let 32\mathcal{R}_{3}\subset\mathcal{R}_{2} be the collection of such red curves. By the pseudo-segment condition, for each α3\alpha\in\mathcal{R}_{3}, each blue curve β1\beta\in\mathcal{B}_{1} crosses α\alpha if and only if β\beta is disjoint from α0\alpha_{0}. Hence, there is a subset 21\mathcal{B}_{2}\subset\mathcal{B}_{1} of size Ωr(n)\Omega_{r}(n), such that either every blue curve in 2\mathcal{B}_{2} crosses every red curve in 3\mathcal{R}_{3}, or every blue curve in 2\mathcal{B}_{2} is disjoint from every red curve in 3\mathcal{R}_{3}. Moreover, |3|=Ω(n)|\mathcal{R}_{3}|=\Omega(n) and we are done.

Case 2. Suppose at least |1|/2|\mathcal{R}_{1}|/2 curves in 1\mathcal{R}_{1} cross α0\alpha_{0}. Let 21\mathcal{R}_{2}\subset\mathcal{R}_{1} be the set of red curves that crosses α0\alpha_{0}. For each α2{α0}\alpha\in\mathcal{R}_{2}\setminus\{\alpha_{0}\},

2(γ1γ2α0α),\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha),

consists of three connected components, two of which are bounded and the other unbounded.

Case 2.a. Suppose for at least |2|/3|\mathcal{R}_{2}|/3 red curves α2\alpha\in\mathcal{R}_{2}, Both Δi\Delta_{i} and Δj\Delta_{j} lie in the same connected component of 2(γ1γ2α0α)\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha). See Figure 2(a). Let 32\mathcal{R}_{3}\subset\mathcal{R}_{2} be the collection of such red curves. By the pseudo-segment condition, for each α3\alpha\in\mathcal{R}_{3}, each blue curve β1\beta\in\mathcal{B}_{1} crosses α\alpha if and only if β\beta crosses α0\alpha_{0}. Hence, there is a subset 21\mathcal{B}_{2}\subset\mathcal{B}_{1} of size at least Ω(n)\Omega(n), such that either every blue curve in 2\mathcal{B}_{2} crosses every red curve in 3\mathcal{R}_{3}, or every blue curve in 2\mathcal{B}_{2} is disjoint from every red curve in 3\mathcal{R}_{3}. Moreover, |3|=Ω(n)|\mathcal{R}_{3}|=\Omega(n).

Case 2.b. Suppose for at least |2|/3|\mathcal{R}_{2}|/3 red curves α2\alpha\in\mathcal{R}_{2}, regions Δi\Delta_{i} and Δj\Delta_{j} lie in different bounded connected components of 2(γ1γ2α0α)\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha). See Figure 2(b). Let 32\mathcal{R}_{3}\subset\mathcal{R}_{2} be the collection of such red curves. Then for each α3\alpha\in\mathcal{R}_{3}, every blue curve β1\beta\in\mathcal{B}_{1} crosses α\alpha. Since |3|=Ω(n)|\mathcal{R}_{3}|=\Omega(n) and |1|=Ω(n)|\mathcal{B}_{1}|=\Omega(n).

Case 2.c. Suppose for at least |2|/3|\mathcal{R}_{2}|/3 red curves α2\alpha\in\mathcal{R}_{2}, regions Δi\Delta_{i} and Δj\Delta_{j} lie in different connected components of 2(γ1γ2α0α)\mathbb{R}^{2}\setminus(\gamma_{1}\cup\gamma_{2}\cup\alpha_{0}\cup\alpha), one of which is bounded and the other unbounded. See Figure 2(c). Let 32\mathcal{R}_{3}\subset\mathcal{R}_{2} be the collection of such red curves. By the pseudo-segment condition, for each α3\alpha\in\mathcal{R}_{3}, each blue curve β1\beta\in\mathcal{B}_{1} crosses α\alpha if and only if β\beta is disjoint from α0\alpha_{0}. Hence, there is a subset 21\mathcal{B}_{2}\subset\mathcal{B}_{1} of size Ω(n)\Omega(n), such that either every blue curve in 2\mathcal{B}_{2} crosses every red curve in 3\mathcal{R}_{3}, or every blue curve in 2\mathcal{B}_{2} is disjoint from every red curve in 3\mathcal{R}_{3}. Moreover, |3|=Ω(n)|\mathcal{R}_{3}|=\Omega(n), and we are done. ∎

Refer to caption
(a) Case 2.a.
Refer to caption
(b) Case 2.b.
Refer to caption
(c) Case 2.c.
Figure 2: Case 2, α0\alpha_{0} and α\alpha cross.

Recall that a pseudoline is an unbounded arc in 2\mathbb{R}^{2}, whose complement is disconnected. An arrangement of pseudolines is a set of pseudolines such that every pair meets exactly once, and no three members have a point in common. A classic result of Goodman [24] states that every arrangement of pseudolines is isomorphic to an arrangement of wiring diagrams (bi-infinite xx-monotone curves). Moreover, Goodman and Pollack showed the following.

Theorem 3.3 ([25]).

Every arrangement of pseudolines can be continuously deformed (through isomorphic arrangements) to a wiring diagram.

We also need the following simple lemma.

Lemma 3.4.

Given a finite linearly ordered set whose elements are colored red or blue, we can select half of the red elements and half of the blue elements such that all of the selected elements of one color come before all of the selected elements of the other color.

We are now ready to establish the main result of this section:

Theorem 3.5.

Let \mathcal{R} be a set of nn red double grounded curves with grounds γ1\gamma_{1} and γ2\gamma_{2}, where γ1\gamma_{1} and γ2\gamma_{2} cross each other. Let \mathcal{B} be a set of nn blue curves such that {γ1,γ2}\mathcal{R}\cup\mathcal{B}\cup\{\gamma_{1},\gamma_{2}\} is a collection of pseudo-segments.

Then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R} and \mathcal{B}^{\prime}\subset\mathcal{B} such that ||,||Ω(n)|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\Omega(n), and either every curve in \mathcal{R^{\prime}} crosses every curve in \mathcal{B}^{\prime}, or every curve in \mathcal{R}^{\prime} is disjoint from every curve in \mathcal{B}^{\prime}.

Proof.

By passing to linear-sized subsets of \mathcal{R} and \mathcal{B} and subcurves of γ1\gamma_{1} and γ2\gamma_{2}, we will reduce the problem to the setting of Lemma 3.2. Let us assume that γ1\gamma_{1} and γ2\gamma_{2} cross at point pp. Hence, (γ1γ2)(γ2γ1)(\gamma_{1}\setminus\gamma_{2})\cup(\gamma_{2}\setminus\gamma_{1}) consists of four connected components. By the pigeonhole principle, there is a subset 1\mathcal{R}_{1}\subset\mathcal{R} of size n/4n/4 such that every curve in 1\mathcal{R}_{1} has an endpoint on one of the connected components of γ1γ2\gamma_{1}\setminus\gamma_{2}, and all of the other endpoints lie on one of the connected components of γ2γ1\gamma_{2}\setminus\gamma_{1}. Let γiγi\gamma^{\prime}_{i}\subset\gamma_{i}, for i=1,2i=1,2, be these connected components so that they have a common endpoint at pp and their interiors are disjoint.

For each α1\alpha\in\mathcal{R}_{1}, the sequence of curves (γ1,γ2,α)(\gamma^{\prime}_{1},\gamma^{\prime}_{2},\alpha) appear either in clockwise or counterclockwise order along the unique simple closed curve that lies in γ1γ2α\gamma^{\prime}_{1}\cup\gamma^{\prime}_{2}\cup\alpha. Without loss of generality, we can assume that there is a subset 21\mathcal{R}_{2}\subset\mathcal{R}_{1}, where |2|=Ω(n)|\mathcal{R}_{2}|=\Omega(n), such that for every curve α2\alpha\in\mathcal{R}_{2}, the sequence (γ1,γ2,α)(\gamma^{\prime}_{1},\gamma^{\prime}_{2},\alpha) appears in clockwise order, since a symmetric argument would follow otherwise.

We define the orientation of each curve α2\alpha\in\mathcal{R}_{2} as the sequence of turns, either left-left, left-right, right-left, or right-right, made by starting at pp and moving along γ1\gamma^{\prime}_{1} in the arrangement γ1γ2α\gamma_{1}^{\prime}\cup\gamma_{2}^{\prime}\cup\alpha, until we return back to pp. More precisely, starting at pp we move along γ1\gamma^{\prime}_{1} until we reach the endpoint of α\alpha. We then turn either left or right to move along α\alpha towards γ2\gamma^{\prime}_{2}. Once we’ve reached γ2\gamma^{\prime}_{2}, we either turn left or right in order to move along γ2\gamma^{\prime}_{2} and reach pp again. By the pigeonhole principle, there is a subset 32\mathcal{R}_{3}\subset\mathcal{R}_{2} of size at least Ω(n)\Omega(n) such that all curves in 3\mathcal{R}_{3} have the same orientation. Without loss of generality, we can assume that the orientation is left-left, since a symmetric argument would follow otherwise.

Starting at pp and moving along γ1\gamma_{1}^{\prime} towards its other endpoint, let us consider the sequence of curves from 3\mathcal{R}_{3}\cup\mathcal{B} intersecting γ1\gamma_{1}^{\prime}. Then, by Lemma 3.4, there are subsets 43\mathcal{R}_{4}\subset\mathcal{R}_{3} and 1\mathcal{B}_{1}\subset\mathcal{B}, where |4||3|/2|\mathcal{R}_{4}|\geq|\mathcal{R}_{3}|/2 and |1|||/2|\mathcal{B}_{1}|\geq|\mathcal{B}|/2, such that either all of the curves in 4\mathcal{R}_{4} appear before all of the curves in 1\mathcal{B}_{1} that intersect γ1\gamma_{1}^{\prime} in this sequence, or all of the curves in 4\mathcal{R}_{4} appear after all of the curves in 1\mathcal{B}_{1} in this sequence. Note that 1\mathcal{B}_{1} consists of the blue curves in \mathcal{B} that are disjoint to γ1\gamma_{1}^{\prime} and at least half of the curves in \mathcal{B} that intersect γ1\gamma_{1}^{\prime} found by the application of Lemma 3.4. Hence, there is a subcurve γ1′′γ1\gamma_{1}^{\prime\prime}\subset\gamma^{\prime}_{1} such that γ1′′\gamma_{1}^{\prime\prime} is one of the grounds for 4\mathcal{R}_{4}, and is disjoint from every curve in 1\mathcal{B}_{1}. We apply the same argument to 41\mathcal{R}_{4}\cup\mathcal{B}_{1} and γ2\gamma_{2}^{\prime}, and obtain subsets 54\mathcal{R}_{5}\subset\mathcal{R}_{4}, 21\mathcal{B}_{2}\subset\mathcal{B}_{1}, and a subcurve γ2′′γ2\gamma_{2}^{\prime\prime}\subset\gamma_{2}^{\prime}, such that |5|,|2|=Ω(n)|\mathcal{R}_{5}|,|\mathcal{B}_{2}|=\Omega(n), and 5\mathcal{R}_{5} is double grounded with disjoint grounds γ1′′\gamma_{1}^{\prime\prime} and γ2′′\gamma_{2}^{\prime\prime}, and every curve in 2\mathcal{B}_{2} is disjoint from γ1′′\gamma_{1}^{\prime\prime} and γ2′′\gamma_{2}^{\prime\prime}.

For i{1,2}i\in\{1,2\}, let pip_{i} be the endpoint of γi′′\gamma_{i}^{\prime\prime} that lies closest to pp along γi\gamma^{\prime}_{i}. Starting at pip_{i} and moving along γi′′\gamma_{i}^{\prime\prime}, let πi\pi_{i} be the sequence of curves in 5\mathcal{R}_{5} that appear on γi′′\gamma_{i}^{\prime\prime}. Since every curve in 5\mathcal{R}_{5} has the same left-left orientation, and appears clockwise order with respect to γ1\gamma_{1}^{\prime} and γ2\gamma_{2}^{\prime}, two curves α,α5\alpha,\alpha^{\prime}\in\mathcal{R}_{5} cross if and only if the order in which they appear in π1\pi_{1} and π2\pi_{2} changes. Let γ3′′\gamma^{\prime\prime}_{3} be a curve very close to γ2′′\gamma_{2}^{\prime\prime} such that γ3′′\gamma^{\prime\prime}_{3} has the same endpoints as γ2′′\gamma_{2}^{\prime\prime}, and is disjoint from all curves in 52\mathcal{R}_{5}\cup\mathcal{B}_{2}. Hence, γ2′′γ3′′\gamma^{\prime\prime}_{2}\cup\gamma_{3}^{\prime\prime} makes an empty lens in the arrangement 52\mathcal{R}_{5}\cup\mathcal{B}_{2}. We slightly extend each curve α5\alpha\in\mathcal{R}_{5} through this lens to γ3′′\gamma_{3}^{\prime\prime} so that the resulting curve, α\alpha^{\prime} properly crosses γ2′′\gamma^{\prime\prime}_{2} and has its new endpoint on γ3′′\gamma_{3}^{\prime\prime}. Moreover, the extension will be made in such a way that the sequence π3\pi_{3} of curves in 5\mathcal{R}_{5} appearing along γ3′′\gamma_{3}^{\prime\prime} starting from p2p_{2} will appear in the opposite order of π1\pi_{1}. Let

5={α:α5}.\mathcal{R}_{5}^{\prime}=\{\alpha^{\prime}:\alpha\in\mathcal{R}_{5}\}.

Thus, every pair of curves in 5\mathcal{R}_{5}^{\prime} will cross exactly once.

For each curve α5\alpha^{\prime}\in\mathcal{R}^{\prime}_{5}, we further extend α\alpha^{\prime} by moving both endpoints towards pp along γ1\gamma_{1} and γ2\gamma_{2}, so that we do not create any additional crossings within 5\mathcal{R}^{\prime}_{5}. Let α^\hat{\alpha} be the resulting extension, where both endpoints of α^\hat{\alpha} lie arbitrarily close to pp. Set ^5={α^:α5}.\hat{\mathcal{R}}_{5}=\{\hat{\alpha}:\alpha^{\prime}\in\mathcal{R}^{\prime}_{5}\}. See Figure 3/ Furthermore, we can assume that pp lies in the unbounded face of the arrangement ^5\hat{\mathcal{R}}_{5}, since otherwise we could project the arrangement ^5\hat{\mathcal{R}}_{5} onto a sphere, and then project it back to the plane so that pp lies in the unbounded face, without creating or removing any crossing. Therefore, ^5\hat{\mathcal{R}}_{5} can be extended to a family of pseudolines. By Theorem 3.3, we can apply a continuous deformation of the plane so that ^5\hat{\mathcal{R}}_{5} becomes a collection of unbounded xx-monotone curves. Hence, after the deformation, the original set 5\mathcal{R}_{5} becomes a collection of double grounded xx-monotone curves, with grounds γ1′′,γ2′′\gamma_{1}^{\prime\prime},\gamma_{2}^{\prime\prime}, such that every curve in 2\mathcal{B}_{2} is disjoint from the grounds γ1′′\gamma_{1}^{\prime\prime} and γ2′′\gamma_{2}^{\prime\prime}, the crossing pattern in the arrangement 52\mathcal{R}_{5}\cup\mathcal{B}_{2} is the same as before. Moreover, γ1′′\gamma_{1}^{\prime\prime} and γ2′′\gamma_{2}^{\prime\prime} will be disjoint vertical segments. We apply Lemma 3.2 to 5\mathcal{R}_{5} and 2\mathcal{B}_{2} and obtain subsets 65\mathcal{R}_{6}\subset\mathcal{R}_{5} and 32\mathcal{B}_{3}\subset\mathcal{B}_{2}, each of size Ω(n)\Omega(n), such that either every curve in 6\mathcal{R}_{6} crosses every curve in 3\mathcal{B}_{3}, or every curve in 6\mathcal{R}_{6} is disjoint from every curve in 3\mathcal{B}_{3}. This completes the proof.∎

Refer to caption
Figure 3: The resulting extension ^5\hat{\mathcal{R}}_{5}.

By combining Theorem 3.5 with Lemma 2.7, as shown in Section 2, we obtain the following density theorems.

Theorem 3.6.

There is an absolute constant c>0c^{\prime}>0 such that the following holds. Let \mathcal{R} be a collection of nn red double grounded curves with grounds γ1\gamma_{1} and γ2\gamma_{2}, such that γ1\gamma_{1} and γ2\gamma_{2} cross. Let \mathcal{B} be a collection of nn blue curves such that {γ1,γ2}\mathcal{R}\cup\mathcal{B}\cup\{\gamma_{1},\gamma_{2}\} is a collection of pseudo-segments.

If there are at least εn2\varepsilon n^{2} crossing pairs in ×\mathcal{R}\times\mathcal{B}, then there are subsets ,\mathcal{R}^{\prime}\subset\mathcal{R},\mathcal{B}^{\prime}\subset\mathcal{B}, where ||,||εcn|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\varepsilon^{c^{\prime}}n, such that every curve in \mathcal{R}^{\prime} crosses every curves in \mathcal{B}^{\prime}.

Theorem 3.7.

There is an absolute constant c>0c^{\prime}>0 such that the following holds. Let \mathcal{R} be a collection of nn red double grounded curves with grounds γ1\gamma_{1} and γ2\gamma_{2}, such that γ1\gamma_{1} and γ2\gamma_{2} cross. Let \mathcal{B} be a collection of nn blue curves such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

If there are at least εn2\varepsilon n^{2} disjoint pairs in ×\mathcal{R}\times\mathcal{B}, then there are subsets ,\mathcal{R}^{\prime}\subset\mathcal{R},\mathcal{B}^{\prime}\subset\mathcal{B}, where ||,||εcn|\mathcal{R}^{\prime}|,|\mathcal{B}^{\prime}|\geq\varepsilon^{c^{\prime}}n, such that every curve in \mathcal{R}^{\prime} is disjoint from every curves in \mathcal{B}^{\prime}.

We will apply Theorems 3.5 and 3.6 in the next section.

4 Proof of Theorem 2.8 – for ε\varepsilon-homogeneous families

The aim of this section is to prove Theorem 2.8, the main result of this paper, in the special case where the edge density of the intersection graph of the red curves is nearly 0 or nearly 1, and the same is true for the intersection graph of the blue curves. This will easily imply Theorem 2.8 in its full generality, as shown in the next section.

4.1 Low versus low density

By Corollary 2.14, it is sufficient to establish Theorem 2.8 in the special case where the intersection graphs G()G(\mathcal{R}) and G()G(\mathcal{B}) are both ε\varepsilon-homogeneous. Below, we first consider the cases when the edge densities of both G()ndG()G(\mathcal{R})ndG(\mathcal{B}) are smaller than ε.\varepsilon. Recall that a separator for a graph G=(V,E)G=(V,E) is a subset V0VV_{0}\subset V such that there is a partition V=V1V1V2V=V_{1}\cup V_{1}\cup V_{2} with |V1|,|V2|23|V||V_{1}|,|V_{2}|\leq\frac{2}{3}|V|, and no vertex in V1V_{1} is adjacent to any vertex in V2V_{2}. The celebrated Lipton-Tarjan separator theorem states that every planar graph with nn vertices has a separator of size O(n)O(\sqrt{n}). We will need the following result due to the first two authors. For a strengthening, see [28].

Lemma 4.1 ([12]).

Let 𝒞\mathcal{C} be a collection of curves in the plane with a total of mm crossings. Then the intersection graph G(𝒞)G(\mathcal{C}) has a separator of size O(m)O(\sqrt{m}).

We now prove the following.

Lemma 4.2.

There is an absolute constant ε0>0\varepsilon_{0}>0 such that the following holds. Let \mathcal{R} be a set of nn red curves in the plane and let \mathcal{B} be a set of nn blue curves such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

If the edge densities of the intersection graphs G()G(\mathcal{R}) and G()G(\mathcal{B}) are both less than ε0\varepsilon_{0}, and there are at most ε0n2\varepsilon_{0}n^{2} crossing pairs in ×\mathcal{R}\times\mathcal{B}, then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R} and \mathcal{B}^{\prime}\subset\mathcal{B}, each of size Ω(n)\Omega(n), such that every red curve in \mathcal{R}^{\prime} is disjoint from every blue curve in \mathcal{B}^{\prime}.

Proof.

Let ε0\varepsilon_{0} be a small constant that will be determined later. Set 𝒞=\mathcal{C}=\mathcal{R}\cup\mathcal{B}. We apply Lemma 4.1 to 𝒞\mathcal{C} and obtain a partition 𝒞=𝒞0𝒞1𝒞2\mathcal{C}=\mathcal{C}_{0}\cup\mathcal{C}_{1}\cup\mathcal{C}_{2}, such that |𝒞1|,|𝒞2|(2/3)(2n)|\mathcal{C}_{1}|,|\mathcal{C}_{2}|\leq(2/3)(2n), and every curve in 𝒞1\mathcal{C}_{1} is disjoint from every curve in 𝒞2\mathcal{C}_{2}. Let cc be the constant from Lemma 4.1. By setting ε0<1(2c)216\varepsilon_{0}<\frac{1}{(2c)^{2}16}, we have

|𝒞0|cε0(2n)22cε0nn/4.|\mathcal{C}_{0}|\leq c\sqrt{\varepsilon_{0}(2n)^{2}}\leq 2c\sqrt{\varepsilon_{0}}n\leq n/4.

Without loss of generality, we can assume that at least half of the curves in 𝒞1\mathcal{C}_{1} are red, since a symmetric argument would follow otherwise. Since |𝒞1|(2n)/3|𝒞0||\mathcal{C}_{1}|\geq(2n)/3-|\mathcal{C}_{0}|, there are at least

2n/3n/42=5n/24\frac{2n/3-n/4}{2}=5n/24

red curves in 𝒞1\mathcal{C}_{1}. Moreover, there are at most 2n/32n/3 blue curves in 𝒞1\mathcal{C}_{1}, which implies that there are at least

n2n3n4n12,n-\frac{2n}{3}-\frac{n}{4}\geq\frac{n}{12},

blue curves in 𝒞2\mathcal{C}_{2}. By setting \mathcal{R}^{\prime} to be the red curves in 𝒞1\mathcal{C}_{1} and \mathcal{B}^{\prime} to be the blue curves in 𝒞2\mathcal{C}_{2}, we obtain the desired subsets. ∎

Theorem 4.3.

There is an absolute constant ε1>0\varepsilon_{1}>0 such that the following holds. Let \mathcal{R} be a set of nn red curves and \mathcal{B} be a set of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments.

If the edge densities of the intersection graphs G()G(\mathcal{R}) and G()G(\mathcal{B}) are both less than ε1\varepsilon_{1}, then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R} and \mathcal{B}^{\prime}\subset\mathcal{B}, each of size Ω(n)\Omega(n), such that every red curve in \mathcal{R}^{\prime} crosses every blue curve in \mathcal{B}^{\prime}, or every red curve in \mathcal{R}^{\prime} is disjoint from every blue curve in \mathcal{B}^{\prime}.

Proof.

Let ε1\varepsilon_{1} be a small constant that will be determined later. Suppose there are at most ε0n2\varepsilon_{0}n^{2} crossing pairs in ×\mathcal{R}\times\mathcal{B}, where ε0\varepsilon_{0} is defined in Lemma 4.2. Since the edge density of the intersection graphs G()G(\mathcal{R}) and G()G(\mathcal{B}) are both less than ε1\varepsilon_{1}, by setting ε1<ε0\varepsilon_{1}<\varepsilon_{0}, Lemma 4.2 implies that there are subsets \mathcal{R}^{\prime}\subset\mathcal{R} and \mathcal{B}^{\prime}\subset\mathcal{B}, each of size Ω(n)\Omega(n), such that every red curve in \mathcal{R}^{\prime} is disjoint from every blue curve in \mathcal{B}^{\prime} and we are done.

If there are at at least ε0n2\varepsilon_{0}n^{2} crossing pairs in ×\mathcal{R}\times\mathcal{B}, then, by Theorem 2.12, there are subsets 𝒞1,𝒞2\mathcal{C}_{1},\mathcal{C}_{2}\subset\mathcal{R}\cup\mathcal{B}, each of size ε0cn\varepsilon_{0}^{c^{\prime}}n, where c>1c^{\prime}>1 is an absolute constant from Theorem 2.12, such that each curve in 𝒞1\mathcal{C}_{1} crosses each curve in 𝒞2\mathcal{C}_{2}. Without loss of generality, we can assume that at least ε0cn/2\varepsilon_{0}^{c^{\prime}}n/2 curves in 𝒞1\mathcal{C}_{1} are red. Since G()G(\mathcal{R}) has edge density at most ε1\varepsilon_{1}, by setting ε1=ε02c/4<ε0\varepsilon_{1}=\varepsilon_{0}^{2c^{\prime}}/4<\varepsilon_{0}, at most ε0cn/2\varepsilon_{0}^{c^{\prime}}n/2 curves in 𝒞2\mathcal{C}_{2} are red. Hence, at least ε0cn/2\varepsilon_{0}^{c^{\prime}}n/2 curves in 𝒞2\mathcal{C}_{2} are blue and we are done.∎

4.2 High versus low edge density

In this subsection, we consider the case when the intersection graph G()G(\mathcal{R}) has edge density at least 1ε1-\varepsilon, and G()G(\mathcal{B}) has edge density less than ε\varepsilon. Since the edge density in the intersection graph G()G(\mathcal{R}) is at least 1ε1-\varepsilon, we can further reduce to the case when there is a red curve γ1\gamma_{1} that crosses every member in \mathcal{R} exactly once.

Lemma 4.4.

For each integer t1t\geq 1, there is a constant εt>0\varepsilon^{\prime}_{t}>0 such that the following holds. Let \mathcal{R} be a set of nn red curves in the plane, all crossed by a curve γ1\gamma_{1} exactly once, and \mathcal{B} be a set of nn blue curves in the plane such that {γ1}\mathcal{R}\cup\mathcal{B}\cup\{\gamma_{1}\} is a collection of pseudo-segments. Suppose that the intersection graph G()G(\mathcal{B}) has edge density less than εt\varepsilon^{\prime}_{t}, and G()G(\mathcal{R}) has edge density at least 1εt1-\varepsilon^{\prime}_{t}.

Then there are subsets ^\hat{\mathcal{R}}\subset\mathcal{R}, ^\hat{\mathcal{B}}\subset\mathcal{B}, each of size Ωεt(n)\Omega_{\varepsilon^{\prime}_{t}}(n), such that either every red curve in ^\hat{\mathcal{R}} crosses every blue curve in ^\hat{\mathcal{B}}, or every red curve in ^\hat{\mathcal{R}} is disjoint from every blue curve in ^\hat{\mathcal{B}}, or each curve α^\alpha\in\hat{\mathcal{R}} has a partition into two connected parts α=α^uα^\alpha=\hat{\alpha}_{u}\cup\hat{\alpha}_{\ell}, such that for

𝒰^={α^u:α^,α=α^uα^}and^={α^:α^,α=α^uα^},\hat{\mathcal{U}}=\{\hat{\alpha}_{u}:\alpha\in\hat{\mathcal{R}},\alpha=\hat{\alpha}_{u}\cup\hat{\alpha}_{\ell}\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\hat{\mathcal{L}}=\{\hat{\alpha}_{\ell}:\alpha\in\hat{\mathcal{R}},\alpha=\hat{\alpha}_{u}\cup\hat{\alpha}_{\ell}\},

every curve in ^\hat{\mathcal{L}} is disjoint to every curve in ^\hat{\mathcal{B}}, and the edge density of G(𝒰^)G(\hat{\mathcal{U}}) is less that 2t2^{-t}.

Proof.

Each curve α\alpha\in\mathcal{R} is partitioned into two connected parts by γ1\gamma_{1}, say an upper and lower part. More precisely, we have the partition α=αuα\alpha=\alpha_{u}\cup\alpha_{\ell}, where the parts αu\alpha_{u} and α\alpha_{\ell} are defined, as follows. We start at the left endpoint of γ1\gamma_{1} and move along γ1\gamma_{1} until we reach αγ1\alpha\cap\gamma_{1}. At this point, we turn left along α\alpha to obtain αu\alpha_{u} and right to obtain α\alpha_{\ell}. See Figure 4. Let 𝒰\mathcal{U} (\mathcal{L}) be the upper (lower) part of each curve in \mathcal{R}, that is,

𝒰={αu:α,α=ααu}and={α:α,α=ααu}.\mathcal{U}=\{\alpha_{u}:\alpha\in\mathcal{R},\alpha=\alpha_{\ell}\cup\alpha_{u}\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\mathcal{L}=\{\alpha_{\ell}:\alpha\in\mathcal{R},\alpha=\alpha_{\ell}\cup\alpha_{u}\}.
Refer to caption
Figure 4: Partitioning of the red curve α=αuα.\alpha=\alpha_{u}\cup\alpha_{\ell}.

In what follows, for every integer t1t\geq 1, we will obtain subsets (t)\mathcal{R}^{(t)}\subset\mathcal{R}, (t)\mathcal{B}^{(t)}\subset\mathcal{B}, each of size Ωεt(n)\Omega_{\varepsilon^{\prime}_{t}}(n), such that either every red curve in (t)\mathcal{R}^{(t)} crosses every blue curve in (t)\mathcal{B}^{(t)}, or every red curve in (t)\mathcal{R}^{(t)} is disjoint from every blue curve in (t)\mathcal{B}^{(t)}, or each curve α(t)\alpha\in\mathcal{R}^{(t)} has a new partition into two connected parts α=αuα\alpha=\alpha^{\prime}_{u}\cup\alpha^{\prime}_{\ell}, upper and lower, such that the following holds.

  1. 1.

    We have αuαu\alpha^{\prime}_{u}\subset\alpha_{u}, that is, the upper part αu\alpha^{\prime}_{u} is a subcurve of the previous upper part αu\alpha_{u}.

  2. 2.

    The lower part α\alpha^{\prime}_{\ell} of each curve in (t)\mathcal{R}^{(t)} is disjoint from each blue curve in (t).\mathcal{B}^{(t)}.

  3. 3.

    There is an equipartition (t)=1(t)2t(t)\mathcal{R}^{(t)}=\mathcal{R}^{(t)}_{1}\cup\cdots\cup\mathcal{R}^{(t)}_{2^{t}} into 2t2^{t} parts such that for 1i<j2t11\leq i<j\leq 2^{t-1}, the upper part αu\alpha^{\prime}_{u} of each curve αi(t)\alpha\in\mathcal{R}^{(t)}_{i} is disjoint from the upper part βu\beta^{\prime}_{u} of each curve βj(t)\beta\in\mathcal{R}^{(t)}_{j}.

Hence, the lemma follows from the statement above by setting ^=(t)\hat{\mathcal{B}}=\mathcal{B}^{(t)}, ^=(t)\hat{\mathcal{R}}=\mathcal{R}^{(t)}.

We proceed by induction on tt. The bulk of the argument below is actually for the base case t=1t=1, since we will just repeat the entire argument for the inductive step with parameter εt\varepsilon^{\prime}_{t}. Let ε1\varepsilon^{\prime}_{1} be a small positive constant that will be determined later such that ε1<ε1\varepsilon^{\prime}_{1}<\varepsilon_{1}, where ε1\varepsilon_{1} is from Theorem 4.3. Thus, G()G(\mathcal{R}) has edge density at least 1ε11-\varepsilon^{\prime}_{1} and G()G(\mathcal{B}) has edge density less than ε1\varepsilon^{\prime}_{1}.

Let δ>0\delta>0 also be a sufficiently small constant determined later, such that ε1<δ<ε1\varepsilon_{1}^{\prime}<\delta<\varepsilon_{1}. We apply Corollary 2.14 to \mathcal{L} with parameter δ\delta and obtain a subset 1\mathcal{L}_{1}\subset\mathcal{L} such that 1\mathcal{L}_{1} is δ\delta-homogeneous and |1|=Ωδ(n)|\mathcal{L}_{1}|=\Omega_{\delta}(n). Let 1\mathcal{R}_{1}\subset\mathcal{R} be the red curves in \mathcal{R} corresponding to the curves in 1\mathcal{L}_{1}, and let 𝒰1𝒰\mathcal{U}_{1}\subset\mathcal{U} be the curves in 𝒰\mathcal{U} that corresponds to the red curves in 1\mathcal{R}_{1}.

Without loss of generality, we can assume that the intersection graph G(1)G(\mathcal{L}_{1}) has edge density less than δ\delta. Indeed, otherwise if G(1)G(\mathcal{L}_{1}) has edge density greater than 1δ1-\delta, by the pseudo-segment condition, the intersection graph G(𝒰1)G(\mathcal{U}_{1}) must have edge density less than δ\delta and a symmetric argument would follow. In order to apply Theorem 4.3, we need two subsets of equal size. By averaging, there is a subset \mathcal{B}^{\prime}\subset\mathcal{B} with ||=|1||\mathcal{B}^{\prime}|=|\mathcal{L}_{1}| such that the edge density of G()G(\mathcal{B}^{\prime}) is at most that of G()G(\mathcal{B}). Since G(1)G(\mathcal{L}_{1}) has edge density less than δ\delta and G()G(\mathcal{B}^{\prime}) has edge density less than ε1\varepsilon^{\prime}_{1}, by setting ε1<δ<ε1\varepsilon^{\prime}_{1}<\delta<\varepsilon_{1}, we can apply Theorem 4.3 to 1\mathcal{L}_{1} and \mathcal{B}^{\prime} and obtain subsets 21\mathcal{L}_{2}\subset\mathcal{L}_{1} and 1\mathcal{B}_{1}\subset\mathcal{B}^{\prime}, each of size Ωδ(n)\Omega_{\delta}(n), such that every curve in 2\mathcal{L}_{2} crosses every blue curve in 1\mathcal{B}_{1}, or every curve in 2\mathcal{L}_{2} is disjoint from every blue curve in 1\mathcal{B}_{1}. If we are in the former case, then we are done. Hence, we can assume that we are in the latter case. Let 21\mathcal{R}_{2}\subset\mathcal{R}_{1} be the red curves that corresponds to 2\mathcal{L}_{2}, and let 𝒰2𝒰1\mathcal{U}_{2}\subset\mathcal{U}_{1} be the curves in 𝒰1\mathcal{U}_{1} that corresponds to 2\mathcal{R}_{2}. We apply Corollary 2.14 to 𝒰2\mathcal{U}_{2} with parameter δ\delta and obtain a subset 𝒰3𝒰2\mathcal{U}_{3}\subset\mathcal{U}_{2} such that 𝒰3\mathcal{U}_{3} is δ\delta-homogeneous and |𝒰3|=Ωδ(n)|\mathcal{U}_{3}|=\Omega_{\delta}(n). Let 3\mathcal{R}_{3} be the red curves in \mathcal{R} corresponding to 𝒰3\mathcal{U}_{3}, and let 3\mathcal{L}_{3} be the curves in 2\mathcal{L}_{2} that corresponds to 3\mathcal{R}_{3}.

Suppose that the intersection graph G(𝒰3)G(\mathcal{U}_{3}) has edge density less than δ\delta. Since |1|=δ0n|\mathcal{B}_{1}|=\delta_{0}n, where δ0=δ0(δ,ε1)\delta_{0}=\delta_{0}(\delta,\varepsilon_{1}), by Lemma 2.15, the intersection graph G(1)G(\mathcal{B}_{1}) has edge density at most 2ε1/δ022\varepsilon^{\prime}_{1}/\delta^{2}_{0}. Thus, we set δ\delta and ε1\varepsilon^{\prime}_{1} sufficiently small so that δ<ε1\delta<\varepsilon_{1} and 2ε1/δ02<ε12\varepsilon^{\prime}_{1}/\delta^{2}_{0}<\varepsilon_{1}. By averaging, we can find subsets of 𝒰3\mathcal{U}_{3} and 1\mathcal{B}_{1}, each of size min(|𝒰3|,|1|)\min(|\mathcal{U}_{3}|,|\mathcal{B}_{1}|) and with densities less than ε1\varepsilon_{1}, and apply Theorem 4.3 to these subsets and obtain subsets 𝒰4𝒰3\mathcal{U}_{4}\subset\mathcal{U}_{3} and 21\mathcal{B}_{2}\subset\mathcal{B}_{1}, each of size Ωδ(n),\Omega_{\delta}(n), such that every curve in 𝒰4\mathcal{U}_{4} crosses every blue curve in 2\mathcal{B}_{2}, or every curve in 𝒰4\mathcal{U}_{4} is disjoint from every blue curve in 2\mathcal{B}_{2}. In both cases, we are done since every curve in 3\mathcal{L}_{3} is disjoint from every curve in 2\mathcal{B}_{2}. Therefore, we can assume that G(𝒰3)G(\mathcal{U}_{3}) has edge density greater than 1δ1-\delta.

For each curve α𝒰3\alpha\in\mathcal{U}_{3}, let N(α)N(\alpha) denote the set of curves in 𝒰3\mathcal{U}_{3} that intersects α\alpha, and let d(α)=|N(α)|d(\alpha)=|N(\alpha)|. We label the curves βN(α)\beta\in N(\alpha) with integers 0 to d(α)1d(\alpha)-1 according to their closest intersection point to the ground γ1\gamma_{1} along α\alpha, that is, the label fα(β)f_{\alpha}(\beta) of βN(α)\beta\in N(\alpha) is the number of curves in 𝒰3\mathcal{U}_{3} that intersects the portion of α\alpha strictly between γ1\gamma_{1} and αβ\alpha\cap\beta. Since

α𝒰3d(α)12(1δ)(|𝒰3|2)|𝒰3|,\sum\limits_{\alpha\in\mathcal{U}_{3}}d(\alpha)-1\geq 2(1-\delta)\binom{|\mathcal{U}_{3}|}{2}-|\mathcal{U}_{3}|,

by Jensen’s inequality, we have

α𝒰3βN(α)fα(β)=α𝒰3(d(α)2)|𝒰3|(α𝒰3d(α)|𝒰3|2)|𝒰3|34.\sum\limits_{\alpha\in\mathcal{U}_{3}}\sum\limits_{\beta\in N(\alpha)}f_{\alpha}(\beta)=\sum\limits_{\alpha\in\mathcal{U}_{3}}\binom{d(\alpha)}{2}\geq|\mathcal{U}_{3}|\binom{\frac{\sum_{\alpha\in\mathcal{U}_{3}}d(\alpha)}{|\mathcal{U}_{3}|}}{2}\geq\frac{|\mathcal{U}_{3}|^{3}}{4}.

Let the weight w(β)w(\beta) of a curve β𝒰3\beta\in\mathcal{U}_{3} be the sum of its labels, that is,

w(β)=α:βN(α)fα(β).w(\beta)=\sum\limits_{\alpha:\beta\in N(\alpha)}f_{\alpha}(\beta).

Hence, the weight w(β)w(\beta) is the total number of crossing points along curves α\alpha strictly between γ1\gamma_{1} and β\beta, where α\alpha crosses both γ1\gamma_{1} and β\beta. By averaging, there is a curve γ2𝒰3\gamma_{2}\in\mathcal{U}_{3} whose weight is at least |𝒰3|2/4|\mathcal{U}_{3}|^{2}/4.

Using γ2\gamma_{2}, we partition each curve α𝒰3{γ2}\alpha\in\mathcal{U}_{3}\setminus\{\gamma_{2}\} that crosses γ2\gamma_{2} into two connected parts, α=αwαm\alpha=\alpha_{w}\cup\alpha_{m}, where αm\alpha_{m} is the connected subcurve with endpoints on γ1\gamma_{1} and γ2\gamma_{2}, and αw\alpha_{w} is the other connected part. Set

𝒲3={αw:α𝒰3{γ2},αγ2}and3={αm:α𝒰3{γ2},αγ2}.\mathcal{W}_{3}=\{\alpha_{w}:\alpha\in\mathcal{U}_{3}\setminus\{\gamma_{2}\},\alpha\cap\gamma_{2}\neq\emptyset\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\mathcal{M}_{3}=\{\alpha_{m}:\alpha\in\mathcal{U}_{3}\setminus\{\gamma_{2}\},\alpha\cap\gamma_{2}\neq\emptyset\}.

Since γ2\gamma_{2} has weight at least |𝒰3|2/4|\mathcal{U}_{3}|^{2}/4, by the pigeonhole principle, there are at least |𝒰3|2/8|\mathcal{U}_{3}|^{2}/8 intersecting pairs in 3×3\mathcal{M}_{3}\times\mathcal{M}_{3}, or at least |𝒰3|2/8|\mathcal{U}_{3}|^{2}/8 intersecting pairs in 3×𝒲3\mathcal{M}_{3}\times\mathcal{W}_{3}.

Case 1. Suppose there are at least |𝒰3|2/8|\mathcal{U}_{3}|^{2}/8 pairs in 3×𝒲3\mathcal{M}_{3}\times\mathcal{W}_{3} that cross. The set 3\mathcal{M}_{3} is double grounded with grounds γ1\gamma_{1} and γ2\gamma_{2} that cross exactly once, and every curve in 𝒲3\mathcal{W}_{3} is disjoint from γ1\gamma_{1} and γ2\gamma_{2}. As |3|,|𝒲3||𝒰3||\mathcal{M}_{3}|,|\mathcal{W}_{3}|\leq|\mathcal{U}_{3}|, the density of edges in the bipartite intersection graph of 3\mathcal{M}_{3} and 𝒲3\mathcal{W}_{3} is at least 1/81/8. By averaging, we can find subsets of 3\mathcal{M}_{3} and 𝒲3\mathcal{W}_{3} each of size min(|3|,|𝒲3|)\min(|\mathcal{M}_{3}|,|\mathcal{W}_{3}|) such that the density of edges in the bipartite intersection graph of these subsets is at least 1/81/8. By setting δ>0\delta>0 sufficiently small, we can apply Theorem 3.6 to these subsets of 3\mathcal{M}_{3} and 𝒲3\mathcal{W}_{3} and obtain subsets 43\mathcal{M}_{4}\subset\mathcal{M}_{3} and 𝒲4𝒲3\mathcal{W}^{\prime}_{4}\subset\mathcal{W}_{3}, each of size Ωδ(n)\Omega_{\delta}(n), such that each curve in 4\mathcal{M}_{4} crosses each curve in 𝒲4\mathcal{W}^{\prime}_{4}. Moreover, by the pseudo-segment condition, each curve in 4𝒲4\mathcal{M}_{4}\cup\mathcal{W}^{\prime}_{4} corresponds to a unique curve in 𝒰3\mathcal{U}_{3}. Let 𝒰4𝒰3\mathcal{U}_{4}\subset\mathcal{U}_{3} be the curves that corresponds to 4\mathcal{M}_{4} and let 𝒰4𝒰3\mathcal{U}_{4}^{\prime}\subset\mathcal{U}_{3} be the curves that corresponds to 𝒲4\mathcal{W}^{\prime}_{4}. Hence, we set

𝒲4={αm:α𝒰4,α=αwαm}and4={αm:α𝒰4,α=αwαm}.\mathcal{W}_{4}=\{\alpha_{m}:\alpha\in\mathcal{U}_{4},\alpha=\alpha_{w}\cup\alpha_{m}\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\mathcal{M}^{\prime}_{4}=\{\alpha_{m}:\alpha\in\mathcal{U}^{\prime}_{4},\alpha=\alpha_{w}\cup\alpha_{m}\}.

See Figure 5(a).

We apply Theorem 3.5 to arbitrary subsets of 4\mathcal{M}_{4} and 2\mathcal{B}_{2}, each of size min(|4|,|2|)\min(|\mathcal{M}_{4}|,|\mathcal{B}_{2}|), and obtain subsets 54\mathcal{M}_{5}\subset\mathcal{M}_{4} and 32\mathcal{B}_{3}\subset\mathcal{B}_{2}, each of size Ωδ(n)\Omega_{\delta}(n), such that either every red curve in 5\mathcal{M}_{5} crosses every blue curve in 3\mathcal{B}_{3}, or every red curve in 5\mathcal{M}_{5} is disjoint from every blue curve in 3\mathcal{B}_{3}. In the former case, we are done. Hence, we can assume that we are in the latter case.

We again apply Theorem 3.5 to arbitrary subsets of 4\mathcal{M}^{\prime}_{4} and 3\mathcal{B}_{3}, each of size min(|4|,|3|)\min(|\mathcal{M}^{\prime}_{4}|,|\mathcal{B}_{3}|), to obtain subsets 54\mathcal{M}^{\prime}_{5}\subset\mathcal{M}^{\prime}_{4} and 43\mathcal{B}_{4}\subset\mathcal{B}_{3}, each of size Ωδ(n)\Omega_{\delta}(n), such that either every red curve in 5\mathcal{M}^{\prime}_{5} crosses every blue curve in 4\mathcal{B}_{4}, or every red curve in 5\mathcal{M}^{\prime}_{5} is disjoint from every blue curve in 4\mathcal{B}_{4}. Again, if we are in the former case, we are done. Hence, we can assume that we are in the latter case. Let

𝒲5={αw:α=αwαm,αm5}and𝒲5={αw:α=αwαm,αm5},\mathcal{W}_{5}=\{\alpha_{w}:\alpha=\alpha_{w}\cup\alpha_{m},\alpha_{m}\in\mathcal{M}_{5}\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\mathcal{W}^{\prime}_{5}=\{\alpha_{w}:\alpha=\alpha_{w}\cup\alpha_{m},\alpha_{m}\in\mathcal{M}^{\prime}_{5}\},

and recall that every element in 5\mathcal{M}_{5} crosses every element in 𝒲5\mathcal{W}^{\prime}_{5}. By the pseudo-segment condition, every element in 𝒲5\mathcal{W}_{5} is disjoint from every element in 𝒲5\mathcal{W}^{\prime}_{5}.

Let 5\mathcal{R}_{5} be the red curves in \mathcal{R} that corresponds to 𝒲5\mathcal{W}_{5}, and let 5\mathcal{R}^{\prime}_{5} be the red curves in \mathcal{R} that corresponds to 𝒲5\mathcal{W}_{5}^{\prime}. We have |5|,|5|=Ωδ(n)|\mathcal{R}_{5}|,|\mathcal{R}^{\prime}_{5}|=\Omega_{\delta}(n), and moreover, we can assume that |5|=|5||\mathcal{R}_{5}|=|\mathcal{R}^{\prime}_{5}|. For each curve α55\alpha\in\mathcal{R}_{5}\cup\mathcal{R}^{\prime}_{5}, and its original partition α=αuα\alpha=\alpha_{u}\cup\alpha_{\ell} defined by γ1\gamma_{1}, we have a new partition α=αuα\alpha=\alpha_{u}^{\prime}\cup\alpha_{\ell}^{\prime} defined by γ2\gamma_{2}, where αu=αw\alpha_{u}^{\prime}=\alpha_{w} and α=αmα\alpha^{\prime}_{\ell}=\alpha_{m}\cup\alpha_{\ell}. By setting (1)=55\mathcal{R}^{(1)}=\mathcal{R}_{5}\cup\mathcal{R}^{\prime}_{5}, and (1)=4\mathcal{B}^{(1)}=\mathcal{B}_{4}, where each curve α(1)\alpha\in\mathcal{R}^{(1)} is equipped with the partition α=αuα\alpha=\alpha_{u}^{\prime}\cup\alpha_{\ell}^{\prime}, we satisfy the base case of the statement.

Case 2. The argument is essentially the same as Case 1. Suppose we have at least |𝒰3|2/8|\mathcal{U}_{3}|^{2}/8 crossing pairs in 3×3\mathcal{M}_{3}\times\mathcal{M}_{3}. Then by Theorem 2.9, there are subsets 4,43\mathcal{M}_{4},\mathcal{M}_{4}^{\prime}\subset\mathcal{M}_{3}, each of size Ωδ(n)\Omega_{\delta}(n), such that every curve in 4\mathcal{M}_{4} crosses every curve in 4\mathcal{M}_{4}^{\prime}. Let 𝒰4𝒰\mathcal{U}_{4}\subset\mathcal{U} be the curves that corresponds to 4\mathcal{M}_{4} and let 𝒰4𝒰\mathcal{U}_{4}^{\prime}\subset\mathcal{U} be the curves that corresponds to 4\mathcal{M}_{4}^{\prime}. Set

𝒲4={αw:α𝒰4,α=αwαm}and𝒲4={αw:α𝒰4,α=αwαm}.\mathcal{W}_{4}=\{\alpha_{w}:\alpha\in\mathcal{U}_{4},\alpha=\alpha_{w}\cup\alpha_{m}\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\mathcal{W}^{\prime}_{4}=\{\alpha_{w}:\alpha\in\mathcal{U}^{\prime}_{4},\alpha=\alpha_{w}\cup\alpha_{m}\}.
Refer to caption
(a) Case 1.
Refer to caption
(b) Case 2.
Figure 5: In both cases, 𝒲4\mathcal{W}_{4} is disjoint to 𝒲4.\mathcal{W}_{4}^{\prime}.

See Figure 5(b).

Hence, by the pseudo-segment condition, every curve in 𝒲4\mathcal{W}_{4} is disjoint from every curve in 𝒲4\mathcal{W}^{\prime}_{4}. By taking arbitrary subsets of 4\mathcal{M}_{4} and 2\mathcal{B}_{2} of size min(|4|,|2|)\min(|\mathcal{M}_{4}|,|\mathcal{B}_{2}|), we can apply Theorem 3.5 to these subsets and obtain subsets 54\mathcal{M}_{5}\subset\mathcal{M}_{4} and 32\mathcal{B}_{3}\subset\mathcal{B}_{2}, each of size Ωδ(n)\Omega_{\delta}(n), such that either every red curve in 5\mathcal{M}_{5} crosses every blue curve in 3\mathcal{B}_{3}, or every red curve in 5\mathcal{M}_{5} is disjoint from every blue curve in 3\mathcal{B}_{3}. In the former case, we are done. Hence, we can assume that we are in the latter case.

Again, we take an arbitrary subset of 4\mathcal{M}^{\prime}_{4} and 3\mathcal{B}_{3} of size min(|4|,|3|)\min(|\mathcal{M}^{\prime}_{4}|,|\mathcal{B}_{3}|) and apply Theorem 3.5 to 4\mathcal{M}^{\prime}_{4} and 3\mathcal{B}_{3}, to obtain subsets 54\mathcal{M}^{\prime}_{5}\subset\mathcal{M}^{\prime}_{4} and 43\mathcal{B}_{4}\subset\mathcal{B}_{3}, each of size Ωδ(n)\Omega_{\delta}(n), such that either every red curve in 5\mathcal{M}^{\prime}_{5} crosses every blue curve in 4\mathcal{B}_{4}, or every red curve in 5\mathcal{M}^{\prime}_{5} is disjoint from every blue curve in 4\mathcal{B}_{4}. Again, if we are in the former case, we are done. Hence, we can assume that we are in the latter case. Set 5\mathcal{R}_{5} be the red curves in \mathcal{R} that corresponds to 5\mathcal{M}_{5}, and let 5\mathcal{R}_{5}^{\prime} be the red curves in \mathcal{R} that corresponds to 5\mathcal{M}^{\prime}_{5}.

We have |5|,|5|=Ωδ(n)|\mathcal{R}_{5}|,|\mathcal{R}^{\prime}_{5}|=\Omega_{\delta}(n), and moreover, we can assume that |5|=|5||\mathcal{R}_{5}|=|\mathcal{R}^{\prime}_{5}|. For each curve α55\alpha\in\mathcal{R}_{5}\cup\mathcal{R}^{\prime}_{5}, and its original partition α=αuα\alpha=\alpha_{u}\cup\alpha_{\ell} defined by γ1\gamma_{1}, we have a new partition α=αuα\alpha=\alpha_{u}^{\prime}\cup\alpha_{\ell}^{\prime} defined by γ2\gamma_{2}, where αu=αw\alpha_{u}^{\prime}=\alpha_{w} and α=αmα\alpha^{\prime}_{\ell}=\alpha_{m}\cup\alpha_{\ell}. By setting (1)=55\mathcal{R}^{(1)}=\mathcal{R}_{5}\cup\mathcal{R}^{\prime}_{5}, and (1)=4\mathcal{B}^{(1)}=\mathcal{B}_{4}, where each curve α(1)\alpha\in\mathcal{R}^{(1)} is equipped with the partition α=αuα\alpha=\alpha_{u}^{\prime}\cup\alpha_{\ell}^{\prime}, we satsify the base case of the statement.

For the inductive step, suppose we have obtained constants εt1<<ε1\varepsilon^{\prime}_{t-1}<\cdots<\varepsilon^{\prime}_{1} such that the statement follows. Let εt\varepsilon^{\prime}_{t} be a small constant that will be determined later such that εt<εt1\varepsilon^{\prime}_{t}<\varepsilon^{\prime}_{t-1}. Let \mathcal{R} be a set of nn red curves in the plane, all crossed by a curve γ1\gamma_{1} exactly once, and \mathcal{B} be a set of nn blue curves in the plane such that {γ1}\mathcal{R}\cup\mathcal{B}\cup\{\gamma_{1}\} is a collection of pseudo-segments. Moreover, G()G(\mathcal{R}) has edge density at least 1εt1-\varepsilon^{\prime}_{t} and G()G(\mathcal{B}) has edge density less than εt\varepsilon^{\prime}_{t}. We set δ<0\delta^{\prime}<0 to be a small constant such that εt<δ<εt1\varepsilon^{\prime}_{t}<\delta^{\prime}<\varepsilon_{t-1}. We repeat the entire argument above, replacing ε1\varepsilon^{\prime}_{1} with εt\varepsilon^{\prime}_{t} and δ\delta with δ\delta^{\prime}, to obtain subsets 5,5\mathcal{R}_{5},\mathcal{R}^{\prime}_{5}\subset\mathcal{R} and 4\mathcal{B}_{4}\subset\mathcal{B}, each of size Ωδ(n)\Omega_{\delta^{\prime}}(n), such that each α55\alpha\in\mathcal{R}_{5}\cup\mathcal{R}^{\prime}_{5} is equipped with the partition α=αuα\alpha=\alpha_{u}^{\prime}\cup\alpha_{\ell}^{\prime}, and α\alpha^{\prime}_{\ell} is disjoint to every blue curve in 4\mathcal{B}_{4}. Moreover, for α5\alpha\in\mathcal{R}_{5} and β5\beta\in\mathcal{R}^{\prime}_{5}, where α=αuα\alpha=\alpha_{u}^{\prime}\cup\alpha_{\ell}^{\prime} and β=βuβ\beta=\beta_{u}^{\prime}\cup\beta_{\ell}^{\prime}, αu\alpha^{\prime}_{u} is disjoint to βu\beta^{\prime}_{u}.

Since |5|,|4|δ1n|\mathcal{R}_{5}|,|\mathcal{B}_{4}|\geq\delta_{1}n, where δ1\delta_{1} depends only on δ\delta^{\prime}, by Theorem 2.15, G(5)G(\mathcal{R}_{5}) has edge density at least 12εt/δ121-2\varepsilon^{\prime}_{t}/\delta_{1}^{2} and G(4)G(\mathcal{B}_{4}) has edge density less than 2εt/δ122\varepsilon^{\prime}_{t}/\delta_{1}^{2}. By setting εt\varepsilon^{\prime}_{t} sufficiently small, G(5)G(\mathcal{R}_{5}) has edge density at least 1εt11-\varepsilon^{\prime}_{t-1}, and G(4)G(\mathcal{B}_{4}) has edge density less than εt1\varepsilon_{t-1}^{\prime}. By averaging, we can find subsets of 5\mathcal{R}_{5} and 4\mathcal{B}_{4}, each of size min(|5|,|4|)\min(|\mathcal{R}_{5}|,|\mathcal{B}_{4}|) and with densities at least 1εt11-\varepsilon_{t-1}^{\prime} and less than εt1\varepsilon^{\prime}_{t-1} respectively, and apply induction to these subsets parameter t=t1t^{\prime}=t-1, and obtain subsets (t1)5\mathcal{R}^{(t-1)}\subset\mathcal{R}_{5}, (t1)4\mathcal{B}^{(t-1)}\subset\mathcal{B}_{4}, each of size Ωεt1(n)\Omega_{\varepsilon^{\prime}_{t-1}}(n), with the desired properties. If every red curve in (t1)\mathcal{R}^{(t-1)} is disjoint from every blue curve in (t1)\mathcal{B}^{(t-1)}, or if every red curve in (t1)\mathcal{R}^{(t-1)} crosses every blue curve in (t1)\mathcal{B}^{(t-1)}, then we are done. Hence, we can assume that each curve α(t1)\alpha\in\mathcal{R}^{(t-1)} has a partition α=αu′′α′′\alpha=\alpha_{u}^{\prime\prime}\cup\alpha_{\ell}^{\prime\prime} such that αu′′\alpha_{u}^{\prime\prime} is a subcurve of αu\alpha_{u}^{\prime}, α′′\alpha^{\prime\prime}_{\ell} is disjoint from every blue curve in (t1)\mathcal{B}^{(t-1)}, and there is an equipartition

(t1)=1(t1)2t1(t1),\mathcal{R}^{(t-1)}=\mathcal{R}^{(t-1)}_{1}\cup\cdots\cup\mathcal{R}^{(t-1)}_{2^{t-1}},

such that for 1i<j2t11\leq i<j\leq 2^{t-1}, the upper part αu′′\alpha^{\prime\prime}_{u} of each curve αi(t1)\alpha\in\mathcal{R}^{(t-1)}_{i} is disjoint the upper part βu′′\beta^{\prime\prime}_{u} of each curve βj(t1)\beta\in\mathcal{R}^{(t-1)}_{j}.

Finally, since |5|,|(t1)|δ2n|\mathcal{R}^{\prime}_{5}|,|\mathcal{B}^{(t-1)}|\geq\delta_{2}n, where δ2\delta_{2} depends only on δ\delta^{\prime}, by Theorem 2.15, G(5)G(\mathcal{R}^{\prime}_{5}) has edge density at least 12εt/δ221-2\varepsilon^{\prime}_{t}/\delta_{2}^{2} and G((t1))G(\mathcal{B}^{(t-1)}) has edge density less than 2εt/δ222\varepsilon^{\prime}_{t}/\delta_{2}^{2}. By setting εt\varepsilon^{\prime}_{t} sufficiently small, G(5)G(\mathcal{R}^{\prime}_{5}) has edge density at least 1εt11-\varepsilon^{\prime}_{t-1}, and G((t1))G(\mathcal{B}^{(t-1)}) has edge density less than εt1\varepsilon_{t-1}^{\prime}. By averaging, we can find subsets of 5\mathcal{R}^{\prime}_{5} and (t1)\mathcal{B}^{(t-1)}, each of size min(|5|,|(t1)|)\min(|\mathcal{R}^{\prime}_{5}|,|\mathcal{B}^{(t-1)}|) and with densities at least 1εt11-\varepsilon_{t-1}^{\prime} and less than εt1\varepsilon^{\prime}_{t-1} respectively, and apply induction to these subsets parameter t=t1t^{\prime}=t-1, and obtain subsets 𝒮(t1)5\mathcal{S}^{(t-1)}\subset\mathcal{R}^{\prime}_{5}, (t)(t1)\mathcal{B}^{(t)}\subset\mathcal{B}^{(t-1)}, each of size Ωεt1(n)\Omega_{\varepsilon^{\prime}_{t-1}}(n), with the desired properties. If every red curve in 𝒮(t1)\mathcal{S}^{(t-1)} is disjoint from every blue curve in (t)\mathcal{B}^{(t)}, or if every red curve in 𝒮(t1)\mathcal{S}^{(t-1)} crosses every blue curve in (t)\mathcal{B}^{(t)}, then we are done. Hence, we can assume that each curve α𝒮(t1)\alpha\in\mathcal{S}^{(t-1)} has a partition α=αu′′α′′\alpha=\alpha_{u}^{\prime\prime}\cup\alpha_{\ell}^{\prime\prime} such that αu′′\alpha_{u}^{\prime\prime} is a subcurve of αu\alpha_{u}^{\prime}, α′′\alpha^{\prime\prime}_{\ell} is disjoint from every blue curve in (t1)\mathcal{B}^{(t-1)}, and there is an equipartition

𝒮(t1)=𝒮1(t1)𝒮2t1(t1),\mathcal{S}^{(t-1)}=\mathcal{S}^{(t-1)}_{1}\cup\cdots\cup\mathcal{S}^{(t-1)}_{2^{t-1}},

such that for 1i<j2t11\leq i<j\leq 2^{t-1}, the upper part αu′′\alpha^{\prime\prime}_{u} of each curve α𝒮i(t1)\alpha\in\mathcal{S}^{(t-1)}_{i} is disjoint the upper part βu′′\beta^{\prime\prime}_{u} of each curve β𝒮j(t1)\beta\in\mathcal{S}^{(t-1)}_{j}. We then (arbitrarily) remove curves from each part in i(t1)\mathcal{R}_{i}^{(t-1)} and 𝒮j(t1)\mathcal{S}_{j}^{(t-1)} such that the resulting parts all have the same size and for

(t)=1(t1)2t1(t1)𝒮1(t1)𝒮2t1(t1),\mathcal{R}^{(t)}=\mathcal{R}^{(t-1)}_{1}\cup\cdots\cup\mathcal{R}^{(t-1)}_{2^{t-1}}\cup\mathcal{S}^{(t-1)}_{1}\cup\cdots\cup\mathcal{S}^{(t-1)}_{2^{t-1}},

we have |(t)|=Ωεt1(n)|\mathcal{R}^{(t)}|=\Omega_{\varepsilon_{t-1}^{\prime}}(n). Then (t)\mathcal{R}^{(t)} and (t)\mathcal{B}^{(t)} has the desired properties.∎

We now prove the following.

Theorem 4.5.

There is an absolute constant ε3>0\varepsilon_{3}>0 such that the following holds. Let \mathcal{R} be a set of nn red curves in the plane and \mathcal{B} be a set of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments, and the intersection graph G()G(\mathcal{B}) has edge density less than ε3\varepsilon_{3}, and G()G(\mathcal{R}) has edge density at least 1ε31-\varepsilon_{3}.

Then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R}, \mathcal{B}^{\prime}\subset\mathcal{B}, each of size Ω(n)\Omega(n), such that either every red curve in \mathcal{R} crosses every blue curve in \mathcal{B}, or every red curve in \mathcal{R} is disjoint from every blue curve in \mathcal{B}.

Proof.

Let tt be a fixed large integer such that 2t<ε12^{-t}<\varepsilon_{1}, where ε1\varepsilon_{1} is defined in Theorem 4.3. Let ε3\varepsilon_{3} be a small constant determined later such that ε3<εt\varepsilon_{3}<\varepsilon^{\prime}_{t}, where εt\varepsilon^{\prime}_{t} is defined in Lemma 4.4. Recall that εt<ε1\varepsilon^{\prime}_{t}<\varepsilon_{1}. Since G()G(\mathcal{R}) has edge density at least 1ε31-\varepsilon_{3}, there is a curve γ1\gamma_{1}\in\mathcal{R} such that γ1\gamma_{1} crosses at least n/2n/2 red curves in \mathcal{R}. Let 0\mathcal{R}_{0}\subset\mathcal{R} be the red curves that crosses γ1\gamma_{1}. By Lemma 2.15, G(0)G(\mathcal{R}_{0}) has edge density at least 18ε31-8\varepsilon_{3}. By averaging, we can find a subset \mathcal{B}^{\prime}\subset\mathcal{B} of size |0||\mathcal{R}_{0}| whose edge denesity less than ε3\varepsilon_{3}. By setting ε3\varepsilon_{3} sufficiently small so that 8ε3<εt8\varepsilon_{3}<\varepsilon_{t}^{\prime}, we can apply Lemma 4.4 to 0\mathcal{R}_{0} and \mathcal{B}^{\prime} with parameter tt, and obtain subsets ^0\hat{\mathcal{R}}\subset\mathcal{R}_{0}, ^\hat{\mathcal{B}}\subset\mathcal{B}, each of size Ωεt(n)\Omega_{\varepsilon_{t}^{\prime}}(n), with the desired properties. If every red curve in ^\hat{\mathcal{R}} crosses every blue curve in ^\hat{\mathcal{B}}, or every red curve in ^\hat{\mathcal{R}} is disjoint from every blue curve in ^\hat{\mathcal{B}}, then we are done. Therefore, we can assume that each curve α^\alpha\in\hat{\mathcal{R}} has a partition into two parts α=αuα\alpha=\alpha^{\prime}_{u}\cup\alpha^{\prime}_{\ell} with the properties described in Lemma 4.4. Set

𝒰={αu:α^,α=αuα}and={α:α^,α=αuα}.\mathcal{U}=\{\alpha^{\prime}_{u}:\alpha\in\hat{\mathcal{R}},\alpha=\alpha^{\prime}_{u}\cup\alpha^{\prime}_{\ell}\}\hskip 14.22636pt\textnormal{and}\hskip 14.22636pt\mathcal{L}=\{\alpha^{\prime}_{\ell}:\alpha\in\hat{\mathcal{R}},\alpha=\alpha^{\prime}_{u}\cup\alpha^{\prime}_{\ell}\}.

Hence, every curve in \mathcal{L} is disjoint from every curve in ^\hat{\mathcal{B}}, and G(𝒰)G(\mathcal{U}) has edge density at most 2t<ε12^{-t}<\varepsilon_{1}. Since |^|δn|\hat{\mathcal{B}}|\geq\delta n, where δ\delta depends only on εt\varepsilon^{\prime}_{t}, by Lemma 2.15, G(^)G(\hat{\mathcal{B}}) has edge density at most 2ε3/δ22\varepsilon_{3}/\delta^{2}. By setting ε3\varepsilon_{3} sufficiently small so that 2ε3/δ02<ε12\varepsilon_{3}/\delta^{2}_{0}<\varepsilon_{1}, G(^)G(\hat{\mathcal{B}}) has edge density at most ε1\varepsilon_{1}. By averaging, we can find subsets of 𝒰\mathcal{U} and ^\hat{\mathcal{B}}, each of size min(|𝒰|,|^|)\min(|\mathcal{U}|,|\hat{\mathcal{B}}|) and with densities at most ε1\varepsilon_{1}, and apply Theorem 4.3 to these subsets to obtain subsets 𝒰𝒰\mathcal{U}^{\prime}\subset\mathcal{U} and ^\mathcal{B}^{\prime}\subset\hat{\mathcal{B}}, each of size Ωε3(n)\Omega_{\varepsilon_{3}}(n), such that every curve in 𝒰\mathcal{U}^{\prime} is disjoint from every curve in \mathcal{B}^{\prime}, or every curve in 𝒰\mathcal{U}^{\prime} crosses every curve in \mathcal{B}^{\prime}. By setting \mathcal{R}^{\prime} to be the red curves in \mathcal{R} corresponding to 𝒰\mathcal{U}^{\prime}, every red curve in \mathcal{R}^{\prime} is disjoint from every blue curve in \mathcal{B}^{\prime}, or every red curve in \mathcal{R}^{\prime} crosses every blue curve in \mathcal{B}^{\prime}, and each subset has size Ωε3(n)\Omega_{\varepsilon_{3}}(n). ∎

4.3 High versus high edge density

Finally, we consider the case when the intersection graphs G()G(\mathcal{R}) and G()G(\mathcal{B}) both have edge density at least 1ε1-\varepsilon. By copying the proof of Theorem 4.5, except using Theorem 4.5 (high versus low density) instead of Theorem 4.3 (low versus low density) in the argument, we obtain the following.

Theorem 4.6.

There is an absolute constant ε4>0\varepsilon_{4}>0 such that the following holds. Let \mathcal{R} be a set of nn red curves in the plane and \mathcal{B} be a set of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments, and the intersection graphs G()G(\mathcal{B}) and G()G(\mathcal{R}) both have edge density at least 1ε41-\varepsilon_{4}.

Then there are subsets \mathcal{R}^{\prime}\subset\mathcal{R}, \mathcal{B}^{\prime}\subset\mathcal{B}, each of size Ω(n)\Omega(n), such that either every red curve in \mathcal{R} crosses every blue curve in \mathcal{B}, or every red curve in \mathcal{R} is disjoint from every blue curve in \mathcal{B}.

5 Proof of Theorem 2.8

Let \mathcal{R} be a set of nn red curves in the plane, and \mathcal{B} be a set of nn blue curves in the plane such that \mathcal{R}\cup\mathcal{B} is a collection of pseudo-segments. Let ε\varepsilon be a sufficiently small constant such that ε<ε4<ε3<ε1\varepsilon<\varepsilon_{4}<\varepsilon_{3}<\varepsilon_{1}, where ε1\varepsilon_{1} is from Theorem 4.3, ε3\varepsilon_{3} is from Theorem 4.5, and ε4\varepsilon_{4} is from Theorem 4.6. We apply Corollary 2.14 to both \mathcal{R} and \mathcal{B} and obtain subsets 1\mathcal{R}_{1}\subset\mathcal{R} and 1\mathcal{B}_{1}\subset\mathcal{B} such that both G(1)G(\mathcal{R}_{1}) and G(1)G(\mathcal{B}_{1}) are ε\varepsilon-homogeneous. Moreover, we can assume that |1|=|1||\mathcal{R}_{1}|=|\mathcal{B}_{1}|.

If both G(1)G(\mathcal{R}_{1}) and G(1)G(\mathcal{B}_{1}) have edge densities less than ε\varepsilon, then, since ε\varepsilon is sufficiently small, we can apply Theorem 4.3 to obtain subsets 21\mathcal{R}_{2}\subset\mathcal{R}_{1} and 21\mathcal{B}_{2}\subset\mathcal{B}_{1}, each of size Ωε(n)\Omega_{\varepsilon}(n), such that either every red curve in 2\mathcal{R}_{2} is disjoint from every blue curve in 2\mathcal{B}_{2}, or every red curve in 2\mathcal{R}_{2} crosses every blue curve in 2\mathcal{B}_{2}.

If one of the graphs of G(1)G(\mathcal{R}_{1}) and G(1)G(\mathcal{B}_{1}) has edge density less than ε\varepsilon, and the other has edge density greater than 1ε1-\varepsilon, then we apply Theorem 4.5 to 1\mathcal{R}_{1} and 1\mathcal{B}_{1} to obtain subsets 21\mathcal{R}_{2}\subset\mathcal{R}_{1} and 21\mathcal{B}_{2}\subset\mathcal{B}_{1}, each of size Ωε(n)\Omega_{\varepsilon}(n), such that either every red curve in 2\mathcal{R}_{2} is disjoint from every blue curve in 2\mathcal{B}_{2}, or every red curve in 2\mathcal{R}_{2} crosses every blue curve in 2\mathcal{B}_{2}.

Finally, if both G(1)G(\mathcal{R}_{1}) and G(1)G(\mathcal{B}_{1}) have edge densities at least 1ε1-\varepsilon, then, since ε\varepsilon is sufficiently small, we can apply Theorem 4.6 to obtain subsets 21\mathcal{R}_{2}\subset\mathcal{R}_{1} and 21\mathcal{B}_{2}\subset\mathcal{B}_{1}, each of size Ωε(n)\Omega_{\varepsilon}(n), such that either every red curve in 2\mathcal{R}_{2} is disjoint from every blue curve in 2\mathcal{B}_{2}, or every red curve in 2\mathcal{R}_{2} crosses every blue curve in 2\mathcal{B}_{2}. \hfill\square

6 Topological graphs with no kk pairwise disjoint edges

In this section, we prove Theorem 1.2. Recall that the odd-crossing number of GG, denoted by odd-cr(G)\mbox{\rm odd-cr}(G), is the minimum possible number of pairs of edges that cross an odd number of times, over all drawings of GG. The bisection width of a graph GG is defined as

b(G)=min|V1|,|V2|2n/3|E(V1,V2)|,b(G)=\min\limits_{|V_{1}|,|V_{2}|\leq 2n/3}|E(V_{1},V_{2})|,

where the minimum is take over all partitions V(G)=V1V2V(G)=V_{1}\cup V_{2}, such that |V1|,|V2|2n/3|V_{1}|,|V_{2}|\leq 2n/3. The following lemma, due to Pach and Tóth [37], relates the odd-crossing number of a graph to its bisection width.

Lemma 6.1 ([38]).

If GG is a graph with nn vertices of degrees d1,,dnd_{1},\ldots,d_{n}, then

b(G)O(lognodd-cr(G)+i=1ndi2).b(G)\leq O\left(\log n\sqrt{\mbox{\rm odd-cr}(G)+\sum_{i=1}^{n}d_{i}^{2}}\right).

Since all graphs contain a bipartite subgraph with at least half of its edges, Theorem 1.2 immediately follows from the following theorem.

Theorem 6.2.

If G=(V,E)G=(V,E) is an nn-vertex simple topological bipartite graph with no kk pairwise disjoint edges, then |E(G)|n(logn)O(logk)|E(G)|\leq n(\log n)^{O(\log k)}.

Proof.

Let c>0c>0 and c1>0c_{1}>0 be the absolute constants from Theorem 2.11 and Lemma 6.1 respectively, and let c2>0c_{2}>0 be a sufficiently large constant that will be determined later. We define f(n,k)f(n,k) to be the maximum number of edges in an nn-vertex simple topological bipartite graph with no kk pairwise disjoint edges. We will prove by induction on nn and kk that

f(n,k)n(logn)c2logk.f(n,k)\leq n(\log n)^{c_{2}\log k}.

Clearly, we have f(2,k)1f(2,k)\leq 1, and by the results on thrackles imply that f(n,2)1.4nf(n,2)\leq 1.4n. Assume the statement holds for n<nn^{\prime}<n and k<kk^{\prime}<k, and let GG be an nn-vertex simple topological bipartite graph with no kk pairwise disjoint edges. The proof falls into two cases.

Case 1. Suppose there are at least |E(G)|2/((2c1)2log6n)|E(G)|^{2}/((2c_{1})^{2}\log^{6}n) disjoint pairs of edges in GG. Let us partition E(G)=E1E2E(G)=E_{1}\cup E_{2} into two parts, such that there are at least |E(G)|2/(2(2c1)2log6n)|E(G)|^{2}/(2(2c_{1})^{2}\log^{6}n) disjoint pairs in E1×E2E_{1}\times E_{2}. Since E(G)E(G) is a collection of pseudo-segments, by Theorem 2.11, there exist subsets E1E1,E2E2E^{\prime}_{1}\subset E_{1},E^{\prime}_{2}\subset E_{2}, each of size |E(G)|/(2c1logn)6c,|E(G)|/(2c_{1}\log n)^{6c}, such that every edge in E1E^{\prime}_{1} is disjoint from every edge in E2E^{\prime}_{2}. Since GG does not contain kk pairwise disjoint edges, this implies that either E1E^{\prime}_{1} or E2E^{\prime}_{2} does not contain k/2k/2 pairwise disjoint edges. Without loss of generality, suppose E1E^{\prime}_{1} does not contain k/2k/2 pairwise disjoint edge. Hence

|E(G)|(2c1logn)6c|E1|f(n,k/2).\frac{|E(G)|}{(2c_{1}\log n)^{6c}}\leq|E^{\prime}_{1}|\leq f(n,k/2).

By the induction hypothesis, we have

f(n,k/2)n(logn)c2log(k/2)n(logn)c2log(k)c2.f(n,k/2)\leq n(\log n)^{c_{2}\log(k/2)}\leq n(\log n)^{c_{2}\log(k)-c_{2}}.

Hence, for c2c_{2} sufficiently large, we have |E(G)|n(logn)c2log(k).|E(G)|\leq n(\log n)^{c_{2}\log(k)}.

Case 2. Suppose there are at most |E(G)|2/((2c1)2log6n)|E(G)|^{2}/((2c_{1})^{2}\log^{6}n) disjoint pairs of edges in GG. In what follows, we will apply a redrawing technique due to Pach and Tóth in [38]. Since GG is bipartite, let V(G)=V1V2V(G)=V_{1}\cup V_{2}. We can redraw GG such that the vertices in V1V_{1} lie above the line y=1y=1, the vertices in V2V_{2} lie below the line y=0y=0, the edges in the strip 0y10\leq y\leq 1 are vertical segments, and we have neither created nor removed any crossings. We then “flip” the half-plane bounded by the y=1y=1 line from left to right about the yy-axis, and replace the edges in the strip 0y10\leq y\leq 1 with straight line segments that reconnect the corresponding pairs on the line y=0y=0 and y=1y=1. See Figure 6.

Refer to caption
Figure 6: Redrawing procedure

Notice that if any two edges crossed in the original drawing, then they must cross an even number of times in the new drawing. Indeed, suppose the edges e1e_{1} and e2e_{2} crossed in the original drawing. By the simple condition, they share exactly 1 point in common. Let kik_{i} denote the number of times edge eie_{i} crosses the strip for i{1,2}i\in\{1,2\}, and note that kik_{i} must be odd since V1V_{1} lies above the line y=1y=1 and v2v_{2} lies below the line y=0y=0. After we have redrawn our graph, these k1+k2k_{1}+k_{2} segments inside the strip will now pairwise cross, creating (k1+k22)\binom{k_{1}+k_{2}}{2} crossing points. Since edge eie_{i} will now cross itself (ki2)\binom{k_{i}}{2} times, this implies that there are now

(k1+k22)(k12)(k22)\binom{k_{1}+k_{2}}{2}-\binom{k_{1}}{2}-\binom{k_{2}}{2} (1)

crossing points between edges e1e_{1} and e2e_{2} inside the strip 0y10\leq y\leq 1. One can easily check that (1) is odd when k1k_{1} and k2k_{2} are odd. Since e1e_{1} and e2e_{2} had 1 point in common outside of the strip, this implies that e1e_{1} and e2e_{2} cross each other an even number of times in the new drawing. Moreover, we can easily get rid of self-intersections by making modifications in a small ball at these crossing points.

Hence, the odd-crossing number in our new drawing is at most the number of disjoint pair of edges in the original drawing of GG, plus the number of pair of edges that share a common vertex. Since there are at most

vV(G)d2(v)2|E(G)|n\sum\limits_{v\in V(G)}d^{2}(v)\leq 2|E(G)|n

pairs of edges that share a vertex in GG, this implies

odd-cr(G)|E(G)|2(2c1)2log6n+2|E(G)|n.\mbox{\rm odd-cr}(G)\leq\frac{|E(G)|^{2}}{(2c_{1})^{2}\log^{6}n}+2|E(G)|n.

By Lemma 6.1, there is a partition of the vertex set V=V1˙V2V=V_{1}\,\dot{\cup}\,V_{2} with |V|/3|Vi|2|V|/3|V|/3\leq|V_{i}|\leq 2|V|/3, where i=1,2i=1,2, and

|E(V1,V2)|b(G)c1logn|E(G)|2(2c1)2log6n+4n|E(G)|.|E(V_{1},V_{2})|\leq b(G)\leq c_{1}\log n\sqrt{\frac{|E(G)|^{2}}{(2c_{1})^{2}\log^{6}n}+4n|E(G)|}.

If |E(G)|2/((2c1)2log6n)4n|E(G)||E(G)|^{2}/((2c_{1})^{2}\log^{6}n)\leq 4n|E(G)|, then for c2c_{2} sufficiently large we have |E(G)|n(logn)c2logk|E(G)|\leq n(\log n)^{c_{2}\log k} and we are done. Therefore, we can assume

b(G)c1logn2|E(G)|2(2c1)2log6n|E(G)|log2n.b(G)\leq c_{1}\log n\sqrt{\frac{2|E(G)|^{2}}{(2c_{1})^{2}\log^{6}n}}\leq\frac{|E(G)|}{\log^{2}n}.

Let |V1|=n1|V_{1}|=n_{1} and |V2|=n2|V_{2}|=n_{2}. Since n1,n2<nn_{1},n_{2}<n, by the induction hypothesis, we have

|E(G)|b(G)+n1(logn1)c2logk+n2(logn2)c2logk|E(G)|log2n+n(log(2n/3))c2logk|E(G)|log2n+n(lognlog(3/2))c2logk,\begin{array}[]{ccl}|E(G)|&\leq&b(G)+n_{1}(\log n_{1})^{c_{2}\log k}+n_{2}(\log n_{2})^{c_{2}\log k}\\ \\ &\leq&\frac{|E(G)|}{\log^{2}n}+n(\log(2n/3))^{c_{2}\log k}\\ \\ &\leq&\frac{|E(G)|}{\log^{2}n}+n(\log n-\log(3/2))^{c_{2}\log k},\\ \\ \end{array}

which implies

|E(G)|n(logn)c2logk(1log(3/2)/logn)c2logk11/log2nn(logn)c2logk.|E(G)|\leq n(\log n)^{c_{2}\log k}\frac{(1-\log(3/2)/\log n)^{c_{2}\log k}}{1-1/\log^{2}n}\leq n(\log n)^{c_{2}\log k}.

7 Concluding remarks

A graph is said to be a cograph if it consists of a single-vertex or if it can be obtained from two smaller cographs by either taking their disjoint union or their join. We next define the depth of a cograph. The graph on one vertex has depth 0. The depth of a cograph which is the disjoint union or join of two smaller cographs is one more than the maximum depth of the two smaller cographs. For example, the depth of a complete or empty graph on kk vertices is log2k\lceil\log_{2}k\rceil.

The proof of Theorem 1.2 can be generalized as follows.

Theorem 7.1.

Let FF be a cograph with depth dd. If G=(V,E)G=(V,E) is an nn-vertex simple topological graph with no matching MM whose intersection graph is isomorphic to FF, then |E(G)|n(logn)O(d)|E(G)|\leq n(\log n)^{O(d)}.

Proof sketch.

The proof is very similar to the proof of Theorem 6.2. We proceed by induction on the depth dd and nn. When d=0d=0 or n=1n=1, the statement is trivial. For the inductive step, let F=F1F2F=F_{1}\cup F_{2}, where F1F_{1} and F2F_{2} are two smaller cographs. If FF is the disjoint union of F1F_{1} and F2F_{2}, then we follow the proof of Theorem 6.2.

If FF is the join of F1F_{1} and F2F_{2}, then the proof is again very similar to the proof of Theorem 6.2. We consider the two cases when GG has at least |E(G)|2/(clog6n)|E(G)|^{2}/(c\log^{6}n) crossing edges, or less than |E(G)|2/(clog6n)|E(G)|^{2}/(c\log^{6}n) crossing edges, where cc is a large constant. In the former case, we apply Theorem 2.12 to the edges of GG and obtain two subsets E1,E2E(G)E_{1},E_{2}\subset E(G), each of size |E(G)|/(2clogn)6c|E(G)|/(2c\log n)^{6c^{\prime}} such that every edge in E1E_{1} crosses every edge in E1E_{1} and cc^{\prime} is an absolute constant. Hence we can apply induction to each EiE_{i} and we are done. In the latter case, we apply a bisection width formula due to Pach, Shahrokhi, and Szegedy [34] and apply induction on nn. ∎

A natural kk-grid in a topological graph is a pair of edge sets E1,E2E_{1},E_{2}, such that EiE_{i} consists of kk pairwise disjoint edges, and every edge in E1E_{1} crosses every edge in E2E_{2}. In [1], Ackerman and the authors showed that every nn-vertex simple topological graph with no natural kk-grid has at most O(nlog4k6n)O(n\log^{4k-6}n) edges. As a corollary to Theorem 7.1, noting that the balanced complete bipartite graph with kk vertices in each part is a cograph with depth log2k+1\lceil\log_{2}k\rceil+1, we have the following.

Theorem 7.2.

If G=(V,E)G=(V,E) is an nn-vertex simple topological graph with no natural kk-grid, then |E(G)|3n(logn)O(logk).|E(G)|\leq 3n(\log n)^{O(\log k)}.

7.1 Further remarks on properties of hereditary families of graphs

In Section 2, we proved several properties of hereditary families of graphs are equivalent. Here we extend on these equivalences with some natural variants of these properties.

It is natural to drop the assumption that the vertex subsets have the same size in the definition of the mighty Erdős-Hajnal property. So we say a family \mathcal{F} of graphs has the unbalanced mighty Erdős-Hajnal property if there is a constant c>0c>0 such that for every graph GG\in\mathcal{F} and for all disjoint vertex subsets AA and BB of GG, there are subsets AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|c|A||A^{\prime}|\geq c|A| and |B|c|B||B^{\prime}|\geq c|B| and the bipartite graph between AA^{\prime} and BB^{\prime} is complete or empty. Trivially, if \mathcal{F} has the unbalanced mighty Erdős-Hajnal property, then it also has the mighty Erdős-Hajnal property. The following proposition shows that something close to a converse also holds.

Lemma 7.3.

If a hereditary family \mathcal{F} of graphs has the mighty Erdős-Hajnal property and is closed under cloning vertices, then \mathcal{F} also has the unbalanced mighty Erdős-Hajnal property.

Proof.

Since \mathcal{F} has the mighty Erdős-Hajnal property, there is a constant c>0c>0 such that if GG\in\mathcal{F} and A,BA,B are disjoint vertex subsets of GG of equal size, then there are AAA^{\prime}\subset A and BBB^{\prime}\subset B each of size at least c|A|c|A| that are complete or empty to each other.

Let GG\in\mathcal{F} and A,BA,B be disjoint vertex subsets of GG. Every vertex in AA we clone |B||B| times and every vertex in BB we clone |A||A| times to get another graph GG^{\prime}\in\mathcal{F}. Let AA^{*} be the vertex subset of GG^{\prime} of clones of vertices in AA, and BB^{*} be the vertex subset of GG^{\prime} of clones of vertices in BB, so |A|=|B|=|A||B||A^{*}|=|B^{*}|=|A||B|. Applying the mighty Erdős-Hajnal property to GG^{\prime} and vertex subsets AA^{*} and BB^{*}, we get subsets AAA^{\prime}\subset A^{*} and BBB^{*}\subset B that are complete or empty to each other and |A|,|B|c|A||B||A^{\prime}|,|B^{\prime}|\geq c|A||B|. Let A′′AA^{\prime\prime}\subset A be those vertices that contain which has at least one clone in AA^{*} and B′′BB^{\prime\prime}\subset B be those vertices that contain which has at least one clone in BB^{*}. Then |A′′|c|A||A^{\prime\prime}|\geq c|A|, |B′′|c|B||B^{\prime\prime}|\geq c|B|, and A′′A^{\prime\prime} and B′′B^{\prime\prime} are complete or empty to each other. So \mathcal{F} also has the unbalanced mighty Erdős-Hajnal property. ∎

Noting that by drawing another pseudo-segment very close to an original pseudo-segment, we see that the family of intersection graphs of pseudo-segments is closed under cloning. So we have the following corollary of Lemma 7.3 and Theorem 2.8.

Corollary 7.4.

The family of intersection graphs of pseudo-segments has the unbalanced mighty Erdős-Hajnal property.

One can similarly define an unbalanced homogeneous density property. A family \mathcal{F} of graphs has the unbalanced homogeneous density property if there is C=C(ε)C=C(\varepsilon) such that for every GG\in\mathcal{F} and every pair A,BVA,B\subset V of disjoint vertex subsets of GG with at least ε|A||B|\varepsilon|A||B| edges, there are AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|εC|A||A^{\prime}|\geq\varepsilon^{C}|A| and |B|εC|B||B^{\prime}|\geq\varepsilon^{C}|B| that are complete between them. Trivially, if a family of graphs has the unbalanced homogeneous density property, then it also has the homogeneous density property. In the other direction, just as in the proof of Lemma 7.3, if a hereditary family of graphs has the homogeneous density property and is closed under cloning vertices, then it also has the unbalanced homogeneous density property. In particular, the family of intersection graphs of pseudo-segments has the unbalanced homogeneous density property.

In the definition of the homogeneous density property, we require a polynomial dependence on the density ε\varepsilon. It turns out that for a hereditary family \mathcal{F} and the family ¯\overline{\mathcal{F}} of complements of graphs in \mathcal{F}, having this property is equivalent to the seemingly weaker property that the there is just some dependence on the density ε\varepsilon. We formalize this now. A family \mathcal{F} of graphs has the weak homogeneous density property if

  • there is a function δ:(0,1](0,1]\delta:(0,1]\rightarrow(0,1] such that for every GG\in\mathcal{F} and every pair A,BVA,B\subset V of disjoint vertex subsets of GG of the same size with at least ε|A||B|\varepsilon|A||B| edges between them, there are AAA^{\prime}\subset A and BBB^{\prime}\subset B with |A|δ(ε)|A||A^{\prime}|\geq\delta(\varepsilon)|A| and |B|δ(ε)|B||B^{\prime}|\geq\delta(\varepsilon)|B| that are complete between them.

We can add to the list of equivalent properties in Theorem 2.2 that \mathcal{F} and ¯\overline{\mathcal{F}} have the weak homogeneous density property.

Theorem 7.5.

A hereditary family of \mathcal{F} of graphs satisfies \mathcal{F} and ¯\overline{\mathcal{F}} have the homogeneous density property if and only if \mathcal{F} and ¯\overline{\mathcal{F}} have the weak homogeneous density property.

The “only if” direction of Theorem 7.5 is trivial. To see the “if” direction, observe that the proof of Lemma 2.5 that \mathcal{F} and ¯\overline{\mathcal{F}} have the homogeneous density property implies that \mathcal{F} has the mighty Erdős-Hajnal property extends to show that \mathcal{F} and ¯\overline{\mathcal{F}} have the weak homogeneous density property implies that \mathcal{F} has the mighty Erdős-Hajnal property. Further, Lemma 2.6 implies hereditary \mathcal{F} has the mighty Erdős-Hajnal property implies that \mathcal{F} and ¯\overline{\mathcal{F}} have the homogeneous density property. Thus, the “if” direction holds as well.

References

  • [1] E. Ackerman, J. Fox, J. Pach, and A. Suk, On grids in topological graphs, Comput. Geom. 47 (2014), 710–723.
  • [2] O. Aichholzer, A. García, J. Tejel, B. Vogtenhuber, and A. Weinberger, Twisted ways to find plane structures in simple drawings of complete graphs, In Proc. 38th Symp. Comput. Geometry, LIPIcs, Dagstuhl, Germany, 2022, pages 5:1–5:18.
  • [3] N. Alon, J. Pach, R. Pinchasi, R. Radoičić, and M. Sharir, Crossing patterns of semi-algebraic sets, J. Comb. Theory Ser. A 111 (2005), 310–326.
  • [4] M. Bucić, T. Nguyen, A. Scott, and P. Seymour, Induced subgraph density. I. A loglog step towards Erdős-Hajnal, preprint arXiv:2301.10147 (2023).
  • [5] G. Cairns and Y. Nikolayevsky, Bounds for generalized thrackles, Discrete Comput. Geom. 23 (2000), 191–206.
  • [6] M. Campos, S. Griffiths, R. Morris, and J. Sahasrabudhe, An exponential improvement for diagonal Ramsey, arXiv preprint arXiv:2303.09521, 2023.
  • [7] M. Chudnovsky, The Erdős–Hajnal Conjecture–A Survey, J. Graph Theory 75 (2014), 178–190.
  • [8] P. Erdős, Some remarks on the theory of graphs, Bull. Amer. Math. Soc. 53 (1947), 292–294.
  • [9] P. Erdős and A. Hajnal, Ramsey-type theorems, Discrete Appl. Math. 25 (1989), 37–52.
  • [10] P. Erdős and G. Szekeres, A combinatorial problem in geometry, Compositio Mathematica 2 (1935), 463–470.
  • [11] J. Fox, T. Nguyen, A. Scott, and P. Seymour, Induced subgraph density. II. Sparse and dense sets in cographs, preprint arXiv:2307.00801 (2023).
  • [12] J. Fox and J. Pach, Separator theorems and Turán-type results for planar intersection graphs, Adv. Math. 219 (2008), 1070–1080.
  • [13] J. Fox, J. Pach, A Separator Theorem for String Graphs and its Applications, Combin. Probab. Comput. (2010) 19, 371–390.
  • [14] J. Fox and J. Pach, Erdős–Hajnal-type results on intersection patterns of geometric objects, G.O.H. Katona, et al. (Eds.), Horizon of Combinatorics, Bol. Soc. Stud. Math., Springer (2008), pp. 79–103.
  • [15] J. Fox, J. Pach, and A. Suk, A polynomial regularity lemma for semialgebraic hypergraphs and its applications in geometry and property testing, SIAM J. Comput. 45 (2016), 2199–2223.
  • [16] J. Fox, J. Pach, and A. Suk, Erdős-Hajnal conjecture for graphs with bounded VC-dimension, Disc. Comput. Geom. 61 (2019), 809–829.
  • [17] J. Fox, J. Pach, and A. Suk, Enumeration of intersection graphs of xx-monotone curves, in preparation.
  • [18] J. Fox, J. Pach, and C. D. Tóth, Turán-type results for partial orders and intersection graphs of convex sets, Israel J. Math. 178 (2010), 29–50.
  • [19] J. Fox, J. Pach, and C. D. Tóth, Intersection patterns of curves, J. Lond. Math. Soc. 83 (2011), 389–406.
  • [20] J. Fox and B. Sudakov, Induced Ramsey-type theorems, Adv. Math. 219 (2008), 1771–1800.
  • [21] J. Fox and B. Sudakov, Density theorems for bipartite graphs and related Ramsey-type results, Combinatorica 29 (2009), 153–196.
  • [22] R. Fulek and J. Pach, A computational approach to Conway’s thrackle conjecture, Comput. Geom. 44 (2011), 345–355.
  • [23] R. Fulek and J. Pach, Thrackles: An improved upper bound, Discrete Appl. Math. 259 (2019), 226–231.
  • [24] J.E. Goodman. Proof of a conjecture of Burr, Grünbaum, and Sloane, Discrete Math. 32 (1980), 27–35.
  • [25] J.E. Goodman and R. Pollack, Semispaces of configurations, cell complexes of arrangements. J. Combin. Theory, Ser. A 37 (1984), 257–293.
  • [26] S. Har-Peled, Constructing planar cuttings in theory and practice, SIAM J. Comput. 29 (2000), 2016–2039
  • [27] J. Komlós and M. Simonovits, Szemerédi’s regularity lemma and its applications in graph theory. In: Combinatorics, Paul Erdős is Eighty, Vol. 2. Bolyai Soc. Math. Studies, Bolyai Math. Soc., 2002, 84–112.
  • [28] J. R. Lee, Separators in region intersection graphs, in: 8th Innovations in Theoretical Comp. Sci. Conf. (ITCS 2017), LIPIcs 67 (2017), 1–8.
  • [29] L. Lovász, J. Pach, and M. Szegedy, On Conway’s thrackle conjecture, Discrete Comput. Geom. 18 (1997), 369–376.
  • [30] M. Malliaris and S. Shelah, Regularity lemma for stable graphs, Trans. Amer. Math. Soc. 366 (2014), 1551–1585.
  • [31] J. Matoušek, Lectures on Discrete Geometry. Springer-Verlag New York, Inc., 2002.
  • [32] T. Nguyen, A. Scott, and P. Seymour, Induced subgraph density. III. The pentagon and the bull, preprint arXiv:2307.06379 (2023).
  • [33] J. Pach, A Tverberg-type result on multicolored simplices, Comput. Geom.: Theor. Appl. 10, (1998), 71–76.
  • [34] J. Pach, F. Shahrokhi, M. Szegedy, Applications of the crossing number, Algorithmica 16 (1996), 111–117.
  • [35] J. Pach and J. Solymosi, Structure theorems for systems of segments, in: Discrete and computational geometry (Tokyo 2000), Lect. Notes Comput. Sci. 2098, Springer-Verlag, Berlin (2001), 308–317.
  • [36] J. Pach and J. Solymosi, Crossing patterns of segments. J. Comb. Theory Ser. A 96 (2001), 316–325.
  • [37] J. Pach and G. Tóth, Which crossing number is it anyway?, J. Comb. Theory Ser. B 80 (2000), 225–246.
  • [38] J. Pach and G. Tóth, Disjoint edges in topological graphs. In Proceedings of the 2003 Indonesia-Japan joint conference on Combinatorial Geometry and Graph Theory (IJCCGGT’03), Jin Akiyama, Edy Tri Baskoro, and Mikio Kano (Eds.). Springer-Verlag, Berlin, Heidelberg, 133–140.
  • [39] J. Pach and G. Tóth, How many ways can one draw a graph?, Combinatorica 26 (2006), 559–576.
  • [40] J. Pach and G. Tóth, Comment on Fox news, Geombinatorics 15 (2006), 150–154.
  • [41] V. Rödl, On universality of graphs with uniformly distributed edges, Discrete Math. 59 (1986), 125–134.
  • [42] L. Sauermann, On the speed of algebraically defined graph classes, Adv. Math. 380 (2021), Paper No. 107593, 55 pp.
  • [43] I. Tomon, String graphs have the Erdős–Hajnal property. J. Eur. Math. Soc. (2023).