Skip to content

Simplicity FAQ

Simplicity is so simple it fits on a T-shirt. Does that mean it's as limited as Bitcoin Script?

No, the "simplicity" refers to its foundational design and formal semantics, not its expressiveness.

  • Bitcoin Script is deliberately limited; Simplicity is finitarily complete, meaning it can program any finite computation.

  • Complex off-chain (even Turing-complete) computations can be verified on-chain with Simplicity.

Is Simplicity Turing-complete like the EVM?

No. Non-Turing-completeness is a deliberate design choice.

Every program has a statically bounded cost, known before anyone funds it, so there are no "out of gas" failures. Programs contain no unbounded loops or recursion, so every program halts. Programs are also analyzable; this property supports formal reasoning about program behavior.

How does Simplicity handle state? Does it have global state like Ethereum?

Simplicity has no global state. It's a purely functional language: each program is just a function that maps inputs to outputs.

Contracts run within the UTXO model used by Bitcoin and Liquid:

  1. Contracts are small programs attached to UTXOs that guard the associated coins.

  2. Spending a UTXO means providing witness data so the contract runs without failing.

  3. State is carried forward explicitly by committing data into the next UTXO.

This design avoids shared mutable state (as in Ethereum). Instead, every transition is localized: a UTXO is consumed, and the updated state is re-committed into the new UTXO.

How do I prove my Simplicity contract is correct?

Simplicity's semantics are formally defined in the Rocq proof assistant (formerly Coq), so properties of a Simplicity program can in principle be proved there. Tools and libraries for doing this with real contracts don't exist yet. There's no Rocq model of the transaction data that introspection jets read, and proofs about SimplicityHL source code depend on a verified compiler.

Until then, test contracts thoroughly on Liquid testnet or the Simplicity Signet. See Formal verification for what has been verified and what's planned.

Simplicity is low-level. Do I write contracts directly in it?

Not usually. Developers ordinarily write in high-level SimplicityHL, which compiles down to Simplicity.

What are jets, and how do they make programs efficient?

A Simplicity jet is a pre-defined, optimized function that replaces an equivalent Simplicity expression to speed up execution without changing its meaning.

Benefits:

  • Programs remain formally verifiable.

  • Heavy operations run in optimized native code instead of interpreted combinators.

  • Keeps execution fast, compact, and analyzable.

How does Simplicity exist alongside Bitcoin Script?

With Taproot's versioned leaves, a single Taproot output can include both standard Script/Miniscript leaves and a Simplicity leaf. This allows mixing policies: simple paths can remain in Script while advanced paths use Simplicity, preserving flexibility and privacy under one Taproot tree.

How do I track the value of a Simplicity contract with partial payouts when different strike prices are being matched?

Simplicity contracts operate on UTXO-committed state. Each contract output carries forward a table of strikes together with their remaining notionals.

At every settlement event, the contract:

  1. Reads the current reference price.

  2. Applies partial payouts to any strikes that are matched.

  3. Updates the strike table by reducing the notional amounts that have been settled.

The value of the contract at any point is given by the piecewise payoff function, evaluated against the latest UTXO state. By inspecting the most recent UTXO, participants can determine both their current position and their outstanding exposure.

See also AJ Towns's comment on flexible coin earmarks in the Bitcoin Optech newsletter.