Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Formal Verification

72 missions · 69 completed

Missions

Open3Completed69All72
🏆Completed
Theoretical Computer Science·Captain: mikedeng1

Reaching Agreement in the Presence of Faults 1: With n ≥ 3m + 1 Processors, the Recursive Majority Procedure on (m + 1)-Level Scenarios Assures Interactive Consistency for m FaultsResearch Paper

A fault-tolerant system often replicates a computation on several processors and needs the nonfaulty ones to act on the same data, even though some processors may fail in arbitrary ways: send wrong values, send different values to different recipients, or lie about what they were told. Pease, Shostak and Lamport posed the question in 1980, motivated by the…

7 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: mikedeng1

Consensus in the Presence of Partial Synchrony II: With Synchronous Processors, Partially Synchronous Communication and t Fail-Stop Faults, No Consensus Protocol Exists When 2 ≤ N ≤ 2tResearch Paper

Consensus asks NNN processors, each holding an initial value, to agree on one value despite some of them failing. It underlies replicated databases, atomic commit and state-machine replication. Its solvability depends on the timing assumptions. With fully synchronous processors and communication, ttt fail-stop faults can be tolerated for any t<Nt < Nt<N. With fully…

5 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: mikedeng1

Consensus in the Presence of Partial Synchrony I: For N ≥ 2t + 1, Algorithm 1 Achieves Consistency, Strong Unanimity and Termination in the Basic Round Model with Fail-Stop or Omission FaultsResearch Paper

Consensus asks NNN processors, each starting with a value, to agree on one value although some of them may be faulty. It underlies replicated databases, atomic commitment and state-machine replication. Two classical models bracket the problem. In a fully synchronous system, with known bounds on message delay and processor speed, consensus is solvable for many…

6 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: marwahaha

UTF-8 decoder properties for LexPatResearch Paper

For every ASCII Unicode scalar s : LexPat.Scalar with s.n < 0x80, encoding s via LexPat.encodeAscii s and decoding at offset 0 with the real UTF-8 decoder LexPat.decodeUtf8One recovers (s, 1) exactly: decodeUtf8One (encodeAscii s) 0 = .ok (s, 1) (LexPat.decodeUtf8One_ascii_roundtrip).

1 thm1 active userReviewed
🏆Completed
Number Theory·Captain: dbenbenn

Poly1305: the differential bound of the polynomial hash (Bernstein 2005)Research Paper

This mission formalizes D. J. Bernstein, The Poly1305-AES message-authentication code, Fast Software Encryption (FSE 2005), Lecture Notes in Computer Science 3557, Springer, 2005, pp. 32–49 (doi:10.1007/11502760_3): the definition of the Poly1305 authenticator, the primality of 2130−52^{130} - 52130−5, and the theorem that the polynomial hash HrH_rHr​ has small differential…

14 thms1 active userReviewed
🏆Completed
Algorithmic Game TheoryMechanism Design·Captain: marwahaha

Truthful bidding dominance for ERC-8469 sealed-bid Vickrey awardsResearch Paper

