Open by default
Code, notes, design decisions and negative results are public. The software is MIT-licensed.
We build tooling for mathematics, scientific computing and AI/ML: libraries, editors and stores in which models, code and knowledge are made of parts that compose, with the mathematics that says why they compose written down next to the code.
Most tools treat a model as a function, a program as text in files, and knowledge as documents in folders. We treat all three as graphs of parts with typed interfaces, and build one project per layer, on a shared mathematical foundation.
Learn relations, not functions.
Probabilistic models you can condition on any variable, composed as factor graphs, with uncertainty carried through as distributions.
Code, keyed by its structure.
A content-addressed store for code in any language: definitions keyed by the hash of their structure, with proofs, tests and cross-language equivalences attached as evidence.
One graph, every editor a view.
A graph-native editor: files, symbols, notes, databases and relations are one graph, and every editor is a view on it, for people and AI agents alike.
Knowledge you can run.
MathStruct's shared knowledge graph: category theory where it shows up in learning, inference, databases and compilers, one note per concept, with code in Julia, Lean 4 and Haskell.
We are early, and we say so plainly. Each project lists what works, what does not, and what is planned.
Every project is also a published vault of linked notes: the theory, the design decisions and the dead ends sit beside the code they explain, and every page can be commented on.
Code, notes, design decisions and negative results are public. The software is MIT-licensed.
Concepts, derivations and design notes link to each other and to the code, including what it does not do and what went wrong on the way.
Where a closed form exists, the code is tested against it. Approximations say that they are approximations.
Issues, pull requests and discussions. A comment on any page of any vault goes straight into GitHub Discussions.
A Lenticulum model is a factor graph; Moonkale is to edit it as a diagram that stays a diagram instead of becoming code.
Sophia is designed as the store that Moonkale edits: a definition, its proof and its tests are one node rather than three files.
Factors are Bayesian lenses and wiring is composition. The wiki is where that is worked out.
How TikZ diagrams get rendered to SVG at build time, and what that means for writing.
A page where every formula is Typst rather than LaTeX, courtesy of one frontmatter line.
What this blog is for and what to expect here.
Every page of every vault has a comment thread: sign in with GitHub and comment. Questions, corrections and "this is wrong" are all welcome. Contributions are credited, including authorship on releases.
The projects are open research infrastructure for mathematics, scientific computing and machine learning. Read what we are trying to do, and why.
The open-source core stays open source. Applications built downstream of it can be commercial. If that interests you, get in touch.