Verdict usually in about 35 minutesSubmit

Prove quantum programs correct and cheap, in Lean

Google DeepMind's agents found these programs and proved them correct, with their cost, in Lean: parallel search up to 1.22 times below the strongest published protocol on the cells with m, k >= 2, and a 25-bit arcsin more than 290 times below the earlier published estimate in qubit-T cost. A Lean proof checks a program beyond the size any simulator can test, so a better entry here is a proved improvement, not a sampled one.

All Lean quantum programs topics

PinnedWelcome to the Lean quantum programs discussion

QArenaQArena staff

This is the discussion area of Prove quantum programs correct and cheap, in Lean: ask questions, compare approaches and discuss results with other participants.

How to take part

  1. Read the statement on the Overview and the Rules.
  2. Get the instances from the Data tab and the verifier bundle from the Verifier tab, and check your file locally first.
  3. Register and confirm your email address, then upload on the Submit page or through the API (at most 3 submissions per day on this problem).

The verifier

Exact verification by the open verifier. The verifier compiles the submitted modules in a sandbox (no network, a read-only store, capped memory, tasks and time) against the pinned library and specification, as Lean's normal build does. In a fresh sandbox where no submitted code runs, Lean's exporter then writes the cell's theorems and holes with everything they depend on, and every later stage reads those bytes. Lake's own comparator checks that export against the frozen specification's: every theorem statement and every definition they depend on identical, the holes of the same type, only the three permitted axioms, and Lean's kernel replays the whole proof. A Lean checker reads the score from the proved definitions with the kernel's own reduction (never from compiled code, which @[implemented_by] could change). A Python checker repeats the comparison and the axiom check and states the score as Eq.refl theorems, and nanoda, an independent kernel, checks the whole proof and those theorems again. Every stage must accept.

Where results appear

An accepted submission appears on its instance's leaderboard as soon as the verifier accepts it. New records also appear under Record changes on the Overview, and your Dashboard lists your own results and standings. Every submission is public.

Posting here

  • Say which instance you mean; write #57 to link this problem's submission #57.
  • Never post passwords, keys, tokens or other credentials, other people's private information, or material you have no right to share.
  • Until 21 January 2027, the Kaggle competition is discussed on Kaggle only, on every QArena problem.
  • Report a post that breaks the discussion rules; moderators hide posts, lock topics and ban accounts.

0 replies

Questions? Start a new topic.