Mohamed Barakat: CAP — a categorical (re)organization of computer algebra @ToposInstitute
Mohamed Barakat: CAP — a categorical (re)organization of computer algebra  @ToposInstitute
Uploaded July 2025 | Updated December 2026, 3 hours ago
Topos Institute Colloquium, 17th of July 2025.
———
In this talk I will introduce CAP (Categories, Algorithms and Programming), a multi-package open-development software project for algorihmic category theory. CAP is currently loosely organized by the 3-category of “doctrines". By a doctrine we mean a 2-category of structured categories, structure-preserving 2-functors, and natural transformations between them. Compositions of such 2-functors applied to a specific category give rise to what we call "categorical towers", a highly economic and modular way to create various computational contexts in computer algebra. Such modular code cannot be optimized by hand for comptutational performance as it would require breaking the modularity: Each layer in the tower treats the layer below merely as a blackbox. This forced us to develop CompilerForCAP, a category-theory-aware compiler that is able to get rid of the entire categorical abstraction and produce efficient low-level code which is almost impossible to write by hand, let alone error-free.
Mohamed Barakat: CAP — a categorical (re)organization of computer algebra[Berkeley Seminar] Owen Lynch | Abstract interpretation for semi-dependent type theoriesNathanael Arkor: A (virtual) double category theorists perspective on polynomialsDario Stein: Random Variables, Independence Structures and Dagger Categories of Relations[Oxford Seminar] Jason Brown | Wreaths in Span(Set)[Berkeley Seminar] Michael Arntzenius | UC Berkeley[2-torial] Owen tells Tim about elaborators for type theories [1/2][2-torial] Quantum information theory, Part 1: Some linear algebra[Berkeley Seminar] Paul Lang | Categorical Abstractions for Living Systems (CatALiSys)Owen Lynch | Coln: A Pebble on the Path to Algebraic DataBASE Types[Oxford Seminar] Jana Nickel | Coend calculus in a compact closed virtual equipmentXiao-Gang Wen: Symmetry beyond group and its description by braided fusion category
Topos Institute |

Mohamed Barakat: "CAP — a categorical (re)organization of computer algebra"

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER