# Introduction

## Introduction to Modulus

Modulus zkFOL is a layer one blockchain where the contract is the specification: applications are written as first-order logic predicates, and a state transition occurs only when it can be proved to satisfy them.

**What is Modulus?**

Every smart contract platform separates what a contract is meant to do from the code that does it. The specification is a document, the implementation is a program, and the difference between them is where value is lost. Audits, testing and verification tooling all exist to narrow a gap the architecture creates by construction, because the architecture requires two artifacts. Modulus removes the gap.&#x20;

On Modulus an application is a set of logical conditions, and a transaction is admitted only with a proof that those conditions hold. There is no bytecode, no virtual machine and no execution layer between the statement and its enforcement. Nothing executes on chain; conditions are checked.&#x20;

Contracts are written in zkFOL, a first-order logic language and compiler built for this system from the beginning. zkFOL compiles logic directly to polynomial semantics, and Modulus is the chain that consumes the result: the predicate occupies the slot a contract occupies elsewhere, and zkFOL proofs occupy the validator slot.&#x20;

Three properties follow structurally rather than through diligence. A contract cannot diverge from its specification, because there is one artifact. A defect produces a refusal rather than a loss: a transition that cannot be proved does not occur, which converts a class of safety failures into liveness failures. And fees stop depending on how much the logic does, because a predicate has a fixed size and there is nothing to meter, so the cost of a given transaction is predictable in units of the network's own asset. Each of these is developed on its own page.

To jump straight into the codebase, visit our Github at: <https://github.com/zkFOL/zkfol>


# Why now?

Compiling logic directly to polynomial semantics removes the arithmetization layer that dominates proving cost in every other proving system. That was the reason to build a new language for this purpose, and it is also why the result cannot be lifted into an existing stack: a zkVM cannot delete the machine it emulates and remain one.

The consequence is measured and published. On the same machine, the same fib(10,000) claim, and the same fast-doubling algorithm on every system, the zkFOL prover completes in 11 milliseconds against 3.7 to 49 seconds across RISC Zero 3.0.5 and SP1 6.3.1's proof modes, and verifies in under 4 milliseconds. On a structural workload, sudoku validity, the gap holds and the statement proved is stronger: zkFOL shows a valid grid exists while disclosing none of it, where the comparator programs publish the grid they check. The full tables, the code every system ran, and every caveat are on the performance page, reproducible from the public benchmark record.&#x20;

The axis that matters throughout this documentation is the prover envelope: proving time, memory, and the hardware proving runs on. The prover fits on ordinary hardware, so ordinary participation needs neither specialist machines nor a paid market in proofs.&#x20;

The same machinery carries privacy natively. Every transaction already carries a proof, so hiding the witness while proving the rule was followed is what the system does by default, and private state with public verifiability is available without a separate privacy layer.

<br>


# The ambition

The ambition is a general-purpose chain: anything buildable on Ethereum or Solana should be buildable here, with a structural safety property neither offers. Composition works on Modulus, in a different shape from account-model chains, and one pattern does not carry over: touching two applications atomically inside a single transaction, the mechanism behind flash loans and multi step routing. Anyone porting a design that depends on that pattern should know it on day one, and this documentation states the limit wherever generality is claimed.&#x20;

We start where nothing else works: private state with public verifiability, and regulated activity where the rule is enforced rather than audited. Generality follows once there is a reason to build here at all.


# What this documentation covers

This is conceptual documentation for a reader who can already build. It covers what Modulus is and why it exists, the programming model, the measured numbers, the soundness argument, and the economics as far as they are settled. It contains no tutorials, no code and no installation steps, because the concrete developer surface has yet to be fixed; those materials arrive with it. Consensus, block production and validator requirements are open design work and will be documented when they are decided. Where a question is open, these pages say that it is open.&#x20;

The contract is the specification. The proof is the product.


# The Problem

### The gap between specification and implementation

Smart contract security rests on an assumption that a program matches its intent. The specification is a document, the implementation is code, and the difference between them is where value is lost. Every smart contract platform in production today creates that difference by construction, because its architecture requires two artifacts: a statement of what the contract should do, and a program that is supposed to do it.

