mlsanityData to 24 Nov 2026

When Verification Is Not Agreement: Cross-Agent LLM-to-Dafny Formalization

arXiv 2611.07073 ↗Submitted 4 Nov 2026cs.AIcited by 0

On the map: LLM agents and tool use → Medical and scientific domain agents

Abstract (arXiv)

A verified Dafny postcondition certifies that a formula holds, but it does not guarantee that the result was reached through genuine independent reasoning. We introduce a cross-agent formalization protocol where a Specifier model translates clinical trial criteria into a Dafny predicate, and an Implementer model writes an operational method checked against it. A same-model control establishes that even with no capability gap, independent re-extraction from identical text agrees only 59.3% of the time. Evaluating four model configurations on 96 clinical trial documents, we find that agreement is highly sensitive to how model capability is allocated across the two roles: the GPT-4.1-nano/GPT-4.1-mini configuration achieves 53.0% agreement when the stronger model is the Implementer, but only 14.3% when the roles are reversed. The strongest tested configuration, GPT-5.6-luna/GPT-5.4-mini, improves agreement to 34.4% but remains below the same-model baseline and is dominated by direct contradiction (42.7%). We also detect a critical verification artifact in which a weaker Implementer satisfies the postcondition by invoking the Specifier's predicate directly; after structural auditing, corrected agreement falls from 14.3% to 13.2%. Our results show that verification success alone is insufficient evidence of independent cross-agent agreement, and that model capability does not guarantee agreement when formalizing the same source independently.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 7 of its 13 references that are in the map. Submitted 4 Nov 2026.

Builds on

7 of 13 references.

References · 7

  1. 2023Clover: Closed-Loop Verifiable Code Generationcited by 79
  2. 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 72
  3. 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 66
  4. 2025VeriGuard: Enhancing LLM Agent Safety via Verified Code Generationcited by 55
  5. 2024Autoformalizing Euclidean Geometrycited by 30
  6. 2024Evaluating LLM-driven User-Intent Formalization for Verification-Aware Languagescited by 19
  7. 2026Certified Program Synthesis with a Multi-Modal Verifiercited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Deterministic Integrity Gates for LLM-Assisted Clinical Manuscript Preparation: An Auditable Biomedical Informatics Architecture
  2. 2025Haibu Mathematical-Medical Intelligent Agent:Enhancing Large Language Model Reliability in Medical Tasks via Verifiable Reasoning Chains
  3. 2025Compartmentalised Agentic Reasoning for Clinical NLI
  4. 2026Verifiable Logic in Medical LLMs: A Critical Review of Agentic Clinical Reasoning Optimization and Neuro-Symbolic Grounding
  5. 2026Theoria: Rewrite-Acceptability Verification over Informal Reasoning States
  6. 2026Neurosymbolic Clinical Trial Matching via LLM-Driven Abduction and Logical Verification
  7. 2026LLMs as a Jury: Cross-Model Consensus Can Outperform Process Reward Models for LLM Reasoning
  8. 2025MedMMV: A Controllable Multimodal Multi-Agent Framework for Reliable and Verifiable Clinical Reasoning