The Curator

The Hidden Mechanics of Verifiable AI: How Proof-Carrying Answers Could Change Software

Last updated: 8/9/2026

Back to blog
Marek Dvořák avatarMarek Dvořák 7 min read
Cover image for The Hidden Mechanics of Verifiable AI: How Proof-Carrying Answers Could Change Software
AI-assisted, human-reviewed. Drafted with AI research tools from public sources and edited by our team. How we build these →

The central weakness of generative AI is not that it sometimes makes mistakes. Every useful reasoning system does. The deeper problem is that its confidence, fluency, and correctness are only loosely connected. A false answer can look complete; a correct one may arrive without any visible basis for trust.

An emerging architectural response is to make AI outputs carry their own proof material. Instead of returning only an answer, a system returns an answer plus evidence that a separate mechanism can inspect. This is not necessarily a mathematical proof. Depending on the task, it might be a database query and its result, a citation with an exact passage, an execution trace, a signed document, or a machine-checkable derivation.

The shift is subtle but consequential. It moves trust away from the model’s manner of speaking and toward a verification process designed for a specific kind of claim.

What a proof-carrying answer contains

A conventional AI interaction has two visible components: an input and an output. A proof-carrying interaction adds a structured package between generation and acceptance.

  • Claim: the proposition the system wants a user or another machine to accept.
  • Evidence: the source material, computation, or derivation supporting that claim.
  • Verifier: an independent procedure that tests whether the evidence supports the claim under explicit rules.
  • Provenance: information about where evidence came from, when it was retrieved, and whether it changed.
  • Policy: the threshold for accepting, rejecting, or escalating the output.

Consider an assistant answering, “Can this employee approve a purchase of this size?” A weak implementation retrieves a policy manual and generates a response. A stronger implementation identifies the employee’s role, selects the applicable policy version, extracts the approval threshold, executes the comparison, and returns those artifacts alongside the answer. The verifier checks the role record, policy date, threshold, and arithmetic. The language model may explain the result, but it does not get final authority over the underlying decision.

Generation and verification must be separated

The essential design principle is separation of duties. Asking the same model to produce an answer and then declare that answer correct offers limited protection. The second pass may inherit the first pass’s assumptions, overlook the same ambiguity, or rationalize a plausible conclusion.

A stronger system uses different components for different epistemic jobs. The model interprets language and proposes claims. Deterministic tools perform calculations and retrieve records. A verifier applies narrow rules. High-risk ambiguities are routed to a person.

Claim typeUseful evidencePossible verifierPersistent limit
ArithmeticExpression and inputsCalculator or program runtimeInputs may be wrong
Database factQuery, result, schema, timestampDatabase engine plus access policyStored data may be stale
Document claimExact passage and document identityText matching and entailment checksThe source may be ambiguous
Software behaviorCode, tests, execution traceCompiler, test runner, static analyzerTests rarely cover every condition
Formal propertyDefinitions and proof objectProof checkerThe formal model may omit reality

Verification therefore forms a ladder rather than a binary category. Recomputing a sum is relatively strong. Confirming that a cited paragraph exists is weaker because existence does not establish relevance. Checking a formal proof can be rigorous within its definitions, yet those definitions may encode the wrong assumptions.

How the pipeline works under the surface

A practical pipeline begins by decomposing a request into atomic claims. Suppose a procurement assistant recommends renewing a supplier contract because the supplier met its service target and remains within budget.

  1. Parse the decision: identify separate claims about service performance, budget, contract terms, and authorization.
  2. Bind claims to sources: map performance to monitoring records, budget to the finance system, and terms to the signed contract.
  3. Retrieve with identity: preserve document versions, record identifiers, timestamps, and query parameters.
  4. Compute deterministically: calculate performance and projected spend outside the language model.
  5. Construct an evidence graph: connect each recommendation clause to the records and computations supporting it.
  6. Run policy checks: reject missing sources, conflicting dates, insufficient permissions, or unsupported claims.
  7. Render the response: generate a readable explanation while retaining inspectable evidence beneath it.

