Agentic Algorithm Design: LLMs that Propose, Formalise, and Prove Runtime Bounds for Evolutionary Algorithms in Lean
TL;DR - A staged LLM-agent pipeline designs black-box optimization algorithms and formally proves their expected runtime bounds in Lean. It demonstrates that machine-checked specifications can guide algorithm discovery without empirical comparisons.
- Lean-based guards reject flawed designs before runtime analysis.
- The agent generates potential functions and proves drift bounds establishing expected-runtime improvements.
- Across eight problem classes, 12 of 15 frontier-model runs produced machine-checked runtime bounds.
- Staging was essential: zero-shot attempts copied the baseline algorithm or yielded incomplete proofs.