{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,4]],"date-time":"2026-10-04T04:30:24Z","timestamp":1791088224010,"version":"4.1.0"},"reference-count":18,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1988,8]]},"abstract":"<jats:p>We present a randomized parallel algorithm for term matching. Let n be the number of nodes of the directed acyclic graphs (dags) representing the terms to be matched. Then our algorithm uses $O(\\log ^2 n)$ parallel time and $M(n)$ processors, where $M(n)$ is the complexity of $n \\times n$ matrix multiplication. The randomized algorithm is of the Las Vegas type, that is, the answer is always correct, although with small probability the algorithm might fail to produce an answer. The number of processors is a significant improvement over previously known bounds. Under various syntactic restrictions on the form of the input dags, only $O(n^2 )$ processors are required in order to achieve deterministic $O(\\log ^2 n)$ parallel time. Furthermore, we reduce directed graph reachability to term matching using constant parallel time and $O(n^2 )$ processors. This is evidence that no deterministic algorithm can significantly beat the processor bound of our randomized algorithm. We also improve the P-completeness result of Dwork, Kanellakis, and Mitchell on the unification problem, showing that unification is P-complete even if both input terms are linear, i.e., no variable appears more than once in each term.<\/jats:p>","DOI":"10.1137\/0217046","type":"journal-article","created":{"date-parts":[[2005,2,24]],"date-time":"2005-02-24T06:30:13Z","timestamp":1109226613000},"page":"711-731","source":"Crossref","is-referenced-by-count":21,"title":["Parallel Algorithms for Term Matching"],"prefix":"10.1137","volume":"17","author":[{"given":"Cynthia","family":"Dwork","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Paris C.","family":"Kanellakis","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Larry","family":"Stockmeyer","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,13]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1090\/S0002-9939-1950-0036751-9"},{"key":"R2","volume-title":"Programming in Prolog","author":"Clocksin W. F.","year":"1981"},{"key":"R3","doi-asserted-by":"publisher","DOI":"10.1137\/0211038"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1016\/0743-1066(84)90022-0"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1145\/800133.804339"},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1016\/B978-0-12-115350-2.50017-8"},{"key":"R7","first-page":"569","volume-title":"Information processing 74 (Proc. IFIP Congress, Stockholm, 1974)","author":"Kowalski Robert","year":"1974"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1145\/990518.990519"},{"key":"R9","unstructured":"J. Maluszynski, H. J. Komorowski,  Unification free execution of horn-clause programs,  Proc. 2nd IEEE Logic Programming Symposium,  1985,  78\u201386"},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(78)90014-4"},{"key":"R11","doi-asserted-by":"crossref","unstructured":"V. Pan, J. Reif,  Efficient parallel solution of linear systems,  Proc. 17th Annual ACM Symposium on Theory of Computing,  1985,  143\u2013152","DOI":"10.1145\/22145.22161"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(78)90043-0"},{"key":"R13","doi-asserted-by":"publisher","DOI":"10.1016\/0022-314X(80)90084-0"},{"key":"R14","doi-asserted-by":"publisher","DOI":"10.1145\/321250.321253"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.1145\/322217.322225"},{"key":"R16","doi-asserted-by":"publisher","DOI":"10.1137\/0214061"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-17179-7_31"},{"key":"R18","unstructured":"H. Yasuura,  On the parallel computational complexity of unification, Res. Report, ER 83-01, Yajima Laboratories,  1983, October"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/0217046","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:43:05Z","timestamp":1787337785000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/0217046"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1988,8]]},"references-count":18,"journal-issue":{"issue":"4","published-print":{"date-parts":[[1988,8]]}},"alternative-id":["10.1137\/0217046"],"URL":"https:\/\/doi.org\/10.1137\/0217046","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1988,8]]}}}