PulseAugur
EN
LIVE 07:00:13

Anthropic's Claude LLM used for Prolog code generation and formal verification

Researchers have detailed an experiment where they used Anthropic's Claude LLM to solve a set of Prolog programming exercises known as P-99. The LLM not only generated the Prolog code and tests but also formally proved properties like types, groundness, and termination using the Logic Program Theorem Prover (LPTP). This approach, described as "vibe-coding/vericoding," involved generating informal specifications and having Claude produce reliable code with formal guarantees, resulting in 58 logic procedures, 508 tests, and 257 lemmas with extensive proof lines. AI

IMPACT Demonstrates LLMs' capability in generating not just code but also formal verification, potentially accelerating software reliability.

RANK_REASON The cluster describes a case study published on arXiv detailing the use of an LLM for solving programming problems and generating formal proofs, fitting the research category. [lever_c_demoted from research: ic=1 ai=1.0]

Read on arXiv cs.AI →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Anthropic's Claude LLM used for Prolog code generation and formal verification

COVERAGE [1]

  1. arXiv cs.AI TIER_1 English(EN) · Fred Mesnard, Thierry Marianne, \'Etienne Payet, Wim Vanhoof ·

    Case study: solving P-99 with LPTP and an LLM

    arXiv:2607.21196v1 Announce Type: cross Abstract: Ninety-Nine Prolog Problems (P-99) is a famous set of Prolog exercises. We solved the first thirty three just by prompting an LLM (Large Language Model). We used Claude from Anthropic. By solved we mean: generate the Prolog code a…