Formalizes weak dominance of truthful bidding under the ERC-8469 sealed-bid Vickrey award mechanism (VickreyAward.truthful_dominant): for every reserve r, every profile of other bids before and after in any commit order, every true cost c, and every alternative bid b, bidding the true cost c achieves utility at least as large as bidding b (…

1 thm1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: dbenbenn

X25519 in x25519-dalek on AArch64: the compiled Diffie-Hellman computes RFC 7748's X25519Textbook

This mission formalizes the X25519 Diffie–Hellman function of A. Langley, M. Hamburg and S. Turner, Elliptic Curves for Security, RFC 7748 (2016, doi:10.17487/RFC7748), as computed by the Rust crates x25519-dalek 3.0.0 and curve25519-dalek 5.0.0 compiled for AArch64 Linux. The statements are about the compiled machine code that libsignal runs. The…

77 thms1 active user
🏆Completed
AlgebraArithmetic Geometry·Captain: dbenbenn

Curve25519 and the x-coordinate scalar multiplication (Bernstein 2006)Research Paper

This mission formalizes D. J. Bernstein, Curve25519: new Diffie-Hellman speed records, Public Key Cryptography – PKC 2006, Lecture Notes in Computer Science 3958, Springer, 2006, pp. 207–228 (doi:10.1007/11745853_14): the theorem that makes the Curve25519 function well defined on every input, Montgomery's x-coordinate formulas, and the 255-step…

12 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: marwahaha

Correct rollback of finite configurations in prime event structuresResearch Paper

For a prime event structure and a finite configuration c, removing the event e and its causal future gives the canonical rollback configuration. The main theorem proves that c is reachable again by a finite path from this rollback. Finiteness is supplied explicitly by a finite set containing exactly the events of c.

3 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: kmehltretter82

Introduction to Discrete Event Systems I — Languages of Parallel CompositionTextbook

When two components observe a common event, a global execution can take that event only if both components can take it. Other events belong to just one component. Chapter 2 of Cassandras and Lafortune gives two descriptions of the resulting behavior. An automaton constructs it one transition at a time. A language describes it by projecting a whole trace…

4 thms1 active userReviewed
🏆Completed
Captain: marwahaha

FOCIL inclusion safety in a concrete nonce-account modelResearch Paper

For an attester run under the source stake model, a transaction in a stored, considered inclusion list belongs to a canonical block whenever it is appendable in the concrete nonce-account model and that block is not full. The run’s appendability predicate is explicitly equated to the concrete model. The stake and attester-run structures retain the strict…

1 thm1 active userReviewed
🏆Completed
Captain: marwahaha

Reserve accounting for a checked ErgoScript fragmentResearch Paper

For every representable reserve and context, acceptance by the modeled reserve-checking script implies that output zero exists and the mathematical integer decrease from SELF to that output lies between zero and SELF minus the reserve. The library also proves checked subtraction succeeds for a nonnegative reserve and gives a counterexample when the reserve…

1 thm1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: Taproot script-path soundness as a reduction to SHA-256 and tweak collisionsTextbook

A Taproot output commits to a tree of scripts through its tweaked key, and a spender opens one leaf by presenting a control block: the internal key, a parity bit, and a Merkle path. The design claim of BIP341 is that nobody can open a leaf the output's creator did not put in the tree. The Taproot mission transcribed VerifyTaprootCommitment and the tagged…

9 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

OpenSearch cluster coordination: randomized election timersTextbook

When an OpenSearch cluster has no cluster-manager, every cluster-manager-eligible node in candidate mode that has discovered enough peers to form an election quorum (or has just bootstrapped the cluster) starts an election scheduler (ElectionSchedulerFactory), which fires at random intervals; each firing starts a new pre-voting round if the node is still a…

8 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

OpenSearch cluster coordination: progress under a stable periodTextbook

The safety mission proves that OpenSearch's cluster coordination never forks, whatever the network does: messages lost, duplicated, delayed or reordered, nodes restarting. Progress cannot be proved in that generality. In that model a message may never be delivered, and nothing stops candidates from starting elections in ever higher terms, each start-join…

7 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

OpenSearch cluster coordination: safety of the Zen2 consensus protocolTextbook

An OpenSearch cluster keeps its metadata in one cluster state that an elected node, the cluster-manager, publishes to the others. Every node runs the per-node consensus state machine CoordinationState, transcribed and specified in the OpenSearchCoordination mission, driven by the Coordinator over a network that loses, duplicates, delays and reorders…

45 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

OpenSearch cluster coordination: pre-voting and election schedulingTextbook

In OpenSearch's cluster coordination a node starts an election by sending StartJoinRequests for a new term, and every node that handles one moves to that term (CoordinationState.handleStartJoin, transcribed in the per-node mission) and discards its election and publication state: a leader that handles one is no longer leader. A node that started elections…

11 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

OpenSearch cluster coordination: the per-node consensus state machine (CoordinationState)Textbook

OpenSearch (and Elasticsearch since 7.0) keeps the metadata of a cluster — which indices exist, their mappings and settings, which node holds which shard — in a single cluster state that one elected node, the cluster-manager (formerly "master"), publishes to all others. The algorithm that elects the cluster-manager and makes every published state durable is…

19 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: MuSig2 and FROST correctness over secp256k1, with the executable curve proved to be a groupTextbook

MuSig2 (BIP327) lets nnn signers produce one BIP340 Schnorr signature for an aggregate key, indistinguishable on chain from a single-signer Taproot spend; FROST does the same for a threshold of signers. The correctness claim is that partial signatures which each pass their partial check combine into a signature that the ordinary Schnorr verifier accepts.…

30 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: Miniscript compiler soundness against the script interpreterTextbook

Miniscript is the structured subset of Bitcoin Script that wallets use to write and analyse spending policies: each fragment has a fixed translation to Script, a type that says what it does to the stack, and a satisfaction table that says which witnesses make it succeed. The claim that makes it trustworthy is compiler correctness: a well-typed Miniscript…

19 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: honest majority makes backbone executions typical with overwhelming probabilityTextbook

The backbone mission proved chain growth, common prefix and chain quality for every typical execution: one in which, on every window of at least λ\lambdaλ rounds, the adversary finds fewer blocks than there are uniquely successful honest rounds. Garay, Kiayias and Leonardos show that under honest majority executions are typical except with probability…

23 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: the cluster-mempool feerate-diagram check of replace-by-feeTextbook

At the pinned revision, Bitcoin Core's cluster mempool replaced BIP125 rule 3 ("the replacement's feerate must exceed every conflict's") with a single check: the replacement must strictly improve the feerate diagram of the affected clusters. The replace-by-fee mission had to take rule 3 from v29.0 for that reason. This mission transcribes the actual check (…

18 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: the selfish-mining revenue share as a long-run averageTextbook

Eyal and Sirer's relative revenue is computed from the stationary distribution of their Markov chain, and the threshold result is read as "a pool above the threshold earns more than its share over time". The selfish-mining missions proved the formula for the stationary distribution, its uniqueness, and the threshold as statements about that distribution.…

30 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: the legacy script interpreter with the signature script code tracked exactlyTextbook

The script mission's interpreter, reviewed twice and tested against Core's 994 vectors, is exact except at two documented limits: L1, the signature script code does not restart after an executed OP_CODESEPARATOR (a handful of historical transactions), and L10, OP_CHECKMULTISIG deletes only the checked signature from the script code instead of all of them…

21 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: pitimespi

Bitcoin: the Lightning penalty at the script levelTextbook

Lightning's security against a counterparty who broadcasts an old, revoked commitment transaction rests on the penalty: the honest party, who holds the revocation secret for that commitment, can take every output at once, while the cheater can take nothing before to_self_delay blocks. The script missions proved what each commitment output's script enforces;…

22 thms1 active userReviewed
PreviousPage 2 of 3Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me