FormalSpecCpp: A Dataset of C++ Formal Specifications created using LLMs
Not on the map. Why?
Abstract (arXiv)
FormalSpecCpp is a dataset designed to fill the gap in standardized benchmarks for verifying formal specifications in C++ programs. To the best of our knowledge, this is the first comprehensive collection of C++ programs with well-defined preconditions and postconditions. It provides a structured benchmark for evaluating specification inference tools and testing theaccuracy of generated specifications. Researchers and developers can use this dataset to benchmark specification inference tools,fine-tune Large Language Models (LLMs) for automated specification generation, and analyze the role of formal specifications in improving program verification and automated testing. By making this dataset publicly available, we aim to advance research in program verification, specification inference, and AI-assisted software development. The dataset and the code are available at https://github.com/MadhuNimmo/FormalSpecCpp.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 3 of its 16 references that are in the map. First posted on arXiv 21 Feb 2025.
Builds on
3 of 16 references.
References · 3
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 58
- 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 51
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.