Driven by rapid progress in autoformalization and automated theorem proving, formal mathematics is scaling up: mathematicians, often with AI assistance, advance large formalization projects around Lean blueprints, which tightly link a LaTeX proof plan to the Lean codebase. As mathlib and proof automation evolve, finished proofs accumulate optimization opportunities. Yet even in the mature mathlib library, 41% of commits add no new mathematics but improve existing proofs (shortening, deduplication, faster compilation), and 62% of these span multiple files, beyond the reach of theorem-level methods. We introduce OPAL, the first repository-level, metric-driven proof-optimization task, where an agent freely refactors a blueprint repository toward repository-level objectives. We instantiate OPAL with six metrics grounded in empirically mined human maintenance tendencies, including proof length, import closure, mathlib duplication, and elaboration cost. Optimizing these metrics freely, however, invites reward hacking, such as deleting a theorem to shorten the code, so evaluation needs a contract on what must stay intact. Our key observation is that blueprint structure itself supplies this contract: \lean{} links pin down which theorems constitute a project's final targets (5-19% of all declarations), whose statements must be preserved, while the remaining 81-95% of auxiliary code may be freely refactored. We implement this contract as an executable semantic-preservation checker. Building on it, we release OPAL-Bench, comprising 162 task instances from 18 real-world Lean blueprint projects, together with a sandboxed agent harness. Experiments show that coding agents can deliver genuine optimization gains beyond the level of single human commits, while ablations show that with the contract absent from the agent's world nearly half of accepted improvements do not survive semantic verification.
pyhgf: A neural network library for predictive coding
Interacting Minds Centre, Aarhus University(阿arhus大学交互心智中心);Department of Psychiatry, University of Oxford(牛津大学精神病学系);Scuola Internazionale Superiore di Studi Avanzati (SISSA)(国际先进研究科学学院);Department of Cognition, Emotion, and Methods in Psychology, Faculty of Psychology, University of Vienna(维也纳大学心理学系认知、情感与方法部)
NL2Repo-Pro: Benchmarking Multilingual Production-Scale Library Development Feature by Feature
TokenWave AI;Waseda University(早稻田大学);The University of Tokyo(东京大学);Carnegie Mellon University(卡内基梅隆大学);Northwestern University(西北大学);Yale University(耶鲁大学);New York University(纽约大学);Johns Hopkins University(约翰霍普金斯大学);University of Toronto(多伦多大学)
Dr. Claw: An AI Scientist Workspace for Vibe Research
Lehigh University(利哈伊大学);University of Illinois Chicago(伊利诺伊大学芝加哥分校);University of Pennsylvania(宾夕法尼亚大学);University of Maryland(马里兰大学);University of Notre Dame(圣母大学);University of British Columbia(不列颠哥伦比亚大学)
Lean-QIT: Towards a Formal Infrastructure for Quantum Information Theory
QudeLeap Research(QudeLeap研究院);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Quantum Science Center of Guangdong-Hong Kong-Macao Greater Bay Area(粤港澳大湾区量子科学中心);The University of Hong Kong(香港大学)