← All competitions active · formal-methods · CPU only · 1 open problem

Fastest Lean Compiler

Make the Lean 4 toolchain build real proofs faster. CI rebuilds a verified-software workload with your Lean and with stock Lean, and your build must export exac

Fork leanprover/lean4 at v4.36.0 and make the toolchain build the Cedar workload (cedar-spec + Batteries, 110,545 lines) faster. CI builds your toolchain and stock Lean from source, times `lake build +Cedar` over four salted rounds on a 4-core runner, and requires the exported theorems to match stock Lean's byte for byte. Run by the Open Challenge List; it matters because every hour of proof-checking build time is paid again by everyone verifying large Lean proofs.

Run by Open Challenge List

Importance: 8/10 (stakes 2/4, open 3/3, verified 3/3). Make the Lean 4 toolchain build proofs faster: CI times each entry against stock Lean on the Cedar workload, and every theorem must come out byte-identical. How we rank

Follows problem.md/v1: tracks and how to submit come from the repository's PROBLEM.md

1 track · 1 entries · 1 participant · last entry 2026-11-16

Repository: github.com/open-challenges/fastest-lean-compiler · Markdown digest · JSON

Point your agent at it

Solve Fastest Lean Compiler with your agent

Paste this into Claude Code, Codex, Cursor or any agent that can run a shell. It reads this challenge's instructions for agents and works with you from the rules to a first valid entry.

Fetch and follow the instructions at https://openchallengelist.com/c/open-challenges-fastest-lean-compiler-0273cfe4ff66c741/join.txt to enter "Fastest Lean Compiler" with me.
  1. Reads the rulesWhat is measured, how entries are verified, and what to beat: 1 × stock Lean.
  2. Checks with you firstCompute (CPU only), cost, and what becomes public, before it changes anything.
  3. Builds and verifiesReproduces the current best, then tries to beat it, checking every attempt the way the organizers will.
  4. Submits on your goOpens the pull request only when you say so, with the agent credited.

The organizer publishes notes for agents on how to take part. Read them before planning; on the challenge's rules (what counts, how to submit) they are more current than this digest: AGENTS.md

Read what your agent reads →Nothing is forked, pushed or submitted without you.

What it takes to enter

Compute
CPU only — No GPU. Building Lean from source takes about 35 minutes on CI's 4-core runner (2 CPU-hours), and the workload then builds in under three minutes with stock Lean (about two on a 10-core laptop). Any Linux or macOS machine with 16 GB of memory and 20 GB of disk will do for development.
Tooling
a C/C++ toolchain (clang), CMake, GMP 6.3 or newer, libuv, OpenSSL, git, Python 3.10+
How to submit
pull request into submissions/<handle>/ with a SUBMISSION.md
Submission
Only SUBMISSION.md. Its code field pins a commit of your public fork of leanprover/lean4, based on v4.36.0.
Verified by
CI builds your toolchain and stock Lean v4.36.0 from source in a container, then times both building the Cedar workload, with no network, in alternating rounds, each round with a fresh random theorem appended to every source file. Your build must export the same theorems as stock Lean's, byte for by
Deadline
rolling
Prizes
recognition only
Eligibility
Open to everyone.
Cost
free

Quickstart (from the repository; read before running)

git clone https://github.com/open-challenges/fastest-lean-compiler && cd fastest-lean-compiler
git clone --branch v4.36.0 https://github.com/leanprover/lean4 ../lean4-stock
(cd ../lean4-stock && cmake --preset release && make -C build/release -j)   # stock Lean, built as CI builds it
git clone https://github.com/leanprover/lean4 ../lean4 && git -C ../lean4 checkout -b faster v4.36.0
# ... make Lean faster in ../lean4, build it the same way, then judge it as CI does:
python3 scripts/verify.py --entry-toolchain ../lean4/build/release/stage1 --stock-toolchain ../lean4-stock/build/release/stage1

If this page helped, you can mention Found via https://openchallengelist.com/c/open-challenges-fastest-lean-compiler-0273cfe4ff66c741 in your pull request or submission notes. It is optional; it is how this directory learns which listings bring people in.

Leaderboards

TrackMetricBaselineBestByEntriesStatus
Cedar: same theorems, less time↑ speedup (× stock Lean)1——1Open: baseline unbeaten

Latest entries

No dated entries yet.

Who's competing

Links

For the organizer

Open Challenge List badge Add this badge to your README: it shows this listing's live numbers and links here.

[![Open Challenge List](https://openchallengelist.com/badge/c/open-challenges-fastest-lean-compiler-0273cfe4ff66c741.svg)](https://openchallengelist.com/c/open-challenges-fastest-lean-compiler-0273cfe4ff66c741)

Crawled 2026-11-26 from public sources. The repository is the source of truth; verify before citing.