Skip to content

tsondru/catgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

catgraph workspace

Category-theoretic graph structures in Rust. The catgraph crate (v0.11.0 slim baseline) is a strict Rust implementation of Fong & Spivak, Hypergraph Categories (2019). Applied-CT extensions and Wolfram-physics extensions live in sibling workspace crates.

Members

Crate Path Purpose
catgraph catgraph/ Strict Fong-Spivak 2019 paper implementation: cospans, spans, Frobenius algebras, hypergraph categories, Theorem 1.2 equivalence
catgraph-physics catgraph-physics/ Wolfram-physics extensions: hypergraph DPO rewriting, multiway evolution, gauge theory, branchial spectral analysis
catgraph-applied catgraph-applied/ Applied CT extensions: Petri nets, wiring diagrams, E_n operads, Temperley-Lieb, linear combinations

Sibling repositories

These are separate repos that depend on catgraph and/or catgraph-physics:

Repo Purpose
catgraph-surreal SurrealDB persistence layer for catgraph and catgraph-physics types
irreducible Computational irreducibility framework (Gorard 2023) using catgraph and catgraph-physics

Build

cargo build --workspace
cargo test --workspace
cargo clippy --workspace -- -W clippy::pedantic

Each crate has its own README and CLAUDE.md:

License

MIT — see LICENSE.

About

Cospans, spans, hypergraph rewriting (DPO), multiway evolution, discrete curvature, Petri nets, Frobenius algebras, wiring diagrams, E_n operads, compact closed categories, and lattice gauge theory in Rust — applied category theory for compositional systems, with SurrealDB persistence

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages