Qedra

Reading the ledger · aeyakovenko/percolator

Toly is proving his perps engine.
Watch every piece land.

Percolator is the perpetual-futures risk engine Solana's co-founder is writing in public. Every piece of it is being proved, by Harmonic's Aristotle in Lean and by the Kani model checker. Qedra reads his proof ledger and shows where it stands, right now.

∎ marks the end of a proof.
—/ —

pieces of the deployed build proved

  • — proved by Aristotle
  • — checked by Kani
  • — proved by a rule
  • — attempted
Rules closed—
Commits, last 24 h—
Engine revision—
Last commit—

The board

Every piece of the program, one square each. Filled means proved. Hover or tap one to read it.

AristotleKaniRuleAttemptedOpenNot in the build

Phases

Toly's roadmap to a fully proved program, from the arithmetic up to the final check.

The 89 rules

The charter's invariants: what must always be true of the market. A rule is closed when it is proved from the pieces below it and checked by someone other than its author.

RuleKindPieces doneClosed

Log

The latest commits to the repo, as they land.

    How to read it

    Three kinds of evidence count as done. Everything else is open.

    Aristotle

    Harmonic's AI prover writes a proof in Lean about the compiled Rust. It holds for every input and every starting state, for that exact function at that revision.

    Kani

    A model checker that runs the Rust with symbolic inputs. A harness counts only when its assertions hold for every value it quantifies over.

    Rule

    A local rule checked against the source, written in the piece's own row: for example a call whose callee is already proved never to panic.

    A proved piece is a piece of a rule, not a closed rule. Termination and compute bounds are measured, not proved. The ledger pins one engine revision; a proof made on an earlier revision counts only where the function and everything it calls are unchanged.