mathchain: trustless prediction markets for open math problems

Prediction markets are usually framed as forecasting tools for elections, sports, or macro events. They might actually be an even better fit for funding mathematics.

Think about how a math conjecture behaves on a market like Polymarket. Anyone who doubts a problem will be solved soon, or who simply wants to put up a bounty for an answer, can buy "NO" shares on a question like "Will conjecture X be proved before 2030?" If the market trades at 5% YES and 95% NO, a mathematician (or an AI system) who finds a proof doesn't need to apply for a grant, convince a committee, or wait two years for peer review. They quietly buy up the YES shares at 5 cents on the dollar, publish the proof, and collect the payout.

In traditional finance, insider trading is a bug. Here, it is the funding mechanism. You get paid directly in proportion to how surprising your breakthrough was. A prediction market automatically turns skepticism into a self-funded math bounty.

The catch with running this on Polymarket or Manifold is resolution. Elections and news events are messy, so those platforms rely on centralized market curation, human moderators, or optimistic oracles like UMA where token holders vote on disputes. That overhead makes sense when people are arguing over whether a ceasefire technically held. It makes no sense for mathematics.

If a conjecture is stated formally in Lean, truth is not a matter of governance or voting. A proof either passes the Lean kernel or it does not. The kernel is small, deterministic, and publicly auditable. You do not need an admin to approve a market, a committee to judge rigor, or a dispute window to settle a bet. You run the checker, verify the proof term against the target theorem, and release the funds.

Parts of this already exist. Proofgold, built by Chad Brown and collaborators (2022–2025), is the closest live blockchain for formalized math bounties. It embeds logical objects directly on-chain, though it uses its own custom higher-order logic rather than Lean, where most modern formalization momentum and AI theorem-proving work is happening. On the other side, Polymarket and Manifold occasionally host math markets, but they still resolve through human moderators or UMA oracles instead of a proof checker.

Combining formal verification with prediction markets (call it MathChain) runs into two immediate engineering problems: mempool front-running and state bloat.

Front-running is straightforward to solve. If you broadcast a Lean proof in the open, a validator or bot can copy it, buy YES shares ahead of you, and submit the proof first. A standard commit-reveal flow prevents this: you commit a hash of the proof tied to your address, take your market position, and reveal the proof only after the commitment is finalized.

State bloat is the real architectural constraint. Full formal proofs are large, and re-verifying every dependency from scratch on every submission does not scale. The clean design is to structure the chain around a content-addressed Merkle DAG, essentially an on-chain shared Mathlib. Once a definition or lemma passes the kernel, it is stored under the hash of its formal statement and dependencies. New proofs submit only the delta and reference already-verified theorem hashes. Nodes verify the new step against the cached signatures instead of replaying the whole dependency tree, pruning redundant storage and verification work as the library grows.

That leaves the question of initial coin distribution without burning electricity on useless SHA-256 hashes. There are two simple paths that avoid wasted compute altogether:

  1. Skip a native currency completely. Settle markets in an existing asset like USDC on an L2, and keep MathChain focused strictly on the proof DAG and kernel resolution.
  2. Mint tokens for formalization work. If there is a native asset, distribute it to contributors who formalize definitions, prove reusable intermediate lemmas, or prune and compress existing DAG nodes so future proofs are cheaper to check.

If a compute-based Proof-of-Work distribution is still desired, it does not have to burn compute on meaningless hashing. Pearl (pearlresearch.ai), for instance, is a Layer-1 Proof-of-Useful-Work blockchain where mining is GPU matrix multiplication serving real AI inference, proving the work with only a few percent overhead. On a chain like MathChain, a similar PoUW model could direct mining compute toward useful AI inference or proof search rather than throwing it away.

Proof checkers remove the oracle bottleneck from prediction markets, and prediction markets turn formal verification into a permissionless funding mechanism. As AI theorem provers get better at Lean, an open market that prices conjectures and pays out automatically on kernel verification starts looking less like a thought experiment and more like basic infrastructure.

All posts