← Lab /AI/ML

No finite rulebook can certify every safe program

Any finite, checkable rulebook cannot fully decide safety for all programs

AI/ML arXiv 9 Nov 2026 Theory Theory

Published as “No finite rulebook can certify every safe program: an impossibility theorem for gatekeeping AI agents”

Why it matters

The results imply that universal, static certification of AI-generated code is fundamentally limited, guiding designers toward runtime monitoring or bounded-time checks rather than static rulebooks.

Summary

The paper proves that no finite, mechanically checkable rulebook can exactly certify every safe program for safety, confidentiality, or responsiveness, because compliance cannot be confirmed with finite evidence. It also shows that with a fixed time budget all norms become decidable, but any always-correct checker must essentially run for the whole budget, making it impractical. Simulations on 2.2 million random programs and self-referential adversaries confirm the obstruction is adversarial rather than typical. The evidence is strong theoretical impossibility proofs plus empirical simulation, though the empirical part is limited to synthetic random programs.

What they found 2

  1. For safety, violations are confirmable but compliance is not.

    “Fsaf is confirmable and undecidable, whereas Psaf is not confirmable;”

  2. No pair of checkable rulebooks can be exact for any of the three norms.

    “Consequently no pair of checkable rulebooks is exact for any of the three norms.”

Caveats 4

  • a time budget makes every norm decidable, but any always-correct checker must spend essentially the whole budget on some plan, so finite does not mean feasible (Theorem 3).
  • It does not claim that finite norms are impossible.
  • It does not claim that deployed agents fail, nor give a probability of harm.
  • It does not claim that gatekeeping is hopeless.

What’s new here 4

  • Shows a two-sided formulation exposing asymmetry: violations confirmable but compliance not for safety, and neither side confirmable for confidentiality and responsiveness.
  • Characterises exactly which observable-behaviour norms are confirmable and gives a quantitative bound linking rulebook size to omitted compliant programs.
  • Proves a resource-bounded counterpart: with a time limit every norm is decidable, yet any always-correct checker must use essentially the whole budget.
  • Introduces an admission interface where the gatekeeper need not classify every plan but can provide a checkable separator set.