FCP: Formal Context Protocol for Verifying LLM-Generated Artifacts
Not on the map. Why?
Abstract (arXiv)
When a language model writes both an artifact and the tests meant to check it, a passing test is weak evidence: one misreading of the request yields a faulty artifact and a check that accepts it. We present the Formal Context Protocol (FCP), which checks AI-generated artifacts against the request itself. FCP separates conformance (does the artifact satisfy a formal reading of a requirement?), which model checkers and SMT solvers decide, from fidelity (does the reading mean what the prose means?), which has no decision procedure but is refutable by a concrete witness. Eight ways a proof can falsely certify a requirement each become a mechanical check that returns a witness, and what no machine can settle becomes concrete questions for the request's author. Adapters place hardware, text, agents and code on the same engines. On four hardware designs, trusting AI-written assertions certified 23% of violated requirements, and FCP certified none. On ten code tasks, code from three language models passed its own tests and violated the request every time. Trusting the tests certified all 33 violations, and FCP certified three. Agreement among models, readings or tests did not imply correctness.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 28 of its 68 references that are in the map. Submitted 15 Nov 2026, announced 18 Nov 2026.
Builds on
28 of 68 references.
References · 28
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2016Concrete Problems in AI Safetycited by 1,771
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,713
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
- 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 827
- 2018AI safety via debatecited by 443
- 2022CodeT: Code Generation with Generated Testscited by 411
16 more
- 2025Defeating Prompt Injections by Designcited by 384
- 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 277
- 2022Measuring Progress on Scalable Oversight for Large Language Modelscited by 248
- 2024Is LLM-as-a-Judge Robust? Investigating Universal Adversarial Attacks on Zero-shot LLM Assessmentcited by 141
- 2022Benchmarking Large Language Models for Automated Verilog RTL Code Generationcited by 125
- 2023Clover: Closed-Loop Verifiable Code Generationcited by 79
- 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 72
- 2025Correlated Errors in Large Language Modelscited by 66
- 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 63
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 62
- 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 61
- 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 55
- 2015Shield Synthesis: Runtime Enforcement for Reactive Systemscited by 47
- 2023ClarifyGPT: Empowering LLM-based Code Generation with Intention Clarificationcited by 46
- 2024HumanEvalComm: Benchmarking the Communication Competence of Code Generation for LLMs and LLM Agentcited by 28
- 2023Using LLMs to Facilitate Formal Verification of RTLcited by 21
Built on by
Not cited yet.