NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Lower bounds for testing triangle-freeness in Boolean functions

Arnab Bhattacharyya, Ning XieComput. Complex 2015

Abstract

Given a Boolean function $${f : \mathbb{F}_{2}^{n} \to \{0,1\}}$$ f : F 2 n → { 0 , 1 } , we say a triple (x, y, x + y) is a triangle in f if $${f(x)\!=\!f(y)\!=\!f(x+y)\!=\!1}$$ f ( x ) = f ( y ) = f ( x + y ) = 1 . A triangle-free function contains no triangle. If f differs from every triangle-free function on at least $${\epsilon \cdot 2^n}$$ ϵ · 2 n points, then f is said to be $${\epsilon}$$ ϵ -far from triangle-free.In this work, we analyze the query complexity of testers that, with constant probability, distinguish triangle-free functions from those $${\epsilon}$$ ϵ -far from triangle-free. Let the canonical tester for triangle-freeness denotes the algorithm that repeatedly picks x and y uniformly and independently at random from $${\mathbb{F}_2^n}$$ F 2 n , queries f(x), f(y) and f(x + y), and checks whether f(x) = f(y) = f(x + y) = 1. Green showed that the canonical tester rejects functions $${\epsilon}$$ ϵ -far from triangle-free with constant probability if its query complexity is a tower of 2’s whose height is polynomial in $${1/\epsilon}$$ 1 / ϵ . Fox later improved the height of the tower in Green’s upper bound to $${O(\log{1/\epsilon})}$$ O ( log 1 / ϵ ) . A trivial lower bound of $${\Omega(1/\epsilon)}$$ Ω ( 1 / ϵ ) on the query complexity is immediate. In this paper, we give the first non-trivial lower bound for the number of queries needed. We show that, for every small enough $${\epsilon}$$ ϵ , there exists an integer $${n_{0}(\epsilon)}$$ n 0 ( ϵ ) such that for all $${n\geq n_{0}}$$ n ≥ n 0 there exists a function $${f :\mathbb{F}_{2}^{n} \to \{0,1\}}$$ f : F 2 n → { 0 , 1 } depending on all n variables which is $${\epsilon}$$ ϵ -far from being triangle-free and requires $${\Omega \left((\frac{1}{\epsilon})^{4.847\cdots}\right)}$$ Ω ( 1 ϵ ) 4.847 ⋯ queries for the canonical tester. We also show that the query complexity of any general (possibly adaptive) one-sided tester for triangle-freeness is at least square root of the query complexity of the corresponding canonical tester. Consequently, this means that any one-sided tester for triangle-freeness must make at least $${\Omega\left((\frac{1}{\epsilon})^{2.423\cdots}\right)}$$ Ω ( 1 ϵ ) 2.423 ⋯ queries.
BibTeX
@inproceedings{bhattacharyya2015lower,
  author = {Arnab Bhattacharyya and Ning Xie},
  title = {{Lower bounds for testing triangle-freeness in Boolean functions}},
  booktitle = {Comput. Complex},
  year = {2015},
  url = {https://openreview.net/forum?id=S9O-HuI5Bke},
}

Loading related content...

Figure