---
title: "Verified Proof Refactoring with Codex and Qwen"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.31762v1"
permalink: "https://feed.astralor.com/items/itm_cbae0791d81f41875469a811"
published: "2026-11-24T01:06:35.000Z"
score: 53
channel: "tech"
tags: ["LLM","推理效率","Verified Proof Refactoring","Codex","Qwen","Lean","Codex CLI"]
---

# Verified Proof Refactoring with Codex and Qwen

## 速览

We refactor existing Lean 4 proofs to reduce source length and checking cost while preserving theorem statements and compatibility across Lean versions. A locally served Qwen model uses the open-source Codex CLI to insp…

## 关键点

- We refactor existing Lean 4 proofs to reduce source length and checking cost while preserving theorem statements and compatibility across Lean versions.
- A locally served Qwen model uses the open-source Codex CLI to inspect source, retrieve declarations, and test proof replacements.
- The host keeps a replacement only if it improves the objective and Lean accepts it on every required version.

## 全文

We refactor existing Lean 4 proofs to reduce source length and checking cost while preserving theorem statements and compatibility across Lean versions. A locally served Qwen model uses the open-source Codex CLI to inspect source, retrieve declarations, and test proof replacements. The host keeps a replacement only if it improves the objective and Lean accepts it on every required version. A deterministic CPU pass then refines the verified proofs. On the 60 problems in Lean Refactor Arena, model search achieves a local mean combined score of 82.07, and cleanup raises it to 82.18. The final proofs pass all 127 required proof--version checks. Our system placed first in the open-source LLM track of Lean Refactor Arena at VeriCodeGen.

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_cbae0791d81f41875469a811
