The evidence cut-off is 3 December 2026. The organiser accepted this revision on 25 November after its benchmark succeeded. Acceptance commit · Organiser’s run · Ongoing Lean challenge
Question
How much workspace and how many Toffoli gates does the ledger charge for one controlled point addition on the curve secp256k1? A wire label identifies a logical qubit. A Toffoli gate flips a target bit when both controls are set. The organiser asks for bounds that hold for every public point being added, including the point at infinity, the identity for addition. Protected contract
Data
We used the seven charges in the 25 November audit of Mahmoud514’s accepted construction, the component checker’s receipt and the official submission record. The source revision is 43cd2211. The certificate covers the contract’s signed basis states for each fixed measurement record. Entrant declaration · Protected contract · Organiser’s benchmark rules
Method
Let Q be the width bound in logical qubits and T the upper bound on Toffoli gates. Here T counts Toffoli gates only. Charge each distinct wire label once across the circuit, including idle input and output wires. A row with zero additional qubits borrows wires already in that total. Add the gate charges separately, then multiply the column totals to obtain S = Q × T. Multiplying each row first would discard the cost of the gates on borrowed wires. Width definition · Scoring rule
Worked example. The two coordinate registers contribute 512 wires, the control and finite-point flag contribute 2, and the remaining allowance is 1,029. That gives Q = 512 + 2 + 1,029 = 1,543. Division and multiplication contribute 979,489 + 979,985 = 1,959,474 gates. The other five charges add 51,861, giving T = 2,011,335 and S = 1,543 × 2,011,335 = 3,103,489,905.
Results
| Allocation | Qubits charged once | Toffoli gates |
|---|---|---|
| Field division / inversion | 0 | 979,489 |
| Forward field multiplication | 0 | 979,985 |
| Modular square, product formation and remaining recombination | 0 | 43,698 |
| Modular reduction, five direct square folds | 0 | 3,830 |
| Coordinate additions, subtraction and comparison | 512 | 3,318 |
| Control, exceptional points and format conversion | 2 | 526 |
| Ancilla handling, shared workspace and marker | 1,029 | 489 |
| Total | 1,543 | 2,011,335 |
| Evidence | Qubits | Toffoli bound | Product |
|---|---|---|---|
| Ledger column sums | 1,543 | 2,011,335 | 3,103,489,905 |
| Pinned Lean declaration | 1,543 | 2,011,335 | 3,103,489,905 |
| Published submission | 1,543 | 2,011,335 | 3,103,489,905 |
Checks
Computed evidence. The component check reconstructs gate charges before normalization, when the circuit is simplified. Some charges are ceilings. The shared width of 1,029 is the declared width less the 514 input and output wires. Subtracting those wires explains the allocation. The guarantee that every input fits comes from the entrant’s certificate. As a boundary case, adding the point at infinity selects an empty program. It uses zero gates but the model still charges 514 input and output wires. Its gate count can therefore be far below the published ceiling. Entrant cases and bound · Empty-program width
Machine-checked by the organiser. The hosted job completed setup, benchmark and score reporting for candidate 5c8ab40b. Its entrant tree matches the accepted revision. The scorer checks protected files, replays compiled declarations and calls the kernel judge. Lean 4.28 includes the checker used for replay. Hosted job · Scorer · Lean checker documentation
Local replay. The protected setup passed on 25 November. On 2 December we verified 889 protected artifact hashes and replayed one contract module and one judge module. The first full build stopped after 30 min 23 s when the host ran out of memory compiling the entrant’s Prelude.lean. Its largest compiler sample was 11,329,748 KiB of resident memory (10.80 GiB).
On 3 December the capped retry completed NumericCarryTrace.lean and was still compiling Prelude.lean at the 25-minute deadline. The build’s memory peak was 7 GiB with zero swap use. The timeout wrapper returned 124. Neither attempt reached the kernel judge or produced a score file. Both measurements and the log fingerprints are in code/replay-receipt.json.
What it means in plain words
The score multiplies two budget limits for a single controlled addition. It gives no execution time, physical qubit requirement or minimum achievable score. The Rust benchmark averages executed gates per shot, so its gate column answers a different question. Garn and Kan’s published hardware estimates use explicit machine assumptions. Luo and colleagues’ 2026 preprint estimates that their circuit for the full secp256k1 discrete-logarithm computation uses 835 logical qubits. Neither supplies a local verdict for this entry. Rust scoring convention · Hardware study · Preprint
Machine-checked by the organiser. On 2 December Yukon accepted a lower score for Meganpark980320’s entry. Its bounds of 1,542 logical qubits and 2,003,727 Toffoli gates give a product of 3,089,747,034 under the same scoring rule. Accepted submission
Computed evidence. In a September 2026 preprint, Long and colleagues report that their repaired point-addition circuit with a 16-bit selection window used 1,419 qubits and averaged about 1.356 million executed Toffoli gates over 100,000 test inputs. The authors found no failures in that sample, but their four-bit window test gave wrong outputs on supported inputs. Their average describes the test sample, while Yukon requires a bound for every public addend. Long and colleagues’ preprint
How to use this
Open the allocation CSV in a spreadsheet and enter =SUM(B2:B8)*SUM(C2:C8) in an empty cell. It returns 3,103,489,905. Row 9 already contains the totals.
- For a benchmark reviewer, a one-wire discrepancy has a recognizable size. Charging a shared wire twice changes Q to 1,544 with T unchanged, raising the product by exactly 2,011,335. Check the wire inventory first. A single duplicated gate at fixed width raises it by only 1,543.
- For a circuit engineer, a missing cleanup stage can resemble a saving. Dropping the 244 marker-erase gates and 245 reload gates while retaining the width lowers the spreadsheet product by 489 × 1,543 = 754,527. Restore the missing charge before comparing implementations.
| Ledger case | Product | Change from published |
|---|---|---|
| As recorded | 3,103,489,905 | 0 |
| One wire counted twice | 3,105,501,240 | 2,011,335 |
| Marker gates omitted | 3,102,735,378 | -754,527 |
| One gate counted twice | 3,103,491,448 | 1,543 |
What we built
The offline Python checker in code/check.py reads the supplied ledger CSV, reconstructs each stage from component identities and rejects a mismatch even when two row errors cancel. With a copy of the pinned entrant file it also verifies its SHA-256 and reads its declared bounds. The nine tests exercise the sample command and check missing or duplicated charges, mismatched totals, the source fingerprint and both output tables.
What we will try next
Proposal — Can a local replay certify the same entry? Try the pinned source and unmodified scorer on a machine with a documented larger resource allowance. Verify the protected setup before compiling the entrant. Require an accepted judge verdict, exit zero and a fresh score file matching both dimensions and their product. A rejection or mismatch contradicts agreement. Reaching the declared resource limit first means that replay failed to complete. It leaves the certificate’s local verification open.
Proposal — Would a claimed saving survive the same accounting? For a proposed revision with a public certificate, compare its complete width and gate bounds under the same contract. Discard the saving if the scorer rejects the revision or its product is at least 3,103,489,905. A smaller ledger alone would leave the saving unverified.
References
- Acceptance of the audited submission
- Yukon’s ongoing Lean challenge
- Meganpark980320’s accepted submission of 2 December
- Yukon’s scoring terms
- Protected definition of the resource bounds
- Mahmoud514 and contributors’ accepted entrant
- Organiser’s successful benchmark job
- Benchmark and judge invocation
- Lean project’s kernel checker documentation
- Rust track’s scoring convention
- Garn and Kan’s logical and physical estimates
- Luo and colleagues’ point-addition preprint
- Long and colleagues’ window-selected circuit tests
- Layr Labs, acceptance of Mahmoud514’s submission on 25 November 2026
Accepted commit, submission ID, author credit and date. Repository code is Apache-2.0. Only derived research results are distributed here.
Opened 2026-12-03 - Yukon, formally verified controlled point-addition benchmark
The organiser defines the Lean track score as the product of uniform qubit and Toffoli upper bounds. Only derived counts are published here.
Opened 2026-12-03 - Layr Labs, protected point-addition contract at the accepted revision
Certificate scope, distinct-wire union including idle input/output, empty program and bound field order. Apache-2.0.
Opened 2026-12-03 - Mahmoud514 and contributors, accepted entrant and bound declaration
Finite and infinity cases, normalization, numeric bounds at line 5476, entry and certificate exports at the end of the file. Apache-2.0.
Opened 2026-12-03 - Organiser’s GitHub Actions job 138950830645
Candidate SHA, conclusion and status of setup, benchmark and score reporting. Public GitHub job metadata, results only.
Opened 2026-12-03 - Layr Labs, scoring script at the accepted revision
Clean entrant build, protected-file and replay checks, kernel verdict, integer product and final score receipt. Apache-2.0.
Opened 2026-12-03 - Lean project, kernel replay in Lean 4.28
The checker for compiled declarations is distributed with Lean from 4.28.0. The deprecated standalone project documents the transition.
Opened 2026-12-03 - Layr Labs, Rust point-addition benchmark at the comparator revision
The published Rust rule uses the average executed Toffoli count per shot. Only the definition is compared.
Opened 2026-12-03 - Garn and Kan, Quantum resource estimates for computing binary elliptic curve discrete logarithms (2025)
The authors distinguish logical counts from estimates for specified fault-tolerant hardware architectures. Published in IEEE Transactions on Quantum Engineering, DOI 10.1109/TQE.2025.3586541. Cited for scope.
Opened 2026-12-03. arXiv 2503.02984 - Luo and colleagues, Quantum Algorithm for Elliptic Curve Discrete Logarithms with Space-Efficient Point Addition (2026 preprint)
Version 3 describes a different construction. It illustrates why the audited bound applies only to the pinned entrant.
Opened 2026-12-03. arXiv 2607.13816 - Yukon, ecdsa.fail Lean point-addition challenge
The organiser continues to accept improvements to the product of the two uniform bounds. Public challenge description and leaderboard, cited for status.
Opened 2026-12-03 - Yukon, Meganpark980320’s accepted point-addition submission of 2 December 2026
Entrant, acceptance, promotion date, official metrics and score of the later Lean entry. Only the reported results are quoted.
Opened 2026-12-03
Reproduce
From the study folder, run the checker and its tests with Python 3.
python3 code/check.py
python3 -m unittest discover -s code
The checker prints 7 allocations: 1,543 qubits × 2,011,335 Toffoli gates = 3,103,489,905. To reproduce both comparison tables, save the linked entrant declaration as Main.lean and run python3 code/check.py --source Main.lean --write-tables. Its expected SHA-256 is 4fb965b8. Pinned source
Run python3 code/archive_check.py to redraw the figures from the archived allocation table. For the original receipt comparison, the five source fingerprints are in code/inputs.json. The original allocation, report and machine receipts are kept separately because the historical files also contain local run details. The pinned public declaration and official submission are cited in the protocol and bibliography. Request the matching historical files from Qourat R&D centre, place them in inputs/, and run python3 code/archive_check.py --inputs inputs to verify them and regenerate tables/cost.csv. The agreement and sensitivity tables preserve the published comparisons.
A new kernel run requires the organiser’s pinned Lean project, scorer and dependencies. The archive contains the local replay receipt and its log fingerprints. Neither historical local attempt reached a kernel verdict.
Change log
25 November 2026. We recorded the original work.
26 November 2026. Checked the cited sources.
2 December 2026. Distinguished uniform bounds from gate executions, checked the accepted source and the organiser’s job, and added the offline checker, allocation chart and bookkeeping comparisons.
3 December 2026. Recorded the first build’s out-of-memory termination and a fresh replay under a 7 GiB cap. The retry reached the 25-minute deadline during entrant compilation.
3 December 2026. Corrected the compiler memory conversion and identified the baseline in the sensitivity table. Added the later accepted bounds and the separate window-selected circuit tests.
3 December 2026. Published the revised study.
3 December 2026. Source files and reproduction notes were made portable for the archived copy. No result changed.