Definition
Conservative refusal is the rule that a checker, a component that decides whether an input such as a program or an update may run, says no whenever it cannot establish the required property. The checker refuses in two situations: it found a violation, or it could not decide, because an instruction was unsupported, a needed fact could not be derived or a resource limit ran out. The rule errs toward safety: it may refuse a safe input, but it never admits an input merely because no problem was found.
The idea
A device receives an update to one of its programs, and the update repairs a bug. Before the device runs the new program, its verifier must show that every memory access stays in bounds. The verifier explores the program’s paths, but a loop creates more paths than its budget of steps allows, and the verifier stops before it finishes. It has found no error. It also has not shown that there is none.
Admitting the program would turn “not known” into “safe”: the fail open §1.14 choice. Refusing keeps the device’s safety property §1.11 intact, but the repair does not arrive. Conservative refusal chooses lost function over lost safety; it is the fail closed §1.13 choice applied to a checker’s verdict. That choice has two costs that the system’s designers must handle explicitly. One cost falls on availability §1.10: the system must still do something sensible without the refused input. The other cost falls on measurement: refused inputs must stay visible in every count and report.
A bank that pays a check only when it can verify the signature works the same way. A smudged signature means no payment, even when the signature is genuine; the bank never pays merely because it found nothing wrong. The analogy stops at what happens next. The customer can return with identification. An automatic gate has a second route only if its designers built one: a stronger checker, a simpler version of the program, or a person authorized to decide.
How it works
A conservative gate works in five steps.
Check within limits. The checker runs with an explicit budget of steps, time and memory. A limit is needed because many verification questions cannot be decided for every program §19.2.2, and others suffer state explosion §3.26, a number of paths that grows exponentially with the size of the program. Without a limit the checker itself might never finish.
Classify the result. Every run ends in exactly one of three outcomes. Proved: every required check succeeded. Violation: the checker found an execution, within its model of the program, that breaks the property, and it can show that execution. Unknown: any other ending, such as an unsupported instruction (the Undefined versus unsupported semantics §3.35 entry), a fact the analysis could not derive, or an exhausted budget. The checker records the reason with the outcome.
Admit only on proved. Violation and unknown both lead to refusal, with different recorded reasons.
Honor the refusal everywhere. No other route runs the refused input: no debugging switch, no option that skips verification, no older code path that loads programs without the gate. The refusal leaves no partial effect, so nothing from the refused input has been installed, stored as active or executed before the decision.
Take the designed fallback. The system does what its designers chose for a refusal: it keeps the last-known-good state §8.25, meaning the most recent version that was admitted; it returns an explicit error to the sender; or it continues in a reduced mode. The checker does not make this choice. The system’s availability requirements do.
A checker that refuses every safe input it cannot decide is still sound: soundness §3.7 only forbids admitting an unsafe input. What conservative refusal gives up, in part, is completeness §3.8, the property of admitting every safe input. Every unknown outcome on a safe input is a gap in completeness, and the costs to availability and to measurement grow with that gap.
Worked example
A benchmark submits 20 programs to a verifier. In this teaching example the true status of each program is known: 16 programs are safe and 4 are unsafe. The verifier, which is sound, reports 12 proved, 3 violations with a failing execution for each, and 5 unknown: 4 because the step budget §2.32 ran out and 1 because of an unsupported instruction. The total is . Since the verifier is sound, all 12 proved programs are safe, so the unknown group holds safe programs. It also holds unsafe program that the verifier did not catch; that program is refused all the same, as unknown.
Four ways of reporting the same run show what the three outcomes protect.
Correct: 12 of 20 programs admitted, an acceptance rate of , with 3 violations and 5 unknowns listed by reason.
Refused cases dropped: if the 5 unknowns vanish from the table, the rate becomes . Nothing about the verifier changed; only the denominator shrank.
Unknowns counted as bugs: the report claims unsafe programs caught, but only 4 programs are unsafe, and the verifier demonstrated 3 of them.
Unknowns counted as safe: the report admits programs, one of them unsafe. That is the fail open error.
The costs are concrete. For availability: 4 of the 16 safe programs were refused, which is of the safe programs. If one of those 4 is the repair from the opening situation, the device runs without the repair until the checker or the program changes. For experimental coverage: if execution time §9.32 is measured only on the 12 admitted programs, the measurements describe 12 of the 20 programs. Programs that exhaust a step budget are typically those with the most paths, so the measurements under-represent programs with complex control flow. Drawing conclusions only from the inputs that passed a filter is survivorship bias §11.30.
Stated precisely
Let be the property the gate must establish, and let be the checker’s verdict for input , one of , and . Conservative refusal is the following contract.
Soundness of proved: if , then every execution of that the checker’s semantics allows satisfies .
Evidence for violation: if , the checker exhibits an execution of , allowed by its semantics, that breaks .
No claim from unknown: says nothing about whether satisfies .
Admission: is admitted if and only if .
No bypass: no path in the system runs unless was admitted.
No effect from refusal: after a refusal, the system’s state is the state before arrived, apart from records of the refusal.
Full reporting: let , and be the numbers of proved, violation and unknown verdicts among inputs. Then , and every reported rate states its denominator.
The contract keeps true for every admitted input under one assumption: the checker’s semantics, its definition of what each instruction does, matches what the runtime really does. If the runtime executes an instruction differently from the checker’s model, a proved verdict covers the model, not the runtime.
Limits and common mistakes
Refusal is conservative only for the property the checker checks. It protects that property and costs availability, which is a different property. Calling a refusal “safe” without naming the property hides the trade.
The refusal path must itself be safe. A refusal after part of the new program was installed, or a fallback that runs the old program with the new program’s data, creates a failure that the checker never examined. Check first, then act.
Unknown is neither a bug report nor a pass. Calling an unknown a bug blames the input for the checker’s limit; calling an unknown safe is the fail open error.
Results depend on the limits. Raising the step budget turns some unknowns into proved or violation, so a reported acceptance rate means little without the budget it was measured with.
Refusal can be turned against the system. If checking is expensive and an attacker can submit inputs, each submission can consume a full budget of checker time: a denial of service §1.28 against the checker. A budget bounds the cost of one submission, not of many; a limit on the rate of submissions bounds the rest.
Refusal can be part of a proved guarantee. The correctness theorem of the C compiler CompCert, whose main passes are proved correct, covers only programs that the compiler compiles without reporting an error. Its manual notes that the compiler may refuse a program, for example when the compiler’s internal capacity is exceeded. A refusal keeps the theorem true and produces no code.
Raising acceptance by weakening the checker is not progress. A better proof method, a program restructured so that the checker can decide it, or a precise rule for an unsupported instruction reduces the unknowns without admitting anything unproved.
Questions answered
When does refusal harm availability or experimental coverage?
Refusal harms availability whenever the refused input is legitimate and the system needs it to keep providing its service: for example, a repair, a security fix or a required configuration change that the checker refused because it could not decide, not because it found a fault. The harm is largest when no fallback keeps the service running, as when the refusal happens at start-up and no previously admitted version exists, or when a refusal stops a service that was already running instead of leaving the last admitted version in place.
Refusal harms experimental coverage whenever refused inputs disappear from an evaluation. Measurements taken only on admitted inputs describe the inputs the checker could handle, which tend to be the smaller and simpler ones, and rates computed without the refused inputs in the denominator look better than they are. If 12 of 20 programs are admitted and the 5 refused as unknown are dropped from the table, the acceptance rate rises from to without any change to the checker.
The remedy is never to admit what was not proved. It is to report all three outcomes (proved, violation, unknown) with reasons and full denominators, to keep a fallback such as the last admitted version, and to improve the checker or the program until the unknown cases are decided.
Related entries: Completeness (§3.8), Fault-to-verdict mapping (§2.34), Liveness property (§1.12), Fail closed (§1.13), Fail open (§1.14), Positive evidence, unknown state, and absence of evidence (§19.3.5), Last-known-good state (§8.25), Survivorship bias (§11.30), Instruction budget (fuel) (§2.32), Undefined versus unsupported semantics (§3.35). Further reading: [72].