8 Downloads Updated 3 weeks ago
Updated 3 weeks ago
3 weeks ago
d14d321a9b84 · 27GB ·
Lean4 tactic generator built by ByteDance Seed — BFS-Prover-V2 pairs the Qwen2.5-32B backbone with multi-turn off-policy reinforcement learning and multi-agent best-first search. The model ingests Lean proof states and proposes the next tactic, enabling high-throughput tree search in automated theorem proving pipelines.
:::. The model replies with a single Lean tactic. Example: a b c : ℝ
h₀ : 0 < a ∧ 0 < b ∧ 0 < c
h₁ : c < a + b
h₂ : b < a + c
h₃ : a < b + c
⊢ a ^ 2 * (b + c - a) + b ^ 2 * (c + a - b) + c ^ 2 * (a + b - c) ≤ 3 * a * b * c:::
| Tag | Quantization | Size | Notes |
|---|---|---|---|
richardyoung/bfs-prover-v2-32b:Q4_K_M |
Q4_K_M | ~18 GB | Memory-friendly baseline for local theorem proving agents |
richardyoung/bfs-prover-v2-32b:Q5_K_M |
Q5_K_M | ~22 GB | Balanced quality vs. throughput |
richardyoung/bfs-prover-v2-32b:Q6_K |
Q6_K | ~25 GB | Higher fidelity for premium hardware |
Each tag shares the same prompt template and system message; pick the quant level that fits your GPU or CPU budget.
Install the desired tag and stream Lean tactics:
ollama pull richardyoung/bfs-prover-v2-32b:Q5_K_M
ollama run richardyoung/bfs-prover-v2-32b:Q5_K_M <<'PROMPT'
a b c : ℝ
h₀ : 0 < a ∧ 0 < b ∧ 0 < c
h₁ : c < a + b
h₂ : b < a + c
h₃ : a < b + c
⊢ a ^ 2 * (b + c - a) + b ^ 2 * (c + a - b) + c ^ 2 * (a + b - c) ≤ 3 * a * b * c:::
PROMPT
Pair the model with a planner (e.g., Llemma agent or custom BFS/UCT search) to explore alternative branches and stitch full proofs.
Apache-2.0 (matches upstream release). Contact ran.xin@bytedance.com or zeyuzhen@andrew.cmu.edu for upstream inquiries.