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-ocaml
    rocq-of-ocaml icon

    rocq-of-ocaml

    Automated Testing
    Featured

    Transpiler that translates OCaml programs into Rocq code so their properties can be formally verified.

    Visit Website

    At a Glance

    Pricing
    Open Source

    rocq-of-ocaml is released under the MIT license and can be installed and used at no cost via opam.

    Engagement

    Available On

    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Automated TestingCode IntelligenceFormal Verification

    Alternatives

    rocq-of-rusthax from pereqCharon
    Developer
    Formal LandParis, FranceEst. 2021

    Listed Dec 2026

    About rocq-of-ocaml

    rocq-of-ocaml is an open-source formal verification tool from Formal Land that translates OCaml programs into similar-looking Rocq code. It was developed for the Tezos crypto-currency protocol, and the project documentation says it was funded by the French Government and the Tezos Foundation. The command-line tool is installed through opam and released under the MIT license.

    What It Is

    rocq-of-ocaml is a transpiler from OCaml to the Rocq proof language, producing a shallow embedding of OCaml in Rocq. The generated code is meant to be idiomatic, human readable, and of a size similar to the OCaml source. Users then write proofs about the generated definitions in Rocq, for example induction proofs over a recursive function.

    Workflow

    The tool compiles OCaml files one by one, using Merlin to access each file's typing environment, so a compiled project with a working Merlin configuration (automatic with dune) is required. Running rocq-of-ocaml file.ml produces a Rocq .v file. Teams typically translate the critical .ml files and keep the rest as axioms generated from .mli files. When something is not handled, the tool emits an error message and a dummy Rocq term rather than failing outright.

    The generated code may not compile on the first try because of unsupported features or name collisions. The documentation lists remedies: adjust the OCaml input, use attributes or configuration, fork the translator, or post-process the output by script or by hand.

    Language Support and Limits

    The tool supports the purely functional parts of OCaml, including functors, first-class modules, records, inductive types, and multi-file projects. Side effects can be translated when represented by a monad. Side effects outside a monad, such as references, are translated to axioms or ignored, and object-oriented programming is not supported. GADTs, polymorphic variants, and extensible types have only partial support. OCaml integers are represented as unbounded integers, so overflow must be accounted for in proofs. The docs state there are no proofs that the translation preserves semantics, so manual review is needed.

    Background

    The project began as part of a PhD at Paris 7 and was later financed by Nomadic Labs and the Tezos Foundation. The README says it was used to verify the Tezos protocol, about 100,000 lines of OCaml, in the coq-tezos-of-ocaml project.

    rocq-of-ocaml - 1

    Collections

    Popular collections

    • Code Knowledge Graphs

      Collection by @evtuff

      Remix
    • Obsidian Agentic & AI plugins

      Collection by @samofcode

      Remix
    • Codebase Context Generators

      Collection by @joemseifi

      Remix
    • Frameworks

      Collection by @joemseifi

      Remix

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

    View all collections

    Community Discussions

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

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

    Pricing

    OPEN SOURCE

    Open Source

    rocq-of-ocaml is released under the MIT license and can be installed and used at no cost via opam.

    • MIT License (OSI-approved)
    • Install via opam: opam install rocq-of-ocaml
    • OCaml to Rocq transpiler for formal verification
    • Full source code available on GitHub

    Capabilities

    Key Features

    • Translates OCaml to readable Rocq code
    • Shallow embedding of OCaml in Rocq
    • Supports functors, first-class modules, and module types
    • Supports monadic side-effects
    • Multi-file projects via Merlin
    • Generates axioms from .mli files
    • Attributes and configuration to customize translation
    • Emits error messages while still generating output
    • Partial GADT support

    Integrations

    Rocq
    Merlin
    opam
    dune
    OCaml
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate rocq-of-ocaml 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
    2 tools in directory

    Similar Tools

    rocq-of-rust icon

    rocq-of-rust

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

    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.

    Charon icon

    Charon

    Extracts the complete contents of a Rust crate and its dependencies into a JSON/LLBC file for analysis and verification tools.

    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.

    271 tools

    Code Intelligence

    AI tools that analyze, generate, and transform code through natural language understanding and programming language comprehension.

    202 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.

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