Munkres' General Topology Autoformalized in Isabelle/HOL

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bryant, Dustin, Munive, Jonathan Julián Huerta y, Kaliszyk, Cezary, Urban, Josef
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913016643059712
author Bryant, Dustin
Munive, Jonathan Julián Huerta y
Kaliszyk, Cezary
Urban, Josef
author_facet Bryant, Dustin
Munive, Jonathan Julián Huerta y
Kaliszyk, Cezary
Urban, Josef
contents We describe an experiment in LLM-assisted autoformalization that produced over 85,000 lines of Isabelle/HOL code covering all 39 sections of Munkres' Topology (general topology, Chapters 2--8), from topological spaces through dimension theory. The LLM-based coding agents (initially ChatGPT 5.2 and then Claude Opus 4.6) used 24 active days for that. The formalization is complete: all 806 formal results are fully proved with zero sorry's. Proved results include the Tychonoff theorem, the Baire category theorem, the Nagata--Smirnov and Smirnov metrization theorems, the Stone--Čech compactification, Ascoli's theorem, the space-filling curve, and others. The methodology is based on a "sorry-first" declarative proof workflow combined with bulk use of sledgehammer - two of Isabelle major strengths. This leads to relatively fast autoformalization progress. We analyze the resulting formalization in detail, analyze the human--LLM interaction patterns from the session log, and briefly compare with related autoformalization efforts in Megalodon, HOL Light, and Naproche. The results indicate that LLM-assisted formalization of standard mathematical textbooks in Isabelle/HOL is quite feasible, cheap and fast, even if some human supervision is useful.
format Preprint
id arxiv_https___arxiv_org_abs_2604_07455
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Munkres' General Topology Autoformalized in Isabelle/HOL
Bryant, Dustin
Munive, Jonathan Julián Huerta y
Kaliszyk, Cezary
Urban, Josef
Artificial Intelligence
Machine Learning
Logic in Computer Science
We describe an experiment in LLM-assisted autoformalization that produced over 85,000 lines of Isabelle/HOL code covering all 39 sections of Munkres' Topology (general topology, Chapters 2--8), from topological spaces through dimension theory. The LLM-based coding agents (initially ChatGPT 5.2 and then Claude Opus 4.6) used 24 active days for that. The formalization is complete: all 806 formal results are fully proved with zero sorry's. Proved results include the Tychonoff theorem, the Baire category theorem, the Nagata--Smirnov and Smirnov metrization theorems, the Stone--Čech compactification, Ascoli's theorem, the space-filling curve, and others. The methodology is based on a "sorry-first" declarative proof workflow combined with bulk use of sledgehammer - two of Isabelle major strengths. This leads to relatively fast autoformalization progress. We analyze the resulting formalization in detail, analyze the human--LLM interaction patterns from the session log, and briefly compare with related autoformalization efforts in Megalodon, HOL Light, and Naproche. The results indicate that LLM-assisted formalization of standard mathematical textbooks in Isabelle/HOL is quite feasible, cheap and fast, even if some human supervision is useful.
title Munkres' General Topology Autoformalized in Isabelle/HOL
topic Artificial Intelligence
Machine Learning
Logic in Computer Science
url https://arxiv.org/abs/2604.07455