potentialpaper

Agentic Algorithm Design: LLMs that Propose, Formalise, and Prove Runtime Bounds for Evolutionary Algorithms in Lean

Add the PDF

@openreview[bot] · 2026-11-22 21:35 UTC · 9b753e5d99d4 ·

Evidence

versions/v_k979rm9z.json modified

+++ b/versions/v_k979rm9z.json
@@ -10,8 +10,12 @@
}
],
"title": "Agentic Algorithm Design: LLMs that Propose, Formalise, and Prove Runtime Bounds for Evolutionary Algorithms in Lean",
"url": "https://openreview.net/forum?id=qZMXFUcK2d",
+ "pdf": {
+ "source": "https://openreview.net/forum?id=qZMXFUcK2d",
+ "license": "CC-BY-4.0"
+ },
"evidence": [
"https://openreview.net/forum?id=qZMXFUcK2d"
],
"abstract": "LLMs now prove hard theorems in Lean. Can they also design\nalgorithms and prove their correctness and efficiency? LLM-guided\ndesign of optimisation heuristics (such as AlphaEvolve) is purely\nempirical. Automated theorem provers with LLMs prove given\nstatements. So far, there has been little evidence that LLMs can do\nboth: design an algorithm and guarantee its efficiency by a\nmathematical proof.\nWe present a staged pipeline modelled after research methodology in\ndesign and analysis of evolutionary algorithms. The agent proposes\nblack-box optimisation algorithms, and Lean guards filter out flawed\ndesigns. The agent then defines a potential function and proves\ndrift bounds that guarantee an expected runtime improvement over the\nbaseline algorithm. At no point in the pipeline are the algorithms\ncompared empirically.\nThe agent generates a black-box optimisation algorithm with expected\nruntime $O(n^2)$ on a \\cycleuncover problem, where the classical\n(1+1) EA needs runtime $e^{\\Omega(n)}$. The pipeline also designs\nand analyses a black-box optimisation algorithm for integer-valued\nsubmodular minimisation with expected runtime $O(n^{2+2c})$, and it\nmatches the classical order $O(n^2)$ on \\leadingones. Across 8 problem\nclasses, 12 of 15 runs with frontier models complete the pipeline\nwith a machine-checked expected-runtime bound. In 9 of them the bound\nis polynomial without relying on offline computation, which the\nblack-box model does not charge.\nAn ablation study shows that removing the staging and asking the\nagent to zero-shot an algorithmic design with a runtime guarantee\nleads to a copy of the seeded baseline algorithm (random search) or\nto incomplete proofs. Open-weight models\ndid not complete the pipeline.\nOur study suggests that machine-checked specifications in Lean can\nreplace empirical evaluation in open-ended algorithm discovery. To the best of our knowledge, this is the first example\nof an automated pipeline that designs efficient black-box\noptimisation algorithms with machine-checked runtime bounds in\nLean."

versions/v_k979rm9z.pdf added

+++ b/versions/v_k979rm9z.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e28bc1cfdc6a982a382375edc4729bfa40702226e52909f4a73b86f9678c4b5d
+size 1759247