Skip to main content
Erschienen in: Journal of Automated Reasoning 4/2022

06.07.2022

Fast Left Kan Extensions Using the Chase

verfasst von: Joshua Meyers, David I. Spivak, Ryan Wisnesky

Erschienen in: Journal of Automated Reasoning | Ausgabe 4/2022

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

We show how computation of left Kan extensions can be reduced to computation of free models of cartesian (finite-limit) theories. We discuss how the standard and parallel chase compute weakly free models of regular theories and free models of cartesian theories and compare the concept of “free model” with a similar concept from database theory known as “universal model”. We prove that, as algorithms for computing finite-free models of cartesian theories, the standard and parallel chase are complete under fairness assumptions. Finally, we describe an optimized implementation of the parallel chase specialized to left Kan extensions that achieves an order of magnitude improvement in our performance benchmarks compared to the next fastest left Kan extension algorithm we are aware of.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
1
A benign set-theoretic assumption to avoid set-of-all-sets paradoxes.
 
2
This definition is not the same as that given in [19], but it is equivalent.
 
3
Our definition differs from that in [13] in that we do not mandate finiteness.
 
4
[x] denotes the equivalence class of x.
 
5
Note that the uniqueness of the isomorphism from these tables to any other left Kan extension does not imply there are no automorphisms of the input (for example, we may certainly swap Prof. Finn and Prof. Gil), but rather that there will be at most one isomorphism of the tables above with any other left Kan extension. If desired, we may of course restrict ourselves to only considering those morphisms that leave their inputs fixed, ruling out the swapping of Prof. Finn and Prof. Gil, described in various places in this paper as “leaving Prof. Finn, Prof. Gill as constants”.
 
