$THEOREM/quote asset for every marketpump.fun
Loading CAThe $THEOREM contract address appears here once the coin is live on pump.fun.
Checking status

Docs

How a statement becomes a market, what goes on-chain, and how to check every launch without trusting this site.

1Overview

Theorem is a launchpad for statements. You write a theorem, optionally attach Lean 4 source, and sign one Solana transaction. That transaction creates a pump.fun coin for the theorem and writes a SHA-256 fingerprint of what you published to a memo.

Every theorem coin is quoted in $THEOREM, itself a pump.fun coin. Buys spend $THEOREM, sells return it, on the bonding curve and on PumpSwap after graduation.

Definition. A launch is a triple (artifact, mint, signature) such that the memo in the signed transaction equals thm:v1:base64url(sha256(artifact)) and the same transaction creates the mint with $THEOREM as quote.

2Explainer

Fig. 1 Theorem in twenty secondscaptions

3Launch a theorem

  1. Open Launch. Enter a name, a ticker (A to Z and 0 to 9), and the statement. Paste Lean 4 source if you have it.
  2. Watch the preview. The page builds the canonical artifact and computes its SHA-256 and memo as you type, so you know the fingerprint before you sign.
  3. Connect a Solana wallet and choose Review in wallet. The server prepares the transaction and pre-signs with a fresh mint key.
  4. Before the wallet opens, the page decodes the transaction and checks the instructions, memo, metadata, quote mint, and creator against your draft. Any mismatch stops the launch.
  5. Approve. Your wallet pays network fees and rent in SOL and becomes the pump.fun creator. The market appears in the directory once Solana finalizes the transaction.

Launches open when the $THEOREM mint is live and eligible as a pump.fun quote asset. Until then the launch button says so.

4The artifact

The artifact is a compact JSON object with keys in this exact order, serialized with no whitespace. Fields are trimmed, line endings normalized to \n, and the ticker uppercased before hashing.

{"format":"theorem/v1","name":"…","symbol":"…","statement":"…","leanSource":"…" | null}
fieldlimitnotes
name32 bytesCoin name on pump.fun.
symbol13 bytesTicker, A to Z and 0 to 9.
statement6,000 bytesPlain text or Unicode notation.
leanSource18,000 bytesOptional. null when absent.

Each market serves its artifact at /m/<key>/artifact, byte for byte as hashed. The coin's pump.fun metadata links to it.

5Verify a launch

Every market page lists its artifact URL, hash, memo, and transaction. To check one from a terminal:

# 1. hash the artifact, compare with the market page
curl -s https://theorem.codes/m/<key>/artifact | shasum -a 256

# 2. the memo is the same digest, base64url, no padding
curl -s https://theorem.codes/m/<key>/artifact \
  | openssl dgst -sha256 -binary | openssl base64 \
  | tr '+/' '-_' | tr -d '='

Then open the transaction on Solscan. The Memo instruction should read thm:v1: followed by that string, and the pump.fun create instruction in the same transaction should name the mint, the creator, and $THEOREM as quote mint.

6The $THEOREM quote

$THEOREM launches on pump.fun like any other coin. Every theorem coin uses it as the quote mint through pump.fun's create with pump coin quote instruction. pump.fun decides which coins are eligible as quote assets and sets the trading rules.

Its contract address shows in the bar under the header once it is live. Until then every page says pending, and launches stay closed. There is no placeholder mint.

7Trading

Each market page has a trade panel. Pick buy or sell, enter an amount, review the quote, then sign. While a coin is on its bonding curve, trades route to the pump.fun curve. After it graduates, they route to the PumpSwap pool. Either way the other side of every trade is $THEOREM, and network fees are paid in SOL.

Slippage is capped at the limit you pick. If the prepared transaction would pay out less than the quoted minimum, the page refuses to send it to your wallet.

8lean-svm

lean-svm, by Anatoly Yakovenko, is a native Lean 4 to Solana sBPF compiler. It lowers Lean's monomorphic LCNF IR straight to sBPF ELF binaries with zero heap allocations and no LLVM. Properties like amm_swap_preserves_k are checked by Lean's kernel with zero sorry, and the same definitions become the deployed program. Its Noop compiles to 352 bytes against 1,136 for hand-rolled no_std Rust.

That project is the inspiration here: once proofs can become programs, statements deserve a market. Theorem is independent and does not use lean-svm to check anything.

9What Theorem does not do

  • It does not verify proofs. A launch proves publication, authorship, and time. Lean source is stored as text and never compiled by Theorem.
  • It does not custody funds. Your wallet signs every launch and trade.
  • It does not curate. Anyone can launch any statement, true, false, or open.
  • It does not promise value. $THEOREM and every theorem coin are speculative pump.fun memecoins.

Connect a wallet

Open this site in a Solana wallet browser or install a wallet extension. Get Phantom