[<br>](https://zkevm.polygon.technology/bridge-to-zkevm)


# An industry built on pricing the gap

Everything the industry calls security tooling exists to narrow the gap after the fact. None of it removes the gap, because none of it can: as long as the rule and the code are separate objects, they can disagree.&#x20;

The pricing of that disagreement is public. A standard DeFi protocol audit runs 50,000 to 100,000 dollars over three to six weeks; an L1, a bridge, or anything with a zero-knowledge component runs 150,000 to 500,000 dollars over two to six months; protocols with meaningful value at stake budget 150,000 to 500,000 dollars a year once contests, bounties and monitoring are counted (Sherlock, Zealynx and Procur3 market references, 2026). Good auditors book weeks ahead, and rush fees add 20 to 50 percent. Formal verification, the strongest tool on the shelf, sells at 20,000 to 50,000 dollars on top of an audit, and its vendors say plainly that it layers onto a manual review rather than replacing one. It has to, because there are still two artifacts to reconcile.

<br>


# The gap is not closing

The first half of 2026 produced more crypto hacks than any six-month period on record: 207 incidents by TRM Labs' count, and DefiLlama called the second quarter the most hacked in the history of DeFi. Individual losses are falling while incident counts climb, which says what actually happened: attacks got cheaper and more numerous while the structural cause stayed exactly where it was. The average smart contract exploit over the last four years cost 1.9 million dollars (Procur3, four-year average), and of DeFi protocol losses specifically, the overwhelming majority now comes from protocol logic (Immunefi, H1 2026).&#x20;

Protocol logic means the code did what it said, and the code was what no one meant. The industry has become excellent at pricing that failure mode and has made no progress on removing it, because removal is beyond the reach of tooling. It is an architectural property.

<br>


# Why the architecture forces it

Take any contract platform in production. A developer writes intent in a design document, then translates it into a high-level language, which a compiler translates into bytecode, which a virtual machine executes against state. Each translation is a place for meaning to drift, and the final artifact, the one the chain actually enforces, is the one furthest from anything a human meant. Reviews compare artifacts; they cannot make them the same object. Test suites sample behaviour; they cannot exhaust it. Formal verification proves the code against a model of the intent, and the model is a third artifact with a gap of its own on either side.&#x20;

The conclusion is uncomfortable for the tooling industry and unavoidable for everyone else: a system with two artifacts has a gap, and a gap has a price, paid either upfront to reviewers or later to an attacker.

<br>


# What removal looks like

Removing the gap means having one artifact. The rule a human writes must be, literally and byte for byte, the thing the chain enforces. That requires the chain to enforce logic directly: no compilation into an executable form the author never reads, no machine whose behaviour stands in for the author's meaning. A transition is admitted when the stated conditions are proved to hold over it, and refused otherwise.&#x20;

That is what Modulus is. The next two pages describe the mechanism: what a predicate is and why it occupies the slot a contract occupies, and how proofs admit state transitions.


# Core Concepts

### What a predicate is, and why it occupies the slot a contract occupies

A predicate is a statement in first-order logic about a proposed change to state. It is written with the standard connectives and quantifiers: and, or, negation, implication, for-all, there-exists, together with equality and arithmetic comparison over the values involved. It evaluates to true or false over a proposed transition, and nothing else about it exists. There is no method table, no storage layout, no entry point, no execution order. The predicate is the whole contract.


# What a predicate says

A predicate speaks about a transition: the state being consumed, the state being produced, and the transaction presenting them. A payment predicate states that value is conserved and that the spender's authorisation is present. An escrow predicate states the conditions under which funds may move and to whom. A compliance predicate states the properties any transfer of the

governed asset must satisfy. In each case the predicate is a direct rendering of the rule as the author would state it to a colleague, a counterparty or a regulator, because first-order logic is the notation those rules were already implicitly written in.&#x20;

Expressiveness is not the constraint it might appear to be. First-order logic is powerful enough to state inductive definitions, arbitrary computation, and correctness properties of that computation. What changes on Modulus is that the author states the property directly instead of writing a program whose behaviour is supposed to imply it.


# Why it occupies the contract slot

On every other platform, the contract slot is filled by code: an executable object deployed at an address, whose behaviour defines the application. On Modulus the slot is filled by the predicate itself. State is governed by the predicate attached to it, and a transition touching that state is admissible exactly when the predicate is satisfied. The predicate occupies the position the contract occupies elsewhere, and zkFOL proofs occupy the validator slot, standing where execution stands on other chains.&#x20;

This substitution is what makes the artifact count go from two to one. The rule is deployed as itself. There is no compiled form for the rule to disagree with, so the class of failure where the code diverges from the specification has nothing to divide. It also changes who can read a contract. A counterparty does not have to trust a developer's summary of bytecode they cannot audit; the predicate is the terms, and reading the terms is reading the contract.


# Two properties that fall out immediately

A predicate has a fixed size. It is a statement, and its cost of verification does not depend on how much work satisfying it required off chain. That is why Modulus has nothing to meter and why fee behaviour differs from gas systems; the economics page develops this.&#x20;

A predicate is inert. It does not run, so it cannot be interrupted, re-entered, or driven into a state its author never wrote down. The page on what follows from the design lists the bug classes this eliminates.


# The surface today

The language ships and runs; a user guide and a standard library are forthcoming rather than present, which is why this documentation carries no code. The relations built in today are equality, addition and multiplication, order comparison, a naturality predicate, and distinctness over a collection. Richer structure is expressed as user-defined relations in the language itself: the public benchmark definitions slice a grid into rows, columns and boxes as relations, with nothing added to the language to do it. Signature verification and hash checks are not yet provided as built-in relations; they are the gate on the developer documentation, and this set

says so rather than assuming them. Whether a predicate may constrain the state that succeeds it, the family of designs known elsewhere as covenants or continuing outputs, is an open design decision; the worked examples take one successor link as a flagged assumption, and no page in this set assumes the general answer.&#x20;

One capability deserves stating here because the public benchmarks demonstrate it: relations run in both directions. The same predicate that checks an answer can derive one, so a 9x9 sudoku is solved from its clues by the very predicate that validates a finished grid, and the resulting proof discloses nothing of the solution. Checking and solving are one artifact too.&#x20;

Two familiar designs rendered this way, a constant-product market and an over-collateralised loan, are worked through on the predicates-in-practice page.


# Core Concepts cont.

### Proofs and state transitions

On Modulus a state transition is a claim, and the chain admits claims only with evidence. A transaction proposes a change to state, names the predicates governing that state, and carries a proof that those predicates are satisfied by the proposed change. The validator checks the proof. Nothing executes; conditions are checked.


# The shape of a transition

Three things travel together. The statement: which state is consumed, which state is produced, under which predicates. The witness: the private inputs that make the predicates true, such as signatures, amounts, or the contents of a position. The proof: a cryptographic object showing that a witness exists satisfying every governing predicate over exactly this transition, without necessarily revealing the witness itself.&#x20;

Whoever proposes the transition produces the proof, on their own machine. Proving is a local act, done before the transaction is submitted, and the measured cost of that act is the subject of the performance page. Verification is the network's side of the bargain, and it is deliberately cheap: checking a proof takes milliseconds, which is what lets validation stay light and lets anyone outside the network, a wallet, a light client, another chain, verify Modulus state without trusting an intermediary.


# Refusal instead of loss

A transition that cannot be proved does not occur. This sounds like a restatement of the model and it is the single most consequential line in it. On an execution chain, a flawed transaction runs anyway: it executes, burns fees, and leaves whatever state its flaw produced. On Modulus

the failure surfaces at proving time, on the author's machine, before anything is submitted. There are no failed transactions that cost money anyway, no partially applied state, no half completed multi-step operations to unwind. The worst outcome a defective predicate can produce is that transitions it should have admitted are refused. That converts a class of safety failures into liveness failures, and downtime is a different kind of bad day from a drained contract.


# Privacy as a property of the substrate

Every transition already carries a proof, and a proof separates the fact that conditions hold from the data that makes them hold. Keeping the witness private while proving the rule was followed is therefore what the system does natively. Private balances that remain auditable, order flow that stays confidential and still settles correctly, regulated activity where a supervisor verifies compliance without seeing the book: on other platforms each of these needs a separate system bolted on, and here they are the default mode of the machinery, available whenever an application wants them.


# Determinism of admission

A transition is admitted if and only if it is proved. There is no gas exhaustion mid-flight, no dependence on the state the moment execution happened to run, and no execution environment for behaviour to vary with. Validity is a property of the transaction as a mathematical object, decided before submission and checked identically by everyone. What the author proved is what the chain enforced, and both are the predicate the author wrote.&#x20;

The soundness page states precisely what a proof establishes and on what published grounds. The performance page puts numbers on proving and verification.

<br>


# Predicates in practice

### A market and a loan

The two pages before this one describe the model. This page shows it working, by rendering two familiar designs as predicates: a constant-product market of the kind Uniswap popularised, and an over-collateralised lending pool of the kind Aave popularised. The renderings are written for this model and for reading; they are illustrations of those designs, never descriptions of those protocols' deployed contracts, which differ in detail.&#x20;

Four ground rules first. The formulas are standard first-order notation over the transition: the state consumed, the state produced, and the values the transaction presents; every value a formula mentions is presented by the transaction itself, so the sentences are checked as given, which is exactly the model of the proofs page. The illustrations assume the chain's base accounting: quantities are non-negative, reserve and cash fields denote value the record itself holds, and every asset balances across a transaction, so a predicate states an application's policy on top of that accounting rather than restating it. Three things stand in for designs that are open on purpose: an oracle price, with price > 0, for the open read-primitive question; an elapsed time Δτ ≥ 0, for the open transaction-context surface; and the successor link, each produced pool or position record standing under the same predicate as the record it succeeds, for the covenant question named on the predicates page. The predicates take all three as given and are agnostic to how each arrives. And everything below uses arithmetic, order, and equality, relations the language ships today: the comparisons <, >, ≤, ≥ and ≠ are goals that compile into the predicate as committed slack, non-negativity ships as natural, and mod and all\_distinct ship alongside them. One relation is abstract: authorised, whose concrete built-in form is the open surface item named on the predicates page. The placeholder standing in for it today asserts only that an owner is named, so nothing on this page should read as though the draw is authenticated.


# A constant product market

The pool is one record with two reserve fields, x and y. A trade consumes the pool record and produces its successor: write x', y' for the produced reserves, and Δx, Δy for what the trader pays in and takes out. The contract, for a trade paying the first asset and taking the second, is:&#x20;

<p align="center"><strong>x > 0 ∧ y > 0 ∧ Δx > 0 ∧ Δy > 0</strong> </p>

<p align="center"><strong>x' = x + Δx ∧ y' = y − Δy</strong> </p>

<p align="center"><strong>(1000·x + 997·Δx) · (y − Δy) ≥ 1000·x·y</strong> </p>

Read the last line aloud and it is the rule as traders already state it: after charging three parts per thousand on the input, the product of the reserves may only grow. The constants are the familiar fee. The inequality rather than an equation is deliberate and faithful: a trade taking less than the maximum output still satisfies the sentence, so the predicate admits exactly the trades the rule admits. And Δy < y follows from the last line, so it needs no clause of its own.&#x20;

The first line earns its place. Without the funded-pool guard, a pool holding nothing of the input asset satisfies the inequality trivially, its right-hand side collapsing to zero, and could be drained of the output asset; with the guard, that transition is unprovable. On an execution platform this guard hides in initialisation code. Here it is one visible conjunct, and leaving it out is precisely the under-constrained failure the comparison page charges hand-built circuits with, except that here the omission sits in plain first-order text where reading finds it.&#x20;

Notice what else is absent. There is no swap function, no router, no ordering of internal operations, no reentrancy surface, because nothing executes. Any transition satisfying these three lines is a valid trade however it was assembled, and no transition violating them exists on

the chain at all. The trader's own inputs answer to their own records' predicates, outside this contract.&#x20;

The mirror trade, paying the second asset and taking the first, is the same three lines with the roles of the two assets, and of their deltas, exchanged, and the pool's full contract is the disjunction of the two directions together with the deposit and withdrawal rules, proportionality equations of the same kind, two lines each.&#x20;

One more property falls out of the model. Relations run in both directions, so the sentence that checks a trade can answer one. An admissible output for a given Δx is the answer to an existential question, and the exact quote adds one further inequality, that one unit more of output would break the bound:&#x20;

<p align="center"><strong>(1000·x + 997·Δx) · (y − Δy − 1) &#x3C; 1000·x·y</strong> </p>

No quantifier is needed. The product is monotone in Δy, so being maximal and having the next unit up fail are the same condition. Asked with the output left open, the pair of inequalities returns one answer and then reports the search exhausted: for a pool holding 5000 and 3000, a trader paying 700 is quoted 367, and there is no second answer. Checking and quoting are one artifact, and the quote is derived by the sentence rather than supplied to it.&#x20;

Two trades against the same pool in one block contend for the same record. How Modulus clears contention for pooled state is part of the concurrency design, an open decision, and is documented when it is settled; the predicate above is independent of that answer.

<br>


# An over-collaterallised loan

The lending pool is a market record with a cash field C, and a position record with fields col for collateral posted and d for debt owed. Parameters arrive as rational constants written with explicit numerators and denominators so that every formula stays over the integers: a loan-to value limit c\_n/c\_d, a liquidation threshold t\_n/t\_d with c\_n·t\_d ≤ t\_n·c\_d so the threshold sits at or above the borrowing limit, and a liquidation bonus b\_n/b\_d. The transaction presents the price of one collateral unit in the debt asset, scaled by a unit q, and the elapsed time Δτ since the position was last touched; both are the assumption-level inputs of the ground rules.&#x20;

Interest first, because it shows a pattern. Whitepapers write compound interest as an exponential. Deployed systems update state whenever a position is touched, and compounding emerges from touch composing with touch. The per-touch accrual at rate r per second, in unit u, is the pair of inequalities&#x20;

<p align="center"><strong>u·(d_acc − d) ≤ d·r·Δτ ∧ d·r·Δτ &#x3C; u·(d_acc − d) + u</strong></p>

which is d\_acc = d + ⌊d·r·Δτ/u⌋ written without a division symbol; even the rounding is two comparisons. Every touch below conjoins this pair first, and d\_acc names the debt after it. Production pools run many borrowers off one shared accrual index that every position reads, storing index-scaled debt, which keeps every aggregate a field updated per transition and keeps totals and positions rounding-consistent; that is the accumulator pattern, and it is why no formula here ever sums over all users. This page keeps one market and one borrower so that every line stays checkable at sight.&#x20;

Borrowing an amount Δ against the accrued position:&#x20;

<p align="center"><strong>Δ > 0 ∧ d' = d_acc + Δ ∧ C' = C − Δ</strong> </p>

<p align="center"><strong>col' = col ∧ owner' = owner</strong> </p>

<p align="center"><strong>c_d·q·d' ≤ c_n·price·col</strong> </p>

<p align="center"><strong>authorised(tx, owner)</strong> </p>

The safety inequality is the entire policy: the debt after the draw stays within the loan-to-value fraction of the collateral's value, cross-multiplied so that only integers appear. A borrower, an auditor, and a regulator read the same inequality. The identity line carries the frame conditions, stated rather than assumed, the same discipline as the funded-pool guard. Cash sufficiency is one conjunct, C' ≥ 0. Under a base accounting that holds every quantity non-negative it is implied rather than stated, and a predicate written against the language today states it, in the same spirit as the funded-pool guard: the condition sits where reading finds it. Repayment mirrors the draw, reducing d and raising C, and withdrawing collateral re-checks the same safety inequality against the reduced col.&#x20;

Liquidation is where the model shows its teeth. Eligibility is the threshold inequality flipping:&#x20;

<p align="center">t_d·q·d_acc > t_n·price·col </p>

and when it holds, anyone may repay a part ρ of the debt and seize collateral at the stated bonus:&#x20;

<p align="center">0 &#x3C; ρ ∧ 0 &#x3C; seize ∧ 2·ρ ≤ d_acc ∧ seize ≤ col ∧ b_d·seize·price ≤ (b_d + b_n)·ρ·q </p>

<p align="center">d' = d_acc − ρ ∧ col' = col − seize ∧ C' = C + ρ ∧ owner' = owner </p>

No authorisation from the position's owner appears, on purpose: permissionless liquidation is a property of the sentence, granted by the eligibility inequality itself rather than by a keeper whitelist. The close factor is the single term 2·ρ ≤ d\_acc, and the bonus is one cross-multiplied bound on what may be seized. The lower bound on seize is the same discipline as the lower

bound on ρ: reserve and cash fields are held non-negative by the ground rules, but seize is a value the transaction presents, so it earns its own conjunct, and without it the under-constrained transition is admitted rather than unprovable. Refusal semantics does quiet work here too: a liquidation attempt against a healthy position is unprovable, so it never reaches the chain, never costs a failed transaction, and never needs a code path to reject it. What no predicate can supply, on this chain or any other, is the liquidators themselves; whether they show up is an incentive question, and what the sentence enforces is that when they do, only eligible positions can be touched and only on the stated terms.&#x20;

<br>


# What the examples establish, and their limits

Both contracts fit on a page because the rule and the artifact are the same object. Neither uses anything beyond arithmetic, order, and equality, plus the abstract authorisation relation and the flagged stand-ins of the ground rules, so the distance between these illustrations and predicates the shipped language accepts is exactly the set of open items this documentation already names, never the shape of the logic. Every inequality on this page was checked mechanically against the behaviour it renders: the trading rule against the exact output formula of the design it mirrors, across two hundred thousand random cases and tight at the boundary, and the lending inequalities against exact rational arithmetic. That designs of exactly this kind, markets and lending pools, render onto a predicate chain is a published result; the reference page carries the citation.&#x20;

Both contracts are written in the language itself. Every predicate on this page compiles and runs: the two trade directions and their disjunction, the exact quote, deposit and withdrawal, per-touch accrual, the draw against the loan-to-value limit, repayment, collateral withdrawal, liquidation eligibility, and liquidation on the stated terms. Each was checked at its boundary, the admitted case and the refused case one unit apart: for the pool of the quote example, an output of 367 is admitted and 368 is refused. The market swap proves and verifies on the backend in single-digit milliseconds on a laptop. The rendering is the artifact.&#x20;

The standing limit travels with the generality: composing these two applications atomically inside one transaction, the flash-loan shape, does not carry over to this model, as stated wherever this documentation claims generality. Each application above stands on its own predicates, and that is the composition this page demonstrates.

<br>


# What follows from the design

One decision at the bottom of the stack, enforcing logic directly instead of executing code, produces everything on this page. These are structural properties, obtained by construction rather than through diligence, which is why they hold for every application on the chain rather than for the applications that paid for review.


# A contract cannot diverge from its specification

There is one artifact. The rule the author wrote is the rule the chain enforces, so the failure class where implementation drifts from intent has nothing to divide. Two consequences follow immediately.&#x20;

Formal verification stops being a purchase. Elsewhere it is sold as a service layered on top of a manual review, because there remain two artifacts to reconcile. Here it is the default state of the system: every admitted transition arrives with a proof that the stated conditions held.&#x20;

Nobody has to trust a description of the contract. The predicate is the terms. A counterparty, an integrator, or a regulator reads the conditions themselves, in the notation rules are naturally stated in, rather than trusting a summary of code they cannot audit.&#x20;

What remains the author's problem, and always will, is whether the rules are the right rules. Modulus removes the gap between rule and enforcement; it does not review the rule.


# A defect produces a refusal rather than a loss

A transition that cannot be proved does not occur, so a defective predicate refuses transitions instead of admitting wrong ones. Your worst day becomes downtime. For anyone holding other people's money, that trade is the entire conversation.&#x20;

Whole bug classes have no purchase here. Reentrancy does not exist, because nothing executes and nothing calls out mid-execution. Opcode-level and compiler-level failures do not exist, because there is no bytecode and no compiler-to-bytecode mismatch. The proxy-upgrade bug class does not exist, because state is governed by the predicate attached to it, and a move to different rules is explicit and visible rather than swapped in behind a constant address. Out-of gas half-states do not exist, because nothing meters execution and nothing halts partway.&#x20;

Denial of service inverts. In a proof-carrying chain the computational cost falls on whoever produces the proof, which is the party submitting the transaction, so a deliberately expensive predicate harms only its own author. The network's scarce resources become bytes and persistent state rather than execution time, and pricing those two things deliberately is exactly what the economics page is about.


# Cost stops depending on how much the logic does

A predicate has a fixed size, so there is nothing to meter. Nobody estimates gas, nobody pays for a transaction that failed anyway, and nobody is surprised by a state-dependent execution cost. The fee for a given transaction is the same tomorrow as today, in units of the network's own asset.&#x20;

That qualification is deliberate and it stays. Static in units is the claim this design supports today. What a fee converts to in external value moves with the asset, as it does on any chain, and whether the protocol can offer predictability in value terms is an open design question, taken up on the economics page. We say predictable rather than fixed.


# What the money looks like

The line items built on the specification gap shrink toward zero. The audit engagement whose job was checking that code implements intent has no object here, and the launch timeline it gated, weeks of booking lead time plus rush premiums, goes with it. The residual spend is the worthwhile kind: thinking about whether the rules are right. And the risk premium falls with the loss category: institutions price exploit probability into their cost of capital and into what they will insure, and an architecture that removes a loss category changes that number, which is the number that decides whether they show up at all.


# Performance: the prover envelope

Evidence labels on this page: \[S] verified against a primary source; \[A] argued. The figures on this page are published: the benchmark harness, the code every system ran, the full results tables, the memory methodology and the reproduction steps are public. Every figure below reproduces from that record and carries its context here.&#x20;

Measurement context, stated once for the whole page \[S, benchmark record]: AMD Ryzen 7 5700X (8 cores, 16 threads), Linux, CPU proving only, one prover at a time, September 2026. Versions: zkFOL 0.4.0, RISC Zero 3.0.5, SP1 6.3.1. Two backend revisions are involved: the bounds-check section ran on an earlier revision than the rest, both named in the record's header, and figures from different revisions are not strictly comparable. Fibonacci cells are medians of three runs; the comparator sudoku cells are single runs that agreed within a few percent where cross-checked. SP1's roughly one second of setup is excluded from its prove column. Prove times are contention sensitive; the record includes a contended run measuring nearly double the uncontended time on the same machine.


# The claim, and its axis

The performance claim of this project is the prover envelope: how long proving takes, how much memory it needs, and what hardware it runs on. Those three quantities decide who can

participate in a proof-carrying system, which is why they are the axis. This page makes no proof size claim, in any direction. The public tables carry a serialized-size column for every row; readers who want it have it, and this documentation leaves that column to the record.


# Like for like: fib(10,000), same algorithm everywhere

Every system proves fib(10,000) mod 7919 by fast doubling, fourteen rounds instead of ten thousand steps. The comparator guests use a hand-written doubling routine; zkFOL is handed the naive two-call recurrence and the compiler rewrites it to the doubling form. A second zkFOL row proves the exact 2,090-digit integer with no modular reduction: the harder claim, included because the reduction is not what buys the result.&#x20;

| Workload: fib(10,000) mod 7919, fast doubling  | Prove    | Verify  | Prover memory |
| ---------------------------------------------- | -------- | ------- | ------------- |
| zkFOL, compiler-derived doubling               | 11.48 ms | 2.30 ms | under 10 MB   |
| zkFOL, exact 2,090-digit integer, no reduction | 9.98 ms  | 3.88 ms | under 10 MB   |
| RISC Zero, composite                           | 3.69 s   | 11.8 ms | 312 MB        |
| RISC Zero, succinct                            | 14.73 s  | 12.4 ms | 1.39 GB       |
| SP1, core                                      | 13.32 s  | 74.3 ms | 9.39 GB       |
| SP1, compressed                                | 49.24 s  | 32.9 ms | 17.00 GB      |

Prove-time ratios against the reduced zkFOL row: 321x, 1,280x, 1,160x and 4,290x for the four comparator rows in table order; against the unreduced row, which computes the whole integer while the guests compute a four-digit remainder, 370x to 4,930x. Memory ratios run from roughly 30x to roughly 1,700x. \[S, benchmark record]


# The floor: a bounds check

Prove that a committed value lies in a range, with nothing to compute. This is the price of a proof at all. The comparator columns are unchanged from the fib table because the work never left each machine's floor; RISC Zero charges the same 32,768 cycles here as it does for the doubling run. zkFOL: 1.53 ms prove, 0.54 ms verify, roughly 3 MB. Ratios: 2,420x to 32,200x on prove, 100x to 5,700x on memory. \[S, benchmark record]


# Structure instead of recurrence: sudoku validity

A different shape of claim: no recurrence, only structure. Every row, column and box of the grid must be a permutation of the symbol set.&#x20;

The two sides prove different statements here, and that difference matters more than the timings. The comparator guests take a finished grid and commit it, proving that a public grid is valid. zkFOL proves that a grid exists satisfying the clues, and publishes none of it: zero public columns, an empty claim list. The privacy property described on the core-concepts pages is visible inside a benchmark.&#x20;

| **Workload: 9x9 sudoku validity**   | **Prove** | **Verify** | **Prover memory** |
| ----------------------------------- | --------- | ---------- | ----------------- |
| zkFOL, existence, nothing disclosed | 15.95 ms  | 3.38 ms    | \~25 MB           |
| RISC Zero, composite, grid public   | 7.252 s   | 12.46 ms   | 606 MB            |
| RISC Zero, succinct, grid public    | 18.040 s  | 12.44 ms   | 1.43 GB           |
| SP1, core, grid public              | 13.687 s  | 75.92 ms   | 9.57 GB           |
| SP1, compressed, grid public        | 50.329 s  | 33.21 ms   | 16.80 GB          |

Prove ratios at 9x9: 455x to 3,160x; memory 24x to 670x. At 16x16 zkFOL proves in 65.42 ms against 14.5 to 50.2 seconds, with one caveat: the 16x16 relation omits the range checks the 9x9 carries, so it understates the larger grid's true cost, and the 9x9 to 16x16 step is a direction rather than a factor. \[S, benchmark record]&#x20;

The record makes a structural point with a third grid size: comparator cost tracks the proof machinery's padding, not the puzzle. Guest cycle counts rise 6.9x from 4x4 to 16x16 while SP1 compressed moves under 1.4 percent, and RISC Zero composite is flat until its padding doubles. zkFOL is the only column that responds to the claim itself. \[S, benchmark record]&#x20;

Verification: zkFOL wins it on both grids, 3.4 to 3.5 ms against 12 to 78 ms, and does not win it on the linear fib route below. The verify advantage belongs to small claims. \[S, benchmark record]

<br>


# Solving, not only checking

The rows above prove a completed grid the prover already holds, which is the ordinary shape of a zero-knowledge proof. zkFOL's relations also run the other way: the same predicate that validates a 9x9 grid derives one from its seventeen clues, in roughly 160 ms, and the resulting proof still discloses nothing. The comparator guests as benchmarked cannot express this; a solver would be a separate program, written and proved separately, and it is not what those benchmarks run. This is a capability difference rather than a speed one, which is why it sits outside the prove columns. \[S, benchmark record]


# The loss column: the linear route

Handed the linear loop unchanged, the program the comparators run as their default benchmark, zkFOL proves fib(10,000) mod 7919 in 1.19 s at roughly 205 MB, against 40.67 s and 2.30 GB (RISC Zero succinct) and 50.39 s and 17.07 GB (SP1 compressed). The loss is real and stated: on the linear route zkFOL's verification time grows with the number of steps, 34.1 ms here, while the comparators' verification stays constant. The compiler's doubling rewrite is the default route precisely because it removes that growth; the same exact-integer claim by the default route is the 9.98 ms row in the first table. \[S, benchmark record]


# The memory

The two sides of the memory column measure differently, and the record states how \[S, benchmark record]. Comparator memory is the peak RSS of the prover process. zkFOL's prover runs inside a managed runtime that idles at hundreds of megabytes before any proof, so its column is the increment the prover added over that baseline, and the increment is order dependent when rows share a runtime, a band rather than a point. Whole-process peaks on the small rows run 234 to 358 MB. On those terms: under 10 MB added on the doubled fib rows, roughly 3 MB on the bounds check, 25 to 28 MB on sudoku, roughly 205 MB on the linear route, and roughly 980 MB proving the exact integer by the linear route, against 312 MB to 17 GB across the comparator rows. The vendors' own guidance corroborates the right-hand side: both document 16 GB or more for local CPU proving. \[S]


# Hardware, participation, and one open question

Every figure on this page comes from one ordinary desktop CPU; no accelerator, cluster, or specialist machine was involved. The participation claim this supports is that ordinary participation needs ordinary hardware: producing and verifying proofs for your own transitions is within the envelope published here. \[A]&#x20;

One role is different in kind, and this documentation says so rather than waiting for someone to work it out. Anyone proving that a rule was applied to a batch of other people's transactions must know the whole batch, so that prover's cost grows with the batch. \[A] Whether such

aggregation roles exist on Modulus, and whether every network role is required to fit the small hardware envelope or aggregation is priced as a specialist role, is an open design decision. No page in this set claims that every role on the network proves on small hardware.


# Not yet measured

The workload that matters for a chain, a validator predicate containing a signature verification, an authenticated-dictionary operation against a digest, and a full-transaction check, remains the next measurement target, reported per component. The sudoku results add a structural workload to the record and settle nothing about those three primitives; extrapolation from this page to chain workloads is an inference, and this page labels it as one. \[A]&#x20;

Embedded targets are a roadmap item. Cortex-M7 benchmarking is a planned milestone; no embedded figure exists, and any Cortex-M7 number in circulation is a projection, which this documentation does not carry.


# Soundness

Evidence labels on this page: \[S] verified against a primary source; \[A] argued. Facts established by the project's own test suite are labelled confirmed by execution.

### What is being claimed&#x20;

The soundness claim of the system is narrow and precise: a proof accepted by the verifier establishes, at the stated security level, that a witness exists satisfying the named predicates over the stated transition. Everything on this page exists to say on what published grounds that claim rests, and by which mechanisms it is discharged in the shipped compiler.&#x20;

### The semantics: one paper carries it&#x20;

The semantic foundation is eprint 2024/954, Arithmetisation of computation via polynomial semantics for first-order logic, Murdoch J. Gabbay, also published in the Journal of Applied Logics 12(6), October 2025. It is the only paper that supports a claim about zkFOL itself, and its contribution is a compositional, shallow translation from a first-order logic with equality directly into polynomials \[S].&#x20;

Shallow and compositional carry the weight. The translation maps logical connectives directly to polynomial operations: truth to zero, falsity to a strictly positive value, conjunction and universal quantification to addition, disjunction and existential quantification to multiplication \[S]. Validity of a formula in a model becomes a checkable property of the resulting polynomial, to a high degree of certainty \[S]. The paper treats soundness and completeness of this semantics directly \[S].&#x20;

The contrast with the prevailing route is the origin of the envelope this project measures. Existing systems arithmetise computation by encoding it into an abstract machine whose behaviour was arithmetised by hand, a deep embedding into a preconstructed artefact \[S, 2024/954's characterisation]. zkFOL has no machine in the middle: the predicate is translated as itself. That the removal of the machine is what the measured gap reflects is this project's argument \[A]; the measured gap itself is on the performance page.&#x20;

### The mechanism actually shipped&#x20;

Two distinct arguments discharge integer reasoning in the shipped compiler, and each is presented only for its own mechanism.&#x20;

Where predicate arithmetic must be argued over the integers, the compiler uses a bit decomposition fold whose soundness rests on the backend's random-prime technique for integer arithmetic. Where a native lookup is used, a LogUp-style lookup argues over the prime field F\_q, and its soundness holds given that no wraparound occurs.&#x20;

The seam between those two regimes was the compiler's one known soundness gap. It is closed: a dedicated range-check pass, together with a fail-closed boundary guard that refuses rather than proceeds when the no-wraparound precondition cannot be established, is in place and under continuous test, with the full suite passing (confirmed by execution against the project's test suite).&#x20;

### The backend&#x20;

zkFOL emits its polynomial claims to a hash-based proving backend in the Brakedown lineage. That layer is described in two third-party papers with no author overlap with zkFOL: Zinc (eprint 2025/316; Garreta, Waldner, Hristova and Dall'Ava; CRYPTO 2025), a hash-based succinct argument for integer arithmetic, and Zinc+ (eprint 2026/855; Nethermind Research and academic co-authors), which extends the approach to polynomial rings \[S]. Properties the backend inherits from that lineage, including transparency, in the sense of requiring no trusted setup, are those papers' claims about their own constructions \[S].&#x20;

Those papers are cited in this documentation for one purpose only: describing what the backend layer is. Nothing on this page or elsewhere in this set uses their arguments or their benchmarks as evidence for zkFOL's performance, for its position against zkVMs, or for why its advantage exists. Claims of that kind are either measured in-house or grounded in eprint 2024/954.

### What a proof does not establish&#x20;

A proof establishes that the stated predicates hold over the stated transition. It does not establish that the predicates encode the right policy; reviewing the rule remains the author's work, and it is the only review left. It does not establish the truth of external inputs a predicate takes as given; a proof covers the application of a rule to inputs, never the provenance of those inputs. And it holds at the security level of the deployed verifier configuration, which is an operational responsibility, held to the same discipline as the mathematics.

<br>


# Economics: fees and state

Evidence labels in this section: \[S] verified against a primary source; \[A] argued.&#x20;

Status note, stated once and governing the whole page: the chain's state model is a recommendation with conditions attached, consensus is an open decision, and the structure that commits state is an open decision. This page separates what holds across candidate designs from what is specific to the recommended model, and marks every open item as open.


# Two claims, kept separate

There is no gas in the metering sense, and there is a native asset. Those are different claims, and conflating them is how fee discussions go wrong.&#x20;

The first is settled by the architecture. A predicate has a fixed size and bounded verification cost, so execution cost is knowable in advance and nothing needs metering. The live precedent for this property is a predicate-chain design in the published literature whose operations are bounded and whose scripts stay near constant time, requiring no gas \[S]. The second is a design premise with architectural force behind it, set out below.


# What is priced instead

In a proof-carrying chain, computation cost falls on whoever produces the proof, which is the submitting party, so computation is self-priced and a deliberately expensive predicate harms only its author. The network's scarce resources are therefore bytes and persistent state, and the fee model prices exactly those: transaction size, and state occupancy \[A]. The live precedent for pricing occupancy is Ergo's storage rent on long-unspent state, which Ergo's own documentation frames as making state growth controllable and predictable \[S].


# Fees are static in units

Because nothing is metered, the fee for a given transaction is constant in units of the native asset: the same transaction costs the same tomorrow as today, with no state-dependent surprise and no failed-execution charge. That claim is exactly as strong as stated and no stronger. What a fee converts to in external value moves with the asset, as on any chain. Whether the protocol can offer predictability in value terms is open: doing so would require pricing against something external, which needs an on-chain read primitive, itself an open design item, so the fee model and that primitive are coupled \[A]. Until that is resolved, the claim this documentation makes is static in units.


# The native asset

The asset is part of the architecture rather than a decision deferred to later, because four architectural jobs require it.&#x20;

First, pricing the two scarce resources. Block space and persistent state belong to the network, so their payment cannot be left to whatever asset a transaction author happens to hold \[A]. Second, storage rent, which requires seizability: rent is collected precisely from state whose owner has stopped participating, so the collector cannot depend on the occupant holding anything in particular. Ergo makes this argument explicitly for its own native asset, as the one asset on the chain that can pay storage rent regardless of what other tokens exist \[S]. Third, consensus, whichever mechanism is chosen: stake to bond, or work to reward, each denominates in something, and consensus is open \[A]. Fourth, the alternative to rent, a refundable deposit, is denominated in the same asset, so the asset's existence does not turn on which occupancy mechanism wins \[S, precedent below].&#x20;

Under the recommended state model there is additionally a genesis constraint. An asset's identity there derives from the predicate governing it \[S], so a protocol-privileged fee asset is a first-class part of the chain's initial state: it exists at genesis or not at all. If instead acceptance of the asset were left to operator policy, the asset would have a market rather than a protocol role, which is a different chain \[A]. Whether operators are required to accept it is itself an open decision. Supply, emission and allocation are out of scope for this page and are not prerequisites for any decision on it.

<br>


# Pricing occupancy: the open core

Whether state occupancy is priced by recurring rent or by refundable deposit is open, and the two are genuinely different: a deposit is refundable and locks capital; rent is recurring and recycles abandoned state. Both have live precedent. Ergo runs recurring rent \[S]. Cardano prices state with a refundable minimum value per unit of state, scaled by size through a protocol parameter \[S].

The recommended state model constrains this choice in a way worth stating plainly. In that model, consuming a unit of state leaves a permanent marker in an append-only set that never shrinks \[S]. A marker has no owner and holds nothing, so recurring rent cannot reach it, and the fastest-growing component of state is unpriceable by rent \[A]. Permanent state must therefore be priced once, at the moment of its creation, as a component of the transaction fee, whatever recurring mechanism applies to active state \[A]. The consequence is that the choice of state commitment structure and the fee model are one decision taken in two places, and both are open.&#x20;

Two further open items are cheap to settle now and expensive to discover later. In the recommended model a unit of state carries one quantity of one asset \[S], so the arrangement where every unit of state carries enough of the fee asset to pay its own rent, which is how Ergo's boxes work, is not directly expressible; it needs either an added field on the state unit or a paired fee-bearing record, and neither choice is obvious \[A]. And calibration: the precedent says get the mechanism right at genesis and leave the magnitude adjustable. Ergo shipped rent at launch, still needed a supermajority soft fork to extend rewards after emission ended, and made its storage-fee factor a parameter adjustable by on-chain vote \[S]; a votable magnitude is the difference between fixing a wrong number by vote and fixing it by fork \[A].

<br>


# Ordering, and what users would see

The fee design carries no ordering-based priority tip. The recommended answer to contention for pooled state is uniform per-block clearing, which removes intra-block ordering, and a priority tip is an ordering instrument; a design cannot carry both \[A]. That answer is part of the conditional recommendation, and the concurrency design as a whole is documented when it is settled.&#x20;

One user-facing consequence is available if the recommended transaction architecture is adopted. Where third parties compose users' partial transactions into complete ones, the composer can pay the network fee and take settlement in whatever the user already holds; an existing production system does exactly this today \[S]. A required fee asset can then be mandatory at the protocol level and invisible at the user level \[A]. This is a property of an architecture that is itself open, and it is recorded here as a consequence, never as a promise.


# Comparison Models

Evidence labels on this page: \[S] verified against a primary source; \[A] argued. This page compares approaches on the prover envelope: proving time, proving memory, and the hardware proving runs on. It makes no proof-size claim for zkFOL, in any direction.


# Orientation

<table data-header-hidden><thead><tr><th width="229"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Approach</strong> </td><td><strong>What is proved</strong> </td><td><p><strong>Where the dominant cost</strong> </p><p><strong>comes from</strong></p></td></tr><tr><td><p>zkVMs (RISC Zero, </p><p>SP1)</p></td><td>The execution of a machine running a program</td><td><p>Arithmetising the machine: every step of an instruction-set </p><p>interpreter enters the witness</p></td></tr><tr><td><p>Circuit languages </p><p>(Circom and kin)</p></td><td>A hand-authored constraint system</td><td><p>Authoring: the rule must be manually re-expressed as </p><p>circuits, per application</p></td></tr><tr><td>Mina </td><td>Validity of a succinct chain, per its recursive design</td><td>Proving inside an account model: state lookups sit on the critical path of every transition</td></tr><tr><td>Modulus </td><td>Satisfaction of a first-order predicate over a transition</td><td>The statement itself: connectives translate directly to polynomial operations</td></tr></tbody></table>


# Against zkVMs

A zkVM proves that a machine correctly executed a program. The program is compiled for an instruction set, and the proof covers the interpreter's execution of it, so the witness carries the machine's steps rather than the author's statement. The vendors' product is compatibility: bring existing code, and the machine will be proved running it. That is a real product, and it defines the cost structure, because the arithmetisation of the machine is the layer being paid for \[A].&#x20;

zkFOL has no machine to arithmetise. The published route translates first-order logic directly to polynomials, connective by connective, with no encoding into a preconstructed abstract machine \[S, eprint 2024/954]. The project's argument is that the measured gap is the removed layer, and that the gap is structural for the incumbents: a zkVM cannot delete the machine it emulates and remain a zkVM, so removing the layer is a change of product rather than an optimisation \[A].&#x20;

The measured comparison is on the performance page and is public: like-for-like fib(10,000) by fast doubling on every system, on an AMD Ryzen 7 5700X under Linux against RISC Zero 3.0.5 and SP1 6.3.1, shows prove-time ratios from roughly 320x against RISC Zero's raw mode to roughly 4,900x against SP1's compressed mode, with memory ratios from roughly 30x to roughly 1,700x, reproducible from the public benchmark record \[S, benchmark record].&#x20;

One boundary of the claim is stated here so nobody discovers it later. The advantage is a property of proving statements. A workload that consists of emulating a virtual machine in logic

would put the interpreter back into the witness and surrender the advantage \[A]. That is why Modulus enforces predicates and does not emulate anyone's execution layer.


# Against circuit languages

Circuit languages such as Circom have no machine in the middle either; the author writes the constraint system directly. The comparison is therefore about what the author writes and what stands behind it. A hand-authored circuit reintroduces the two-artifact problem one level down: the intended rule and the circuit that encodes it are separate objects, the encoding is low-level and per-application, and the failure mode of a wrong constraint is famously invisible, since an under-constrained circuit accepts what it should refuse without any behaviour to observe \[A].&#x20;

On Modulus the author writes the rule in first-order logic, and the translation to polynomials is performed by a compiler whose semantics, soundness and completeness treatment are published \[S, eprint 2024/954]. The trust moves from every application's hand-built circuit to one compiler with one published semantics, reviewed once \[A]. Circuit toolkits are also toolkits: they produce proofs for a system someone still has to build. Modulus is the chain, and the predicate is the contract on it.


# Against Mina

Mina is the closest project in ambition, and the comparison is about which axis each design optimises. Mina's headline is a succinct, constant-size chain proof of around 22 kB \[S, Mina documentation]. What that figure covers is the chain itself plus, per query, one account and one Merkle path \[S]; the achievement sits on the verification and size axis. On the proving side, Mina's history states the trade: proving cost exceeded what block producers could carry themselves, so the protocol includes a marketplace in which specialised operators produce proofs for fees \[S, Mina documentation]. Its account model also places state lookups inside the circuit on the critical path of every transition, which is a documented property of that design \[S].&#x20;

Modulus optimises the other axis. The claim set here is prover time, prover memory and ordinary hardware, and the position is that whoever cannot afford to prove is a dependency, so the envelope decides how much intermediation a network needs \[A]. No size comparison is made in either direction; the two projects' headline numbers measure different things, and this page keeps them apart deliberately.


# References

### Papers&#x20;

The three ePrint papers below do different jobs and are kept apart in this documentation.&#x20;

eprint 2024/954. Arithmetisation of computation via polynomial semantics for first-order logic. Murdoch J. Gabbay. Also published in the Journal of Applied Logics 12(6), pp. 1481 to 1548, October 2025. <https://eprint.iacr.org/2024/954>. This is the zkFOL paper: the semantics, the arithmetisation route, and the soundness contract rest on it. It is the only paper in this list that supports a claim about zkFOL itself.&#x20;

eprint 2025/316. Zinc: Succinct Arguments with Small Arithmetization Overheads from IOPs of Proximity to the Integers. Garreta, Waldner, Hristova, Dall'Ava. CRYPTO 2025. <https://eprint.iacr.org/2025/316>. Third-party work describing the hash-based backend layer this compiler targets. Cited in this documentation only for what the backend is and does.&#x20;

eprint 2026/855. Zinc+: SNARKs for Polynomial Rings. Abdugafarov, Garreta, Kumar, Osadnik, Vesely, Vlasov, Zheng. Nethermind Research with academic co-authors. <https://eprint.iacr.org/2026/855>. Third-party work extending the backend approach to polynomial rings. Cited in this documentation only for what the backend is and does.&#x20;

Citation discipline, stated once for the whole set: the backend papers are evidence about the backend. Their arguments and their benchmarks measure their own constructions on their own hardware, and they are never used in this documentation as evidence for zkFOL's performance, for its position against zkVMs, or for the source of its advantage. Claims of that kind are either measured in-house or grounded in eprint 2024/954.&#x20;

arXiv 2305.09545. Bartoletti, Marchesin, Zunino. Source for the published result that rich contracts, including automated market makers and lending pools, compile onto a predicate chain of this general shape, and for the composition limit this documentation states wherever generality is claimed: cross-contract atomic composition inside a single transaction does not survive the translation.&#x20;

### Other sources used in this documentation&#x20;

Comparator hardware requirements: RISC Zero zkVM quick-start and local-proving documentation; Succinct SP1 hardware-requirements documentation. Benchmark record: the project's public benchmark harness, containing the code every system ran, the full results tables including serialized proof sizes, the memory methodology, and reproduction steps; zkFOL 0.4.0 against RISC Zero 3.0.5 and SP1 6.3.1 on AMD Ryzen 7 5700X, Linux, measured September

2026, with two backend revisions noted in the record itself. Economics precedents: Ergo storage-rent documentation and parameter-governance record; Cardano ledger documentation for the refundable minimum-value deposit. Mina documentation for its succinct chain proof and its proof marketplace. Market and security figures on the problem page: TRM Labs H1 2026 incident count; DefiLlama Q2 2026; Immunefi H1 2026 loss-category analysis; Procur3 four-year exploit-cost average; Sherlock, Zealynx and Procur3 2026 audit-market references. Solver-paid fees precedent: CoW Protocol production behaviour.&#x20;

The performance tables reproduce from the public benchmark record.

<br>


# Glossary

**Predicate**. A statement in first-order logic about a proposed state transition. On Modulus, the predicate is the contract.&#x20;

**Witness**. The inputs that make a predicate true for a given transition, such as signatures and amounts. A proof can establish that a witness exists without revealing it.&#x20;

**Proof**. A cryptographic object establishing, at the stated security level, that the named predicates are satisfied over the stated transition.&#x20;

**State transition**. A proposed change to chain state: state consumed, state produced, and the transaction presenting them. Admitted only with a proof.&#x20;

**Validator slot**. The position in a chain's design where transactions are checked for admission. On Modulus, zkFOL proofs occupy the validator slot; on execution chains, a virtual machine does.&#x20;

**Prover envelope**. The three quantities this project claims and measures: proving time, proving memory, and the hardware proving runs on.&#x20;

**Arithmetisation**. Translating the validity of a logical assertion into a checkable property of a polynomial.&#x20;

**Polynomial semantics**. The translation route of eprint 2024/954: logical connectives map directly to polynomial operations, with no abstract machine in the middle.&#x20;

**Soundness**. The property that an accepted proof implies the proved statement holds, at the stated security level.

**Safety failure and liveness failure**. A safety failure admits something wrong; a liveness failure refuses something right. Modulus converts a class of the former into the latter: a transition that cannot be proved does not occur.&#x20;

**Static in units**. The fee property Modulus claims: a given transaction costs the same over time in units of the native asset. Predictability in external value is a separate, open question.

### Naming&#x20;

Modulus is the chain. Modulus zkFOL is the full name, used on first reference only. zkFOL is the language and compiler; Modulus is the chain that consumes it.&#x20;

Correct: "zkFOL proofs in the validator slot", "a predicate on Modulus". Incorrect: "the zkFOL chain", "the zkFOL blockchain", "zkModulus".

<br>