Literatur
1.
Zurück zum Zitat Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, New York (1996)MATH Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, New York (1996)MATH
3.
Zurück zum Zitat Baader, F., Nipkow, T.: Term Rewriting and All That. Cambridge University Press, New York (1998)CrossRefMATH Baader, F., Nipkow, T.: Term Rewriting and All That. Cambridge University Press, New York (1998)CrossRefMATH
4.
Zurück zum Zitat Barr, M., Wells, C.: Category Theory for Computing Science. Prentice-Hall Inc., Upper Saddle River (1990)MATH Barr, M., Wells, C.: Category Theory for Computing Science. Prentice-Hall Inc., Upper Saddle River (1990)MATH
5.
Zurück zum Zitat Barr, M., Wells, C.: Toposes, Triples and Theories. Springer, Heidelberg (2002)MATH Barr, M., Wells, C.: Toposes, Triples and Theories. Springer, Heidelberg (2002)MATH
7.
Zurück zum Zitat Benedikt, M., Konstantinidis, G., Mecca, G., Motik, B., Papotti, P., Santoro, D., Tsamoura, E.: Benchmarking the chase. In: Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS ’17, pp. 37–52. ACM, New York, NY, USA (2017) Benedikt, M., Konstantinidis, G., Mecca, G., Motik, B., Papotti, P., Santoro, D., Tsamoura, E.: Benchmarking the chase. In: Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS ’17, pp. 37–52. ACM, New York, NY, USA (2017)
8.
Zurück zum Zitat Brown, K.S., Spivak, D.I., Wisnesky, R.: Categorical data integration for computational science. Comput. Mater. Sci. 164, 127–132 (2019)CrossRef Brown, K.S., Spivak, D.I., Wisnesky, R.: Categorical data integration for computational science. Comput. Mater. Sci. 164, 127–132 (2019)CrossRef
10.
Zurück zum Zitat Carmody, S., Leeming, M., Walters, R.: The Todd-Coxeter procedure and left Kan extensions. J. Symb. Comput. 19(5), 459–488 (1995)MathSciNetCrossRefMATH Carmody, S., Leeming, M., Walters, R.: The Todd-Coxeter procedure and left Kan extensions. J. Symb. Comput. 19(5), 459–488 (1995)MathSciNetCrossRefMATH
11.
Zurück zum Zitat Carmody, S., Walters, R.F.C.: Computing quotients of actions of a free category. In: Carboni, A., Pedicchio, M.C., Rosolini, G. (eds.) Category Theory, pp. 63–78. Springer, Berlin (1991)CrossRefMATH Carmody, S., Walters, R.F.C.: Computing quotients of actions of a free category. In: Carboni, A., Pedicchio, M.C., Rosolini, G. (eds.) Category Theory, pp. 63–78. Springer, Berlin (1991)CrossRefMATH
13.
Zurück zum Zitat Deutsch, A., Nash, A., Remmel, J.: The chase revisited. In: Proceedings of the Twenty-seventh ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS ’08, pp. 149–158. ACM, New York, NY, USA (2008) Deutsch, A., Nash, A., Remmel, J.: The chase revisited. In: Proceedings of the Twenty-seventh ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS ’08, pp. 149–158. ACM, New York, NY, USA (2008)
14.
Zurück zum Zitat Doan, A., Halevy, A., Ives, Z.: Principles of Data Integration, 1st edn. Morgan Kaufmann Publishers Inc., San Francisco (2012) Doan, A., Halevy, A., Ives, Z.: Principles of Data Integration, 1st edn. Morgan Kaufmann Publishers Inc., San Francisco (2012)
18.
Zurück zum Zitat Haas, L.M., Hernández, M.A., Ho, H., Popa, L., Roth, M.: Clio grows up: From research prototype to industrial tool. In: Proceedings of the 2005 ACM SIGMOD International Conference on Management of Data, SIGMOD ’05, pp. 805–810. ACM, New York, NY, USA (2005) Haas, L.M., Hernández, M.A., Ho, H., Popa, L., Roth, M.: Clio grows up: From research prototype to industrial tool. In: Proceedings of the 2005 ACM SIGMOD International Conference on Management of Data, SIGMOD ’05, pp. 805–810. ACM, New York, NY, USA (2005)
19.
Zurück zum Zitat Johnstone, P.T.: Sketches of an Elephant: A Topos Theory Compendium, vol. 2. Clarendon Press, Oxford (2002)MATH Johnstone, P.T.: Sketches of an Elephant: A Topos Theory Compendium, vol. 2. Clarendon Press, Oxford (2002)MATH
21.
22.
Zurück zum Zitat Kelly, G.: The basic concepts of enriched category theory. Reprints in Theory and Applications of Categories [electronic only] 2005(10) (2005) Kelly, G.: The basic concepts of enriched category theory. Reprints in Theory and Applications of Categories [electronic only] 2005(10) (2005)
27.
Zurück zum Zitat Onet, A.: The Chase Procedure and its Applications in Data Exchange. In: P.G. Kolaitis, M. Lenzerini, N. Schweikardt (eds.) Data Exchange, Integration, and Streams, Dagstuhl Follow-Ups, vol. 5, pp. 1–37. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany (2013). 10.4230/DFU.Vol5.10452.1. http://drops.dagstuhl.de/opus/volltexte/2013/4288 Onet, A.: The Chase Procedure and its Applications in Data Exchange. In: P.G. Kolaitis, M. Lenzerini, N. Schweikardt (eds.) Data Exchange, Integration, and Streams, Dagstuhl Follow-Ups, vol. 5, pp. 1–37. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany (2013). 10.4230/DFU.Vol5.10452.1. http://​drops.​dagstuhl.​de/​opus/​volltexte/​2013/​4288
30.
Zurück zum Zitat Reyes, M.L.P., Reyes, G.E., Zolfaghari, H.: Generic figures and their glueings: a constructive approach to functor categories. Polimetrica (2004) Reyes, M.L.P., Reyes, G.E., Zolfaghari, H.: Generic figures and their glueings: a constructive approach to functor categories. Polimetrica (2004)
31.
Zurück zum Zitat Riehl, E.: Category Theory in Context. Dover Publication Inc., Mineola (2016)MATH Riehl, E.: Category Theory in Context. Dover Publication Inc., Mineola (2016)MATH
32.
Zurück zum Zitat Schultz, P., Spivak, D.I., Vasilakopoulou, C., Wisnesky, R.: Algebraic databases. Theory Appl. Categ. 32(16), 547–619 (2017)MathSciNetMATH Schultz, P., Spivak, D.I., Vasilakopoulou, C., Wisnesky, R.: Algebraic databases. Theory Appl. Categ. 32(16), 547–619 (2017)MathSciNetMATH
33.
Zurück zum Zitat Schultz, P., Spivak, D.I., Wisnesky, R.: Algebraic model management: a survey. In: James, P., Roggenbach, M. (eds.) Recent Trends in Algebraic Development Techniques, pp. 56–69. Springer, Cham (2017)CrossRefMATH Schultz, P., Spivak, D.I., Wisnesky, R.: Algebraic model management: a survey. In: James, P., Roggenbach, M. (eds.) Recent Trends in Algebraic Development Techniques, pp. 56–69. Springer, Cham (2017)CrossRefMATH
34.
Zurück zum Zitat Schultz, P., Wisnesky, R.: Algebraic data integration. J. Funct. Program. 27, e24 (2017) Schultz, P., Wisnesky, R.: Algebraic data integration. J. Funct. Program. 27, e24 (2017)
35.
Zurück zum Zitat Sedgewick, R., Wayne, K.: Algorithms, 4th edn. Addison-Wesley Professional, New York (2011) Sedgewick, R., Wayne, K.: Algorithms, 4th edn. Addison-Wesley Professional, New York (2011)
37.
Zurück zum Zitat Spivak, D.I., Wisnesky, R.: Relational foundations for functorial data migration. In: Proceedings of the 15th Symposium on Database Programming Languages, DBPL 2015, pp. 21–28. ACM, New York, NY, USA (2015) Spivak, D.I., Wisnesky, R.: Relational foundations for functorial data migration. In: Proceedings of the 15th Symposium on Database Programming Languages, DBPL 2015, pp. 21–28. ACM, New York, NY, USA (2015)
38.
Zurück zum Zitat Wells, C.: Sketches: Outline with references. In: Dept. of Computer Science, Katholieke Universiteit Leuven (1994) Wells, C.: Sketches: Outline with references. In: Dept. of Computer Science, Katholieke Universiteit Leuven (1994)
Metadaten
Titel
Fast Left Kan Extensions Using the Chase
verfasst von
Joshua Meyers
David I. Spivak
Ryan Wisnesky
Publikationsdatum
06.07.2022
Verlag
Springer Netherlands
Erschienen in
Journal of Automated Reasoning / Ausgabe 4/2022
Print ISSN: 0168-7433
Elektronische ISSN: 1573-0670
DOI
https://doi.org/10.1007/s10817-022-09634-2

Weitere Artikel der Ausgabe 4/2022

Journal of Automated Reasoning 4/2022 Zur Ausgabe