{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:28:04Z","timestamp":1787340484443,"version":"build-2736575974"},"reference-count":21,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"6","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2010,1]]},"abstract":"<jats:p>Inspired by property testing, for every $\\varepsilon&gt;0$ we relax the classical satisfiability $U\\models F$ between a finite structure U of a class $\\mathbf{K}$ and a formula F, to a notion of $\\varepsilon$-satisfiability $U\\models_{\\varepsilon}F$, and relax the classical equivalence $F_1\\equiv F_2$ between two formulas $F_1$ and $F_2$ to $\\varepsilon$-equivalence $F_1\\equiv_{\\varepsilon}F_2$. We consider strings and trees with the norm of the edit distance with moves, and show that, unlike their exact counterparts, these approximate notions can be efficiently decided. We use a statistical embedding of words (resp., trees) into $\\ell_1$, which generalizes the original Parikh mapping, obtained by sampling $O(f(\\varepsilon))$ finite samples of the words (resp., trees). We give a tester for equality and membership in any regular language, in time independent of the size of the structure. Using our geometrical embedding, we can also test the equivalence between two regular properties over words, defined by regular expressions or monadic second-order formulas. Our equivalence tester has polynomial time complexity in the size of the automaton (or regular expression), for any fixed $\\varepsilon$, whereas the exact version of the equivalence problem is PSPACE-complete. We also prove versions of some of these results for trees, but with worse time complexity. Last, we extend the geometric embedding, and hence the testing algorithms, to infinite regular languages and to context-free languages. For context-free languages, the equivalence tester has an exponential time complexity for any fixed $\\varepsilon$, whereas the exact version is not even decidable.<\/jats:p>","DOI":"10.1137\/070703776","type":"journal-article","created":{"date-parts":[[2010,3,26]],"date-time":"2010-03-26T18:24:06Z","timestamp":1269627846000},"page":"2251-2281","source":"Crossref","is-referenced-by-count":6,"title":["Approximate Satisfiability and Equivalence"],"prefix":"10.1137","volume":"39","author":[{"given":"Eldar","family":"Fischer","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fr\u00e9d\u00e9ric","family":"Magniez","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michel","family":"de Rougemont","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2010,3,26]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1007\/s004930070001"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539700366528"},{"key":"R3","doi-asserted-by":"crossref","unstructured":"T. Batu, F. Erg\u00fcn, J. Kilian, A. Magen, S. Raskhodnikova, R. Rubinfeld, and R. Sami,\n                      A sublinear algorithm for weakly approximating edit distance\n                      , in Proceedings of the 35th Annual ACM Symposium on Theory of Computing (STOC'03), 2003, pp. 316\u2013324.","DOI":"10.1145\/780542.780590"},{"key":"R4","doi-asserted-by":"crossref","unstructured":"T. Batu, L. Fortnow, R. Rubinfeld, W. Smith, and P. White,\n                      Testing that distributions are close\n                      , in Proceedings of the 41st Annual Symposium on Foundations of Computer Science (FOCS'00), 2000, pp. 259\u2013269.","DOI":"10.1109\/SFCS.2000.892113"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1998.2772"},{"key":"R6","doi-asserted-by":"crossref","unstructured":"A. Broder,\n                      On the resemblance and containment of documents\n                      , in Proceedings of Compression and Complexity of Sequences, IEEE Computer Society Press, Washington, DC, 1997, pp. 21\u201330.","DOI":"10.1109\/SEQUEN.1997.666900"},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2004.08.004"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1145\/1186810.1186812"},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(70)80041-1"},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-001-0078-7"},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1145\/285055.285060"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-007-9028-3"},{"key":"R13","doi-asserted-by":"crossref","unstructured":"A. Meyer and L. Stockmeyer,\n                      The equivalence problem for regular expressions with squaring requires exponential space\n                      , in Proceedings of the 13th Annual Symposium on Switching and Automata Theory, 1972, pp. 125\u2013129.","DOI":"10.1109\/SWAT.1972.29"},{"key":"R14","doi-asserted-by":"publisher","DOI":"10.1137\/S009753970038211X"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.1145\/321356.321364"},{"key":"R16","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2006.03.002"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539796298625"},{"key":"R18","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539793255151"},{"key":"R19","doi-asserted-by":"crossref","unstructured":"D. Shapira and J. Storer,\n                      Edit distance with move operations\n                      , in Proceedings of the 13th Annual Symposium on Combinatorial Pattern Matching (CPM 2002), 2002, pp. 85\u201398.","DOI":"10.1007\/3-540-45452-7_9"},{"key":"R20","doi-asserted-by":"crossref","unstructured":"L. Stockmeyer and A. Meyer,\n                      Word problems requiring exponential time\n                      , in Proceedings of the 5th Annual ACM Symposium on Theory of Computing (STOC'73), 1973, pp. 1\u20139.","DOI":"10.1145\/800125.804029"},{"key":"R21","doi-asserted-by":"publisher","DOI":"10.1145\/322139.322143"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/070703776","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:36:34Z","timestamp":1787337394000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/070703776"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,1]]},"references-count":21,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2010,1]]}},"alternative-id":["10.1137\/070703776"],"URL":"https:\/\/doi.org\/10.1137\/070703776","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,1]]}}}