🛰️ Daily AI Frontier
‹ back to 2026-10-27

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

arXiv cs.AI LLM Agents Per Kristian Lehre 2026-10-26

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.

view merged work →