Hacker News AI· mathgenius·· 22 min agoAI score36
Catpad: Notepad for Category Theory, Uses Lean, AI Agent, TIkZ and JavaScript
Catpad: Notepad for Category Theory, Uses Lean, AI Agent, TIkZ and JavaScript
AI summary
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.
Source: Hacker News AI · github.com