Skip to content

Formal Verification for LLM, Human, and Software Systems

Executive summary

Formal verification is most useful for LLM-based systems when the LLM is treated as an untrusted, stochastic proposal generator inside a verified control structure. The proof assistant does not need to prove that a language model is “correct.” It can prove that every action capable of changing the world passes through mechanisms whose behavior is precisely specified: authorization checks, workflow state machines, API contracts, approval rules, data-handling policies, resource limits, and runtime monitors. LLMs can also generate proofs, specifications, policies, and programs, with a small proof kernel or independently checked solver certificate deciding what is accepted. LeanDojo, FVEL, CoqPyt, and Isabellm already demonstrate variants of the LLM-as-proof-proposer pattern. 1234

This changes the role of formal verification from “prove an algorithm once” to maintain a machine-checkable contract for an evolving sociotechnical system. The verified object can include software components, tool permissions, database transitions, data lineage, human approvals, temporal workflow requirements, and abstractions of probabilistic model behavior. AWS’s Cedar is a strong current example of this broader approach: its authorization semantics and symbolic compiler are formalized in Lean, the production engine is implemented in Rust, differential testing connects the formal and production implementations, and SMT analysis is used to answer policy questions. 56

No single formalism is best for the entire stack. A practical high-assurance architecture is layered:

ProblemMost appropriate technique
Rich mathematical and system invariantsLean, Rocq, Isabelle/HOL, HOL4/HOL Light
Verified executable componentsRocq extraction, F*, Lean, Agda; CompCert or CakeML for a stronger compilation chain
Access controlA formally specified policy engine such as Cedar
Tool/API workflows and concurrencyTLA+/TLC, Apalache, Spin, nuXmv, or an equivalent state-transition formalism
Stochastic system behaviorPRISM or Storm
Bounded neural-network propertiesVehicle plus a neural verifier such as Marabou
LLM/agent safety during operationRuntime monitors such as AgentSpec, VeriGuard, Pro2Guard, or domain-specific monitors
Proof searchNative tactics, SMT/ATP automation, plus LLMs whose output is checked by the proof assistant

TLC is the primary model checker in the TLA+ tool family; Apalache translates TLA+ problems toward SMT-based symbolic analysis; Spin checks concurrent software models; nuXmv combines SAT- and SMT-based symbolic verification; PRISM and Storm address probabilistic systems. 789101112

The strongest early targets for an engineering team are usually privileged actions and boundaries: which agent may call which tool, under what context, which data may flow into or out of a request, which human must approve a transition, and what postcondition must hold after execution. These properties are substantially easier to formalize than open-ended claims such as “the model is aligned,” and a small verified gate can cover many changing models and prompts. AgentSpec’s ICSE 2026 work reports runtime enforcement across code execution, embodied agents, and autonomous-driving scenarios, while Cedar shows how formal authorization can be placed outside application-specific decision logic. 131415

For probabilistic or learned components, the guarantee must state its scope. Marabou, for example, establishes or refutes specified properties over a given neural-network model and input region; Vehicle addresses the difficult translation between high-level neuro-symbolic specifications and neural-verifier inputs. Pro2Guard instead learns a finite probabilistic abstraction from execution traces and performs probabilistic reachability analysis at runtime. These are useful guarantees, but their assumptions differ sharply from a theorem proved for every execution of a deterministic transition system. 16171819

The main limitation is the specification and abstraction boundary. Machine checking can establish that a theorem follows from the formal model; it cannot by itself establish that the model expresses what stakeholders actually meant. This is particularly important for LLM systems because natural-language intent, tool semantics, changing external data, and human judgment all sit near that boundary. seL4 explicitly documents the assumptions outside its machine-checked proof, and Vehicle’s work calls the analogous neural-system problem the “embedding gap.” 2018

The engineering recommendation is therefore to build a verified control plane around probabilistic components, keep the trusted computing base explicit, and expand the proof boundary only where the cost is justified. LLMs should be allowed to accelerate proof construction, policy synthesis, counterexample explanation, and specification drafting. They should not decide whether their own proof or policy is valid.

Proof assistant landscape

The systems below share the idea that a small trusted mechanism validates a much richer layer of proof construction, but they make different choices about logic, programming, automation, and deployment.

