Testing forbidden order-pattern properties on hypergrids
Abstract
We study testing -freeness of functions , where is -free if there there are no indices such that and for all , where is the natural partial order over . Given , -testing -freeness asks to distinguish -free functions from those which are -far -- meaning at least function values must be modified to make it -free. While coincides with monotonicity testing, far less is known for . We initiate a systematic study of pattern freeness on higher-dimensional grids. For and all permutations of size , we design an adaptive one-sided tester with query complexity . We also prove general lower bounds for : every nonadaptive tester requires queries, and every adaptive tester requires queries, yielding the first super-logarithmic lower bounds for -freeness. For the monotone patterns and , we present a nonadaptive tester with polylogarithmic query complexity, giving an exponential separation between monotone and nonmonotone patterns (unlike the one-dimensional case). A key ingredient in our -freeness testers is new erasure-resilient (-ER) -testers for monotonicity over with query complexity , where is an upper bound on the fraction of erasures. Prior ER testers worked only for . Our nonadaptive monotonicity tester is nearly optimal via a matching lower bound due to Pallavoor, Raskhodnikova, and Waingarten (Random Struct. Algorithms, 2022). Finally, we show that current techniques cannot yield sublinear-query testers for patterns of length even on two-dimensional hypergrids.
Keywords
Cite
@article{arxiv.2510.22845,
title = {Testing forbidden order-pattern properties on hypergrids},
author = {Harish Chandramouleeswaran and Ilan Newman and Tomer Pelleg and Nithin Varma},
journal= {arXiv preprint arXiv:2510.22845},
year = {2025}
}
Comments
51 pages. 7 figures. To appear at SODA 2026. This is the full version