Formal verification · On-chain audit proofs

Bugs are probabilities.Proofs are certainties.

Connect a repository and Formal turns it into machine-checked proofs of correctness — for Rust, Solidity smart contracts, C and Supabase row-level security — compounds them with every commit, and anchors each audit on-chain, so the guarantee outlives the report.

01 — Specify

Turn intent into mathematics.

We map your call graph, then attach machine-readable properties to every unit that matters — invariants, pre- and post-conditions, the things your tests only hope are true.

#[kani::requires(amount <= balance)]
#[kani::ensures(|r| *r == balance - amount)]
fn debit(balance: u64, amount: u64) -> u64 {
    balance - amount
}

02 — Prove

Exhaust every path, not a sample.

Model checkers and SMT solvers explore the entire state space. Each obligation is either discharged with a proof, or returned to you as a concrete counterexample.

0obligations discharged counterexamples surfaced, isolated, returned

03 — Compound

Every proof becomes a foundation.

Your repository accumulates a body of proof. Unchanged code reuses prior proofs; verified contracts become assumptions for the code built on top. Each commit is cheaper to verify than the last.

  1. a41c09e+312 new · 0 reused
  2. c7e2b81+96 new · 298 reused
  3. f0d93a4+41 new · 377 reused
  4. 9f3c1e7+18 new · 1107 reused

04 — Anchor

Audits that cannot be rewritten.

Each proof bundle is hashed into a Merkle root and attested on Ethereum (Base) via EAS — linked to the one before it. Your code never leaves our vault; only the fingerprint goes on-chain.

schema
formal.proof-bundle.v1
commit
9f3c1e7a52d08b6e41ac2f9d07e3b5c18a6d4f20
bundleRoot
0x7be2…c41f9a03d8e6b2715f0a9c3e48d1
parent
0x1d94…a0e7c3b25f86d4e19b7a2c05f3
guarantee
PROVEN
obligations
1,284 proven · 0 failed · 1,107 reused

Illustrative attestation · EAS on Base

Guarantee levels

Honest about what is proven.

Formal verification for Solidity smart contracts, Rust with Kani, C with CBMC, TLA+ designs and Supabase RLS policies with Z3 — plus property-based checks for TypeScript and Python. Every result is labelled with the guarantee it actually carries.

  • PROVENMachine-checked proof over all inputs.
  • BOUNDEDExhaustive up to stated bounds.
  • PROPERTYThousands of generated inputs searched for a counterexample. Not a proof.
  • STATICStatic analysis. We never call it a proof.
  • PROVEN

    Solidity / EVM

    SMTChecker (CHC) · Halmos · Slither

  • BOUNDED

    Rust

    Kani · function contracts · Clippy

  • BOUNDED

    C / C++

    CBMC · cppcheck

  • PROVEN

    Postgres / Supabase RLS

    Z3 · policies replayed on real Postgres

  • BOUNDED

    TLA+ design models

    TLC model checker · any language's protocols

  • PROPERTY

    TypeScript / JavaScript

    fast-check properties · typescript-eslint

  • PROPERTY

    Python

    Hypothesis · CrossHair · Bandit

  • STATIC

    Swift

    SwiftLint analyzer rules

  • STATIC

    Kotlin

    detekt

  • STATIC

    Flutter / Dart

    dart analyze

Integrations

Wherever your code lives, proofs follow.

Read-only access, short-lived credentials, private repositories supported. Source is analysed in isolated sandboxes with no network and purged when the run completes.

Sources

  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps
  • AWS CodeCommit
  • GCP Secure Source Manager
  • ZIP archive
  • Local folder

CI/CD

  • PR status checks
  • GitHub Actions
  • GitLab CI
  • Bitbucket Pipes
  • Azure Pipelines
  • formal CLI
$ formal verify --wait
↳ 18 obligations re-proven · 1,107 reused
✓ bundle 0x7be2…9a03 anchored on Base

Credits

Pay for proofs, not for repetition.

  • Starter

    $29 / month

    700

    credits every month. Unused credits roll over.

    Choose Starter
  • Pro

    $99 / month

    2,500

    credits every month. Unused credits roll over.

    Choose Pro
  • Team

    $299 / month

    7,500

    credits every month. Unused credits roll over.

    Choose Team

Need more? Top up with 500 credits for $25, once. Top-up credits never expire. Prices in USD. Cancel anytime.

  1. i

    Subscribe

    A monthly plan tops up your verification credits automatically.

  2. ii

    Connect

    Install the GitHub App, link any provider, or drop in an archive. Read-only, always.

  3. iii

    Verify

    Credits are reserved per run and settled on completion. Reused proofs cost nothing.

FAQ

Questions, answered precisely.

What is formal verification?

Formal verification proves, with a machine-checked argument, that code meets a specification. A test checks the inputs you thought of; a proof covers every input, or every input up to stated bounds, and anything it cannot discharge comes back as a concrete counterexample.

How does Formal verify Rust code?

Formal runs the Kani model checker against function contracts such as #[kani::requires] and #[kani::ensures], alongside Clippy. Kani is exhaustive up to the bounds stated in each harness, so Rust results are labelled BOUNDED.

Can Formal verify Solidity smart contracts?

Yes. Smart contract formal verification uses the Solidity SMTChecker (CHC engine) and Halmos symbolic testing, with Slither for static analysis. Every finding is labelled with the guarantee it actually carries, so a static warning is never presented as a proof.

How are Postgres and Supabase row-level security policies verified?

You state the access rules you expect, such as tenant isolation, in .formal/policies. Formal translates your RLS policies into constraints for the Z3 SMT solver, checks each property, and replays any counterexample on a real Postgres instance.

What do PROVEN, BOUNDED, PROPERTY and STATIC mean?

PROVEN: Machine-checked proof over all inputs. BOUNDED: Exhaustive up to stated bounds. PROPERTY: Thousands of generated inputs searched for a counterexample. Not a proof. STATIC: Static analysis. We never call it a proof.

What goes on-chain?

Only a fingerprint. Each proof bundle is hashed into a Merkle root and attested on Base via the Ethereum Attestation Service (EAS), linked to the previous bundle. Your source code is never published, and anyone can recompute the root and check the attestation at /verify.

Ship code you can prove.