Applications of Grothendieck topologies in computer science
I am currently completing a dissertation in which I derive a general pattern matching algorithm using Grothendieck topologies. For the related work section, I am looking for other applications in computer science of Grothendieck topologies or sheaf theory. I already have the following references: Michel Eytan's PhD thesis (which applies Grothendieck topologies to grammars), and Monteiro and Pereira's paper on modeling concurrency using sheaves. If you know of any other applications, could you please send me a message? The abstract of my dissertation is enclosed. The dissertation will be ready for distribution in early April. If you would like a copy, please let me know. - srinivas PATTERN MATCHING: A SHEAF-THEORETIC APPROACH Yellamraju V. Srinivas PhD Dissertation (forthcoming March 1991) University of California, Irvine SUMMARY: A general theory of pattern matching is presented by adopting an extensional, geometric view of patterns. The extension of the matching relation consists of the occurrences of all possible patterns in a particular target. The geometry of the pattern describes the structure of the pattern and the spatial relationships among parts of the pattern. The extension and the geometry, when combined, produce a structure called a sheaf. Sheaf theory is a well developed branch of mathematics which studies the global consequences of locally defined properties. For pattern matching, an occurrence of a pattern, a global property of the pattern, is obtained by gluing together occurrences of parts of the pattern, which are locally defined properties. A sheaf-theoretic view of pattern matching provides a uniform treatment of pattern matching on any kind of data structure---strings, trees, graphs, hypergraphs, and so on. Such a parametric description is achieved by using the language of category theory, a highly abstract description of commonly occurring structures and relationships in mathematics. A generalized version of the Knuth-Morris-Pratt pattern matching algorithm is derived by gradually converting the extensional description of pattern matching as a sheaf into an intensional description. The algorithm results from a synergy of four very general program synthesis/transformation techniques: (1) Divide and conquer: exploit the sheaf condition; assemble a full match by gluing together partial matches; (2) Finite differencing: collect and update partial matches incrementally while traversing the target; (3) Backtracking: instead of saving all partial matches, save just one; when this partial match cannot be extended, fail back to another; (4) Partial evaluation: precompute pattern-based (and therefore constant) computations into an automaton. The derivation is carried out in a general framework using Grothendieck topologies. By appropriately instantiating the underlying data structures and topologies, the same scheme results in matching algorithms for patterns with variables and with multiple patterns. Slight variations of the derivation result in Earley's algorithm for context-free parsing, LR parsing, and Waltz filtering, a relaxation algorithm for providing 3-D interpretations to 2-D images. Other applications of a geometric view of patterns are briefly considered: rewrites, parallel algorithms, induction and computability. ======== Y. V. Srinivas E-mail: srinivas@ics.uci.edu Information and Computer Science University of California Irvine, CA 92717, USA
Dear Srinivas, I have done some work along the lines that you mention. An abstract of one paper is appended below, and a citation to a second. I could send you copies if you like. There is also some work on sheaf theoretic semantics of digital circuits in preparation (with Victoria Stavridou and others) but not yet finished. I'd love a copy of your dissertation. Cheers, Joseph 00000000000000000000000000000000000000000000000000000000000000000000000000000 Semantics of Concurrent Interacting Objects using Sheaf Theory Joseph A. Goguen Sheaf theory was developed in mathematics to study relationships between local and global phenomena in analysis and geometry. This talk uses sheaf theory to explicate phenomena in concurrent systems, including object, active object, inheritance, deadlock, real time interaction, and security. This approach can then be applied to give semantics for object oriented languages and systems. 00000000000000000000000000000000000000000000000000000000000000000000000000000 @incollection(ehrich-goguen-sernadas91, title = "A Categorical Theory of Objects as Observed Processes", author = "Hans-Dieter Ehrich and Joseph Goguen and Amilcar Sernadas", booktitle = "Proceedings, {REX/FOOL} Workshop on Foundations of Object Oriented Languages", publisher = "Springer", year = 1991, editors = "J.W. deBakker and Gregorz Rozenberg", pages = "to appear", note = "Lecture Notes in Computer Science")
Grothendieck topologies in computer science You may be interested in my paper "Geometric theories and databases", which I shall be presenting at the LMS Symposium on Applications of Categories in Computer Science this July in Durham. (I can send you a draft if you wish.) Its abstract is - <<< Domain theoretic understanding of databases as elements of powerdomains is modified to allow multisets of records instead of sets. This is related to geometric theories and classifying toposes, and it is shown that algebraic base domains lead to algebraic categories of models in two cases analogous to the lower (Hoare) powerdomain and Gunter's mixed powerdomain. >>> The results amount to saying that certain Grothendieck toposes are equivalent. But the flavour of the paper is not to describe these toposes concretely as categories of sheaves over sites, but to specify them less directly as classifying toposes of geometric theories. I believe it is important to understand that this can be done, for the geometric theories provide a much defter way of talking about Grothendieck toposes. Hence I would hope that although the paper does not mention sheaves or Grothendieck topologies, you would find it very useful. Note that "algebraic categories of models" refers to theories whose classifying toposes are actually presheaf categories, with no Grothendieck topologies required. But the theories proved equivalent to these are not prima facie algebraic, and so the work yields completeness results for them. Finally, let me mention that an underlying theme of the work is that geometric logic is the logic of finite observations (as discussed in my book "Topology via Logic" in the propositional case), and that the methods developed go far deeper than the database applications. Steve Vickers. (And can you send me a copy of the dissertation, please?)
X-Comment1: ############################################################# X-Comment2: # # X-Comment3: # uk.ac.glasgow.cs has changed to uk.ac.glasgow.dcs # X-Comment4: # # X-Comment5: ############################################################# Grothendieck topologies in computer science =========================================== In my thesis I use Grothendiek fibrations as a means of expressing the decomposition of Scott domains into dependent sums of fibres. The application area is Partial Evaluation. Domain projections are used to provide a description of what portion of a function's argument will be known during partial evaluation, and the fibres of the projection describe the possible freedom of the complete argument. This information is used to construct the run-time argument of the specialised version of the original function. The practical benefit of using fibrations is that certain previously ad hoc optimisations in Partial Evaluation arise directly from the theory. References to this work are: Projection Factorisations in Partial Evaluation, J.Launchbury, Ph.D. Thesis, Glasgow University, Nov 89. Distinguished Dissertations in Comp. Sci., Vol 1, C.U.P., due May 1991. Dependent Sums Express Separation of Binding Times, J.Launchbury, proc. Functional Programming, Glasgow, 1989, K.Davis and J.Hughes eds., Workshops in Computing, Springer-Verlag, 1990.
participants (4)
-
John Launchbury -
Joseph.Goguen@prg.oxford.ac.uk -
Steven John Vickers -
Y V Srinivas