EveryDev.ai
Subscribe
Home
Tools

7,054+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3692
  • Coding2804
  • Infrastructure1176
  • MCP1007
  • Projects967
  • Research797
  • Analytics620
  • Marketing569
  • Design567
  • Testing519
  • Security481
  • Data473
  • Communication350
  • Integration332
  • Prompts319
  • Extensions273
  • Voice241
  • DevOps216
  • Commerce199
  • Web148
  • Learning146
  • Finance45
AI Tools by Topic
  • AI Coding Assistants
  • AI Code Review Tools
  • Agent Frameworks
  • AI Workflow Automation
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • Newsletter
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
  • Newsletter Archive
Get Started
  • Submit a Tool
  • Rate Tools
  • Start a Discussion
  • Write a Blog
  • Share a Build
  • Users
  • About
  • Contact Us
  • Advertise
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Search & AI
  • llms.txt
  • Add to favorites on Google
Theme
Terms of ServicePrivacy Policy
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. rocq-of-rust
    rocq-of-rust icon

    rocq-of-rust

    Automated Testing
    Featured

    Formal verification tool that translates Rust code into Rocq so developers can prove programs meet their specifications.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Self-hosted rocq-of-rust core: Rust transpiler under AGPL-3.0 and Rocq proofs/libraries under MIT license.

    Engagement

    Available On

    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Automated TestingCode SecurityFormal Verification

    Alternatives

    hax from pereqCBMCTLA-ts
    Developer
    Formal LandParis, FranceEst. 2021

    Listed Dec 2026

    About rocq-of-rust

    rocq-of-rust is a formal verification tool from Formal Land that translates Rust programs into the Rocq proof system. Users write specifications for the functions they want to check and prove that the translated code satisfies them, with proofs covering every input allowed by the stated hypotheses. The project's development was funded by the Ethereum Foundation and the Aleph Zero Foundation, according to the documentation.

    What It Is

    rocq-of-rust is a translator and proof framework for Rust. It takes Rust code at the compiler's THIR level and represents the syntax explicitly in Rocq, including low-level details such as effect sequencing and implicit borrowing and dereferencing. The generated Rocq code is therefore more verbose than the original Rust. According to the documentation, a large subset of Rust can be translated, including most of alloc and core. The docs note that applying a proof to the Rust program also relies on the translator, the Rust semantics in Rocq, and assumptions about dependencies.

    Verification Workflow

    The typical workflow starts with translating the Rust code with cargo rocq-of-rust. The translated code then goes through two semi-automated refinement steps: linking, which handles type-checking and trait inference with native Rocq types and typeclasses, and simulation, which represents control flow and memory manipulation in a purely functional style. Users then write specifications and prove them against the simulations. The README lists example properties such as code that cannot panic, preserved data invariants, backward compatibility between releases, and serialization/deserialization functions being inverses.

    Setup Path

    Installation requires a working Rust installation and Rocq. Users clone the repository, run cargo install --path lib/ to add the cargo rocq-of-rust command, copy the repository's rust-toolchain file into the target project, and run the command. This produces one .v Rocq file per Rust file, which are not dependent on each other for compilation so that one translation failure does not block the rest. The files are compiled within the RocqOfRust/ folder using opam and make.

    Application to Revm

    Formal Land uses the tool to verify Revm, a Rust implementation of the Ethereum Virtual Machine, by showing it equivalent to a specification written in a purely functional style. Formal Land's homepage states that a private, more scalable version is available on request, and the README notes that the tool is a work in progress in many parts.

    rocq-of-rust - 1

    Collections

    Popular collections

    • Black Friday 2026: AI APIs and Creative Tools

      Collection by @priyashah

      Remix
    • Harness Setup

      Collection by @joemseifi

      Remix
    • Code Knowledge Graphs

      Collection by @evtuff

      Remix
    • Obsidian Agentic & AI plugins

      Collection by @samofcode

      Remix

    Add rocq-of-rust to one of your collections.

    View all collections

    Community Discussions

    Be the first to start a conversation about rocq-of-rust

    Share your experience with rocq-of-rust, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Self-hosted rocq-of-rust core: Rust transpiler under AGPL-3.0 and Rocq proofs/libraries under MIT license.

    • Rust transpiler (cli/, lib/) licensed under AGPL-3.0
    • Rocq proofs and libraries (RocqOfRust/) licensed under MIT
    • Install via cargo install and compile with Rocq
    • Formal verification services are sold separately and not priced publicly

    Capabilities

    Key Features

    • Translates Rust code to Rocq from the THIR level
    • Cargo subcommand `cargo rocq-of-rust`
    • Linking step for type-checking and trait inference with Rocq types and typeclasses
    • Simulation step representing control flow and memory in a functional style
    • Translation of a large subset of Rust including most of alloc and core
    • One generated Rocq file per Rust file, independent for compilation
    • Used to build a formal specification of Revm

    Integrations

    Rocq
    Cargo
    Revm
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate rocq-of-rust and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Formal Land

    Formal Verification for everyday-life applications

    Founded 2021
    Paris, France
    5 employees

    Used by

    Ethereum Foundation (Revm, CompPoly and…
    Tezos (layer-1 OCaml verification)
    Aleph Zero Foundation (rocq-of-rust and…
    Sui (selected Move type-checker…
    +4 more
    Read more about Formal Land
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    hax from pereq icon

    hax from pereq

    A Rust verification tool that translates a large subset of Rust into formal languages such as Lean, F*, and Rocq.

    CBMC icon

    CBMC

    Bounded model checker for C and C++ programs that verifies assertions, memory safety and undefined behavior.

    TLA-ts icon

    TLA-ts

    Formally verifies TypeScript code by transpiling it to TLA+ and model checking every state to report violations with their traces.

    Browse all tools

    Related Topics

    Automated Testing

    AI-powered platforms that automate end-to-end testing processes with intelligent test case generation, execution, and reporting for faster, more reliable software delivery.

    236 tools

    Code Security

    Tools that analyze code for security vulnerabilities and issues.

    134 tools

    Formal Verification

    Tools that prove code, specs and system designs are correct with math, including proof assistants, model checkers and AI that writes proofs.

    7 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions