Dspace Manual at This Point, You Should Have a Completely Empty, but Fully-Functional Dspace Installation

Total Page:16

File Type:pdf, Size:1020Kb

Dspace Manual at This Point, You Should Have a Completely Empty, but Fully-Functional Dspace Installation DSpace 6.x Documentation DSpace 6.x Documentation Author: The DSpace Developer Team Date: 08 September 2017 URL: https://wiki.duraspace.org/display/DSDOC6x Page 1 of 904 DSpace 6.x Documentation Table of Contents 1 Introduction ___________________________________________________________________________ 7 1.1 Release Notes ____________________________________________________________________ 8 1.1.1 6.2 Release Notes ___________________________________________________________ 8 1.1.2 6.1 Release Notes ___________________________________________________________ 9 1.1.3 6.0 Release Notes __________________________________________________________ 11 1.2 Functional Overview _______________________________________________________________ 19 1.2.1 Online access to your digital assets ____________________________________________ 20 1.2.2 Metadata Management ______________________________________________________ 22 1.2.3 Licensing _________________________________________________________________ 24 1.2.4 Persistent URLs and Identifiers ________________________________________________ 25 1.2.5 Getting content into DSpace __________________________________________________ 27 1.2.6 Getting content out of DSpace ________________________________________________ 30 1.2.7 User Management __________________________________________________________ 32 1.2.8 Access Control ____________________________________________________________ 33 1.2.9 Usage Metrics _____________________________________________________________ 34 1.2.10 Digital Preservation ________________________________________________________ 36 1.2.11 System Design ___________________________________________________________ 37 2 Installing DSpace ______________________________________________________________________ 40 2.1 For the Impatient _________________________________________________________________ 41 2.2 Hardware Recommendations ________________________________________________________ 41 2.3 Prerequisite Software ______________________________________________________________ 41 2.3.1 UNIX-like OS or Microsoft Windows ____________________________________________ 42 2.3.2 Java JDK 7 or 8 (OpenJDK or Oracle JDK) ______________________________________ 42 2.3.3 Apache Maven 3.0.5 or above (3.3.9+)* (Java build tool) ____________________________ 43 2.3.4 Apache Ant 1.8 or later (Java build tool) _________________________________________ 44 2.3.5 Relational Database: (PostgreSQL or Oracle) ____________________________________ 44 2.3.6 Servlet Engine (Apache Tomcat 7 or later, Jetty, Caucho Resin or equivalent) ___________ 46 2.4 Installation Instructions _____________________________________________________________ 48 2.4.1 Overview of Install Options ___________________________________________________ 48 2.4.2 Overview of DSpace Directories _______________________________________________ 49 2.4.3 Installation ________________________________________________________________ 49 2.5 Advanced Installation ______________________________________________________________ 59 2.5.1 'cron' jobs / scheduled tasks __________________________________________________ 59 2.5.2 Multilingual Installation ______________________________________________________ 59 2.5.3 DSpace over HTTPS ________________________________________________________ 60 2.5.4 The Handle Server _________________________________________________________ 65 2.5.5 Google and HTML sitemaps __________________________________________________ 69 2.5.6 Statistics _________________________________________________________________ 70 2.6 Windows Installation _______________________________________________________________ 70 08-Sep-2017 https://wiki.duraspace.org/display/DSDOC6x Page 2 of 904 DSpace 6.x Documentation 2.7 Checking Your Installation __________________________________________________________ 70 2.8 Known Bugs _____________________________________________________________________ 70 2.9 Common Problems ________________________________________________________________ 71 2.9.1 Common Installation Issues __________________________________________________ 71 2.9.2 General DSpace Issues _____________________________________________________ 72 3 Upgrading DSpace ____________________________________________________________________ 74 3.1 Release Notes / Significant Changes __________________________________________________ 75 3.2 Backup your DSpace ______________________________________________________________ 77 3.3 Update Prerequisite Software (as necessary) ___________________________________________ 77 3.4 Upgrade Steps ___________________________________________________________________ 78 3.5 Troubleshooting Upgrade Issues _____________________________________________________ 85 3.5.1 "Ignored" Flyway Migrations __________________________________________________ 85 3.5.2 Manually Upgrading Solr Indexes ______________________________________________ 86 4 Using DSpace ________________________________________________________________________ 88 4.1 Authentication and Authorization _____________________________________________________ 88 4.1.1 Authentication Plugins _______________________________________________________ 88 4.1.2 Embargo ________________________________________________________________ 110 4.1.3 Managing User Accounts ___________________________________________________ 131 4.1.4 Request a Copy __________________________________________________________ 135 4.2 Exporting Content and Metadata ____________________________________________________ 144 4.2.1 OAI ____________________________________________________________________ 144 4.2.2 Exchanging Content Between Repositories _____________________________________ 163 4.2.3 SWORDv1 Client _________________________________________________________ 164 4.2.4 Linked (Open) Data ________________________________________________________ 165 4.3 Ingesting Content and Metadata ____________________________________________________ 177 4.3.1 Submission User Interface __________________________________________________ 178 4.3.2 Configurable Workflow _____________________________________________________ 220 4.3.3 Importing and Exporting Content via Packages __________________________________ 234 4.3.4 Importing and Exporting Items via Simple Archive Format __________________________ 241 4.3.5 Registering Bitstreams via Simple Archive Format ________________________________ 254 4.3.6 Importing Items via basic bibliographic formats (Endnote, BibTex, RIS, TSV, CSV) and online services (OAI, arXiv, PubMed, CrossRef, CiNii) ___________________________________________ 257 4.3.7 Importing Community and Collection Hierarchy __________________________________ 268 4.3.8 SWORDv1 Server _________________________________________________________ 270 4.3.9 SWORDv2 Server _________________________________________________________ 277 4.3.10 Ingesting HTML Archives __________________________________________________ 288 4.4 Items and Metadata ______________________________________________________________ 289 4.4.1 Authority Control of Metadata Values __________________________________________ 289 4.4.2 Batch Metadata Editing _____________________________________________________ 293 4.4.3 DOI Digital Object Identifier __________________________________________________ 302 4.4.4 Item Level Versioning ______________________________________________________ 313 4.4.5 Mapping Items ____________________________________________________________ 323 4.4.6 Metadata Recommendations ________________________________________________ 325 08-Sep-2017 https://wiki.duraspace.org/display/DSDOC6x Page 3 of 904 DSpace 6.x Documentation 4.4.7 Moving Items _____________________________________________________________ 326 4.4.8 ORCID Integration _________________________________________________________ 327 4.4.9 PDF Citation Cover Page ___________________________________________________ 340 4.4.10 Updating Items via Simple Archive Format _____________________________________ 343 4.5 Managing Community Hierarchy ____________________________________________________ 346 4.5.1 Sub-Community Management _______________________________________________ 346 4.6 Statistics and Metrics _____________________________________________________________ 348 4.6.1 DSpace Google Analytics Statistics ___________________________________________ 348 4.6.2 Elasticsearch Usage Statistics _______________________________________________ 350 4.6.3 SOLR Statistics ___________________________________________________________ 354 4.7 User Interfaces __________________________________________________________________ 380 4.7.1 Discovery _______________________________________________________________ 380 4.7.2 Localization L10n _________________________________________________________ 403 4.7.3 JSPUI Configuration and Customization ________________________________________ 408 4.7.4 XMLUI Configuration and Customization _______________________________________ 411 5 System Administration _________________________________________________________________ 480 5.1 Introduction to DSpace System Administration _________________________________________ 480 5.2 AIP Backup and Restore __________________________________________________________ 481 5.2.1 Background & Overview ____________________________________________________ 482 5.2.2 Running the Code _________________________________________________________ 487 5.2.3 Command Line Reference __________________________________________________ 500 5.2.4 Configuration in 'dspace.cfg' _________________________________________________
Recommended publications
  • Database Theory
    DATABASE THEORY Lecture 4: Complexity of FO Query Answering Markus Krotzsch¨ TU Dresden, 21 April 2016 Overview 1. Introduction | Relational data model 2. First-order queries 3. Complexity of query answering 4. Complexity of FO query answering 5. Conjunctive queries 6. Tree-like conjunctive queries 7. Query optimisation 8. Conjunctive Query Optimisation / First-Order Expressiveness 9. First-Order Expressiveness / Introduction to Datalog 10. Expressive Power and Complexity of Datalog 11. Optimisation and Evaluation of Datalog 12. Evaluation of Datalog (2) 13. Graph Databases and Path Queries 14. Outlook: database theory in practice See course homepage [) link] for more information and materials Markus Krötzsch, 21 April 2016 Database Theory slide 2 of 41 How to Measure Query Answering Complexity Query answering as decision problem { consider Boolean queries Various notions of complexity: • Combined complexity (complexity w.r.t. size of query and database instance) • Data complexity (worst case complexity for any fixed query) • Query complexity (worst case complexity for any fixed database instance) Various common complexity classes: L ⊆ NL ⊆ P ⊆ NP ⊆ PSpace ⊆ ExpTime Markus Krötzsch, 21 April 2016 Database Theory slide 3 of 41 An Algorithm for Evaluating FO Queries function Eval(', I) 01 switch (') f I 02 case p(c1, ::: , cn): return hc1, ::: , cni 2 p 03 case : : return :Eval( , I) 04 case 1 ^ 2 : return Eval( 1, I) ^ Eval( 2, I) 05 case 9x. : 06 for c 2 ∆I f 07 if Eval( [x 7! c], I) then return true 08 g 09 return false 10 g Markus Krötzsch, 21 April 2016 Database Theory slide 4 of 41 FO Algorithm Worst-Case Runtime Let m be the size of ', and let n = jIj (total table sizes) • How many recursive calls of Eval are there? { one per subexpression: at most m • Maximum depth of recursion? { bounded by total number of calls: at most m • Maximum number of iterations of for loop? { j∆Ij ≤ n per recursion level { at most nm iterations I • Checking hc1, ::: , cni 2 p can be done in linear time w.r.t.
    [Show full text]
  • Interactive Proof Systems and Alternating Time-Space Complexity
    Theoretical Computer Science 113 (1993) 55-73 55 Elsevier Interactive proof systems and alternating time-space complexity Lance Fortnow” and Carsten Lund** Department of Computer Science, Unicersity of Chicago. 1100 E. 58th Street, Chicago, IL 40637, USA Abstract Fortnow, L. and C. Lund, Interactive proof systems and alternating time-space complexity, Theoretical Computer Science 113 (1993) 55-73. We show a rough equivalence between alternating time-space complexity and a public-coin interactive proof system with the verifier having a polynomial-related time-space complexity. Special cases include the following: . All of NC has interactive proofs, with a log-space polynomial-time public-coin verifier vastly improving the best previous lower bound of LOGCFL for this model (Fortnow and Sipser, 1988). All languages in P have interactive proofs with a polynomial-time public-coin verifier using o(log’ n) space. l All exponential-time languages have interactive proof systems with public-coin polynomial-space exponential-time verifiers. To achieve better bounds, we show how to reduce a k-tape alternating Turing machine to a l-tape alternating Turing machine with only a constant factor increase in time and space. 1. Introduction In 1981, Chandra et al. [4] introduced alternating Turing machines, an extension of nondeterministic computation where the Turing machine can make both existential and universal moves. In 1985, Goldwasser et al. [lo] and Babai [l] introduced interactive proof systems, an extension of nondeterministic computation consisting of two players, an infinitely powerful prover and a probabilistic polynomial-time verifier. The prover will try to convince the verifier of the validity of some statement.
    [Show full text]
  • On the Randomness Complexity of Interactive Proofs and Statistical Zero-Knowledge Proofs*
    On the Randomness Complexity of Interactive Proofs and Statistical Zero-Knowledge Proofs* Benny Applebaum† Eyal Golombek* Abstract We study the randomness complexity of interactive proofs and zero-knowledge proofs. In particular, we ask whether it is possible to reduce the randomness complexity, R, of the verifier to be comparable with the number of bits, CV , that the verifier sends during the interaction. We show that such randomness sparsification is possible in several settings. Specifically, unconditional sparsification can be obtained in the non-uniform setting (where the verifier is modelled as a circuit), and in the uniform setting where the parties have access to a (reusable) common-random-string (CRS). We further show that constant-round uniform protocols can be sparsified without a CRS under a plausible worst-case complexity-theoretic assumption that was used previously in the context of derandomization. All the above sparsification results preserve statistical-zero knowledge provided that this property holds against a cheating verifier. We further show that randomness sparsification can be applied to honest-verifier statistical zero-knowledge (HVSZK) proofs at the expense of increasing the communica- tion from the prover by R−F bits, or, in the case of honest-verifier perfect zero-knowledge (HVPZK) by slowing down the simulation by a factor of 2R−F . Here F is a new measure of accessible bit complexity of an HVZK proof system that ranges from 0 to R, where a maximal grade of R is achieved when zero- knowledge holds against a “semi-malicious” verifier that maliciously selects its random tape and then plays honestly.
    [Show full text]
  • Week 1: an Overview of Circuit Complexity 1 Welcome 2
    Topics in Circuit Complexity (CS354, Fall’11) Week 1: An Overview of Circuit Complexity Lecture Notes for 9/27 and 9/29 Ryan Williams 1 Welcome The area of circuit complexity has a long history, starting in the 1940’s. It is full of open problems and frontiers that seem insurmountable, yet the literature on circuit complexity is fairly large. There is much that we do know, although it is scattered across several textbooks and academic papers. I think now is a good time to look again at circuit complexity with fresh eyes, and try to see what can be done. 2 Preliminaries An n-bit Boolean function has domain f0; 1gn and co-domain f0; 1g. At a high level, the basic question asked in circuit complexity is: given a collection of “simple functions” and a target Boolean function f, how efficiently can f be computed (on all inputs) using the simple functions? Of course, efficiency can be measured in many ways. The most natural measure is that of the “size” of computation: how many copies of these simple functions are necessary to compute f? Let B be a set of Boolean functions, which we call a basis set. The fan-in of a function g 2 B is the number of inputs that g takes. (Typical choices are fan-in 2, or unbounded fan-in, meaning that g can take any number of inputs.) We define a circuit C with n inputs and size s over a basis B, as follows. C consists of a directed acyclic graph (DAG) of s + n + 2 nodes, with n sources and one sink (the sth node in some fixed topological order on the nodes).
    [Show full text]
  • The Complexity Zoo
    The Complexity Zoo Scott Aaronson www.ScottAaronson.com LATEX Translation by Chris Bourke [email protected] 417 classes and counting 1 Contents 1 About This Document 3 2 Introductory Essay 4 2.1 Recommended Further Reading ......................... 4 2.2 Other Theory Compendia ............................ 5 2.3 Errors? ....................................... 5 3 Pronunciation Guide 6 4 Complexity Classes 10 5 Special Zoo Exhibit: Classes of Quantum States and Probability Distribu- tions 110 6 Acknowledgements 116 7 Bibliography 117 2 1 About This Document What is this? Well its a PDF version of the website www.ComplexityZoo.com typeset in LATEX using the complexity package. Well, what’s that? The original Complexity Zoo is a website created by Scott Aaronson which contains a (more or less) comprehensive list of Complexity Classes studied in the area of theoretical computer science known as Computa- tional Complexity. I took on the (mostly painless, thank god for regular expressions) task of translating the Zoo’s HTML code to LATEX for two reasons. First, as a regular Zoo patron, I thought, “what better way to honor such an endeavor than to spruce up the cages a bit and typeset them all in beautiful LATEX.” Second, I thought it would be a perfect project to develop complexity, a LATEX pack- age I’ve created that defines commands to typeset (almost) all of the complexity classes you’ll find here (along with some handy options that allow you to conveniently change the fonts with a single option parameters). To get the package, visit my own home page at http://www.cse.unl.edu/~cbourke/.
    [Show full text]
  • Interactive Proofs for Quantum Computations
    Innovations in Computer Science 2010 Interactive Proofs For Quantum Computations Dorit Aharonov Michael Ben-Or Elad Eban School of Computer Science, The Hebrew University of Jerusalem, Israel [email protected] [email protected] [email protected] Abstract: The widely held belief that BQP strictly contains BPP raises fundamental questions: Upcoming generations of quantum computers might already be too large to be simulated classically. Is it possible to experimentally test that these systems perform as they should, if we cannot efficiently compute predictions for their behavior? Vazirani has asked [21]: If computing predictions for Quantum Mechanics requires exponential resources, is Quantum Mechanics a falsifiable theory? In cryptographic settings, an untrusted future company wants to sell a quantum computer or perform a delegated quantum computation. Can the customer be convinced of correctness without the ability to compare results to predictions? To provide answers to these questions, we define Quantum Prover Interactive Proofs (QPIP). Whereas in standard Interactive Proofs [13] the prover is computationally unbounded, here our prover is in BQP, representing a quantum computer. The verifier models our current computational capabilities: it is a BPP machine, with access to few qubits. Our main theorem can be roughly stated as: ”Any language in BQP has a QPIP, and moreover, a fault tolerant one” (providing a partial answer to a challenge posted in [1]). We provide two proofs. The simpler one uses a new (possibly of independent interest) quantum authentication scheme (QAS) based on random Clifford elements. This QPIP however, is not fault tolerant. Our second protocol uses polynomial codes QAS due to Ben-Or, Cr´epeau, Gottesman, Hassidim, and Smith [8], combined with quantum fault tolerance and secure multiparty quantum computation techniques.
    [Show full text]
  • Lecture 11 1 Non-Uniform Complexity
    Notes on Complexity Theory Last updated: October, 2011 Lecture 11 Jonathan Katz 1 Non-Uniform Complexity 1.1 Circuit Lower Bounds for a Language in §2 \ ¦2 We have seen that there exist \very hard" languages (i.e., languages that require circuits of size (1 ¡ ")2n=n). If we can show that there exists a language in NP that is even \moderately hard" (i.e., requires circuits of super-polynomial size) then we will have proved P 6= NP. (In some sense, it would be even nicer to show some concrete language in NP that requires circuits of super-polynomial size. But mere existence of such a language is enough.) c Here we show that for every c there is a language in §2 \ ¦2 that is not in size(n ). Note that this does not prove §2 \ ¦2 6⊆ P=poly since, for every c, the language we obtain is di®erent. (Indeed, using the time hierarchy theorem, we have that for every c there is a language in P that is not in time(nc).) What is particularly interesting here is that (1) we prove a non-uniform lower bound and (2) the proof is, in some sense, rather simple. c Theorem 1 For every c, there is a language in §4 \ ¦4 that is not in size(n ). Proof Fix some c. For each n, let Cn be the lexicographically ¯rst circuit on n inputs such c that (the function computed by) Cn cannot be computed by any circuit of size at most n . By the c+1 non-uniform hierarchy theorem (see [1]), there exists such a Cn of size at most n (for n large c enough).
    [Show full text]
  • Simple Doubly-Efficient Interactive Proof Systems for Locally
    Electronic Colloquium on Computational Complexity, Revision 3 of Report No. 18 (2017) Simple doubly-efficient interactive proof systems for locally-characterizable sets Oded Goldreich∗ Guy N. Rothblumy September 8, 2017 Abstract A proof system is called doubly-efficient if the prescribed prover strategy can be implemented in polynomial-time and the verifier’s strategy can be implemented in almost-linear-time. We present direct constructions of doubly-efficient interactive proof systems for problems in P that are believed to have relatively high complexity. Specifically, such constructions are presented for t-CLIQUE and t-SUM. In addition, we present a generic construction of such proof systems for a natural class that contains both problems and is in NC (and also in SC). The proof systems presented by us are significantly simpler than the proof systems presented by Goldwasser, Kalai and Rothblum (JACM, 2015), let alone those presented by Reingold, Roth- blum, and Rothblum (STOC, 2016), and can be implemented using a smaller number of rounds. Contents 1 Introduction 1 1.1 The current work . 1 1.2 Relation to prior work . 3 1.3 Organization and conventions . 4 2 Preliminaries: The sum-check protocol 5 3 The case of t-CLIQUE 5 4 The general result 7 4.1 A natural class: locally-characterizable sets . 7 4.2 Proof of Theorem 1 . 8 4.3 Generalization: round versus computation trade-off . 9 4.4 Extension to a wider class . 10 5 The case of t-SUM 13 References 15 Appendix: An MA proof system for locally-chracterizable sets 18 ∗Department of Computer Science, Weizmann Institute of Science, Rehovot, Israel.
    [Show full text]
  • Glossary of Complexity Classes
    App endix A Glossary of Complexity Classes Summary This glossary includes selfcontained denitions of most complexity classes mentioned in the b o ok Needless to say the glossary oers a very minimal discussion of these classes and the reader is re ferred to the main text for further discussion The items are organized by topics rather than by alphab etic order Sp ecically the glossary is partitioned into two parts dealing separately with complexity classes that are dened in terms of algorithms and their resources ie time and space complexity of Turing machines and complexity classes de ned in terms of nonuniform circuits and referring to their size and depth The algorithmic classes include timecomplexity based classes such as P NP coNP BPP RP coRP PH E EXP and NEXP and the space complexity classes L NL RL and P S P AC E The non k uniform classes include the circuit classes P p oly as well as NC and k AC Denitions and basic results regarding many other complexity classes are available at the constantly evolving Complexity Zoo A Preliminaries Complexity classes are sets of computational problems where each class contains problems that can b e solved with sp ecic computational resources To dene a complexity class one sp ecies a mo del of computation a complexity measure like time or space which is always measured as a function of the input length and a b ound on the complexity of problems in the class We follow the tradition of fo cusing on decision problems but refer to these problems using the terminology of promise problems
    [Show full text]
  • BQP and the Polynomial Hierarchy 1 Introduction
    BQP and The Polynomial Hierarchy based on `BQP and The Polynomial Hierarchy' by Scott Aaronson Deepak Sirone J., 17111013 Hemant Kumar, 17111018 Dept. of Computer Science and Engineering Dept. of Computer Science and Engineering Indian Institute of Technology Kanpur Indian Institute of Technology Kanpur Abstract The problem of comparing two complexity classes boils down to either finding a problem which can be solved using the resources of one class but cannot be solved in the other thereby showing they are different or showing that the resources needed by one class can be simulated within the resources of the other class and hence implying a containment. When the relation between the resources provided by two classes such as the classes BQP and PH is not well known, researchers try to separate the classes in the oracle query model as the first step. This paper tries to break the ice about the relationship between BQP and PH, which has been open for a long time by presenting evidence that quantum computers can solve problems outside of the polynomial hierarchy. The first result shows that there exists a relation problem which is solvable in BQP, but not in PH, with respect to an oracle. Thus gives evidence of separation between BQP and PH. The second result shows an oracle relation problem separating BQP from BPPpath and SZK. 1 Introduction The problem of comparing the complexity classes BQP and the polynomial heirarchy has been identified as one of the grand challenges of the field. The paper \BQP and the Polynomial Heirarchy" by Scott Aaronson proves an oracle separation result for BQP and the polynomial heirarchy in the form of two main results: A 1.
    [Show full text]
  • Multiparty Communication Complexity and Threshold Circuit Size of AC^0
    2009 50th Annual IEEE Symposium on Foundations of Computer Science Multiparty Communication Complexity and Threshold Circuit Size of AC0 Paul Beame∗ Dang-Trinh Huynh-Ngoc∗y Computer Science and Engineering Computer Science and Engineering University of Washington University of Washington Seattle, WA 98195-2350 Seattle, WA 98195-2350 [email protected] [email protected] Abstract— We prove an nΩ(1)=4k lower bound on the random- that the Generalized Inner Product function in ACC0 requires ized k-party communication complexity of depth 4 AC0 functions k-party NOF communication complexity Ω(n=4k) which is in the number-on-forehead (NOF) model for up to Θ(log n) polynomial in n for k up to Θ(log n). players. These are the first non-trivial lower bounds for general 0 NOF multiparty communication complexity for any AC0 function However, for AC functions much less has been known. for !(log log n) players. For non-constant k the bounds are larger For the communication complexity of the set disjointness than all previous lower bounds for any AC0 function even for function with k players (which is in AC0) there are lower simultaneous communication complexity. bounds of the form Ω(n1=(k−1)=(k−1)) in the simultaneous Our lower bounds imply the first superpolynomial lower bounds NOF [24], [5] and nΩ(1=k)=kO(k) in the one-way NOF for the simulation of AC0 by MAJ ◦ SYMM ◦ AND circuits, showing that the well-known quasipolynomial simulations of AC0 model [26]. These are sub-polynomial lower bounds for all by such circuits are qualitatively optimal, even for formulas of non-constant values of k and, at best, polylogarithmic when small constant depth.
    [Show full text]
  • Complexity of Matching Problems
    ,r. Symbolic Computation (1987) 3, 203-216 Complexity of Matching Problems DAN BENANAV, DEEPAK KAPUR AND PALIATH NARENDRAN Corporate Research and Development General Electric Company Schenectady, NY The associative-commutative matching problem is shown to be NP- complete; more precisely, the matching problem for terms in which some function symbols are uninterpreted and others are both associative and commutative, is NP-complete. It turns out that the similar problems of associative-matching and commutative-matching are also N'P-complete. However, if every variable appears at most once in a term being matched, then the associative-commutative matching problem is shown to have an upper-bound of O([ s [ * [ t [3), where [s I and [ t [ are respectively the sizes of the pattern 8 and the subject t. 1. Ingroduction Matching and unification algorithms play an important role in such areas as logic programming, functional and relational programming, au- tomated reasoning, program verification and specification analysis. Several papers have appeared that investigate the complexity of general term matching and related problems (])work et al. (1986), Hoffman and O'Donnell (1982), Overmars and Van Leeuwen (1979), Steyaert and Fla- jolet (1983)). Here we consider specialized instances of these problems, namely when certain operators under consideration have the associative and commutative properties. To our knowledge, Plotkin (1972) was the first one to have studied an approach for handling such operators by in- tegrating them into unification algorithms. Since then, methods have 0747-7171/87/010203 + 14 $03.00]0 ~ 1987 Academic Press Inc. (London) Ltd. 204 D. Benanav et el. been suggested for handling such operators in resolution proof systems using the paramodulation and narrowing techniques (Lankford (1975), Lankford and Ballantyne (1979), Slagle (1974)) and in term rewriting systems by suitably extending the Knuth-Bendix (1970) completion pro- cedure (Lankford and Ballantyne (1977), Peterson and Stickel (1981)).
    [Show full text]