Explorable Proofs: Making Written Proofs Explorable by Grounding Them in Formal Representations

Hita Kambhamettu, Will Crichton, Sean Welleck, Harrison Goldstein and Andrew Head

Abstract

LLM-generated explanations can make technical content more accessible, but there is a ceiling on what they can support interactively. Because LLM outputs are static text, they cannot be executed, tinkered with, or stepped through. In this paper, we explore how grounding explanations in a formalized representation enables interactive affordances beyond what static text supports. We instantiate this idea for mathematical proof comprehension in explorable proofs, an approach that uses LLMs to translate a theorem and its written proof into Lean, a programming language for machine-checked proofs, and links the written proof with the Lean code. Readers can work through the proof at a step-level granularity, test custom examples or counterexamples, and trace the logical dependencies bridging between steps. Each worked-out step is produced by executing the Lean proof on an example and extracting its intermediate state. A user study (n = 16) shows potential advantages of this approach: in a proof-understanding task, participants who used the explorability features wrote proof descriptions that an instructor preferred over those written with a proof-and-chatbot baseline, and gave more correct and more detailed answers to proof comprehension questions.

Venue
UIST 2026
Volume
Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3830398.3830614
PDF
https://dl.acm.org/doi/pdf/10.1145/3830398.3830614
Anthology ID
2026.uist.139

Cite

@inproceedings{kambhamettu-etal-2026-explorable,
    title = {{Explorable Proofs: Making Written Proofs Explorable by Grounding Them in Formal Representations}},
    author = {Hita Kambhamettu and Will Crichton and Sean Welleck and Harrison Goldstein and Andrew Head},
    booktitle = {Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400728563},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3830398.3830614},
    url = {https://doi.org/10.1145/3830398.3830614},
    abstract = {LLM-generated explanations can make technical content more accessible, but there is a ceiling on what they can support interactively. Because LLM outputs are static text, they cannot be executed, tinkered with, or stepped through. In this paper, we explore how grounding explanations in a formalized representation enables interactive affordances beyond what static text supports. We instantiate this idea for mathematical proof comprehension in explorable proofs, an approach that uses LLMs to translate a theorem and its written proof into Lean, a programming language for machine-checked proofs, and links the written proof with the Lean code. Readers can work through the proof at a step-level granularity, test custom examples or counterexamples, and trace the logical dependencies bridging between steps. Each worked-out step is produced by executing the Lean proof on an example and extracting its intermediate state. A user study (n = 16) shows potential advantages of this approach: in a proof-understanding task, participants who used the explorability features wrote proof descriptions that an instructor preferred over those written with a proof-and-chatbot baseline, and gave more correct and more detailed answers to proof comprehension questions.}
}