SystemFoundation and strengthsAutomation and ecosystemInteroperability and deploymentMain engineering trade-offs
Lean 4Dependently typed programming language and theorem prover. It combines ordinary functional programming with proof development, making it attractive when specifications, verified algorithms, metaprograms, and engineering tooling should live in one environment. Mathlib supplies a very large reusable library. 2122simp, grind, lia, proof-search tooling such as Aesop, and a rapidly developing package ecosystem through Lake and Reservoir. Recent Lean releases continue to expand automation. 2324Native programs, foreign-function interfaces, Lake packages, and particularly strong current LLM infrastructure: LeanDojo-v2 exposes repository tracing, datasets, retrieval and prover interaction. 251Very attractive for new LLM/formal-method projects. The ecosystem changes relatively quickly, so toolchain pinning matters. Executing verified Lean definitions also introduces compiler/runtime/FFI assumptions beyond the proof kernel, which must be represented in the trusted computing base. 26
Rocq / CoqCalculus-of-Inductive-Constructions family, mature dependent types, program verification and proof development. Long-running projects such as CompCert demonstrate large software proofs. 2728Ltac/Ltac2, arithmetic decision procedures such as lia, MathComp/SSReflect, and plugin ecosystems for automation and testing. 29Certified programs can be extracted to OCaml, Haskell and Scheme. MetaRocq formalizes substantial parts of Rocq’s own metatheory, while CoqPyt supplies Python-side proof navigation suited to LLM applications. 30312Excellent when verified executable algorithms or existing Coq developments matter. Compared with current Lean tooling, the LLM integration layer is somewhat less consolidated, although CoqPyt and other interfaces are closing that gap.
Isabelle/HOLA generic proof assistant whose dominant object logic is classical higher-order logic. It is particularly strong for large structured system proofs; seL4 is the flagship example. The Archive of Formal Proofs provides a continuously maintained body of checked developments. 3233Sledgehammer connects interactive proofs to external automated theorem provers and SMT solvers and reconstructs results inside Isabelle. Isabelle 2026 includes continuing improvements to Sledgehammer and SMT integration, including cvc5 proof reconstruction. 34Rich Isabelle/ML and Scala infrastructure; ATP/SMT integration; strong mechanisms for importing external automation while checking the resulting proof through Isabelle’s trusted core. 34Strong choice for system semantics, security, protocols and classical mathematics. The environment is less similar to a conventional application-programming stack than Lean or F*, and the Isabelle-specific architecture has a substantial learning curve.
AgdaA dependently typed functional programming language with a close “programs as proofs” style. Cubical Agda directly supports cubical type-theoretic constructions. 35Reflection exposes syntax and type-checking operations for user metaprogramming. Standard and cubical libraries provide reusable constructive mathematics. 3637Compilation backends and foreign-function integration make verified definitions executable; Agda is also useful as a host for strongly typed domain-specific languages. 38Excellent for constructive specifications and language research. It has less push-button automation and a smaller software-verification/solver-integration ecosystem than Lean, Rocq or Isabelle, so large operational verification projects generally require more custom infrastructure.
HOL4LCF-style classical higher-order logic with a small trusted kernel and a long history in hardware, semantics and systems verification. 39Tactic-based proof development plus built-in decision procedures; external techniques can be integrated through explicitly identified oracle mechanisms. 39CakeML is developed in HOL4 and provides a verified path from functional programs toward machine code. 4041Strong assurance and semantics expertise, but older SML-centered tooling and a smaller contemporary application ecosystem than Lean/Rocq.
HOL LightA deliberately small, minimalist HOL prover implemented in OCaml. Its small logical core and extensible derived inference infrastructure make the trusted base easy to inspect. 42Automated arithmetic and mathematical decision procedures plus extensive libraries, especially in analysis and geometry. 42Direct OCaml embedding. Major developments include Flyspeck and AWS’s s2n-bignum arithmetic verification. 4243Best suited to teams that place a premium on a small trusted base and specialized mathematical/crypto verification. Developer experience and package management are less integrated than in Lean.
F*A proof-oriented, dependently typed programming language, verifier, compiler and proof assistant. Refinement types and effects let specifications sit directly on executable code. 44Verification conditions are heavily automated through SMT, especially Z3; metaprogramming and embedded DSLs support specialized reasoning. 45Production-oriented extraction/compilation paths support OCaml/F# and low-level C/Wasm-oriented workflows; Pulse and EverParse address concurrent code and verified parsing. Project Everest is the major ecosystem. 4644Often the shortest route from formal contracts to low-level production software. Heavy SMT automation means engineers need to understand solver sensitivity and the precise trusted boundary of extraction and external code.

For a new heterogeneous LLM system, my default choices would be Lean when the formal layer itself will be an actively developed software platform, Isabelle/HOL when the dominant problem is system or protocol reasoning, Rocq when its mature extraction/verification ecosystem or existing developments are decisive, and F* when verified executable security-sensitive components are the objective. HOL4/HOL Light make sense when a small LCF-style foundation or existing HOL developments dominate. Agda is especially good when constructive types or a purpose-built typed DSL are central.

The more important choice, however, is not the proof assistant. It is the verification boundary. Cedar demonstrates that Lean can prove properties of a specification and symbolic compiler while a production Rust implementation is connected through differential testing. seL4 takes a different route, relating Isabelle/HOL models down to C implementations. CakeML goes farther toward a verified language/compiler stack. These examples show several valid ways to connect a proof environment to production software. 62040

Verification goals for LLM-based systems

A useful formal model treats the complete application as a transition system

S=(M,O,D,C,H,E)\mathcal S = (M,O,D,C,H,E)

where MM is one or more language or ML models, OO the orchestrator, DD data stores and retrieval systems, CC external software/tools, HH human operators, and EE the external environment. A run is a trace

τ=e0,e1,…,en\tau = e_0,e_1,\ldots,e_n

of typed events such as ModelOutput, DataRead, ToolProposed, Authorized, HumanApproved, ToolExecuted, DataWritten, or ModelChanged.

This representation is useful because many important properties are statements about the trace and its state transitions, regardless of how the LLM produced its proposal. Runtime-verification work such as AgentSpec, VeriGuard, Pro2Guard and SENTINEL follows this general direction, using formal rules, verified policies, probabilistic transition models or temporal logic around agent execution. 13471948

The following are operational definitions suitable for engineering. They intentionally scope terms such as “alignment” and “interpretability” to properties that can actually be specified and measured.

