Residual-String Equality, denoted , is the property consisting of all pairs of strings over that are equal after deleting all `’ symbols from them. This property was first introduced by Fischer, Magniez, and Starikovskaya (SODA 2018), who used it to show a lower bound on testing the languages, where is the language consisting of balanced sequences of parentheses over parenthesis types. They showed that testing on inputs of length requires queries, and presented a reduction from testing to testing where . Furthermore, they showed that can be tested with queries for every constant proximity parameter, where is an arbitrarily small constant. In this work, we nearly close the remaining gap, by showing that testing , and hence where , requires queries. We also show a stronger lower bound of for testers that make non-adaptive queries. We establish that the bound is nearly tight, by presenting a non-adaptive tester for that uses queries for an arbitrarily small constant . Furthermore, we extend this non-adaptive tester to the languages, with the same query complexity. Finally, we improve the dependence on the proximity parameter in the tester of Fischer, Magniez, and Starikovskaya, reducing it from to .

生成讲解博客的中文版本

生成AI智能校验的中文版本