arXiv AI

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.

arXiv AI
Oct 26

SemantEq: Faithful Bidirectional Equivalence of Formal Statements

SemantEq introduces a principled method for verifying that formal statements faithfully translate natural‑language mathematics by requiring each statement to transform into the other through a chain of allowed logical steps, rather than relying on trivial logical equivalence. The system evaluates proofs using Lean’s proof terms, achieving 100 % precision and 65.6 % recall on the ProofNetVerif test split, outperforming prior methods. A complementary audit tool, SemantEq‑ProofAudit, further improves recall for equivalent pairs while rejecting all non‑equivalent pairs.

By Xinrui Li, Pawan Sasanka Ammanamanchi, Siddharth Bhat, Rianna Jamdar, Yongxi Lin, Stella Biderman
arXiv AI
Jul 24

Towards a Certifying Grounder

arXiv:2607. 21199v1 Announce Type: cross Abstract: Grounding, the translation of high-level theories into equivalent quantifier-free formulas, is a crucial step in declarative solving, yet it has so far escaped the proof-logging revolution.

By Daimy Van Caudenberg, Alexander Ek, Carlos Cantero, Bart Bogaerts
arXiv AI
Oct 28

SemLoc: Structured Grounding of Free-Form LLM Reasoning for Fault Localization

SemLoc transforms free‑form reasoning from large language models into executable semantic constraints that are attached to specific code anchors such as variable definitions, branches, loops, or returns. These constraints are inserted as runtime checks, and the resulting semantic violation spectrum is used to guide counterfactual verification and patch generation. On the QuixBugs and new SemBugs datasets, SemLoc’s constraints achieve high ranking of faulty lines and a high proportion of verifiable, correct patches, matching the accuracy of the underlying LLMs while outperforming traditional spectrum‑based methods.

By Zhaorui Yang, Haichao Zhu, Qian Zhang, Rajiv Gupta, Ashish Kundu
arXiv AI
Oct 26

LGMT: A Tool for Testing the Logical Reasoning Reliability of LLMs

LGMT is an open‑source tool that tests logical reasoning reliability in large language models by generating logically equivalent follow‑up test cases from a source premise‑conclusion pair and checking for consistency in the model’s entailment predictions. It includes 20 built‑in metamorphic relations, allows custom relations verified by the Z3 theorem prover, and can be run via CLI or a web studio, even offline without an API key. In experiments on six popular LLMs across 3,091 metamorphic groups, LGMT uncovered inconsistency rates between 20.84% and 29.44%.

By Zenghui Zhou, Xiaoke Fang, Zheng Zheng
arXiv AI
Nov 14

DAISY: Fault-Guided Assertion Inference for Dafny

DAISY is a tool that automatically infers missing helper assertions in Dafny programs by localizing likely assertion sites using verifier diagnostics and/or large language model (LLM) guidance. It then generates candidate assertions with an LLM, validates them with the Dafny verifier, and annotates the program accordingly. In evaluations on a benchmark derived from DafnyBench, DAISY successfully verifies 86% of programs with one missing assertion and 36% with two missing assertions, demonstrating that fault‑guided LLM inference can reduce proof‑engineering effort.

By \'Alvaro Silva, Alexandra Mendes, Ruben Martins