paper-with-me

Papers

Faithful Autoformalization of Natural Language Assertions

2026-07-14 · Hongyi Liu, Madhusudan Parthasarathy, Adithya Murali arxiv

Formal contracts are essential for software testing and verification, yet writing them remains labor-intensive and error-prone. LLMs offer a promising path toward autoformalization: synthesizing executable assertions from natural-language specifications and thereby bridging the gap between informal developer intent and formal executable specifications. We present Monty: an autoformalization framework for assertions that tackles the challenges of expectations of validity of assertions and ambiguity in natural-language. Our techniques are based on filtering formalizations using a novel conformance score metric and validity scores obtained from testing the code against formalized assertions. We evaluate our approach on 541 assertion-generation tasks derived from 22 collection-like Java classes, and show that our technique produces the ground truth more reliably (improving upto 20 points in precision on average) than when using LLMs naively to translate assertions.

📄 PDF Abstract BibTeX arXiv:2607.13303

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Evaluating the Robustness of Proof Autoformalization in Lean 4

2026-06-12 · Zhengtao Gui, Sheng Yang, Zhouxing Shi arxiv

Proof autoformalization aims to translate a mathematical informal proof written in natural language into a formal proof in a formal language such as Lean~4. Several works have developed LLM-based models for proof autofor…

The Faithfulness Gap: Certifying Semantic Equivalence Between Natural-Language and Formal Mathematical Statements

2026-06-15 · Noor Islam S. Mohammad, Tamim Sheikh arxiv

Autoformalization, translating natural-language mathematics into formal proof assistants, is bottlenecked not by translation fluency but by \emph{faithfulness}: a formal statement can typecheck and be provable, yet still…

Generalized Tree Edit Distance (GTED): A Faithful Evaluation Metric for Statement Autoformalization

2025-07-10 · Yuntian Liu, Tao Zhu, Xiaoyang Liu, Yu Chen 외 arxiv

Statement autoformalization, the automated translation of statements from natural language into formal languages, has become a subject of extensive research, yet the development of robust automated evaluation metrics rem…

Automated Theorem ProvingSemantic Similarity

ProofFlow: A Dependency Graph Approach to Faithful Proof Autoformalization

2025-10-13 · Rafael Cabral, Tuan Manh Do, Xuejun Yu, Wai Ming Tai 외 arxiv

Proof autoformalization, the task of translating natural language theorems and proofs into machine-verifiable code, is a critical step for integrating large language models into rigorous mathematical workflows. Current a…

Faithful Autoformalization via Roundtrip Verification and Repair

2026-04-27 · Daneshvar Amrollahi, Jerry Lopez, Clark Barrett arxiv

When an LLM formalizes natural language, how do we know the output is faithful? We propose a roundtrip verification approach which does not require ground-truth annotations: formalize a statement, translate the result ba…