mlsanityData to 14 Oct 2026

From Scientific Texts to Verifiable Code: Automating the Process with Transformers

arXiv 2501.05252 ↗First posted 9 Jan 2025cs.SE cs.AI cs.LOcited by 0

Not on the map. Why?

Abstract (arXiv)

Despite the vast body of research literature proposing algorithms with formal guarantees, the amount of verifiable code in today's systems remains minimal. This discrepancy stems from the inherent difficulty of verifying code, particularly due to the time-consuming nature and strict formalism of proof details that formal verification tools require. However, the emergence of transformers in Large Language Models presents a promising solution to this challenge. In this position paper, we believe that transformers have the potential to read research papers that propose algorithms with formal proofs and translate these proofs into verifiable code. We leverage transformers to first build a formal structure of the proof using the original text from the paper, and then to handle the tedious, low-level aspects of proofs that are often omitted by humans. We argue that this approach can significantly reduce the barrier to formal verification. The above idea of reading papers to write verifiable code opens new avenues for automating the verification of complex systems, enabling a future where formally verified algorithms from academic research can more seamlessly transition into real-world software systems, thereby improving code reliability and security.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 17 references that are in the map. First posted on arXiv 9 Jan 2025.

Builds on

8 of 17 references.

References · 8

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
  4. 2022Autoformalization with Large Language Modelscited by 263
  5. 2023Clover: Closed-Loop Verifiable Code Generationcited by 67
  6. 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 58
  7. 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
  8. 2023LLMs for Science: Usage for Code Generation and Data Analysiscited by 34

Built on by

Not cited yet.