Networks of Relations

Total Page:16

File Type:pdf, Size:1020Kb

Networks of Relations Networks of Relations Thesis by Matthew Cook In Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy California Institute of Technology Pasadena, California 2005 (Defended May 27, 2005) ii c 2005 Matthew Cook All Rights Reserved iii Acknowledgements I would like to thank the ARCS foundation, the National Institute of Health, the Alpha Project, and my advisor Shuki Bruck for supporting me during my studies. I would also like to thank Shuki for being a good advisor and collaborator. I am grateful not only to Shuki but to all the people I have worked with, including Erik Winfree and David Soloveichik, in collaboration with whom the material in section 3.4.2 was produced. My family has supported my adventure of being a student, especially my wife Eva,´ my children Andr´as, Adam, and Emma, my mother Sarah, and my grandfather Howard, and to them I am very grateful. iv Abstract Relations are everywhere. In particular, we think and reason in terms of mathematical and English sentences that state relations. However, we teach our students much more about how to manipulate functions than about how to manipulate relations. Consider functions. We know how to combine functions to make new functions, how to evaluate functions efficiently, and how to think about compositions of functions. Especially in the area of boolean functions, we have become experts in the theory and art of designing combinations of functions to yield what we want, and this expertise has led to techniques that enable us to implement mind-bogglingly large yet efficient networks of such functions in hardware to help us with calculations. If we are to make progress in getting machines to be able to reason as well as they can calculate, we need to similarly develop our understanding of relations, especially their composition, so we can develop techniques to help us bridge between the large and small scales. There has been some important work in this area, ranging from practical applications such as relational databases to extremely theoretical work in universal algebra, and sometimes theory and practice manage to meet, such as in the programming language Prolog, or in the probabilistic reasoning methods of artificial intelligence. However, the real adventure is yet to come, as we learn to develop a better understanding of how relations can efficiently and reliably be composed to get from a low level representation to a high level representation, as this understanding will then allow the development of automated techniques to do this on a grand scale, finally enabling us to build machines that can reason as amazingly as our contemporary machines can calculate. This thesis explores new ground regarding the composition of relations into larger rela- tional structures. First of all a foundation is laid by examining how networks of relations might be used for automated reasoning. We define exclusion networks, which have close connections with the areas of constraint satisfaction problems, belief propagation, and even boolean circuits. The foundation is laid somewhat deeper than usual, taking us inside the v relations and inside the variables to see what is the simplest underlying structure that can satisfactorily represent the relationships contained in a relational network. This leads us to define zipper networks, an extremely low-level view in which the names of variables or even their values are no longer necessary, and relations and variables share a common substrate that does not distinguish between the two. A set of simple equivalence operations is found that allows one to transform a zipper network while retaining its solution structure, en- abling a relation-variable duality as well as a canonical form on linear segments. Similarly simple operations allow automated deduction to take place, and these operations are simple and uniform enough that they are easy to imagine being implemented by biological neural structures. The canonical form for linear segments can be represented as a matrix, leading us to matrix networks. We study the question of how we can perform a change of basis in matrix networks, which brings us to a new understanding of Valiant’s recent holographic algorithms, a new source of polynomial time algorithms for counting problems on graphs that would otherwise appear to take exponential time. We show how the holographic transformation can be understood as a collection of changes of basis on individual edges of the graph, thus providing a new level of freedom to the method, as each edge may now independently choose a basis so as to transform the matrices into the required form. Consideration of zipper networks makes it clear that “fan-out,” i.e., the ability to du- plicate information (for example allowing a variable to be used in many places), is most naturally itself represented as a relation along with everything else. This is a notable de- parture from the traditional lack of representation for this ability. This deconstruction of fan-out provides a more general model for combining relations than was provided by pre- vious models, since we can examine both the traditional case where fan-out (the equality relation on three variables) is available and the more interesting case where its availability is subject to the same limitations as the availability of other relations. As we investigate the composition of relations in this model where fan-out is explicit, what we find is very different from what has been found in the past. First of all we examine the relative expressive power of small relations: For each relation on three boolean variables, we examine which others can be implemented by networks built solely from that relation. (We also find, in each of these cases, the complexity of deciding whether such a network has a solution. We find that solutions can be found in polynomial vi time for all but one case, which is NP-complete.) For the question of which relations are able to implement which others, we provide an extensive and complete answer in the form of a hierarchy of relative expressive power for these relations. The hierarchy for relations is more complex than Post’s well-known comparable hierarchy for functions, and parts of it are particularly difficult to prove. We find an explanation for this phenomenon by showing that in fact, the question of whether one relation can implement another (and thus should be located above it in the hierarchy) is undecidable. We show this by means of a complicated reduction from the halting problem for register machines. The hierarchy itself has a lot of structure, as it is rarely the case that two ternary boolean relations are equivalent. Often they are comparable, and often they are incomparable—the hierarchy has quite a bit of width as well as depth. Notably, the fan-out relation is particularly difficult to implement; only a very few relations are capable of implementing it. This provides an additional ex post facto justification for considering the case where fan-out is absent: If you are not explicitly provided with fan-out, you are unlikely to be able to implement it. The undecidability of the hierarchy contrasts strongly with the traditional case, where the ubiquitous availability of fan-out causes all implementability questions to collapse into a finite decidable form. Thus we see that for implementability among relations, fan-out leads to undecidability. We then go on to examine whether this result might be taken back to the world of functions to find a similar difference there. As we study the implementability question among functions without fan-out, we are led directly to questions that are indepen- dently compelling, as our functional implementability question turns out to be equivalent to asking what can be computed by sets of chemical reactions acting on a finite number of species. In addition to these chemical reaction networks, several other nondeterministic sys- tems are also found to be equivalent in this way to the implementability question, namely, Petri nets, unordered Fractran, vector addition systems, and “broken” register machines (whose decrement instruction may fail even on positive registers). We prove equivalences between these systems. We find several interesting results in particular for chemical reaction networks, where the standard model has reaction rates that depend on concentration. In this setting, we analyze questions of possibility as well as questions of probability. The question of the possibility of reaching a target state turns out to be equivalent to the reachability question for Petri nets and vector addition systems, which has been well studied. We provide a vii new proof that a form of this reachability question can be decided by primitive recursive functions. Ours is the first direct proof of this relationship, avoiding the traditional excursion to Diophantine equations, and thus providing a crisper picture of the relationship between Karp’s coverability tree and primitive recursive functions. In contrast, the question of finding the probability (according to standard chemical kinetics) of reaching a given target state turns out to be undecidable. Another way of saying this is that if we wish to distinguish states with zero probability of occurring from states with positive probability of occurring, we can do so, but if we wish to distinguish low probability states from high probability states, there is no general way to do so. Thus, if we wish to use a chemical reaction network to perform a computation, then if we insist that the network must always get the right answer, we will only be able to use networks with limited computational power, but if we allow just the slightest probability of error, then we can use networks with Turing-universal computational ability. This power of probability is quite surprising, especially when contrasted with the conventional computational complexity belief that BP P = P .
Recommended publications
  • Relations in Categories
    Relations in Categories Stefan Milius A thesis submitted to the Faculty of Graduate Studies in partial fulfilment of the requirements for the degree of Master of Arts Graduate Program in Mathematics and Statistics York University Toronto, Ontario June 15, 2000 Abstract This thesis investigates relations over a category C relative to an (E; M)-factori- zation system of C. In order to establish the 2-category Rel(C) of relations over C in the first part we discuss sufficient conditions for the associativity of horizontal composition of relations, and we investigate special classes of morphisms in Rel(C). Attention is particularly devoted to the notion of mapping as defined by Lawvere. We give a significantly simplified proof for the main result of Pavlovi´c,namely that C Map(Rel(C)) if and only if E RegEpi(C). This part also contains a proof' that the category Map(Rel(C))⊆ is finitely complete, and we present the results obtained by Kelly, some of them generalized, i. e., without the restrictive assumption that M Mono(C). The next part deals with factorization⊆ systems in Rel(C). The fact that each set-relation has a canonical image factorization is generalized and shown to yield an (E¯; M¯ )-factorization system in Rel(C) in case M Mono(C). The setting without this condition is studied, as well. We propose a⊆ weaker notion of factorization system for a 2-category, where the commutativity in the universal property of an (E; M)-factorization system is replaced by coherent 2-cells. In the last part certain limits and colimits in Rel(C) are investigated.
    [Show full text]
  • What Are Kinship Terminologies, and Why Do We Care?: a Computational Approach To
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Kent Academic Repository What are Kinship Terminologies, and Why do we Care?: A Computational Approach to Analysing Symbolic Domains Dwight Read, UCLA Murray Leaf, University of Texas, Dallas Michael Fischer, University of Kent, Canterbury, Corresponding Author, [email protected] Abstract Kinship is a fundamental feature and basis of human societies. We describe a set of computat ional tools and services, the Kinship Algebra Modeler, and the logic that underlies these. Thes e were developed to improve how we understand both the fundamental facts of kinship, and h ow people use kinship as a resource in their lives. Mathematical formalism applied to cultural concepts is more than an exercise in model building, as it provides a way to represent and exp lore logical consistency and implications. The logic underlying kinship is explored here thro ugh the kin term computations made by users of a terminology when computing the kinship r elation one person has to another by referring to a third person for whom each has a kin term relationship. Kinship Algebra Modeler provides a set of tools, services and an architecture to explore kinship terminologies and their properties in an accessible manner. Keywords Kinship, Algebra, Semantic Domains, Kinship Terminology, Theory Building 1 1. Introduction The Kinship Algebra Modeller (KAM) is a suite of open source software tools and services u nder development to support the elicitation and analysis of kinship terminologies, building al gebraic models of the relations structuring terminologies, and instantiating these models in lar ger contexts to better understand how people pragmatically interpret and employ the logic of kinship relations as a resource in their individual and collective lives.
    [Show full text]
  • Foundations of Relations and Kleene Algebra
    Introduction Foundations of Relations and Kleene Algebra Aim: cover the basics about relations and Kleene algebras within the framework of universal algebra Peter Jipsen This is a tutorial Slides give precise definitions, lots of statements Decide which statements are true (can be improved) Chapman University which are false (and perhaps how they can be fixed) [Hint: a list of pages with false statements is at the end] September 4, 2006 Peter Jipsen (Chapman University) Relation algebras and Kleene algebra September 4, 2006 1 / 84 Peter Jipsen (Chapman University) Relation algebras and Kleene algebra September 4, 2006 2 / 84 Prerequisites Algebraic properties of set operation Knowledge of sets, union, intersection, complementation Some basic first-order logic Let U be a set, and P(U)= {X : X ⊆ U} the powerset of U Basic discrete math (e.g. function notation) P(U) is an algebra with operations union ∪, intersection ∩, These notes take an algebraic perspective complementation X − = U \ X Satisfies many identities: e.g. X ∪ Y = Y ∪ X for all X , Y ∈ P(U) Conventions: How can we describe the set of all identities that hold? Minimize distinction between concrete and abstract notation x, y, z, x1,... variables (implicitly universally quantified) Can we decide if a particular identity holds in all powerset algebras? X , Y , Z, X1,... set variables (implicitly universally quantified) These are questions about the equational theory of these algebras f , g, h, f1,... function variables We will consider similar questions about several other types of algebras, a, b, c, a1,... constants in particular relation algebras and Kleene algebras i, j, k, i1,..
    [Show full text]
  • Introduction to Relations
    CHAPTER 7 Introduction to Relations 1. Relations and Their Properties 1.1. Definition of a Relation. Definition:A binary relation from a set A to a set B is a subset R ⊆ A × B: If (a; b) 2 R we say a is related to b by R. A is the domain of R, and B is the codomain of R. If A = B, R is called a binary relation on the set A. Notation: • If (a; b) 2 R, then we write aRb. • If (a; b) 62 R, then we write aR6 b. Discussion Notice that a relation is simply a subset of A × B. If (a; b) 2 R, where R is some relation from A to B, we think of a as being assigned to b. In these senses students often associate relations with functions. In fact, a function is a special case of a relation as you will see in Example 1.2.4. Be warned, however, that a relation may differ from a function in two possible ways. If R is an arbitrary relation from A to B, then • it is possible to have both (a; b) 2 R and (a; b0) 2 R, where b0 6= b; that is, an element in A could be related to any number of elements of B; or • it is possible to have some element a in A that is not related to any element in B at all. 204 1. RELATIONS AND THEIR PROPERTIES 205 Often the relations in our examples do have special properties, but be careful not to assume that a given relation must have any of these properties.
    [Show full text]
  • The Algebraic Theory of Semigroups the Algebraic Theory of Semigroups
    http://dx.doi.org/10.1090/surv/007.1 The Algebraic Theory of Semigroups The Algebraic Theory of Semigroups A. H. Clifford G. B. Preston American Mathematical Society Providence, Rhode Island 2000 Mathematics Subject Classification. Primary 20-XX. International Standard Serial Number 0076-5376 International Standard Book Number 0-8218-0271-2 Library of Congress Catalog Card Number: 61-15686 Copying and reprinting. Material in this book may be reproduced by any means for educational and scientific purposes without fee or permission with the exception of reproduction by services that collect fees for delivery of documents and provided that the customary acknowledgment of the source is given. This consent does not extend to other kinds of copying for general distribution, for advertising or promotional purposes, or for resale. Requests for permission for commercial use of material should be addressed to the Assistant to the Publisher, American Mathematical Society, P. O. Box 6248, Providence, Rhode Island 02940-6248. Requests can also be made by e-mail to reprint-permissionQams.org. Excluded from these provisions is material in articles for which the author holds copyright. In such cases, requests for permission to use or reprint should be addressed directly to the author(s). (Copyright ownership is indicated in the notice in the lower right-hand corner of the first page of each article.) © Copyright 1961 by the American Mathematical Society. All rights reserved. Printed in the United States of America. Second Edition, 1964 Reprinted with corrections, 1977. The American Mathematical Society retains all rights except those granted to the United States Government.
    [Show full text]
  • 5 Jul 2019 Span Composition Using Fake Pullbacks
    Span composition using fake pullbacks Ross Street ∗ Centre of Australian Category Theory Macquarie University, NSW 2109 Australia <[email protected]> July 8, 2019 2010 Mathematics Subject Classification: 18B10, 18D05 Key words and phrases: span; partial map; factorization system. Abstract The construction of a category of spans can be made in some categories C which do not have pullbacks in the traditional sense. The PROP for monoids is a good example of such a C . The 2012 book concerning homological algebra by Marco Grandis gives the proof of associativity of relations in a Puppe-exact category based on a 1967 paper of M.Š. Calenko. The proof here is a restructuring of that proof in the spirit of the first sentence of this Abstract. We observe that these relations are spans of EM-spans and that EM-spans admit fake pullbacks so that spans of EM-spans compose. Our setting is more general than Puppe-exact categories. Contents 1 Suitable factorization systems 2 arXiv:1907.02695v1 [math.CT] 5 Jul 2019 2 The bicategory of EM-spans 4 3 Relations as spans of spans 5 4 A fake pullback construction 6 5 An abstraction 7 ∗The author gratefully acknowledges the support of Australian Research Council Dis- covery Grant DP160101519. 1 Introduction The construction of a category of spans can be made in some categories C not having pullbacks in the traditional sense, only having some form of fake pullback. The PROP for monoids is a good example of such a C ; it has a forgetful functor to the category of finite sets which takes fake pullbacks to genuine pullbacks.
    [Show full text]
  • Mat3770 — Relations
    Mat3770 | Relations Relations Digraphs Reflexive Mat3770 | Relations Symmetric Transitive Composition Data Structure Equiv Spring 2014 Relation Equiv Classes Partitions Transitive Closure tsr(R) Student Responsibilities Mat3770 | Relations Reading: Textbook, Section 8.1, 8.3, 8.5 Relations Assignments: Digraphs Sec 8.1 1a-d, 3a-d, 5ab, 16, 28, 31, 48bd Reflexive Sec 8.3 1ab, 3ab, 5, 14a-c, 18(ab), 23, 26, 36 Symmetric Sec 8.5 2ad, 5, 15, 22, 35, 43a-c, 61 Transitive Composition Attendance: Spritefully Encouraged Data Structure Equiv Overview Relation Sec 8.1 Relations and Their Properties Equiv Classes Partitions Sec 8.3 Representing Relations Transitive Sec 8.5 Equivalence Relations Closure tsr(R) Section 8.1 | Relations and Their Properties Mat3770 | Relations Binary Relations Relations Digraphs Definition:A binary relation R from a set A to a set B is a Reflexive Symmetric subset R ⊆ A × B. Transitive Composition Note: there are no constraints on relations as there are on Data Structure functions. Equiv Relation Equiv Classes We have a common graphical representation of relations, a Partitions directed graph. Transitive Closure tsr(R) Directed Graphs Mat3770 | Relations Definition:A Directed Graph (Digraph) D from A to B Relations is: Digraphs 1. a collection of vertices V ⊆ A [ B, and Reflexive 2. a collection of edges E ⊆ A × B Symmetric Transitive Composition If there is an ordered pair e =< x; y > in R, then there is an Data Structure arc or edge from x to y in D. (Note: E = R) Equiv Relation Equiv Classes The elements x and y are called the initial and terminal Partitions vertices of the edge e.
    [Show full text]
  • Fiat Categorification of the Symmetric Inverse Semigroup Isn
    Semigroup Forum (2018) 96:142–159 https://doi.org/10.1007/s00233-017-9866-5 RESEARCH ARTICLE Fiat categorification of the symmetric inverse ∗ semigroup ISn and the semigroup Fn Paul Martin1 · Volodymyr Mazorchuk2 Received: 19 May 2016 / Accepted: 19 March 2017 / Published online: 29 March 2017 © The Author(s) 2017. This article is an open access publication Abstract Starting from the symmetric group Sn, we construct two fiat 2-categories. One of them can be viewed as the fiat “extension” of the natural 2-category associated with the symmetric inverse semigroup (considered as an ordered semigroup with respect to the natural order). This 2-category provides a fiat categorification for the integral semigroup algebra of the symmetric inverse semigroup. The other 2-category can be viewed as the fiat “extension” of the 2-category associated with the maximal factorizable subsemigroup of the dual symmetric inverse semigroup (again, considered as an ordered semigroup with respect to the natural order). This 2-category provides a fiat categorification for the integral semigroup algebra of the maximal factorizable subsemigroup of the dual symmetric inverse semigroup. Keywords Categorification · 2-category · Symmetric inverse semigroup · Dual symmetric inverse semigroup 1 Introduction and description of the results Abstract higher representation theory has its origins in the papers [2,4,40,41] with principal motivation coming from [15,43]. For finitary 2-categories, basics Communicated by Jean-Eric Pin. B Volodymyr Mazorchuk [email protected] Paul Martin [email protected] 1 Department of Pure Mathematics, University of Leeds, Leeds LS2 9JT, UK 2 Department of Mathematics, Uppsala University, Box 480, 75106 Uppsala, Sweden 123 Fiat categorification of the symmetric inverse semigroup ISn ..
    [Show full text]
  • Fiat Categorification of the Symmetric Inverse Semigroup IS N and The
    FIAT CATEGORIFICATION OF THE SYMMETRIC INVERSE ∗ SEMIGROUP ISn AND THE SEMIGROUP Fn PAUL MARTIN AND VOLODYMYR MAZORCHUK Abstract. Starting from the symmetric group Sn, we construct two fiat 2- categories. One of them can be viewed as the fiat “extension” of the natural 2-category associated with the symmetric inverse semigroup (considered as an ordered semigroup with respect to the natural order). This 2-category provides a fiat categorification for the integral semigroup algebra of the symmetric in- verse semigroup. The other 2-category can be viewed as the fiat “extension” of the 2-category associated with the maximal factorizable subsemigroup of the dual symmetric inverse semigroup (again, considered as an ordered semi- group with respect to the natural order). This 2-category provides a fiat categorification for the integral semigroup algebra of the maximal factorizable subsemigroup of the dual symmetric inverse semigroup. 1. Introduction and description of the results Abstract higher representation theory has its origins in the papers [BFK, CR, Ro1, Ro2] with principal motivation coming from [Kh, Str]. For finitary 2-categories, ba- sics of 2-representation theory were developed in [MM1, MM2, MM3, MM4, MM5, MM6] and further investigated in [GrMa1, GrMa2, Xa, Zh1, Zh2, Zi, CM, MZ, MaMa, KMMZ], see also [KiMa1] for applications. For different ideas on higher rep- resentation theory, see also [FB, BBFW, El, Pf, Ka] and references therein. The major emphasis in [MM1, MM2, MM3, MM4, MM5, MM6] is on the study of so-called fiat 2-categories, which are 2-categorical analogues of finite dimensional algebras with involution. Fiat 2-categories appear naturally both in topology and representation theory.
    [Show full text]
  • Domain and Antidomain Semigroups
    Domain and Antidomain Semigroups Jules Desharnais, Peter Jipsen and Georg Struth Universit´eLaval, Chapman University, University of Sheffield Nov 4, 2009 J. Desharnais, P. Jipsen and G. Struth (Domain ) and Antidomain Semigroups RelMiCS/AKA Nov 4, 2009 1 Outline Domain/range and antidomain/antirange operations on relations Motivation for studying (anti)domain/range semigroups Representation results Hirsch-Mikulas nonrepresentability result Conclusion and open problems J. Desharnais, P. Jipsen and G. Struth (Domain ) and Antidomain Semigroups RelMiCS/AKA Nov 4, 2009 2 Rel(X ) = set of binary relationsR on a set X R; S = composition of relations unary (anti)domain and (anti)range operations are defined by d(R) = f(u; u) 2 X 2 :(u; v) 2 R for some v 2 X g; a(R) = f(u; u) 2 X 2 :(u; v) 2= R for all v 2 X g; r(R) = f(v; v) 2 X 2 :(u; v) 2 R for some u 2 X g; r 0(R) = f(v; v) 2 X 2 :(u; v) 2= R for all u 2 X g: In relation algebras, d(R) = R; R` \ id, a(R) = id − d(R), r(R) = R`; R \ id, r 0(R) = id − r(R) J. Desharnais, P. Jipsen and G. Struth (Domain ) and Antidomain Semigroups RelMiCS/AKA Nov 4, 2009 3 Elements of Rel(X ) represent actions or computations Operations model the control flow in the system Multiplication represents e.g. sequential or parallel composition of actions Addition (union) represents nondeterministic choice Multiplicative units model ineffective actions (skip) Additive units model abortive actions E.g.
    [Show full text]
  • Discrete Structures Lecture Notes
    Discrete Structures Lecture Notes Vladlen Koltun1 Winter 2008 1Computer Science Department, 353 Serra Mall, Gates 374, Stanford University, Stanford, CA 94305, USA; [email protected]. Contents 1 Sets and Notation 1 1.1 Defining sets . 1 1.2 Set operations . 3 1.3 More sets . 4 2 Induction 5 2.1 Introducing induction . 5 2.2 Strong induction . 7 2.3 Why is the induction principle true? . 8 3 More Proof Techniques 11 3.1 Proofs by contradiction . 11 3.2 Direct proofs . 12 4 Divisibility 15 4.1 The division algorithm . 15 4.2 Remainders . 16 4.3 Greatest common divisors . 17 4.4 Greatest common divisors and linear combinations . 18 5 Prime Numbers 21 5.1 The fundamental theorem of arithmetic . 21 5.2 The infinity of primes . 22 6 Modular Arithmetic 25 6.1 Congruences . 25 6.2 Modular division . 27 7 Relations and Functions 31 7.1 Ordered pairs . 31 7.2 Relations . 32 7.3 Kinds of relations . 32 7.4 Creating relations . 34 7.5 Functions . 35 8 Mathematical Logic 37 8.1 Propositions and predicates . 37 8.2 Quantifiers . 37 i 8.3 Negations . 38 8.4 Logical connectives . 39 8.5 Tautologies and logical inference . 41 9 Counting 43 9.1 Fundamental principles . 43 9.2 Basic counting problems . 44 10 Binomial Coefficients 49 10.1 Basic properties . 49 10.2 Binomial theorem . 50 11 The Inclusion-Exclusion Principle 53 11.1 Statement and proof of the principle . 53 11.2 Derangements . 54 12 The Pigeonhole Principle 57 12.1 Statements of the principle .
    [Show full text]
  • Arxiv:2103.06012V1 [Math.RA] 10 Mar 2021 1
    THE LATTICE AND SEMIGROUP STRUCTURE OF MULTIPERMUTATIONS CATARINA CARVALHO Department of Physics, Astronomy and Mathematics University of Hertfordshire, College Lane, Hatfield AL10 9AB BARNABY MARTIN Department of Computer Science, Durham University Science Labs, South Road, Durham, DH1 3LE, UK Abstract. We study the algebraic properties of binary relations whose un- derlying digraph is smooth, that is has no source or sink. Such objects have been studied as surjective hyper-operations (shops) on the corresponding ver- tex set, and as binary relations that are defined everywhere and whose inverse is also defined everywhere. In the latter formulation, they have been called multipermutations. We study the lattice structure of sets (monoids) of multipermutations over an n-element domain. Through a Galois connection, these monoids form the algebraic counterparts to sets of relations closed under definability in posi- tive first-order logic without equality. The first side of this Galois connection has been elaborated previously, we show the other side here. We study the property of inverse on multipermutations and how it connects our monoids to groups. We use our results to give a simple dichotomy theorem for the evaluation problem of positive first-order logic without equality on the class of structures whose preserving multipermutations form a monoid closed under inverse. These problems turn out either to be in Logspace or to be Pspace- complete. We go on to study the monoid of all multipermutations on an n-element domain, under usual composition of relations. We characterise its Green relations, regular elements and show that it does not admit a generating set that is polynomial on n.
    [Show full text]