Formal verification will not certify a safety policy as correct. It makes the absence of certain defect classes demonstrable. That is worth having, but it is not the same as comprehensive correctness, and treating it as such sends teams one of two directions: pouring effort into proofs of properties that testing and calibration handle better, or skipping proofs exactly where mathematical reasoning would reduce risk that finite testing cannot reach.
The Properties a Policy Library Can Be Checked Against
Formal verification reasons mathematically about a model of the system and proves or disproves properties stated over that model. For a robot safety policy library, the properties that matter most are:
- Completeness: Does every reachable state get a defined response? A formally complete policy assigns some action to every reachable state, even if that action is the default controlled stop.
- Consistency: Do any two rules contradict each other? A pair that both applies in one state but prescribes different actions is a consistency defect. Runtime resolution falls back on priority, but the design still assumed a single rule would fire there.
- Monotonicity of safety properties: Starting from a safe state and following the policy, can the system reach an unsafe state in a finite number of compliant steps? A policy with this property cannot drift into unsafe territory through a chain of individually allowable commands.
All of this presupposes a formal model, which in turn presupposes a rule format the analysis can consume. Some formats model cleanly; others need expensive encoding before any proof is possible.
Model Checking Across a Policy Library
Model checking is automated: it walks the reachable state space exhaustively and checks whether a property holds everywhere. Pointed at a policy library, it can confirm completeness and consistency over finite abstractions of pose, workspace zone, and safety-relevant sensor readings.
State space explosion is the practical ceiling. Continuous joint space has to be abstracted into a discretization, and that granularity sets both how long the analysis takes and how strong the completeness claim is. A coarse abstraction that finishes in an hour can hide gaps a finer one would find, while a discretization fine enough to guarantee centimeter-level coverage may be computationally out of reach for a full arm with six or more joints.
In practice, analysis runs at the zone level: is the TCP in zone A, zone B, or in between? For each zone and task state, does the rule set stay complete and consistent? That scope is tractable and catches the gaps that matter most, the ones where a boundary crossing leaves no applicable rule or activates two conflicting ones. Finite scenario testing often misses exactly these, because no test case happens to land on the boundary where the gap lives.
Theorem Proving for the Hard Constraints
Theorem proving covers what model checking struggles with: continuous values and unbounded state sequences. For a force threshold rule, a proof can establish soundness, meaning a system that follows the rule keeps contact force under the target safety limit in every accessible configuration, given stated assumptions about sensor noise.
A machine-checkable proof of that kind costs real effort. Interactive provers make the engineer express the model and the proof strategy in the prover's language, which takes time and specialized skill. For most teams in early deployments, that rigor is not justified across an entire rule set. It is justified selectively, on the few rules where a derivation error carries the worst consequence. Force limit rules for the body regions with the highest injury risk are the obvious candidates.
What Deployment-Time Verification Cannot Reach
Formal verification proves things about the model. It does not prove things about the physical cell. Any property that depends on the model matching reality has to be established by measurement and calibration, not by proof.
A formally verified force rule, for instance, says nothing by itself about whether the arm will stay under the limit on site. The rule's parameters rest on sensor calibration, how the arm's configuration shapes force transmission, and the contact geometry against the specific body region at risk. Those are deployment-specific quantities, measurable only where the arm runs. The proof tells you the logic is internally consistent and covers the intended state space. It says nothing about whether the numbers in the rule are calibrated to the machine they govern.
Fitting Verification into the Policy Workflow
The practical place for formal checks is at review points, not on every incremental edit. When the core rule set gets a significant revision, sending it through a model checker for completeness and consistency is a manageable step that surfaces structural problems before deployment testing. Theorem proofs on critical rules make sense when the rules are first written and again when they change materially, giving the highest-consequence constraints documented assurance.
What comes out is documentation: what was checked, which properties were proved, and which abstractions and assumptions the proof rests on. That record belongs in the safety case, and it makes the assumptions explicit so they can be rechecked when they change. A maintained proof set tells the next engineer not just what holds, but what would invalidate it.
Where Proof Pays Off Early
An early-stage cobot deployment does not need formal verification across the board. Applied selectively, to rule categories with the highest consequence and the most tangled interactions, it buys documented correctness that no finite test campaign can supply on its own. For a collaborative arm working near people, force rules and stop-condition rules fit that description. Workspace rules, which are simpler and directly observable at commissioning, are usually better settled through physical testing and operational confirmation.