The evidence graph is particularly important. A list of citations can create the appearance of support without showing which source supports which statement. Explicit edges make coverage measurable: every consequential claim must connect to suitable evidence, or the system must mark it as inference, uncertainty, or opinion.

This architecture also changes correction. When an answer is challenged, the system need not regenerate everything. It can locate the disputed claim, refresh its source, rerun the relevant computation, and propagate the change through dependent conclusions.

Why provenance is more than a citation

A citation identifies a source. Provenance describes the evidence’s journey. For operational systems, that journey may include who created a record, which version was used, what transformation was applied, and whether the requester had permission to access it.

Cryptographic hashes can help detect whether an artifact changed after verification. Digital signatures can establish that a document came from a particular holder of a signing key. Content-addressed storage can make exact versions retrievable. None of these mechanisms proves that the original content was truthful. They establish integrity and origin, not correspondence with reality.

This distinction matters. A signed invoice can still contain an incorrect amount. An unchanged policy can still be obsolete. A trace can faithfully record execution against contaminated data. Proof-carrying systems reduce some forms of uncertainty while exposing others that fluent interfaces usually conceal.

Where the approach breaks

The first limit is the specification problem. A verifier can determine whether stated rules were followed, but not whether those rules capture the user’s actual intent. If “best supplier” is defined only by cost, the system may verify an answer that ignores resilience or quality.

The second is source closure. Many questions depend on facts absent from accessible systems. A contract database may show obligations but not an informal concession made during a call. The proof package can be complete relative to available records and incomplete relative to the world.

The third is verification cost. Capturing lineage, retaining exact versions, executing checks, and presenting evidence adds latency and infrastructure. Not every output merits the same burden. Brainstorming can tolerate lightweight attribution; releasing funds cannot.

The fourth is verifier vulnerability. Parsers, policy engines, runtimes, and proof checkers are software. They can contain defects or accept maliciously crafted inputs. The trusted computing base may be smaller than a general model, but it never disappears.

The fifth is human attention. A system can attach impeccable evidence that nobody examines. Verification must influence action automatically where possible: blocking a transaction, reducing permissions, or requiring review. Otherwise, proof becomes ornamental paperwork.

The product opportunity is an acceptance layer

The most interesting opportunity may not be a more eloquent assistant. It may be infrastructure that decides when an AI output is safe enough to enter a workflow.

Such an acceptance layer would sit between models and consequential actions. It could require that financial claims be recomputed, legal statements point to controlling text, code changes pass tests, and customer communications avoid unsupported promises. The model remains flexible; the acceptance layer is deliberately rigid.

This creates several product surfaces: evidence schemas for particular industries, provenance stores, claim-to-source mapping tools, policy engines, verifier marketplaces, and interfaces for reviewing unresolved evidence. The defensible asset is not merely access to a model. It is a carefully designed account of what counts as support in a specific domain.

A small team could begin narrowly. Rather than promising “trustworthy AI,” it might verify one recurring object: every metric in an executive report, every eligibility statement in a benefits response, or every dependency change in a software patch. Narrowness makes the acceptance criteria explicit and failure observable.

The open questions that matter

Proof-carrying answers raise governance questions as much as technical ones. Who defines sufficient evidence? Can a user inspect the rules that rejected an output? How should systems represent conflicts between authoritative sources? When evidence includes sensitive records, how can a result be verified without exposing the records themselves?

Privacy-preserving proofs may answer part of the last question by demonstrating that a condition holds without revealing all underlying data. Yet integration with messy organizational systems remains difficult. Most real evidence is not born as a clean formal statement; it lives in documents, changing databases, conversations, and exceptions.

The deeper frontier is therefore translation: converting ambiguous institutional knowledge into claims that can be checked without stripping away essential context. The systems that accomplish this will not make AI infallible. They will make its uncertainty inspectable, its authority bounded, and its consequential answers harder to accept for the wrong reasons.

This post was drafted with AI assistance and reviewed against our editorial policy before publication. Corrections are made at the source, on the page, with the date shown.

verifiable AIAI infrastructureformal verificationprovenancesoftware architecture
Share this post

Rate this article

No ratings yet

Discussion

Comments are moderated. Read our editorial policy.