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

**Categorical data structures for technical computing**, 2021. Evan Patterson, Owen Lynch, James Fairbanks. 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

**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!