Optimal Parallel Algorithms for String Matching

Total Page:16

File Type:pdf, Size:1020Kb

Optimal Parallel Algorithms for String Matching INFORMATION AND CONTROL 67, 144-157 (1985) Optimal Parallel Algorithms for String Matching ZvI GALIL* Tel Aviv University, Tel Aviv, Israel and Columbia University, New York Let WRAM [PRAM] be a parallel computer with p processors (RAMs) which share a common memory and are allowed simultaneous reads and writes [only simultaneous reads]. The only type of simultaneous writes allowed is a simultaneous AND: a subset of the processors may write 0 simultaneously into the same memory cell. Let t be the time bound of the computer. We design below families of p~rallel algorithms that solve the string matching problem with inputs of size n (n is the sum of lengths of the pattern and the text) and have the following performance in terms of p, t and n: (1) For WRAM: pt=O(n) for p<~n/logn (i.e., t~>logn).* (2) For PRAM: pt=O(n) for p<~n/log2n (i.e., t~>log2n). (3) For WRAM: t=constant for p=n*+~" and any e>0. (4) For WRAM: t - ©(log n/log log n) for p = n. Similar families are also obtained for the problem of finding all initial palindromes of a given string. © 1985 AcademicPress, Inc. 1. INTRODUCTION We design parallel agorithms in the following model: p synchronized processors (RAMs) share a common memory. Any subset of the processors can simultaneously read from the same memory location. We sometimes allow simultaneous writing in the weakest sense: any subset of processors can write the value 0 into the same memory location (i.e., turn off a switch). We denote by WRAM [PRAM] the model that allows [-does not allow] such simultaneous writing. We also consider (but only biefly) other models of parallel computation. We actually design a family of algorithms because we have a parameter p. The performance of the family is measured in terms of three parameters: p--the number of processors, t the time, and n--the size of the problem instance. It is well known that every parallel algorithm with p processors and time t can be easily converted to a sequential algorithm of time pt. Hence the analog of linear-time algorithm in sequential computation is a family of parallel algorithms with pt=O(n). We therefore call such algorithms *Research supported by National Science Foundation Grants MCS-8303139 and DCR-85-11713. All logarithms are to the base 2. 144 0019-9958/85 $3.00 Copyright © 1985 by AcademicPress, Inc. All rights of reproductionin any form reserved. OPTIMUM PARALLEL ALGORITHMS 145 optimal. Surprisingly, while there are many problems for which linear-time algorithms are known, there are very few problems for which optimal parallel algorithms are known for a wide range of p; so few, that we list them here. Every associative function of n variables can be computed by a PRAM in pt= O(n) for p<~n/logn. (Use a binary tree; each leaf "treats" nip inputs.) For a certain subset of these functions including the n variable OR (and AND), £2(log n) time is needed on the PRAM (Cook and Dwork, 1982), so for these functions pt= O(n) is unattainable for p>n/log n. Con- sequently, the only question left is with how few processors we can com- pute these functions in constant time on a WRAM. The answer depends on the specific function. The n variable OR (or AND) function can be com- puted trivially by a WRAM in pt = n for p ~< n (i.e., in time = 1 with n processors). The n variable MAXIMUM function can be computed in pt = O(n) for p ~< n/log log n and in constant time with n 1+~ processors (for every e >0) (Valiant, 1975; Shiloach and Vishkin, 198l). Optimal parallel algorithms are known for merging two sorted arrays (for p ~<n/log n on a PRAM); merging can be done in constant time even by a PRAM with n 1+~ processors (Schiloach and Vishkin, 1981) and in time loglog n with n processors (Valiant, 1975; Shiloach and Vishkin, 1981). Recently, optimal parallel algorithms were designed for the problem of converting an expression to its parse tree (Bar-On and Vishkin, 1983) and for selection (Vishkin, 1983). What is common to all these problems except selection is that for each one of them there is a trivial (sequential) underlying linear-time algorithm. In this paper we design optimal parallel algorithms for string matching. The linear-time algorithm for string matching is by now very well understood, but at one time it was quite a major discovery. Unlike the case of computing n-variable functions (where it is trivial) and merging (where it is quite simple) designing optimal parallel algorithms for string matching was not immediate. As for the problems mentioned above, we designed other parallel algorithms that perform string matching on WRAM in constant time with only n 1+~ processors. As in the cases above the time is proportional to 1/e. If only n processors are available the time needed is O(log n/log log n). The families of algorithms we design have several appealing features: 1. They are not derived from any of the variants of the linear-time sequential algorithms (Knuth, Morris, and Pratt, 1977; Boyer and Moore, 1977). The latter do not seem to be parallelizable, because they sequentially construct tables which are used sequentially. So, even given the tables for free does not seem to help much. Two known algorithms are parallelizable but do not yield optimal parallel algorithms: the O(n log n) algorithm in 146 zvI GALIL (Karp, Miller, and Rosenberg, 1972) yields tp=O(nlog2n) and the probabilistic linear-time algorithm in (Karp and Rabin, 1980) yields a probabilistic family with tp = O(n log n). 2. The algorithms we design are all derived from one algorithm: it is an algorithm for WRAM with p = O(n) and t = O(log n) for the case that the text is twice as long as the pattern. 3. The algorithms make use of properties of periodicities in strings derived from the periodicity lemma which states that two different periodicities cannot co-exist too long (if they do, then there is a common refinement). Similar properties were used in a different way to design a linear-time algorithm for string matching which uses only a constant num- ber (five) of registers (Galil and Seiferas, 1983). Therefore, we may have here an example of a relationship between space complexity in sequential computation and parallel time in the lowest level. 4. As in the algorithm in Galil and Seiferas (1983), it is possible to write a very short program (for each processor), but a longer explanation is needed mainly because the algorithm implicitly uses properties of periodicities several times. 5. The algorithms use what seems to be a novel method of com- munication among the various processors, as will be indicated below. String matching is the following problem. The input consists of two strings, x (the pattern) and y (the text), over a given alphabet of a fixed size. The output is a Boolean array indicating all the occurrences of x in y. In Section 2 we prove several simple facts about periodicities of strings used by the algorithm. In Section 3 we sketch the main algorithm, which is not optimal (p= O(n), t=O(log n)) and only deals with a special case (1 y[ = 2 Ix[ ). In Section 4 we complete the details of the algorithm. In Sec- tion 5 we show how the four families of parallel algorithms mentioned in the abstract above are derived from the main algorithm. In Section 6 we briefly discuss other models of parallel computation and the problem of finding all initial palindromes of a given string. 2. PERIODICITY IN STRINGS A string u is a period of a string w if w is a prefix of u k for some k or equivalently if w is a prefix of uw. We call the shortest period of a string w the period of w. Thus a is the period of aaaaaaa while aa, aa, etc. are also periods of w. We say that w has period size P if the length of the period of w is P. If w is at least twice as long as its period we say that w is periodic. We will consider prefixes of the pattern x of increasing length. Assume we consider a prefix u and then a longer prefix v. In the case that u is OPTIMUM PARALLEL ALGORITHMS 147 periodic we will say that the periodicity continues in v if the period of v is the same as the period of u (e.g., u = abcabcab, v = abcabcabcabcabca) and that the periodicity terminates otherwise (e.g., the same u, v=abcab- eabed... ). We will need some simple facts about periodicities. FACT 1 (The periodicity lemma, Lyndon and Schutzenberger, 1962). If w has two periods of size P and Q and [w] >>.P+Q, then w has a period of size gcd(P, Q). For a one-line proof see Galil and Seiferas (1983). In the rest of this section let z be a given fixed string. An occurrence of v at j will mean an occurrance of v at position j in z (i.e., starting with zj). FACT 2. If v Occurs at j and j+ [~, [~ <~ Iv[/2, then (1) v is periodic with a period of length fi, and (2) v occurs ar j+ P, where P is the period size of V. The first half of Fact 2 follows from the laternative definition of period (u is a period of w if w is a prefix of uw).
Recommended publications
  • Tarjan Transcript Final with Timestamps
    A.M. Turing Award Oral History Interview with Robert (Bob) Endre Tarjan by Roy Levin San Mateo, California July 12, 2017 Levin: My name is Roy Levin. Today is July 12th, 2017, and I’m in San Mateo, California at the home of Robert Tarjan, where I’ll be interviewing him for the ACM Turing Award Winners project. Good afternoon, Bob, and thanks for spending the time to talk to me today. Tarjan: You’re welcome. Levin: I’d like to start by talking about your early technical interests and where they came from. When do you first recall being interested in what we might call technical things? Tarjan: Well, the first thing I would say in that direction is my mom took me to the public library in Pomona, where I grew up, which opened up a huge world to me. I started reading science fiction books and stories. Originally, I wanted to be the first person on Mars, that was what I was thinking, and I got interested in astronomy, started reading a lot of science stuff. I got to junior high school and I had an amazing math teacher. His name was Mr. Wall. I had him two years, in the eighth and ninth grade. He was teaching the New Math to us before there was such a thing as “New Math.” He taught us Peano’s axioms and things like that. It was a wonderful thing for a kid like me who was really excited about science and mathematics and so on. The other thing that happened was I discovered Scientific American in the public library and started reading Martin Gardner’s columns on mathematical games and was completely fascinated.
    [Show full text]
  • The Best Nurturers in Computer Science Research
    The Best Nurturers in Computer Science Research Bharath Kumar M. Y. N. Srikant IISc-CSA-TR-2004-10 http://archive.csa.iisc.ernet.in/TR/2004/10/ Computer Science and Automation Indian Institute of Science, India October 2004 The Best Nurturers in Computer Science Research Bharath Kumar M.∗ Y. N. Srikant† Abstract The paper presents a heuristic for mining nurturers in temporally organized collaboration networks: people who facilitate the growth and success of the young ones. Specifically, this heuristic is applied to the computer science bibliographic data to find the best nurturers in computer science research. The measure of success is parameterized, and the paper demonstrates experiments and results with publication count and citations as success metrics. Rather than just the nurturer’s success, the heuristic captures the influence he has had in the indepen- dent success of the relatively young in the network. These results can hence be a useful resource to graduate students and post-doctoral can- didates. The heuristic is extended to accurately yield ranked nurturers inside a particular time period. Interestingly, there is a recognizable deviation between the rankings of the most successful researchers and the best nurturers, which although is obvious from a social perspective has not been statistically demonstrated. Keywords: Social Network Analysis, Bibliometrics, Temporal Data Mining. 1 Introduction Consider a student Arjun, who has finished his under-graduate degree in Computer Science, and is seeking a PhD degree followed by a successful career in Computer Science research. How does he choose his research advisor? He has the following options with him: 1. Look up the rankings of various universities [1], and apply to any “rea- sonably good” professor in any of the top universities.
    [Show full text]
  • Lecture Notes in Computer Science
    D. Dolev Z. Galil M. Rodeh (Eds.) Theory of Computing and Systems ISTCS '92, Israel Symposium Haifa, Israel, May 27-28, 1992 Proceedings Springer-Verlag Berlin Heidelberg NewYork London Paris Tokyo Hong Kong Barcelona Budapest Series Editors Gerhard Goos Juris Hartmanis Universit~it Karlsruhe Department of Computer Science Postfach 69 80 Cornell University Vincenz-Priessnitz-Stral3e 1 5149 Upson Hall W-7500 Karlsruhe, FRG Ithaca, NY 14853, USA Volume Editors Danny Dolev Hebrew University Givat Ram, Jerusalem, Israel Zvi Galil Columbia University, New York, NY 10027, USA and Tel Aviv University Ramat Aviv, Tel Aviv, Israel Michael Rodeh IBM Israel Ltd., Science and Technology, Technion City Haifa 32000, Israel CR Subject Classification (1991): F.1-4, B.3, C.2, G.1-2, 1.1, E.4, D.2-3 ISBN 3-540-55553-6 Springer-Verlag Berlin Heidelberg New York ISBN 0-387-55553-6 Springer-Verlag New York Berlin Heidelberg This work is subject to copyright. All rights are reserved, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, re-use of illustrations, recitation, broadcasting, reproduction on microfilms or in any other way, and storage in data banks. Duplication of this publication or parts thereof is permitted only under the provisions of the German Copyright Law of September 9, 1965, in its current version, and permission for use must always be obtained from Springer-Verlag. Violations are liable for prosecution under the German Copyright Law. Springer-Verlag Berlin Heidelberg 1992 Printed in Germany Typesetting: Camera ready by author/editor Printing and binding: Druckhaus Beltz, Hemsbach/Bergstr.
    [Show full text]
  • Sparsification–A Technique for Speeding up Dynamic Graph Algorithms
    Sparsification–A Technique for Speeding Up Dynamic Graph Algorithms DAVID EPPSTEIN University of California, Irvine, Irvine, California ZVI GALIL Columbia University, New York, New York GIUSEPPE F. ITALIANO Universita` “Ca’ Foscari” di Venezia, Venice, Italy AND AMNON NISSENZWEIG Tel-Aviv University, Tel-Aviv, Israel Abstract. We provide data structures that maintain a graph as edges are inserted and deleted, and keep track of the following properties with the following times: minimum spanning forests, graph connectivity, graph 2-edge connectivity, and bipartiteness in time O(n1/2) per change; 3-edge connectivity, in time O(n2/3) per change; 4-edge connectivity, in time O(na(n)) per change; k-edge connectivity for constant k, in time O(nlogn) per change; 2-vertex connectivity, and 3-vertex connectivity, in time O(n) per change; and 4-vertex connectivity, in time O(na(n)) per change. A preliminary version of this paper was presented at the 33rd Annual IEEE Symposium on Foundations of Computer Science (Pittsburgh, Pa.), 1992. D. Eppstein was supported in part by National Science Foundation (NSF) Grant CCR 92-58355. Z. Galil was supported in part by NSF Grants CCR 90-14605 and CDA 90-24735. G. F. Italiano was supported in part by the CEE Project No. 20244 (ALCOM-IT) and by a research grant from Universita` “Ca’ Foscari” di Venezia; most of his work was done while at IBM T. J. Watson Research Center. Authors’ present addresses: D. Eppstein, Department of Information and Computer Science, University of California, Irvine, CA 92717, e-mail: [email protected], internet: http://www.ics.
    [Show full text]
  • Efficient Algorithms for Finding Maximum Matching in Graphs
    Efficient Algorithms for Finding Maximum Matching in Graphs ZVI GALIL Department of Computer Science, Columbia University, New York, N. Y., 10027 and Tel-Aviv University, Tel-Aviv, Israel This paper surveys the techniques used for designing the most efficient algorithms for finding a maximum cardinality or weighted matching in (general or bipartite) graphs. It also lists some open problems concerning possible improvements in existing algorithms and the existence of fast parallel algorithms for these problems. Categories and Subject Descriptors: F.2.2 [Analysis of Algorithms and Problem Complexity]: Nonnumerical Algorithms and Problems-computation on discrete structures; G.2.2 [Discrete Mathematics]: Graph Theory-graph algorithms General Terms: Algorithms, Theory, Verification Additional Key Words and Phrases: Algorithmic tools, the asexual case, assignment problem, augmenting path, blossoms, data structures, d-heap, duality, ET, generalized priority queue, Main Theorem of Botany, matching, monsters, moonlighting, polygamy, primal-dual method, shmathematics, shrink, warm-up INTRODUCTION tools are “divide and conquer” and dynamic There are no recipes for designing efficient programming [Aho et al. 19741. Alterna- algorithms. This is somewhat unfortunate tively, we may try to find a way to reduce from the point of view of applications: Any the number of steps in the original algo- time we have to design an algorithm, we rithm by finding a better way to organize may have to start (almost) from scratch. the information. However, it is fortunate from the point of (c) Data Structures. Sometimes we can view of researchers: It is unlikely that we speed up an algorithm by using an efficient are going to run out of problems or chal- data structure that supports the primitive lenges.
    [Show full text]
  • Giuseppe F. Italiano
    Giuseppe F. Italiano Dipartimento di Ingegneria Civile e Ingegneria Informatica +39-06-72597394 Università di Roma “Tor Vergata” Fax +39-06-72597460 via del Politecnico 1 [email protected] 00133 Roma, Italy http://people.uniroma2.it/giuseppe.italiano/ RESEARCH INTERESTS My interests are in the design, analysis, implementation and experimental evaluation of algorithms and data structures. My research areas include algorithm engineering, combinatorial algorithms, computer security, graph algorithms and string algorithms. PERSONAL Born on March 16, 1961 in Italy. Italian Citizen. Married plus four. Enjoy running. EDUCATION 1988 - 91 Ph.D. in Computer Science. Columbia University, New York, NY. Thesis Advisor: Prof. Zvi Galil. Thesis Title: “Dynamic data structures for graphs”. 1990 M.Phil. Columbia University, New York, NY. 1987 - 88 M.Sc. in Computer Science. Columbia University, New York, NY. 1979 - 85 Laurea summa cum laude in Electrical Engineering. University of Rome “La Sapienza”, Roma, Italy. Thesis Advisor: Prof. Giorgio Ausiello. EMPLOYMENT 1998 - Professor of Computer Science. University of Rome “Tor Vergata”, Italy. 2004 - 12 Chair of the Department of Computer Science, Systems and Production. University of Rome “Tor Vergata”. 1995 - 98 Professor of Computer Science. University of Venice “Ca’ Foscari”, Italy. 1994 - 95 Professor of Computer Science. University of Salerno, Italy. 1991 - 95 Research Staff Member. IBM Research Division, T.J. Watson Research Center, Com- munication Systems Department. 1989 - 94 Assistant Professor. University of Rome “La Sapienza”, Italy. OTHER APPOINTMENTS 2017 - Panel Member for Mathematics, Statistics and Computer Science. Danish Council for Independent Research (DFF). 2013 - Vice-Rector for Quality, Evaluation and Performance. University of Rome “Tor Ver- gata".
    [Show full text]
  • Secure Fault-Tolerant Protocols and the Public-Key Model
    Cryptographic Computation: Secure Fault-Tolerant Protocols and the Public-Key Model (Extended Abstract) Zvi Galil'. 2* Stuart Habedl Moti Yung'r 3*4 Department of Computer Science, Columbia University Department of Computer Science, Tei Aviv University We give a general procedure for designing correct, secure, and fault-tolerant cryptographic protocols for many parties, thus enlarging the domain of tasks that can be performed efficiently by cryptographic means. We model the most general sort of feasible adversarial behavior, and describe fault-recovery procedures that can tolerate it. Our constructions minimize the use of cryptographic resources. By applying the complexity-theoretic approach to knowledge, we are able to measure and control the computational knowledge released to the various users, as well as its temporal availability. Supported in part by NSF grants MCS-8303139 and DCR-8511713. Supported in part by an IBM graduate fellowship. C. Pomerance (Ed.): Advances in Cryptology - CRYPT0 '87, LNCS 293, pp. 135-155, 1988. 0 Springer-Verlag Berlin Heidelberg 1988 136 s-rg An important area of research in cryptography is the design of protocols for cawing on certain uansactions in a communications network, such as playing poker or holding an election. Many of the pr~tocolsproposed in this area have required the expensive on-line generation of a large number of new keys. On the other hand, fundamental research in the traditional problems of cryptography, such as encryption and authentication, has developed the public-key model, in which each user has a single validated public key. This model is appropriate to those situations in which generation and validation of new keys is very costly or is othewise limited.
    [Show full text]
  • Curriculum Vitae for Matt Franklin
    Curriculum Vitae for Matt Franklin Education Feb 1994 Ph.D. in Computer Science, Columbia University, New York, NY. Thesis Advisors: Zvi Galil, Moti Yung. Thesis: Efficiency and Security of Distributed Protocols. May 1985 M.A. in Mathematics, University of California, Berkeley, CA. Thesis Advisors: Elwyn Berlekamp, Gilles Brassard. Thesis: Mathematical Investigations of the Data Encryption Standard. May 1983 B.A. in Mathematics, Pomona College, Claremont, CA. Recent Professional Experience July 2000-present U. C. Davis, CS Dept (Professor 2004, Assoc Prof 2002). 1998-2000 Xerox PARC, Palo Alto, CA, Member of Research Staff. 1994-98 AT&T Research (aka Bell Labs), Principal Technical Staff Member. Fellowships and Awards Godel Prize (2013), ACM SIGACT / EATCS. Packard Foundation Fellowship in Science and Engineering (2001-08). NSF CAREER Award (2001-06). AT&T Bell Labs Ph.D. Scholar (1990-94). Editorial Boards J. Cryptology 2000-present (Editor in Chief 2009-14); J. Computer Security 2001-08; IET Information Security 2005-08; Int. J. Inf. and Comp. Security 2006-08; Int. J. Applied Crypto 2007-08; Int. J. Security and Networks 2006-08. Conference Chairs CANS 2008 (Co-Chair); Crypto 2004 (Chair); Financial Crypto 1999 (Chair). Program Committees Mathematical Foundations of Computer Science (2015); Crypto (2008,2007,2002,1998); Eurocrypt (2006, 2001); Asiacrypt (2002); Theory of Cryptography (2009); Public Key Cryptography (2008); Finan- cial Crypto (2001,1998,1997); ACM Security (1999,1996); Computer Secu- rity Foundations (2000); Selected Areas in Cryptography (2001); ACM E- Commerce (2001); Network and Distributed Systems Security (2003); ACM Digital Rights Management (2003), ICDCS Security Track (2005), ICALP Crypto/Security Track (2005).
    [Show full text]
  • Dynamic Approximate Vertex Cover and Maximum Matching
    Dynamic Approximate Vertex Cover and Maximum Matching The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation Onak, Krzysztof, and Ronitt Rubinfeld. “Dynamic Approximate Vertex Cover and Maximum Matching.” Property Testing. Ed. Oded Goldreich. LNCS Vol. 6390. Berlin, Heidelberg: Springer Berlin Heidelberg, 2010. 341–345. As Published http://dx.doi.org/10.1007/978-3-642-16367-8_28 Publisher Springer Berlin / Heidelberg Version Author's final manuscript Citable link http://hdl.handle.net/1721.1/73896 Terms of Use Creative Commons Attribution-Noncommercial-Share Alike 3.0 Detailed Terms http://creativecommons.org/licenses/by-nc-sa/3.0/ Dynamic Approximate Vertex Cover and Maximum Matching Krzysztof Onak∗ Ronitt Rubinfeld† MIT MIT, Tel Aviv University [email protected] [email protected] February 15, 2010 Abstract We consider the problem of maintaining a large matching or a small vertex cover in a dynam- ically changing graph. Each update to the graph is either an edge deletion or an edge insertion. We give the first data structure that simultaneously achieves a constant approximation factor and handles a sequence of k updates in k polylog(n) time. Previous data structures require a polynomial amount of computation per update.· The starting point of our construction is a distributed algorithm of Parnas and Ron (Theor. Comput. Sci. 2007), which they designed for their sublinear-time approximation algorithm for the vertex cover size. This leads us to wonder whether there are other connections between sublinear algorithms and dynamic data structures. 1 Introduction Suppose one is given the task of solving a combinatorial problem, such as maximum matching or minimum vertex cover, for a very large and constantly changing graph.
    [Show full text]
  • Herzliya Conference February 2-4, 2009 Policy, Statecraft and Leadership for Trying Times
    on the Balance of Israel’s National Security Conference Conclusions The Ninth Herzliya Conference February 2-4, 2009 Policy, Statecraft and Leadership for Trying Times Institute for Policy and Strategy Lauder School of Government, Diplomacy & Strategy The Interdisciplinary Center (IDC) Herzliya Table Of Contents 1 About the Herzliya Conference 9 Conference Conclusions 10 Preface 12 Strategic Trends for Israel 17 The World Order: A Multiple-Crisis Global Arena 26 The Middle East: Regional Issues and Key Players 31 Israel’s Global and Regional Security and Political Challenges 39 Israel and Jewish Peoplehood: Reinforcing the National Resilience 41 Israel in the Global Era: Challenges at Home 49 Conference Program 54 About IDC & IPS 57 Conference Participants 66 Acknowledgments About the Herzliya Conference 1 HERZLIYA | 2009 Israel’s premier global policy gathering, the Herzliya Conference exclusively draws together international and Israeli participants from the highest levels of government, business and academia to address the most pressing national, regional and global issues. The Conference offers leaders timely and authoritative assessments and policy recommendations needed to guide their organizations through the challenging geopolitical, economic and social developments. Harnessing path-breaking methodologies, the Conference’s task force reports and the commissioned studies present an accurate, coherent, continuous and comprehensive picture of the region and the world. Strategic and political processes and events emanating from an ever-turbulent Middle East increasingly impact the global arena. Shaping the regional and international policy debates and directly influencing decision-making, the deliberations at Herzliya cover a broad span of issues, ranging from nuclear proliferation and the Middle East peace process to world finance, energy security and global warming.
    [Show full text]
  • Minimum-Knowledge Interactive Proofs for Decision Problems*
    SIAM J. COMPUT. (C) 1989 Society for Industrial and Applied Mathematics Vol. 18, No. 4, pp. 711-739, August 1989 0O6 MINIMUM-KNOWLEDGE INTERACTIVE PROOFS FOR DECISION PROBLEMS* ZVI GALIL'?, STUART HABER$, AND MOTI YUNG Abstract. Interactive communication of knowledge from the point of view of resource-bounded compu- tational complexity is studied. Extending the work of Goldwasser, Micali, and Rackoff [Proc. 17th Annual ACM Symposium on the Theory of Computing, 1985, pp. 291-304; SIAM J. Comput., 18 (1989), pp. 186-208], the authors define a protocol transferring the result of any fixed computation to be minimum-knowledge if it communicates no additional knowledge to the recipient besides the intended computational result. It is proved that such protocols may be combined in a natural way so as to build more complex protocols. A protocol is introduced for two parties, a prover and a verifier, with the following properties: (1) Following the protocol, the prover gives to the verifier a proof of the value, 0 or 1, of a particular Boolean predicate, which is (assumed to be) hard for the verifier to compute. Such a deciding "interactive proof-system" extends the interactive proof-systems of [op. cit.], which are used only to confirm that a certain predicate has value 1. (2) The protocol is minimum-knowledge. (3) The protocol is result-indistinguishable: an eavesdropper, overhearing an execution of the protocol, does not learn the value of the predicate that is proved. The value of the predicate is a cryptographically secure bit, shared by the two parties to the protocol. This security is achieved without the use of encryption functions, all messages being sent in the clear.
    [Show full text]
  • BRIDGE Linking Engin Ee Ring and Soci E T Y
    Spring 2007 The BRIDGE LINKING ENGIN ee RING AND SOCI E TY Lessons from Hurricane Katrina John T. Christian Effects of the 2004 Sumatra-Andaman Earthquake and Indian Ocean Tsunami in Aceh Province Lloyd S. Cluff Engineering Research for Non-Engineered Buildings Melvyn Green Critical Infrastructure, Interdependencies, and Resilience T.D. O’Rourke Building a Resilient Organization Yossi Sheffi Promoting the technological welfare of the nation by marshalling the knowledge and insights of eminent members of the engineering profession. The BRIDGE NATIONAL ACADEMY OF EnGINEERING Craig R. Barrett, Chair Wm. A. Wulf, President Maxine L. Savitz, Vice President W. Dale Compton, Home Secretary George Bugliarello, Foreign Secretary William L. Friend, Treasurer Editor in Chief (interim): George Bugliarello Managing Editor: Carol R. Arenberg Production Assistant: Penelope Gibbs The Bridge (USPS 551-240) is published quarterly by the National Academy of Engineering, 2101 Constitution Avenue, N.W., Washington, DC 20418. Periodicals postage paid at Washington, DC. Vol. 37, No. 1, Spring 2007 Postmaster: Send address changes to The Bridge, 2101 Constitution Avenue, N.W., Washington, DC 20418. Papers are presented in The Bridge on the basis of general interest and time- liness. They reflect the views of the authors and not necessarily the position of the National Academy of Engineering. The Bridge is printed on recycled paper. © 2007 by the National Academy of Sciences. All rights reserved. Erratum In “The Changing Face of Engineering Education” (pp. 5–13) in the summer 2006 issue, the line at the bottom of Figures 4, 5, and 6 should read “5 point scale, where 1 = no ability and 5 = high ability.” A complete copy of The Bridge is available in PDF format at http://www.nae.edu/TheBridge.
    [Show full text]