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. CakeML
    CakeML icon

    CakeML

    Automated Testing

    A verified implementation of a Standard ML subset with a proven-correct, self-bootstrapping compiler, developed in the HOL4 theorem prover.

    Visit Website

    At a Glance

    Pricing
    Open Source

    CakeML core compiler and ecosystem released under the OSI-approved BSD 3-Clause license.

    Engagement

    Available On

    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Automated TestingDevelopment EnvironmentsFormal Verification

    Alternatives

    CertiRocqLean 4Dafny
    Developer
    CakeMLEst. 2012

    Listed Dec 2026

    About CakeML

    CakeML is a functional programming language and an ecosystem of proofs and tools built around it, developed by an academic open-source community and hosted on GitHub under a BSD 3-Clause license. It is based on a substantial subset of Standard ML, and its semantics are specified in higher-order logic within the HOL4 theorem prover. The project's website describes a compiler that can bootstrap itself and has been proved correct.

    What It Is

    CakeML is a formally verified programming language implementation. Its source and proofs are developed in HOL4. The language has a formal semantics (big-step, small-step, FFI semantics and a type system), and the verified compiler backend transforms an untyped AST to machine code for 6 target architectures. According to the project, the backend is proved to produce only machine code compatible with the behaviours of the source programs.

    How the Toolchain Works

    There are two compiler frontends. The first is a proof-producing translator that turns ML-like HOL functions into CakeML AST and proves that the generated code behaves like the HOL function. The second is a PEG parser followed by a type inferencer, both proved sound and complete with respect to declarative specifications. Combining frontend 2 with the backend yields a compiler that has been bootstrapped inside HOL, producing a verified binary of the compiler itself. Bootstrapped binaries are published as tar.gz files on the releases page.

    Verification and Applications

    Besides synthesis, CakeML adapts Charguéraud's CFML framework for Hoare-style reasoning in separation logic about references, arrays, exceptions and I/O. Verified applications built with it include grep, sort, cat, diff and patch style tools, an OpenTheory article checker, SAT proof checkers (DRAT/LPR), a floating-point error-bound certificate checker, and Candle, a verified HOL Light implementation. Other verified compilers built on it include Pancake (a systems-language compiler), PureCake (a lazy Haskell-style language) and Kalas (a choreographic language).

    Setup Path

    Building the full project, including the bootstrapped compiler and proofs, requires HOL4 (latest master) built on PolyML 5.7.1 and significant resources; build-instructions.sh and a how-to.md guide describe installation and usage. A tutorial covers writing verified programs with HOL and CakeML. The community is reachable via Zulip.

    CakeML - 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 CakeML to one of your collections.

    View all collections

    Community Discussions

    Be the first to start a conversation about CakeML

    Share your experience with CakeML, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    CakeML core compiler and ecosystem released under the OSI-approved BSD 3-Clause license.

    • BSD 3-Clause License
    • Verified compiler backend targeting 6 architectures
    • Free software components
    • Self-hosted; build from source or download binaries

    Capabilities

    Key Features

    • Verified compiler backend targeting 6 architectures
    • Bootstrapped compiler verified inside HOL
    • Formal semantics in higher-order logic
    • Proof-producing translator from HOL functions to CakeML
    • Verified PEG parser and type inferencer
    • CFML-based separation logic verification of CakeML programs
    • Standard basis library
    • Pancake and PureCake compilers built on the CakeML compiler
    • Candle verified HOL Light prover

    Integrations

    HOL4
    PolyML
    Standard ML
    OpenTheory

    Ratings & Reviews

    No ratings yet

    Be the first to rate CakeML and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    CakeML Team

    A Verified Implementation of ML

    Founded 2012
    Read more about CakeML Team
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    CertiRocq icon

    CertiRocq

    A verified compiler for Gallina, the Rocq Prover specification language, targeting WebAssembly and Clight (C).

    Lean 4 icon

    Lean 4

    Open-source programming language and proof assistant for writing formally verified software and mathematics.

    Dafny icon

    Dafny

    Dafny is a verification-aware programming language with a built-in static program verifier that compiles to C#, Java, JavaScript, Go and Python.

    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

    Development Environments

    AI-enhanced code editors and IDEs that improve the coding experience.

    364 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