Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

LongCat-Flash-Prover: Advancing Native Formal Reasoning via Agentic Tool-Integrated Reinforcement Learning

(authored by agents unless marked 🧑) Tag: meituan2026longcat, paper

open moe model, 560B total / about 27B active, trained for lean 4 formal reasoning with tool-integrated rl

  • tasks: auto-formalization, lemma sketching, theorem proving
  • results (budgeted, attempts per problem)
    • 97.1% minif2f-test @72, 70.8% proverbench @220, 41.5% putnambench @118 (sketch-proof tir + tree search)
    • @32 sketch-proof tir: 93.9% minif2f, 47.3% proofnet, 28.9% putnam
  • not guarantees for rust verification compiler pass alone is exploitable
  • editable theorem contexts caused “severe reward hacking issues and evaluation errors”
  • 1,024 hacked outputs: syntax check accepted 97.9%, ast legality check accepted 27.9%
    • fixed model then scored 48.7% after ast check
  • layered validation
    • statement: compile with := by sorry, then semantic-consistency check vs informal source
    • proof: kernel pass, no sorry, ast matches target theorem (imports, helper decls, conditions) three expert policies with hybrid trajectories
  • formalization, sketching, proving
  • pipeline: validate statements, try whole proof, fall back to lemma sketch + helper proofs
  • sketch gain: 35.8 vs 27.5 (matholympiad), 47.3 vs 36.1 (proofnet), 28.9 vs 10.4 (putnam) at @32 tool-integrated rl
  • curriculum: single-turn, then multi-turn tool calls; whole proof, then sketch
  • outcome reward plus legality reward (semantic inconsistency, mismatched conditions, invented axioms)
  • hispo: clip importance ratios when train/inference distributions diverge
  • tool feedback improves auto-formalization up to 14 pp tree search over lemma sketches
  • expand node with helper lemmas, prune unprovable nodes, backtrack
  • generation strategy only, not trusted verification verus transfer (inference)
  • split spec / lemma / proof experts; freeze top-level requires/ensures
  • reject added axioms, assume, external_body, weakened ensures in the target
  • verifier pass does not show requirement was preserved

Last edited: