What are the Right Symmetries for Formal Theorem Proving?
Krzysztof Olejniczak, Radoslav Dimitrov, Xingyue Huang, Bernardo Cuenca Grau, Jinwoo Kim, \.Ismail \.Ilkan Ceylan

TL;DR
This paper investigates the importance of structural symmetries in formal theorem proving, introduces a category-theoretic framework to formalize these symmetries, and proposes test-time methods to improve LLM-based provers' robustness and performance.
Contribution
It introduces rewriting categories to formalize symmetries in theorem proving and proposes test-time aggregation methods to enhance LLM-based prover robustness.
Findings
State-based provers satisfy proof equivariance.
LLM-based provers lack proof equivariance and success invariance.
Test-time aggregation improves robustness and success rates.
Abstract
Formal theorem provers based on large language models (LLMs) are highly sensitive to superficial variations in problem representation: semantically equivalent statements can exhibit drastically different proof success rates, revealing a failure to respect structural symmetries inherent in formal mathematics. This raises a central question: what are the right symmetries for formal theorem proving? We introduce rewriting categories, a category-theoretic framework capturing the compositional, generally non-invertible transformations induced by proof tactics, and use it to formalize two symmetry notions: proof equivariance, governing how proof distributions transform under rewrites, and success invariance (i.e., invariance of success probability), requiring equivalent statements to be solved with the same probability. We observe that state-based next-tactic provers naturally satisfy proof…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
