Manuscript Offprint

arXiv:2609.09582

ECDSA.Fail: Open Autoresearch for Optimizing Elliptic-Curve Point Addition in Shor's Algorithm

Jieyi Long, Theodore Pender, Zhao Huang, Manuel B. Santos, Samrendra Kumar Singh, Bartosz Naskręcki, Bit Wonka, Joe Doyle, Pierre-Luc Dallaire-Demers, Francesco Giannicola, Ruben M. L. Paschoarelli, Oli Freuler, Jackie Chia-Hsun Lee, Vasily Gnuchev, Gopi Kannappan, John Boyer, Xavier Butler, Akash Balasubramani, Jordan Newman, Bereket Dereje, Alexander Hertlein, Robert Kodra, Lucas Levy, Shaan Patel, JT Rose, Matt Zweil, Okechukwu Wisdom, Tarek El-Eter, Edison Lee, Michael Dong, Alan Li, Anto Joseph, Gajesh Naik, Gautham Anant, Soubhik Deb, Justin Drake

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jieyi Long1⊠^{1\boxtimes}, Theodore Pender2^{2}, Zhao Huang3^{3}, Manuel B. Santos4^{4}, Samrendra Kumar Singh5^{5}, Bartosz Naskręcki6,7^{6,7}, BitWonka8^{8}, Joe Doyle9^{9}, Pierre-Luc Dallaire-Demers10^{10}, Francesco Giannicola, Ruben M. L. Paschoarelli4^{4}, Oli Freuler5^{5}, Jackie Chia-Hsun Lee11^{11}, Vasily Gnuehev, Gopi Kannappan, John Boyer, Xavier Butler, Akash Balasubramani5^{5}, Jordan Newman, Bereket Dereje, Alexander Hertlein12^{12}, Robert Kodra2^{2}, Lucas Levy5^{5}, Shaan Patel, JT Rose, Matt Zweil, Okechukwu Wisdom13^{13}, Tarek El-Eter2^{2}, Edison Lee, Michael Dong3^{3}, Alan Li3^{3}, Anto Joseph14^{14}, Other Leaderboard Contributors∗^{*}, Gajesh Naik14⊠^{14\boxtimes}, Gautham Anant14⊠^{14\boxtimes}, Soubhik Deb14⊠^{14\boxtimes}, Justin Drake15⊠^{15\boxtimes}

1^{1}Theta Labs 2^{2}Starknet Foundation 3^{3}Brevis 4^{4}MultiVM Labs

5^{5}StarkWare 6^{6}Adam Mickiewicz University Poznań 7^{7}Warsaw University of Technology 8^{8}Octav 9^{9}Trail of Bits 10^{10}Pauli Group 11^{11}ScienceVR

12^{12}Sei Labs 13^{13}Stanford Free Systems Lab 14^{14}Eigen Labs 15^{15}Ethereum Foundation

Abstract. We propose Open Autoresearch, a paradigm in which humans and AI agents address optimization problems by publishing evaluator-verified improvements to a public leaderboard. We instantiate it in ECDSA.Fail 1^{1}, whose participants optimized a reversible secp256k1 point-addition circuit, a bottleneck in Shor's algorithm for elliptic-curve cryptography. The benchmark minimizes the spacetime-inspired score S=Q×TS = Q \times T, where Q is peak logical qubit width and T is average executed Toffoli count. Participants reduced S by 86.1%, with the best circuit at the data cutoff (26 July 2026) reaching Q = 1,151 and T = 1,299,453, giving Q×T≈1.496BQ \times T \approx 1.496B. This is more than 50% below the reported score of Google's point-addition circuit (un)disclosed via a zero-knowledge proof [3]. Because the benchmark supplies one addend classically, we construct a coherent windowed-addition-compatible variant implementing the single-call interface required by windowed Shor. It uses Q = 1,162 and T = 1,684,161; on 100,000 random inputs, its empirical success probability was p^=0.99809\hat{p} = 0.99809, corresponding under an independently rerunnable per-call sensitivity model to the proxy Q×T/p^≈1.961BQ \times T/\hat{p} \approx 1.961B. Its Q and T both lie below the Google and Schrottenloher operating points [3, 59], although differing interfaces and accounting conventions preclude formal dominance. After the cutoff, the Q×TQ \times T score was further reduced to 1.259B, while a separate low-width circuit reached 813 qubits. The public record shows that AI agents complemented human judgment, providing evidence for open autoresearch on efficiently evaluable, machine-checkable objectives.

∗^{*} See Appendix A for the complete contributor list.

1^{1} Project website and the latest results: https://ecDSA.fail; source repository: https://github.com/Layr-Labs/ecdsafail-challenge.

Table of Contents

1 Introduction ..... 3
1.1 Main Contributions ..... 5
1.2 Related Work ..... 6
1.3 Organization of the Paper ..... 7
2 Preliminaries ..... 8
2.1 Quantum Computing Background ..... 8
2.2 Elliptic Curve Cryptography and Quantum Attacks ..... 10
3 The ECDSA.Fail Challenge and the Benchmark ..... 16
3.1 The Point-Addition Task ..... 16
3.2 Circuit Model and Cost Metric ..... 17
3.3 Correctness, Verification, and Scoring ..... 18
3.4 Formulating the Circuit Optimization Problem ..... 19
4 The Open Autoresearch Paradigm ..... 20
4.1 Overview of Open Autoresearch ..... 20
4.2 The ECDSA.Fail Open Autoresearch Harness ..... 21
4.3 ECDSA.Fail Autoresearch Techniques ..... 22
4.3.1 Overview of the Autoresearch Scaffold and Methodology ..... 22
4.3.2 Observed Autoresearch Practices ..... 23
4.3.3 Why It Works and What We Have Learned ..... 25
4.4 Consolidated ECDSA.Fail Autoresearch Framework ..... 26
5 Results and Findings ..... 28
5.1 Overall Summary of Results ..... 28
5.1.1 The Baseline and the Pareto Frontier at the Data Cutoff ..... 28
5.1.2 Comparison with Prior Point-Addition Results ..... 30
5.2 Best ECDSA.Fail Point-Addition Circuits at the Data Cutoff ..... 30
5.2.1 Best Q×TQ \times T-Scoring Circuit ..... 32
5.2.2 Best low-Q Circuit ..... 33
5.2.3 Windowed-Addition Compatibility of the Best-Scoring Circuit ..... 35
5.3 Principal Circuit Optimization Techniques ..... 37
5.3.1 The Jump-2 Euclidean Algorithm ..... 37
5.3.2 Base-5 Codec for the Jump-2 Transcript ..... 39
5.3.3 Comparison-Free Ping-Pong Dialog-GCD ..... 40
5.3.4 Karatsuba Squaring with Pseudo-Mersenne Modulo ..... 42
5.3.5 Register-Shared EEA and Lane-Lifetime Refinements ..... 43
5.3.6 Constant Propagation ..... 46
5.3.7 Dead-Code Elimination ..... 46
5.4 Evolution of the ECDSA.Fail Point-Addition Circuit ..... 47
5.4.1 Raw and Retry-Adjusted Q×TQ \times T Scores Across Submissions ..... 47
5.4.2 Three Eras of Circuit Optimization for the Q×TQ \times T Score ..... 49
5.4.3 Low-Qubit and Pareto Exploration ..... 50
5.4.4 Breakdown of Optimization Techniques Across the Circuit Optimization Trajectory ..... 51
5.5 Reproducibility of the Results ..... 53
6 Limitations, Safety, and Responsible Framing ..... 54
7 Conclusion and Outlook ..... 57
A Contributor Statement ..... 61

References (61)