GoalFormalizationUseful measurable properties
SafetyDefine a set of bad states or events BB. A deterministic invariant is ∀τ∈Traces(S), G ¬B \forall\tau\in Traces(\mathcal S),\, G\,\neg B . Temporal forms can require, for example, that a dangerous action is never executed before authorization.Number of reachable violating states; percentage of privileged transitions covered by the invariant; runtime violation/block rate; false-permit and false-reject rates of the enforcement layer; time from risky proposal to intervention.
RobustnessFor a permitted perturbation relation Rδ(x,x′)R_\delta(x,x'), require preservation of an invariant or bounded output difference: Rδ(x,x′)⇒d(O(x),O(x′))≤ϵR_\delta(x,x')\Rightarrow d(O(x),O(x'))\le\epsilon. For an agent, the more useful property is often “security-relevant decisions remain invariant under untrusted-context perturbations.”Certified input radius for tractable neural components; worst-case policy violation over an explicit perturbation set; percentage of security-sensitive decisions invariant to prompt/document perturbations; counterexamples found. Marabou is an example of a verifier that can prove a specified neural property over an analyzed region or return a violating input. 16
Specification conformanceUse pre/postconditions P(s,a)⇒Q(s,a,s′)P(s,a)\Rightarrow Q(s,a,s'), a refinement relation between implementation and abstract model, or temporal formulas such as request -> F response.Percentage of critical APIs with checked pre/postconditions; proof-obligation pass rate; state-machine properties proved; escaped counterexamples; contract coverage of privileged transitions.
Data provenanceRepresent artifacts and transformations as a provenance graph. A derived artifact is acceptable only if its lineage consists of approved sources and transformations and the bound identifiers/hashes correspond to what execution consumed.Percentage of production outputs with complete machine-replayable lineage; number of missing or unverifiable lineage edges; fraction of model inputs bound to immutable versions; replay success rate.
Access controlFor principal pp, action aa, resource rr, context cc, require that execution implies an authorization decision: Execute(p,a,r,c) ⇒ Permit(p,a,r,c). Stronger properties include noninterference and least-privilege reachability constraints.Unauthorized states reachable; privileges available per agent; percentage of capabilities mediated by the reference monitor; formally proved policy equivalence after policy changes; unauthorized-path counterexamples. Cedar’s formal model and symbolic compiler are concrete examples of this style. 515
Interpretability / auditabilityScope the claim to artifacts that can be checked: each consequential decision must identify the policy rule, evidence, source data, model/version and transition that led to it. Require that an explanation references facts present in the execution/provenance graph.Percentage of consequential actions with replayable evidence; percentage of explanation claims traceable to a concrete source or rule; disagreement between explanation and executed transition; audit replay success. This does not establish that a natural-language chain of thought is a faithful causal description of model internals.
AlignmentDefine an explicit behavioral contract AA: objective constraints, forbidden states, human-override semantics and perhaps preference orderings. Verify S⊨AS\models A, or for a stochastic model establish a declared probabilistic bound such as P[¬A]≤αP[\neg A]\le\alpha under a stated abstraction/distribution.Contract-violation rate; probability bounds from an explicit stochastic model; percentage of human overrides obeyed; goal/constraint preservation across delegation; severity-weighted violations. Probabilistic model checking gives a principled language for this narrower notion. 4919

A crucial distinction is between three kinds of guarantee:

Deductive guarantees prove a logical statement for every behavior represented by the formal model. seL4’s Isabelle development and CompCert’s semantic-preservation proof are examples of this class. 3328

Bounded or abstract guarantees cover an explicit abstraction, region, depth or network class. Neural-network verification and bounded model checking fall here. Marabou takes a network and property and can establish the property or exhibit a counterexample for the supported query; Apalache can reason symbolically over bounded executions and also perform inductiveness checks. 168

Statistical guarantees depend on a learned or estimated stochastic model. Pro2Guard, for example, abstracts traces into symbolic states, learns a discrete-time Markov chain and uses probabilistic reachability to trigger intervention; its guarantees therefore depend on the adequacy of that abstraction and learned transition model. 19

Calling all three “formally verified” without stating this distinction is a source of confusion. For LLM systems, assurance documentation should always name the model, assumptions, quantified domain, trusted computing base and property being established.

Architectures, workflows, and practical toolchains

The architecture I recommend is a mediated action architecture. The LLM may read information and propose arbitrary structured plans, but it receives no direct capability to produce external side effects. All consequential operations pass through a deterministic control path.

    flowchart LR
    U[User or upstream service]
    D[Data sources]
    L[LLM or multimodal model]

    U --> O[Orchestrator]
    D --> R[Retrieval / data adapter]
    R --> O
    O --> L
    L --> P[Typed action proposal]

    P --> V[Verification gateway]

    V --> AC[Authorization policy]
    V --> FC[API pre/postconditions]
    V --> MC[State / temporal model]
    V --> PA[Proof assistant / SMT]
    V --> PM[Probabilistic risk model]

    V -->|approval required| H[Human operator]
    H -->|signed scoped decision| V

    V -->|accepted| X[Capability executor]
    V -->|rejected| O
    X --> T[External tools / databases / services]

    X --> RM[Runtime monitor]
    RM -->|violation| K[Stop / rollback / escalation]

    U --> A[Provenance and audit log]
    R --> A
    L --> A
    P --> A
    V --> A
    H --> A
    X --> A
    RM --> A
  

The security property to prove is then much smaller than “the LLM will always behave safely.” A typical theorem has the shape

[ \text{ExternalEffect}(e)

\Longrightarrow

\text{Authorized}(e)

\land

\text{ContractValid}(e)

\land

\text{RequiredApprovalsPresent}(e). ]

If every side-effecting capability is reachable only through CapabilityExecutor, and the executor verifies an unforgeable authorization/evidence object, the theorem remains useful when prompts, models and retrieval systems change. Cedar’s approach of separating authorization policies from application logic is directly applicable here, and current AWS work applies Cedar-style policy enforcement to agentic workflows. 501551

Human approval should itself be part of the formal protocol. An “approve” click should become a typed event containing the identity/role of the approver, exact proposed operation, relevant resource identifiers, scope, validity period and a binding to the version of the request being authorized. The transition relation can then prove that approval for operation xx cannot silently authorize modified operation x′x'. This also makes human escalation auditable.

A complementary development workflow uses the LLM aggressively while keeping it outside the trusted base:

    flowchart TD
    R[Requirements / threat model]
      --> S[Formal specification]

    S --> HR[Human specification review]
    HR --> G[Generate proof, program or policy candidate]

    L[LLM / retrieval / search] --> G
    T[Native tactics / SMT / ATP] --> G

    G --> C[Small trusted checker]

    C -->|fails| E[Counterexample / proof state / unsat issue]
    E --> L
    E --> HR

    C -->|passes| A[Checked artifact]
    A --> B[Extraction or verified compilation]
    B --> ST[Staging]

    ST --> RV[Runtime contracts and monitors]
    RV --> PR[Production]

    PR --> TR[Versioned traces and provenance]
    TR --> R
  

LeanDojo formalizes the machine-facing side of this loop for Lean by exposing proof states and premises to learning systems; its original benchmark contained almost 100,000 mathlib theorems. CoqPyt provides a similar programmatic navigation layer for Rocq. FVEL converts verification problems into Isabelle proof problems and combines LLM proof generation with Isabelle checking. Isabellm uses an LLM to propose Isabelle commands and validates them through Isabelle in a bounded search loop. 1234

A practical toolchain can therefore be assembled by layer:

LayerTools / patternRole in an LLM system
Interactive proofLean, Rocq, Isabelle/HOL, HOL4/HOL Light, Agda, F*Semantics of workflows, policy engines, parsers, approval protocols, provenance rules, verified algorithms.
Proof automationLean Aesop/grind/lia; Rocq tactics; Isabelle Sledgehammer; F* verification-condition generation + Z3Discharge repetitive obligations while the kernel or trusted verification architecture controls acceptance. Lean and Isabelle continue to invest directly in this automation. 233445
SMTZ3; cvc5Efficient decision procedures for arithmetic, arrays, bit vectors and policy constraints. cvc5 can emit proof information in formats designed for reconstruction, including integration paths with Isabelle and Rocq tooling. 5253
Finite-state / temporal verificationTLC, Apalache, Spin, nuXmvAgent workflow ordering, retries, approval races, delegation, concurrent tool calls, distributed protocol invariants and liveness. 78910
Probabilistic verificationPRISM, StormAnalyze abstractions such as “probability of reaching unsafe state before intervention,” expected cost, reliability and policy trade-offs. PRISM and Storm both operate on explicit probabilistic models/specifications rather than raw LLM weights. 1112
Neural component verificationVehicle, MarabouState a high-level property, translate it toward a neural-network verifier and incorporate the result into a larger system proof. Marabou uses SMT-style network analysis; Vehicle was designed to bridge higher-level specifications, verifiers and interactive theorem provers. 1618
Verified compilationCompCert; CakeMLReduce the risk that compilation invalidates a source-level proof. CompCert proves semantic preservation for C compilation; CakeML’s source and compiler proofs are developed in HOL4. 2840
ExtractionRocq extraction; F*; Agda; Lean executable definitionsTurn formally developed definitions into executable components. Rocq currently supports extraction to OCaml, Haskell and Scheme. 30
Runtime verificationAgentSpec, VeriGuard, Pro2Guard, SENTINEL or project-specific monitorsCheck actual agent actions/traces after static proof can no longer capture the entire external environment. 13471948
AuthorizationCedar + Cedar AnalysisSeparate capability decisions from model reasoning; verify policy properties with a Lean-verified symbolic translation to SMT. 56
LLM/prover bridgeLeanDojo-v2, CoqPyt, FVEL, IsabellmGive an LLM structured proof states, premises and checker feedback while retaining the conventional prover as authority. 252544

API contracts deserve special treatment because they are the boundary between the verified control plane and ordinary services. A language-neutral contract can define:

{P(req,state)}  API(req)  {Q(req,res,state,state′)}\{P(req,state)\}\; API(req)\; \{Q(req,res,state,state')\}

plus temporal restrictions such as “a payment commit must be preceded by a matching approved quote” or “a credential may never appear in a response event.” JSON Schema, Protobuf or an existing IDL can remain the wire format; a separate formal model gives the request/response types their semantic meaning. Generated wrappers should validate the contract and emit an evidence record before the operation is allowed to affect external state.

Data pipelines should use the same scheme. Each transformation receives versioned inputs and emits an artifact together with machine-readable provenance: source identifiers, code/model version, relevant policy state, transformation identity and integrity bindings. The proof need not contain the data itself. It can prove that every artifact accepted into a sensitive stage possesses an admissible lineage and that the runtime checker enforces the same lineage predicate.

A useful deployment hierarchy is:

[ \text{Proof assistant}

\rightarrow

\text{verified policy/validator}

\rightarrow

\text{small enforcement service}

\rightarrow

\text{unverified application and LLM}. ]

That concentrates expensive formal work in a component with broad security leverage.

Case studies and evidence

Existing work covers a useful spectrum from production systems with years of formal-methods history to very recent LLM-agent research.

CaseScopeMethodDemonstrated outcomeMaturityReproducibility
seL4OS microkernel and security propertiesIsabelle/HOL refinement and machine-checked system proofsseL4’s proofs use Isabelle/HOL from security properties toward the C implementation; the project explicitly documents proof assumptions. 3320Production/industrial research; one of the strongest examples of large system verificationHigh: proof repository and verified configurations are published with build instructions. 55
CompCertOptimizing C compilerRocq/Coq semantic-preservation proofs for compiler passesSource-level safety properties are preserved by correctly generated executable behavior under CompCert’s theorem and assumptions. The current project remains actively maintained. 28Mature industrial verificationHigh for research/proof inspection; source and formal developments are published.
CakeMLProgramming language + compiler stackHOL4 definitions and proofs; verified compilation to machine codeCurrent CakeML documentation describes a verified compiler spanning multiple intermediate languages and targets; proofs and sources are developed in HOL4. 4140Mature academic verification platform with substantial applicationsHigh: open code and proofs.
AWS CedarAuthorization policy language and analysisLean formalization; proved properties; Lean-implemented symbolic compiler to SMT; differential testing against production Rust implementationThe symbolic compiler’s translation has soundness/completeness proofs; Cedar’s validator soundness is formally proved, with differential testing used to relate the formal model to Rust. 56Production-oriented industry systemHigh: formal Lean source, generators and DRT framework are public with build instructions. 6
AWS s2n-bignumHigh-performance crypto arithmeticHOL Light functional-correctness and constant-time properties for assembly routinesThe project supplies machine-checked proofs for optimized arithmetic used in AWS cryptographic software; current work includes formal constant-time properties for deployed routines. 4342Production industry cryptographyHigh: source and HOL Light proofs are public.
Project Everest / F*Cryptography, protocol code, parsers and low-level security componentsDependent/refinement types, SMT verification, Low*/Pulse/EverParse-style DSLs, verified/validated low-level generationEverest-derived verified components have been used in major production software, including operating-system, browser and networking stacks. 46Production industry/researchHigh to medium, depending on component: major libraries and developments are public, while a complete deployment includes external build/platform assumptions.
Vehicle + MarabouNeural components in larger neuro-symbolic systemsDependently typed high-level specification compiled toward neural verifiers and ITP integration; Marabou solves network/property constraintsVehicle is specifically designed to close the specification “embedding gap” and let neural verification results participate in wider formal developments. Marabou can return either a guarantee for the query or a concrete counterexample. 1716Active academic researchHigh for experimentation: both toolchains are publicly available, with Vehicle tutorials and Marabou installation support. 5616
LeanDojo / ReProverLLM-based theorem provingRetrieval of accessible Lean premises + LLM tactic generation + Lean checkingThe original work released an open toolkit and a 98,734-theorem benchmark, demonstrating retrieval-augmented formal proof generation; LeanDojo-v2 now provides an updated end-to-end framework. 125Mature research infrastructureHigh: open toolkit, data/model infrastructure and benchmarks.
FVELLLM-assisted program verificationTransform verification tasks into Isabelle; LLM proposes proofs; Isabelle validates themFVELER contains 758 theories, 29,125 lemmas and 200,646 proof steps; the paper reports improvements on SV-COMP after fine-tuning models on this formal corpus. 3Research prototype/benchmarkHigh to medium: project page and dataset-oriented work are public. 54
AgentSpecRuntime safety of code agents, embodied agents and autonomous-driving agentsDSL of triggers, predicates and enforcement actions around agent executionPublished evaluation reports prevention of unsafe execution in more than 90% of code-agent cases, elimination of evaluated hazardous embodied actions and full compliance in the evaluated AV scenarios, with millisecond-scale enforcement overhead. LLM-generated rules performed materially worse than hand-specified rules on recall, illustrating the specification problem. 13ICSE 2026 research systemHigh to medium: implementation is public and integrates with agent frameworks. 14
Pro2Guard / ProbGuardPredictive runtime safety for LLM agentsSymbolic abstraction of traces, learned DTMC and probabilistic model checkingThe Pro2Guard evaluation reports intervention on up to 93.6% of unsafe embodied-agent tasks under aggressive thresholds and advance prediction of evaluated vehicle violations/collisions; the implementation includes PRISM. 19Recent research prototypeHigh to medium: code is public, but guarantees are statistical and dependent on learned abstractions.
VeriGuardSafety policies for LLM agentsOffline policy synthesis + formal verification, followed by online action checking against the verified policySeparates expensive offline verification from lightweight runtime enforcement, closely matching the architecture recommended in this report. 47Recent Google researchMedium: primary paper and project publication are available; reproducibility is less established than Cedar or LeanDojo in the consulted artifacts.
SENTINELEmbodied-agent safetyTemporal-logic requirements checked at semantic, plan and trajectory levelsEvaluates foundation-model agents in VirtualHome and ALFRED and reports safety violations observable across multiple abstraction levels. 48Recent researchMedium/early: strong formal evaluation design, with less production evidence than the mature system-verification cases.

The table suggests an important division of labor. The most mature industrial results verify deterministic infrastructure around computation: compilers, kernels, cryptographic routines, parsers, authorization semantics. Current LLM-agent research largely verifies or monitors actions, plans and abstractions of behavior. That is a sensible architectural boundary because an LLM’s enormous stochastic state space is poorly matched to traditional deductive verification, whereas its capabilities can be sharply constrained at a comparatively small number of external interfaces.

Cedar is particularly instructive for an LLM platform. The formal object is not every application using Cedar. Lean establishes properties of the policy semantics and analysis machinery; production software submits authorization requests; the authorization engine mediates the capability. The same structure can be used for model tools:

LLM suggests:       send_email(Alice, confidential_document)
                         |
                         v
formal policy:      Is this principal permitted to disclose
                    this data classification to Alice in this context?
                         |
                  +------+------+
                  |             |
                 yes            no
                  |             |
            human rule?       reject
                  |
             execute

That is a much more tractable theorem than proving that the LLM will never want to disclose confidential information.

Limitations, scaling problems, and open research questions

The specification problem remains dominant. A perfectly checked proof of the wrong requirement provides the wrong assurance. The LLM era makes this worse because important requirements often begin as natural language. AgentSpec gives a concrete warning: its LLM-generated policy rules had high precision but materially lower recall in the embodied-agent evaluation, so syntactically plausible automatically generated constraints omitted relevant cases. 13

A promising process is therefore:

[ \text{natural-language requirement}

\rightarrow

\text{LLM draft}

\rightarrow

\text{formal counterexamples}

\rightarrow

\text{human approval}

\rightarrow

\text{machine-checked specification}. ]

The human should approve the formal interpretation, not merely the original English sentence.

Semantic abstraction is difficult. A tool call named transfer_funds has a clean formal signature only if its real implementation behaves like the modeled operation. External APIs can have retries, partial failure, caches, hidden side effects, races and changing semantics. The proof boundary must therefore include adapters or monitors that connect concrete events to their abstract counterparts. Vehicle identifies the analogous challenge for neural systems: a high-level property must be connected correctly to the representation used by the neural verifier. 18

The trusted computing base expands at deployment time. A proof kernel can validate a theorem while the deployed system still depends on parsers, compilers, runtimes, FFI code, operating systems, hardware and external services. Lean explicitly distinguishes theorem checking from the additional trust involved when generated code is executed. seL4 publishes an assumptions analysis for exactly this reason. Verified compilers such as CompCert and CakeML can remove part of this gap, but no practical LLM service is proved down to every transistor and external API. 26202840

Solver automation creates another trust and maintenance boundary. An architecture can trust an SMT implementation directly, or it can require proof evidence that a smaller checker reconstructs. Isabelle deliberately routes external automation back through proof construction, and current Isabelle releases include cvc5 proof-reconstruction improvements. Certificate-producing/reconstructing architectures should be preferred for the highest-assurance obligations. 34

State explosion remains fundamental. An agent with nn tools, concurrent tasks, retries, human interventions and mutable data can have a vast transition state space. TLC, Spin, nuXmv, PRISM and similar systems therefore depend on abstraction, symmetry reduction, bounded reasoning or specialized symbolic representations; Apalache explicitly distinguishes bounded symbolic execution/model checking from inductiveness checking. 891049

The long-term answer is compositional verification: prove small contracts of the form

Ai⇒GiA_i \Rightarrow G_i

for component ii, then establish that other components provide the assumptions AiA_i. For an agent system, the model might assume only that the LLM emits an arbitrary value from a typed proposal space, while proving that arbitrary values cannot violate capability invariants. This is dramatically more scalable than formalizing the model’s entire generation process.

Probabilistic guarantees can become stale. Pro2Guard learns transition probabilities from traces. If the model, prompt, retrieval source, tool behavior or user population changes, the empirical transition model can shift. Statistical monitoring therefore needs versioned distributions, drift tests and explicit invalidation criteria. A proof that the PRISM formula was solved correctly does not prove that the learned Markov chain still represents production behavior. Pro2Guard itself explicitly bases the mechanism on a learned symbolic DTMC and probabilistic reachability. 19

End-to-end neural verification remains sharply limited by scale and model structure. Marabou is effective because supported neural properties can be reduced to structured constraint problems. The same approach does not make unrestricted autoregressive language generation with millions or billions of parameters, long contexts, sampling, retrieval and tool interaction tractable as one monolithic verification problem. Marabou itself describes its role as a network/property analyzer, and Vehicle builds an interface so such bounded neural results can be used within larger proofs. 1618

This suggests a useful decomposition:

[ \underbrace{\text{LLM}}_{\text{mostly empirical}}

\underbrace{\text{typed interface}}_{\text{fully checkable}}

\underbrace{\text{policy}}_{\text{fully checkable}}

\underbrace{\text{workflow}}_{\text{model checkable}}

\underbrace{\text{critical algorithms}}_{\text{deductively provable}}

\underbrace{\text{runtime environment}}_{\text{monitored}}. ]

Interpretability is especially easy to overclaim. Formal methods can prove that a displayed explanation references the actual policy rule that fired, that sources are genuinely present in the provenance graph, or that a counterexample explains a rejected transition. They do not thereby prove that generated prose is the model’s faithful internal reason for producing a token sequence. For high-assurance applications, “interpretability” should therefore mean auditable causal structure in the surrounding system unless a more specific property is supplied.

Alignment has the same problem. Formal verification can establish compliance with an explicitly formalized utility, policy, preference relation, constitutional rule, approval protocol or forbidden-state set. It cannot establish that this formalization exhausts “human values.” The useful engineering statement is “all executions in model SS satisfy formal contract AA, subject to assumptions XX,” not “the agent is aligned.”

Human operators must be modeled as components. A human can approve the wrong request, misunderstand a summary, approve stale data, be compromised, or act under the wrong role. Open research is needed on usable proof obligations for human decisions: how much formal evidence should be shown, how to bind a user’s approval to an exact future action, and how to keep formal safeguards comprehensible without encouraging rubber-stamping.

Proof maintenance is a software-engineering problem. Toolchain changes, specification refactoring and upstream library updates can invalidate proof scripts. Lean’s rapid release cadence illustrates why verification projects need pinned compilers/libraries and reproducible CI; the Isabelle AFP addresses a related problem by continuously checking formal developments against supported Isabelle releases. 232632

Several research problems therefore deserve particular attention:

Research problemWhy it matters
Verified natural-language-to-specification translationThe formal specification is increasingly the weakest link once proof automation becomes good.
Proof-carrying agent actionsA tool request could include compact machine-checkable evidence that its prerequisites and permissions hold.
Compositional contracts for multi-agent systemsVerification should scale by checking local assumptions/guarantees instead of constructing the full global state space.
Verified adapters between APIs and formal modelsReal API semantics are a major source of model/implementation mismatch.
Proof certificates across tool boundariesLean/Rocq/Isabelle, SMT, model checkers and neural verifiers currently have limited common evidence formats.
Formal provenance semanticsWe need standardized notions of what it means for an LLM output to be derived from, authorized by, or dependent on a data source.
Distribution-aware formal monitoringProbabilistic guarantees need principled invalidation when behavior or environment drifts.
Formal approval semanticsHuman consent should bind exactly to the operation, data and context that eventually execute.
Verified policy synthesisLLMs are useful policy/specification writers, but omitted requirements must be discovered systematically through counterexamples and adversarial search.
Hybrid deductive/probabilistic assuranceLarge systems need theorems for deterministic control logic and calibrated risk bounds for model-dependent behavior in a coherent assurance case.

Engineering adoption roadmap and prioritized primary sources

The adoption strategy should begin with a narrow invariant whose violation would be expensive and whose enforcement point is easy to identify. Trying to formalize the LLM itself at the start is unlikely to produce comparable value.

PhaseTypical elapsed timeWork productSuccess metrics
System and threat modelWeeks 1-4Typed event vocabulary; diagram of models, tools, humans and data; inventory of side effects; trust-boundary document100% of privileged capabilities have a named enforcement path; every high-severity failure maps to a formalizable state/event or is explicitly declared outside scope
Executable formal modelWeeks 3-8Small Lean/Rocq/Isabelle/F* model plus a state-machine/model-checking model where usefulImportant unsafe states are either proved unreachable or produce actionable counterexamples; CI can replay the entire model
First verified gateWeeks 6-12Authorization/tool-call gate; typed action proposals; human-approval protocol; formal API contractsPercentage of privileged operations mediated approaches 100%; no bypass path in architecture review; policy tests and proofs run in CI
Production correspondenceMonths 3-5Differential tests, generated code, verified/extracted component, or refinement relation connecting formal and deployed implementationsFormal/reference implementation divergence tracked and driven to zero on generated corpus; versioned evidence produced for each release
Provenance and runtime verificationMonths 4-7Versioned event/provenance store and runtime monitorProvenance completeness; replay rate; false-permit/false-reject rate; monitor p95 latency; human-escalation rate
Probabilistic/ML verification where justifiedMonths 6-10Bounded neural properties or probabilistic transition model for selected high-risk componentsCertified regions/properties, risk-model calibration, drift alarms, counterexample discovery rate
Continuous formal assuranceOngoingProof CI, specification review, regression corpus, model-change procedure and evidence bundlesProof rebuild time; percentage of high-risk transitions proved; escaped counterexamples; policy-to-implementation divergence; stale-assumption count

An illustrative sequence is:

    flowchart LR
    A["Weeks 1–4
    Threat model and trace schema"]
    --> B["Weeks 3–8
    Executable specification"]

    B --> C["Weeks 6–12
    Verified capability gate"]

    C --> D["Months 3–5
    Production correspondence"]

    D --> E["Months 4–7
    Provenance + runtime monitoring"]

    E --> F["Months 6–10
    Selected ML / probabilistic proofs"]

    F --> G["Ongoing
    Proof CI + assurance case"]
  

Skills. The smallest effective team does not need everyone to become a theorem-proving expert. A practical division is one or two engineers comfortable with the chosen proof assistant and formal semantics, application engineers who own the production adapters, a security/requirements owner responsible for threat and policy semantics, and domain experts who review formalized requirements. LLM-based proof assistants can lower proof-authoring effort, but formal-specification review remains a human responsibility. LeanDojo, CoqPyt, FVEL and Isabellm show that generating or repairing proof scripts through an LLM while retaining deterministic proof checking is already practical as research infrastructure. 252544

Tool choice. For a new engineering organization with no existing formal-method investment, I would start with Lean 4 plus an external state/model-checking layer, unless the product makes another choice clearly superior. Lean supplies a modern programming environment, large Mathlib ecosystem, active automation, Lake/Reservoir package management and the strongest current collection of open LLM/prover infrastructure among the systems examined here. 21242325

Use Rocq when extraction, CompCert, MathComp or an existing Coq codebase dominates; Isabelle/HOL when system semantics, security proofs and powerful ATP-assisted reasoning dominate; F* for production-oriented verified security components; HOL4/HOL Light when their small-kernel traditions or existing crypto/compiler developments are directly relevant. 302834444042

The first pilot I would choose is a verified agent capability gateway. Give the LLM typed proposed actions, place data classification and resource identity in explicit fields, make Cedar or a small equivalent formal authorization layer responsible for access decisions, require machine-verifiable human approval for selected transitions, and record every decision in an append-only provenance stream. Prove that no external side effect can bypass the gate. This pilot is small enough to finish, survives model replacement, exercises both formal and production integration, and measures something operationally clear. Cedar’s architecture and recent runtime-verification systems provide strong precedents for the individual pieces. 561347

The second pilot should formalize a multi-step workflow with retries, cancellation, delegation and approval. Use TLA+/TLC, Apalache, Spin or nuXmv to find concurrency/state-machine problems and move the central invariants into the proof assistant if enduring deductive proofs are justified. 78910

The third should attack one vertical trusted component: a parser, policy compiler, cryptographic adapter, financial calculation, data-transformation rule or other deterministic code that materially affects safety. Depending on the stack, use Lean, F*, Rocq extraction or a verified compiler. CompCert, CakeML and Project Everest show what stronger end-to-end compilation paths can provide. 284046

The central engineering dashboard should track a small set of assurance metrics:

MetricWhy it is useful
Privileged operations mediated by the verified gateDetects architectural bypasses
High-severity transitions with a machine-checked invariantMeasures meaningful proof coverage
Formal API-contract coverageMeasures the formal/concrete boundary
Production/reference-model divergenceDetects implementation drift
Provenance completeness and replay successMeasures auditability
Runtime false permits and false rejectsMeasures monitor usefulness
Human escalation frequency and stale approvalsMeasures human-process quality
Proof/solver CI rebuild timeMeasures maintainability
Counterexamples discovered pre-production vs. post-productionMeasures practical verification value
Number of assumptions whose validity is not continuously checkedMeasures hidden assurance debt
Model/data/tool versions bound into evidence recordsMeasures reproducibility

The sources below are the ones I would read first. They are prioritized toward official documentation, original papers and runnable artifacts.

PriorityPrimary sourceReason to consult
ALean language/reference documentation and Mathlib 2122Understand Lean as both programming language and proof assistant, plus the reusable mathematical/software base.
ARocq reference manual and extraction documentation 2930Primary reference for Rocq proof construction and verified-program extraction.
AIsabelle official documentation and AFP 3432Best starting point for Isabelle/HOL, Sledgehammer and large formal developments.
AAgda language documentation, including Cubical Agda and reflection 3536Primary source for Agda’s dependent types and metaprogramming model.
AHOL4 and HOL Light documentation 3942Understand the LCF/HOL tradition and the small-kernel design point.
AF* proof-oriented programming documentation 4445Best source for the refinement-type/SMT approach and executable verified software.
ACompCert documentation 28Canonical case for a semantic-preservation theorem that carries source-level verification toward machine code.
AseL4 proof and assumptions documentation 332055Essential reading on system-scale proof engineering, proof scope and explicit assumptions.
ACedar paper, formal specification and Cedar Analysis 1565Probably the most directly transferable industry architecture for a verified policy/control layer around LLM agents.
ACakeML project 4140Demonstrates the verified-language/verified-compiler route from theorem prover toward executable machine code.
AProject Everest/F* ecosystem 46Major production-oriented example of proofs, security properties and deployable low-level code.
BLeanDojo 125Key architecture for putting an LLM in a proof-generation loop while Lean remains the checker.
BCoqPyt 2Useful primary reference for programmatic Rocq interaction from an LLM-friendly Python environment.
BFVEL 354Concrete example of translating software-verification problems into Isabelle and using LLMs for proof search.
BVehicle and Marabou 1816Core reading for integrating bounded neural-network verification into larger formal system arguments.
BAgentSpec 1314Concrete runtime-enforcement language for LLM agents and a useful study of hand-authored versus LLM-generated safety rules.
BPro2Guard / ProbGuard 19Shows how probabilistic model checking can operate on learned abstractions of LLM-agent behavior.
BVeriGuard 47Strong example of separating offline policy verification from online action monitoring.
BSENTINEL 48Useful treatment of temporal-logic safety at semantic, planning and execution levels for embodied agents.
BPRISM and Storm documentation 4912Primary tools for quantitative/probabilistic verification.
BTLA+/TLC and Apalache 78Practical complements to proof assistants for workflows and distributed state machines.
BSpin and nuXmv 910Mature alternatives for concurrency and symbolic state-transition verification.

The resulting engineering strategy can be summarized in one principle:

[ \boxed{

\text{Allow probabilistic components to propose;

require deterministic, checkable components to authorize and commit.}

} ]

Formal verification is strongest where a system crosses from uncertain reasoning into consequential action. For LLM applications, that boundary includes tool calls, data movement, authorization, human consent, workflow transitions and code execution. Proving those mechanisms, and making them impossible to bypass, gives formal methods a role that remains valuable even as models, prompts, data and human workflows change.

References


  1. LeanDojo: Theorem Proving with Retrieval-Augmented Language Models. https://arxiv.org/abs/2306.15626 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  2. CoqPyt: Proof Navigation in Python in the Era of LLMs. https://arxiv.org/html/2405.04282v1 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  3. FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Proving. https://arxiv.org/abs/2406.14408 ↩︎ ↩︎ ↩︎ ↩︎

  4. Zhe Hou, Vibe Coding an LLM-powered Theorem Prover (Isabellm), 2026. https://arxiv.org/abs/2601.04653 ↩︎ ↩︎ ↩︎ ↩︎

  5. AWS, Introducing Cedar Analysis: Open Source Tools for Verifying Authorization Policies. https://aws.amazon.com/blogs/opensource/introducing-cedar-analysis-open-source-tools-for-verifying-authorization-policies/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  6. Cedar formal specification and analysis implementation (Lean). https://github.com/cedar-policy/cedar-spec ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  7. Leslie Lamport, TLA+ resources. https://lamport.azurewebsites.net/tla/tla.html ↩︎ ↩︎ ↩︎ ↩︎

  8. Apalache: The Symbolic Model Checker for TLA+. https://apalache-mc.org/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  9. Spin: Formal Verification. https://spinroot.com/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  10. nuXmv: A Symbolic Model Checker. https://es-static.fbk.eu/tools/nuxmv/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  11. PRISM: Probabilistic Symbolic Model Checker. https://www.prismmodelchecker.org/ ↩︎ ↩︎

  12. Storm: A Modern Probabilistic Model Checker. https://www.stormchecker.org/ ↩︎ ↩︎ ↩︎

  13. AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents. https://arxiv.org/abs/2503.18666 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  14. AgentSpec implementation. https://github.com/haoyuwang99/AgentSpec ↩︎ ↩︎ ↩︎

  15. Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization. https://arxiv.org/abs/2403.04651 ↩︎ ↩︎ ↩︎ ↩︎

  16. Marabou: Neural Network Verification. https://github.com/NeuralNetworkVerification/Marabou ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  17. Vehicle: A Toolkit for Enforcing Logical Specifications on Neural Networks. https://drops.dagstuhl.de/entities/artifact/10.4230/artifacts.23126/gotoContentUri/0 ↩︎ ↩︎

  18. The Vehicle Tutorial: Neural Network Verification with Vehicle. https://research.birmingham.ac.uk/en/publications/the-vehicle-tutorial-neural-network-verification-with-vehicle/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  19. Pro2Guard: Proactive Runtime Enforcement of LLM Agent Safety via Probabilistic Model Checking. https://arxiv.org/abs/2508.00500 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  20. seL4: What the Proofs Assume. https://sel4.systems/Verification/assumptions.html ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  21. Lean Programming Language, official website. https://lean-lang.org/ ↩︎ ↩︎ ↩︎

  22. Mathlib: Mathematical Library for Lean 4. https://github.com/leanprover-community/mathlib4 ↩︎ ↩︎

  23. Lean 4.33.0 Release Notes (2026-02-10). https://lean-lang.org/doc/reference/latest/releases/v4.33.0/ ↩︎ ↩︎ ↩︎ ↩︎

  24. Reservoir: Lean Package Registry. https://reservoir.lean-lang.org/packages ↩︎ ↩︎

  25. LeanDojo-v2: AI-Assisted Theorem Proving in Lean 4. https://github.com/lean-dojo/LeanDojo-v2 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  26. Lean Programming Language: Frequently Asked Questions. https://lean-lang.org/faq/ ↩︎ ↩︎ ↩︎

  27. The Rocq Prover, official website. https://rocq-prover.org/ ↩︎

  28. CompCert C: A Trustworthy Compiler. https://compcert.org/man/manual001.html ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  29. The Rocq Prover Reference Manual. https://rocq-prover.org/refman ↩︎ ↩︎

  30. The Rocq Prover: Program Extraction. https://rocq-prover.org/doc/V9.2.0/refman/addendum/extraction.html ↩︎ ↩︎ ↩︎ ↩︎

  31. MetaRocq: Formalizing Rocq in Rocq. https://github.com/MetaRocq/metarocq ↩︎

  32. Archive of Formal Proofs (Isabelle/HOL). https://www.isa-afp.org/ ↩︎ ↩︎ ↩︎

  33. seL4 Proofs. https://sel4.systems/Verification/proofs.html ↩︎ ↩︎ ↩︎ ↩︎

  34. Isabelle Proof Assistant, official website. https://isabelle.in.tum.de/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  35. Agda Language Reference: Cubical Agda. https://agda.readthedocs.io/en/latest/language/cubical.html ↩︎ ↩︎

  36. Agda Language Reference: Reflection. https://agda.readthedocs.io/en/latest/language/reflection.html ↩︎ ↩︎

  37. Agda Standard Library. https://github.com/agda/agda-stdlib ↩︎

  38. Agda Language Reference: Compilers. https://agda.readthedocs.io/en/latest/tools/compilers.html ↩︎

  39. HOL: Higher Order Logic Theorem Prover (HOL4). https://hol-theorem-prover.org/about ↩︎ ↩︎ ↩︎

  40. CakeML: A Verified Implementation of ML. https://cakeml.org/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  41. CakeML Verified Compiler and Proof Source. https://github.com/CakeML/cakeml ↩︎ ↩︎ ↩︎

  42. HOL Light Theorem Prover. https://hol-light.github.io/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  43. AWS s2n-bignum: Verified Cryptographic Arithmetic. https://github.com/awslabs/s2n-bignum/ ↩︎ ↩︎

  44. F*: A Proof-Oriented Programming Language. https://fstar-lang.org/tutorial/book/intro.html ↩︎ ↩︎ ↩︎ ↩︎

  45. F*: Verifying Imperative Programs with Functional Programming. https://fstar-lang.org/tfp2019/tfp2019.html ↩︎ ↩︎ ↩︎

  46. Project Everest: Verified Systems Software. https://project-everest.github.io/ ↩︎ ↩︎ ↩︎ ↩︎

  47. VeriGuard: Enhancing LLM Agent Safety via Verified Code Generation. https://arxiv.org/abs/2510.05156 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  48. SENTINEL: A Multi-Level Formal Framework for Safety Evaluation of LLM-based Embodied Agents. https://arxiv.org/abs/2510.12985 ↩︎ ↩︎ ↩︎ ↩︎

  49. PRISM Manual. https://prismmodelchecker.org/manual/Main/AllOnOnePage ↩︎ ↩︎ ↩︎

  50. Cedar Policy Language, official project website. https://cedarpolicy.com/ ↩︎

  51. AWS, Why Policy in Amazon Bedrock AgentCore Chose Cedar for Securing Agentic Workflows. https://aws.amazon.com/blogs/security/why-policy-in-amazon-bedrock-agentcore-chose-cedar-for-securing-agentic-workflows/ ↩︎

  52. Microsoft, Online Z3 Guide. https://microsoft.github.io/z3guide/docs/logic/intro/ ↩︎

  53. cvc5: Proof Production. https://cvc5.github.io/docs/latest/proofs/proofs.html ↩︎

  54. FVEL Research Project and Dataset. https://fveler.github.io/ ↩︎ ↩︎ ↩︎ ↩︎

  55. seL4 Verified Configurations. https://docs.sel4.systems/projects/sel4/verified-configurations.html ↩︎ ↩︎

  56. Vehicle Tutorial and documentation. https://vehicle-lang.github.io/tutorial/ ↩︎