Read notebooks and check proofs
Open a notebook beside its source. Follow live updates from your agents, jump between prose and code, explore proof steps and check saved claims independently with Lean.
Read the extension guideGlitnir is an open-source workbench for mathematicians working with coding agents. Read and edit Lean notebooks in VS Code, coordinate agent swarms with Taskvalet and save their findings in shared memory.
Work with your coding agent on the same Lean file. Read its explanations, inspect its changes and check its claims from the rendered notebook.
The Glitnir notebook specification adds Markdown prose and mathematical notation inside Lean comments. Definitions and proofs remain ordinary Lean, in the same file.
Read the notebook format/-! # A first notebook
Explain the idea, then give its proof.
-/
theorem hello : True := by
trivial
Open a notebook beside its source. Follow live updates from your agents, jump between prose and code, explore proof steps and check saved claims independently with Lean.
Read the extension guideInstall the notebook authoring skill for Codex, Claude Code or another coding agent. The skill describes the notebook format, how to explain proofs and how to check claims.
Read the agent skillDisplay graphical views, simulation outputs and other artifacts in a notebook. The optional Forseti plugin provides visualizations and simulations for supported Lean models.
Read about the Forseti pluginSee which claims have been checked, which proofs are unfinished and which assumptions they use. Simulation results provide evidence for conjectures; Lean checks whether the proofs establish their claims.
Read about claim checkingUse Taskvalet to coordinate coding agents on one mathematical problem. Keep their findings in shared memory and write their arguments as Glitnir notebooks.
Assign different approaches to agents, share notes and save findings as they work. Agents can read each other’s results and contribute to the same mathematical problem.
We are developing distributed compute for Lean verification and simulation jobs submitted by people or agents. Agents will be able to continue working on proofs while those jobs run.
Install the extension, open a Lean notebook and set up your coding agent with the authoring skill.
Install Glitnir for VS CodeSetup needs uv and Python; checking needs compatible Lean.
See installation requirements