mlsanityData to 14 Oct 2026

Faithful Autoformalization of Natural Language Assertions

arXiv 2607.13303 ↗First posted 14 Jul 2026cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 70 references that are in the map. First posted on arXiv 14 Jul 2026.

Builds on

17 of 70 references.

References · 17

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  2. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  4. 2023nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Modelscited by 60
  5. 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 58
  6. 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 53
  7. 2022Formal Specifications from Natural Languagecited by 33
  8. 2024AssertLLM: Generating Hardware Verification Assertions from Design Specifications via Multi-LLMscited by 31
  9. 2024Lessons from the Use of Natural Language Inference (NLI) in Requirements Engineering Taskscited by 12
  10. 2026Intent Formalization: A Grand Challenge for Reliable Coding in the Age of AI Agentscited by 9
  11. 2022Little Tricky Logic: Misconceptions in the Understanding of LTLcited by 7
  12. 2025Beyond Postconditions: Can Large Language Models infer Formal Contracts for Automatic Software Verification?cited by 6
5 more
  1. 2026AutoReSpec: A Framework for Generating Specification using Large Language Modelscited by 3
  2. 2025Enhancing LLM-based Specification Generation via Program Slicing and Logical Deletioncited by 2
  3. 2026Doc2Spec: Synthesizing Formal Programming Specifications from Natural Language via Grammar Inductioncited by 2
  4. 2026Choose, Don't Label: Multiple-Choice Query Synthesis for Program Disambiguationcited by 1
  5. 2026SpecSyn: LLM-based Synthesis and Refinement of Formal Specifications for Real-world Program Verificationcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.