Catpad: Categorical Theory Notebook Desktop App Released
Understand this story
tlehman has released Catpad, a categorical theory notebook desktop application: users paste expressions in arbitrary notation, and an LLM Agent loop reads the notes, writes Lean 4 code, fixes errors, and generates TikZ diagrams, returning Lean 4-checked results and rendered diagrams. The app supports macOS (Apple silicon), Linux (x86-64), and Windows (x86-64). On first launch, it downloads Lean (elan) along with the drawing tools tectonic and poppler, and downloads a multi-gigabyte prebuilt Mathlib cache in one go. Because it is not yet signed with an Apple Developer ID, macOS blocks it on first open; you need to click "Open Anyway" in "System Settings → Privacy & Security".
AI overview based on source reports · Updated 9 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AICatpad: Notepad for Category Theory, Uses Lean, AI Agent, TIkZ and JavaScript
Catpad is a desktop notepad for category theory that keeps four components in sync: freeform notes, an LLM agent loop, an editable Lean 4 + Mathlib buffer, and TikZ diagrams generated from a diagram DSL in the Lean buffer. Each diagram item is bound to a Lean term, so clicking an object, arrow or ⟳ highlights its definition in the code, and drawing operations are written back into the buffer as DSL lines and checked by Lean. It is available for macOS (Apple silicon), Linux and Windows, with install scripts, and can also run from source with bun, tectonic, poppler and elan.
Activity for this story
Not enough continuous observations to show a trend yet.