Skip to main content

Property Testing for Point Sets on the Plane

  • Conference paper
  • First Online:
LATIN 2018: Theoretical Informatics (LATIN 2018)

Abstract

A configuration is a point set on the plane, with no three points collinear. Given three non-collinear points p, q and \(r\in \mathbb {R}^2\), let \(\chi (p,q,r)\in \{-1,1\}\), with \(\chi (p,q,r)=1\) if and only if, when we traverse the circle defined by those points in the counterclockwise direction, we encounter the points in the cyclic order \(p,q,r,p,q,r,\dots \). For simplicity, extend \(\chi \) by setting \(\chi (p,q,r)=0\) if p, q and r are not pairwise distinct. Two configurations A and \(B\subset \mathbb {R}^2\) are said to have the same order type if there is a bijection \(\iota :A\rightarrow B\) such that \(\chi (p,q,r)=\chi (\iota (p),\iota (q),\iota (r))\) for all \((p,q,r)\in A^3\). We say that a configuration C contains a copy of a configuration A if there is \(B\subset C\) with A and B of the same order type. Given a configuration F, let \(\mathrm{Forb}(F)\) be the set of configurations that do not contain a copy of F. The distance between two configurations A and B with \(|A|=|B|=n\) is given by

$$\begin{aligned} \mathrm{dist}(A,B) = \min _\iota \frac{1}{2n^3}\sum _{(p,q,r)\in A^3} |\chi (p,q,r)-\chi (\iota (p),\iota (q),\iota (r))|, \end{aligned}$$

where the minimum is taken over all bijections \(\iota :A\rightarrow B\). Roughly speaking, we prove the following property testing result: being free of a given configuration is efficiently testable. Our result also holds in the general case of hereditary properties \(\mathcal {P}=\mathrm{Forb}(\mathcal {F})\), defined by possibly infinite families \(\mathcal {F}\) of forbidden configurations. Our results complement previous results by Czumaj, Sohler and Ziegler and others, in that we use a different notion of distance between configurations. Our proofs are heavily inspired on recent work of Fox and Wei on testing permutations and also make use of the regularity lemma for semi-algebraic hypergraphs of Fox, Pach and Suk. An extremal function involving order types, which may be of independent interest, plays an important rôle in our arguments.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bland, R.G., Las Vergnas, M.: Orientability of matroids. J. Comb. Theory Ser. B 24(1), 94–123 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bokowski, J., Sturmfels, B.: Computational Synthetic Geometry. Lecture Notes in Mathematics. Springer, Berlin (1989). https://doi.org/10.1007/BFb0089253

    Book  MATH  Google Scholar 

  3. Chen, X., Freilich, A., Servedio, R.A., Sun, T.: Sample-based high-dimensional convexity testing (June 2017). arXiv:1706.09362

  4. Czumaj, A., Sohler, C.: Property testing with geometric queries (extended abstract). In: auf der Heide, F.M. (ed.) ESA 2001. LNCS, vol. 2161, pp. 266–277. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44676-1_22

    Chapter  Google Scholar 

  5. Czumaj, A., Sohler, C., Ziegler, M.: Property testing in computational geometry (extended abstract). In: Paterson, M.S. (ed.) ESA 2000. LNCS, vol. 1879, pp. 155–166. Springer, Heidelberg (2000). https://doi.org/10.1007/3-540-45253-2_15

    Chapter  Google Scholar 

  6. Erdős, P., Szekeres, G.: A combinatorial problem in geometry. Compos. Math. 2, 463–470 (1935)

    MathSciNet  MATH  Google Scholar 

  7. Erdős, P., Simonovits, M.: Supersaturated graphs and hypergraphs. Combinatorica 3(2), 181–192 (1983). https://doi.org/10.1007/BF02579292

    Article  MathSciNet  MATH  Google Scholar 

  8. Ergün, F., Kannan, S., Kumar, S.R., Rubinfeld, R., Viswanathan, M.: Spot-checkers. J. Comput. Syst. Sci. 60(3), 717–751 (2000). https://doi.org/10.1006/jcss.1999.1692. 30th Annual ACM Symposium on Theory of Computing (Dallas, TX 1998)

    Article  MathSciNet  MATH  Google Scholar 

  9. Fox, J., Wei, F.: Fast property testing and metrics for permutations (2016). arXiv:161101270

  10. Fox, J., Pach, J., Suk, A.: A polynomial regularity lemma for semialgebraic hypergraphs and its applications in geometry and property testing. SIAM J. Comput. 45(6), 2199–2223 (2016). https://doi.org/10.1137/15M1007355

    Article  MathSciNet  MATH  Google Scholar 

  11. Goldreich, O. (ed.): Property Testing: Current Research and Surveys. LNCS, vol. 6390. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-16367-8

    MATH  Google Scholar 

  12. Goldreich, O., Trevisan, L.: Three theorems regarding testing graph properties. Random Struct. Algorithms 23(1), 23–57 (2003). https://doi.org/10.1002/rsa.10078

    Article  MathSciNet  MATH  Google Scholar 

  13. Goodman, J.E., Pollack, R.: Multidimensional sorting. SIAM J. Comput. 12(3), 484–507 (1983). https://doi.org/10.1137/0212032

    Article  MathSciNet  MATH  Google Scholar 

  14. Károlyi, G., Solymosi, J.: Erdős-Szekeres theorem with forbidden order types. J. Combin. Theory Ser. A 113(3), 455–465 (2006). https://doi.org/10.1016/j.jcta.2005.04.006

    Article  MathSciNet  MATH  Google Scholar 

  15. Richter-Gebert, J., Ziegler, G.M.: Oriented matroids. In: Handbook of Discrete and Computational Geometry, CRC Press Series Discrete Mathematics Application, pp. 111–132. CRC, Boca Raton (1997)

    Google Scholar 

  16. Rubinfeld, R., Sudan, M.: Robust characterizations of polynomials with applications to program testing. SIAM J. Comput. 25(2), 252–271 (1996)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgments

