AutoCorrode
Verification infrastructure for reasoning about imperative programs in Isabelle/HOL using separation logic and custom proof automation.
At a Glance
AutoCorrode core verification infrastructure for Isabelle/HOL released under the MIT License, free to use, copy, modify and distribute.
Engagement
Available On
Listed Dec 2026
About AutoCorrode
AutoCorrode is an open-source verification framework from AWS Labs for reasoning about imperative programs in Isabelle/HOL. It supports classical and separation logic and includes configurable proof automation written in Standard ML. Its core is language-agnostic, with a frontend and examples for the Rust-like language µRust.
What It Is
AutoCorrode is a set of Isabelle sessions that let users model imperative programs, state contracts for them, and prove the programs satisfy those contracts. The README describes it as the "little rusty brother" of the AutoCorres C verification framework. A showcase theory defines simple µRust functions, gives them contracts, and uses the provided automation to verify them.
Core Building Blocks
- Shallow_Micro_Rust defines the µRust monad, with support for exceptions, functions, and yields/prompts.
- Shallow_Separation_Logic defines separation logic notions, Hoare triples for the monad, and a weakest precondition calculus.
- Crush is a family of customizable tactics for reasoning in separation logic.
- Separation lenses and the optics session (lenses, prisms, foci) support representation-agnostic reasoning about references, whether backed by an abstract heap or byte-level memory.
- Autogen provides AutoLocality, which uses user-declared function footprints to cancel irrelevant state operations during simplification.
AI-Agent and Tooling Components
The repository also includes tools for driving Isabelle from agents and IDEs. I/Q is an experimental Isabelle/jEdit plugin that exposes proof editing and exploration as an MCP server so MCP-capable agents can conduct interactive theorem proving. I/R provides interactive theory exploration from the command line or via TCP and MCP, and IC2 manages headless persistent Isabelle sessions. I/P runs the Isabelle ML prover on a remote machine while keeping Isabelle/jEdit local. Isabelle Assistant is an LLM-powered proof assistant built on AWS Bedrock, offering proof search, chat, suggestions, and refactoring.
Setup Path
AutoCorrode requires Isabelle2025-2 and the Word_Lib AFP entry. make jedit opens the sources in Isabelle/jEdit, and make build runs a non-interactive batch build of all material.
Collections
Popular collections
- Read Your Agent's Code Before You Merge
Collection by @presscheck
- Give Your Agent Design Taste
Collection by @linetwk
- Run YOLO Mode Without Risking Your Laptop
Collection by @reproalex
- ADE List - December 2026
Collection by @mateorivera17
Add AutoCorrode to one of your collections.
Community Discussions
Be the first to start a conversation about AutoCorrode
Share your experience with AutoCorrode, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
AutoCorrode core verification infrastructure for Isabelle/HOL released under the MIT License, free to use, copy, modify and distribute.
- MIT License (OSI-approved)
- Verification infrastructure for Isabelle/HOL with classical and separation logic
- Custom automation written in Standard ML
- µRust frontend and examples
- Requires Isabelle2025-2 and the WordLib AFP entry
Capabilities
Key Features
- Separation logic and classical logic reasoning for imperative programs
- µRust monad with shallow embedding into Isabelle/HOL
- Hoare triples and weakest precondition calculus
- Crush tactics for separation logic automation
- Separation lenses and optics for representation-agnostic reference reasoning
- AutoLocality footprint-based simplification
- I/Q MCP server for AI agent theorem proving
- I/R REPL over TCP and MCP
- IC2 headless persistent Isabelle sessions
- Isabelle Assistant LLM-powered proof search and suggestions
