AlgebraicJulia aims to create novel approaches to scientific computing based on applied category theory

Name | Description | Development Status |
---|---|---|

`Catlab.jl` | A framework for applied category theory in the Julia language | Catlab.jl on GitHub The package is nearing it's `v1.0.0` release |

`AlgebraicPetri.jl` | Build petri net agent based models compositionally | AlgebraicPetri.jl on GitHub Functionality is mostly built-out, but the API may change substantially |

`AlgebraicRelations.jl` | Build SQL categorically | AlgebraicRelations.jl on GitHub Functionality is mostly built-out, but the API may change substantially. |

`AlgebraicDynamics.jl` | Build dynamical systems compositionally | AlgebraicDynamics.jl on GitHub Functionality is mostly built-out, but the API may change substantially. |

`CombinatorialSpaces.jl` | Simplicial sets and other combinatorial models of geometric spaces | CombinatorialSpaces.jl on GitHub Functionality is mostly built-out, but the API may change substantially. |

More info on these packages can be found below.

Add packages like this:

In the code itself:

`using Pkg; Pkg.add("Catlab")`

, orIn the REPL, hit

`]`

to enter Pkg mode and type`add Catlab`

More info can be found at the Pkg manager documentation.

To learn more about applied category theory, try these introductory texts:

*An invitation to applied category: Seven sketches in compositionality*by Fong & Spivak (arXiv)*Category theory for the sciences*by Spivak (arXiv)

The following resources introduce specific topics in, or perspectives on, applied category theory:

"Physics, topology, logic and computation: A Rosetta Stone" by Baez & Stay (arXiv), an interdisciplinary introduction to monoidal categories

"Categories for the practising physicist" by Coecke & Paquette (arXiv), another introduction to monoidal categories, emphasizing quantum physics and relations

Category theory for programmers blog by Milewski, a programming languages viewpoint on category theory with examples from C++ and Haskell, also available in PDF

Graphical linear algebra blog by Sobocinski, on the string diagrammatic approach to linear algebra

If your mathematical background includes basic abstract algebra, you might also try one of these more mathematical introductions to category theory:

*Category theory in context*by Riehl*Basic category theory*by Leinster (arXiv)*Category theory*by Awodey

**A diagrammatic view of differential equations in physics**, 2022. Evan Patterson, Andrew Baas, Timothy Hosgood and James Fairbanks. arXiv**An algebraic framework for rapid epidemic modeling**, 2022. Sophie Libkind, Andrew Baas, Micah Halter, Evan Patterson, James Fairbanks. Accepted at*Proceedings of the Royal Society A*arXiv**Computational category-theoretic rewriting**, 2022. Kristopher Brown, Evan Patterson, Tyler Hanks, James Fairbanks. Accepted at*International Conference on Graph Transformation*. arXiv**Categorical data structures for technical computing**, 2021. Evan Patterson, Owen Lynch, James Fairbanks. Accepted at*Compositionality*. arXiv**Operadic modeling of dynamical systems: mathematics and computation**, 2021. Sophie Libkind, Andrew Baas, Evan Patterson, James Fairbanks.*Applied Category Theory 2021*. arXiv**Wiring diagrams as normal forms for computing in symmetric monoidal categories**, 2020. Evan Patterson, David Spivak, Dmitry Vagner.*Applied Category Theory 2020*. arXiv, Video**Compositional scientific computing with Catlab and SemanticModels**, 2020. Micah Halter, Evan Patterson, Andrew Baas, James Fairbanks.*Applied Category Theory 2020.*arXiv

**Principles and pitfalls of designing software for applied category theory**, Evan Patterson,*Topos Institute Berkeley Seminar*, February 2022; Slides, Video**Categories of diagrams in data migration and computational physics**, Evan Patterson,*Topos Institute Colloquium*, December 2021; Slides, Video**Computational categorical algebra with Catlab**, James Fairbanks,*Graph Transformation Theory and Applications (GReTA) Seminar*, May 2021; Video**C-sets for data analysis: graphs, relational data, and conjunctive queries**, Evan Patterson,*Category Theory and Applications Meetup*, January 2021; Notebook, Video**(Co)relational computing in Catlab: The operad of UWDs and its algebras**, Evan Patterson,*MIT Categories Seminar*, December 2020; Slides, Video**Implementing open dynamical systems in Catlab**, Sophie Libkind,*UNAM Categories Seminar*, November 2020; Video**Compositional epidemiological modeling using structured cospans**, Micah Halter and Evan Pattersion,*UC Riverside Categories Seminar*, November 2020; Slides, Video**AlgebraicJulia: Applied category theory in Julia**, James Fairbanks,*JuliaCon*, July 2020; Slides, Video**Realizing applied category theory in Julia**, Evan Patterson,*MIT Categories Seminar*, January 2020; Video

Help by contributing code, asking questions, or reporting issues.

First off, thank you for your interest in AlgebraicJulia, no matter how you participate in the community.

The packages in AlgebraicJulia are open-source and liberally licensed to allow wide private and commercial usage of the packages, like the base Julia language and many other packages in the ecosystem.

Being open source, you are free to modify, use, or change your copy of the code - but if you make enhancements please consider opening a pull request (basic walkthrough here).

If you find issues, please open an issue on the relevant package's repository and we will try and address it as soon as possible.

If you have other ideas or questions, feel free to also open an issue, or discuss on the community Zulip or Slack #catlab channel. We welcome all Category Theory and related disciplines!