Gödel's Poetry

Kelly J. Davis
12/16/2025
cs.AIcs.LG

Official code: KellyJDavis/goedels-poetry (34 stars, Apache-2.0, last commit 2026-03-09).

Abstract

Formal, automated theorem proving has long been viewed as a challenge to artificial intelligence. We introduce here a new approach to computer theorem proving, one that employs specialized language models for Lean4 proof generation combined with recursive decomposition of difficult theorems into simpler entailing propositions. These models are coordinated through a multi-agent architecture that orchestrates autoformalization (if required), proof generation, decomposition of difficult theorems into simpler entailing propositions, and recursive proof (and/or decomposition) of these propositions. Without decomposition, we achieve a 90.4% pass rate on miniF2F. With decomposition, this is significantly improved. A key technical contribution lies in our extension of the Kimina Lean Server with abstract syntax tree (AST) parsing capabilities to facilitate automated, recursive proof decomposition. The system is made available on PyPI as goedels-poetry (at https://pypi.org/project/goedels-poetry ), and the open-source implementation KellyJDavis/goedels-poetry (at https://github.com/KellyJDavis/goedels-poetry ) facilitates both adaptation to alternative language models and extension with custom functionality.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A recursive, reflective POETRY algorithm variant using Goedel-Prover-V2

341Lean, ShellSep 22, 20257 months agoApache-2.0

Similar Papers

Cite this paper

@article{davis2025gdels,
  title  = {Gödel's Poetry},
  author = {Kelly J. Davis},
  year   = {2025},
  eprint = {2512.14252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.14252v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.14252.svg)](https://codeofpaper.com/paper/2512.14252)

Discussion