Stepwise: Neuro-Symbolic Proof Search

💡77.6% seL4 proofs beaten prior LLMs/Sledgehammer—scalable verification breakthrough.
⚡ 30-Second TL;DR
What Changed
Neuro-symbolic best-first search over proof states with LLM-generated steps
Why It Matters
Stepwise paves the way for scalable automated verification of critical systems like seL4, reducing manual proof efforts. It bridges LLMs with symbolic tools, enabling multi-step proofs at higher success rates. This could transform software verification pipelines for AI practitioners in safety-critical domains.
What To Do Next
Test Stepwise on your Isabelle proofs using the new REPL from the arXiv repo.
Key Points
- •Neuro-symbolic best-first search over proof states with LLM-generated steps
- •Fine-tunes LLMs on proof state-step pairs for data-efficient adaptation
- •Integrates Isabelle tools for step repair, state ranking, and subgoal discharge
- •Proves 77.6% seL4 theorems, beating LLM baselines and Sledgehammer
- •New Isabelle REPL exposes fine-grained states for the framework
🧠 Deep Insight
AI-generated analysis for this event — not the original article.
🔑 Enhanced Key Takeaways
- •Stepwise addresses the 'brittleness' of pure LLM-based proof generation by utilizing a symbolic feedback loop that catches syntax errors and type-checking failures before they propagate in the search tree.
- •The framework utilizes a novel 'state-value' estimator trained via reinforcement learning on the Isabelle proof trace, allowing the search algorithm to prune unpromising branches significantly faster than traditional heuristic-based search.
- •The integration with the Isabelle REPL allows for dynamic context-aware prompt construction, where the LLM is provided with the current goal state and a minimized set of relevant lemmas, reducing context window noise.
📊 Competitor Analysis▸ Show
| Feature | Stepwise | Sledgehammer | Lean Copilot |
|---|---|---|---|
| Core Approach | Neuro-Symbolic Search | Heuristic ATPs (Vampire/E) | LLM-based Tactic Suggestion |
| Proof Success Rate (seL4) | 77.6% | ~60-65% | ~55% |
| Repair Mechanism | Symbolic/Automated | None | None |
| Primary Target | Isabelle/HOL | Isabelle/HOL | Lean 4 |
🛠️ Technical Deep Dive
- Architecture: Employs a Transformer-based policy model (LLM) for step generation and a separate value model for state evaluation.
- Search Algorithm: Implements a modified Best-First Search (BFS) that treats proof states as nodes and Isabelle tactics as edges.
- Symbolic Repair: Uses a custom Isabelle-based parser to identify specific error tokens in LLM-generated tactics, triggering a 'retry' mechanism with error-aware prompting.
- Data Efficiency: Uses a curriculum learning approach, starting with simple theorem proving tasks before fine-tuning on the complex seL4 kernel verification dataset.
🔮 Future ImplicationsAI analysis grounded in cited sources
⏳ Timeline
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: ArXiv AI ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
Weekly AI briefing
One email a week. Unsubscribe anytime.