CSLibPremiseBench: 结构引导的前提检索与标签鲁棒性用于Lean 4计算机科学定理
CSLibPremiseBench: Structure-Guided Premise Retrieval and Label Robustness for Lean 4 Computer-Science Theorems
AI总结:
本文提出CSLibPremiseBench,用于评估Lean 4定理和引理声明的前提检索,通过严格任务集和标签鲁棒性分析,探讨结构引导的重排方法。
摘要:
CSLib是新兴的Lean 4库,但其前提检索行为未被广泛数学定理证明基准充分代表。我们引入CSLibPremiseBench,作为特定于CSLib的可复现基准和实证研究,用于在Lean 4定理和引理声明上进行源可见前提检索。该基准固定CSLib v4.29.0在特定提交版本,使用Lean 4.29.0构建,并评估一个严格的任务集,包含801个可代理标记任务和1875个CSLib候选声明。标签是源可见的CSLib证明参考代理,而非展开的Lean依赖轨迹。我们通过更严格的源可见匹配和300个Lean环境表达式探测审计标签鲁棒性,然后比较BM25、符号/名称重叠、命名空间/模块和导入图启发式方法,PageRank风格的模块优先级,固定混合方法以及CSG-Rerank,一种结构引导的图-词汇重排器。CSG-Rerank在严格政策下对BM25的早期排名MRR有适度提升,但无法可靠超越BM25+符号,且不提高Recall@10。上下文包审计同样发现更强的模块/家族集中,但没有可靠的前k代理-黄金覆盖或令牌效用提升。我们将CSLibPremiseBench定位为基准和审计论文:仓库结构和候选政策设计显著影响CSLib前提检索,代理标签需要明确的免责声明,且不声称证明生成或证明修复性能。
英文摘要:
CSLib is an emerging Lean 4 library for computer-science formalization, but its premise-retrieval behavior is not well represented by broad mathematical theorem-proving benchmarks. We introduce CSLibPremiseBench, a reproducible CSLib-specific benchmark and empirical study for source-visible premise retrieval over Lean 4 theorem and lemma declarations. The benchmark pins CSLib v4.29.0 at commit 0d37cc7fcc985cfc53b155e7eef2453f846c6da2, builds with Lean 4.29.0, and evaluates a strict import/source-order task set with 801 proxy-labelable tasks and 1875 CSLib candidate declarations. The labels are source-visible CSLib proof-reference proxies, not elaborated Lean dependency traces. We audit label robustness using stricter source-visible matching and a 300-task Lean environment expression probe, then compare BM25, symbol/name overlap, namespace/module and import-graph heuristics, PageRank-style module priors, fixed hybrids, and CSG-Rerank, a structure-guided graph-lexical reranker. CSG-Rerank gives a modest early-rank MRR gain over lexical BM25 under the strict policy, but does not reliably outperform BM25+symbol and does not improve Recall@10. A context-packet audit similarly finds stronger module/family concentration without reliable top-k proxy-gold coverage or token-utility gains. We position CSLibPremiseBench as a benchmark and audit paper: repository structure and candidate-policy design materially shape CSLib premise retrieval, proxy labels require explicit caveats, and proof-generation or proof-repair performance is not claimed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。