Pith. sign in

REVIEW 1 cited by

Evaluating the Ability of Large Language Models to Generate Verifiable Specifications in VeriFast

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2411.02318 v3 pith:2FKEOV3J submitted 2024-11-04 cs.SE cs.AIcs.LOcs.PL

Evaluating the Ability of Large Language Models to Generate Verifiable Specifications in VeriFast

classification cs.SE cs.AIcs.LOcs.PL
keywords generationspecificationslogicstaticverifiablegpt-4ollmsownership
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

Static verification is a powerful method for enhancing software quality, but it demands significant human labor and resources. This is particularly true of static verifiers that reason about heap manipulating programs using an ownership logic. LLMs have shown promise in a number of software engineering activities, including code generation, test generation, proof generation for theorem provers, and specification generation for static verifiers. However, prior work has not explored how well LLMs can perform specification generation for specifications based in an ownership logic, such as separation logic. To address this gap, this paper explores OpenAI's GPT-4o model's effectiveness in generating specifications on C programs that are verifiable with VeriFast, a separation logic based static verifier. Our experiment employs three different types of user inputs as well as basic and Chain-of-Thought (CoT) prompting to assess GPT's capabilities. Our results indicate that the specifications generated by GPT-4o preserve functional behavior, but struggle to be verifiable. When the specifications are verifiable they contain redundancies. Future directions are discussed to improve the performance.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Evaluating LLM-Generated ACSL Annotations for Formal Verification

    cs.SE 2026-02 unverdicted novelty 4.0

    Rule-based annotation generation for ACSL outperforms LLM-based methods in achieving successful formal verification of C programs.