The first author was supported by FAPESP (2014/18641-5). The second author was partially supported by FAPESP (2013/03447-6, 2013/07699-0), CNPq (310974/2013-5, 459335/2014-6) and NUMEC/USP (Project MaCLinC). The third author was supported by CNPq(130483/2016-8). The fourth author was supported by FAPESP (2015/15986-4), CNPq (459335/2014-6) and NUMEC/USP (Project MaCLinC).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Henrique Stagni .

Editor information

Editors and Affiliations

A Proof Sketch for Lemma 1

A Proof Sketch for Lemma 1

We write by l(xy) as the line defined by two points xy in the plane. Let l be a line and B be a set of points. Then we say l crosses B if there exist \(b_1, b_2\in B\) such that they are at the different sides of l, or, equivalently, the line segment defined by \(b_1, b_2\) intersects l. Our key claim is the following.

Claim

Let \(b\in B_i\), then any line \(l\ni b\) crosses at most one other block \(B_j\).

Proof

Assume that \(l\ni b\) crosses both \(B_j\) and \(B_{j'}\). Pick the points \(u, u'\in B_j\), \(v, v'\in B_{j'}\) such that u and v are at the same side of l, and \(u'\), \(v'\) are at the other side of l. Consider two lines l(ub) and \(l(u',b)\). These two lines partition the plane into four regions. By the definition of the blow-up, we know that \(\chi (b,u,v)=\chi (b,u,v')\) and \(\chi (b,u',v)=\chi (b,u',v')\). Thus, v and \(v'\) must be in the same region. Moreover, since v and \(v'\) must be at the different sides of l, they must be both in one of the two regions that intersect l. Then note that \(\chi (b,u,v)\ne \chi (b,u',v')\) holds, which is a contradiction.

Now we start the sketch of the proof. For any \(i\in [m]\), we find a largest subset \(C_i\subset B_i\) in convex position. By the definition of \(ES_F\), each \(C_i\) has size at least \(f\mathtt{poly}(m)\). Let \(C_i=\{v^{(i)}_1,\dots , v^{(i)}_{p}\}\) where the points are ordered along the convex polygon under clockwise order. We now color each line segment \(v^{(i)}_j v^{(i)}_{j+1}\) as follows:

  • if \(l(v^{(i)}_j, v^{(i)}_{j+1})\) crosses \(C_p\) for some \(c\in [m]\), \(c\ne i\), then give \(v^{(i)}_j v^{(i)}_{j+1}\) color p;

  • otherwise, we rotate the line \(l(v^{(i)}_j, v^{(i)}_{j+1})\) around \(v^{(i)}_{j+1}\) clock-wise. Give \(v^{(i)}_j v^{(i)}_{j+1}\) color p if \(C_p\) is the first block that the line crosses.

Note that the coloring is well-defined because of the claim. In total this defines a coloring with m colors, and note that each color class consists of two (possibly empty) sets of consecutive line segments of the convex polygon \(C_i\). Thus by the Pigeonhole principle, there is a subset \(C_i'=\{u^{(i)}_1,\dots ,u^{(i)}_{q}\}\subset C_i\) such that \(|C_i'|\ge f\mathtt{poly}(m)\), and all \((u^{(i)}_r, u^{(i)}_{r+1})\) for \(1\le r<q\) have the same color. We repeat this process for all \(i\in [m]\).

Next we consider \(C_1'\) and all lines \((u^{(i)}_{q/2}, u^{(i)}_{q/2 +1})\) for every index i such that \(C'_i\) received color 1. These lines divide \(C'_1\) in at most \(\mathtt{poly}(m)\) regions. Hence, by averaging, we can find a subset \(D'_1\subset C'_1\) of 2f points such that for every such i, either \(\{u^{(i)}_1,\dots ,u^{(i)}_{q/2}\}\) or \(\{u^{(i)}_{q/2+1},\dots ,u^{(i)}_q\}\) are entirely on the same side of \(D_1'\). Thus, abusing the notation, we pick either \(\{u^{(i)}_1,\dots ,u^{(i)}_{q/2}\}\) or \(\{u^{(i)}_{q/2+1},\dots ,u^{(i)}_q\}\) as our new \(C_i'\), and we still have \(|C_i'|\ge f\,\,\mathtt{poly}(m)\).

We can continue the operation for every \(C'_r\) (\(1\le r\le m\)) (but considering only the points survived from previous iterations). This gives sets \(A_1,\dots ,A_m\) each of size f satisfying Lemma 1 (a) and (b), because during the whole process, a set \(C'_r\) is shrunk at most twice: by a factor of \(\mathtt{poly}(m)\) when it plays the role of \(C'_j\), or by a factor of 2 when it plays the role of \(C'_i\).    \(\square \)

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Han, J., Kohayakawa, Y., Sales, M.T., Stagni, H. (2018). Property Testing for Point Sets on the Plane. In: Bender, M., Farach-Colton, M., Mosteiro, M. (eds) LATIN 2018: Theoretical Informatics. LATIN 2018. Lecture Notes in Computer Science(), vol 10807. Springer, Cham. https://doi.org/10.1007/978-3-319-77404-6_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-77404-6_43

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-77403-9

  • Online ISBN: 978-3-319-77404-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics