Section 17.23

Turn a research claim into a falsifiable question

Question

How do you defend a broad claim without overstatement?

Short answer

Defend a broad claim by replacing it with a precise statement that an observation could prove false. Name the observable property, the domain it covers (inputs, workloads, configurations, attacker capabilities), the assumptions, and the observation that would refute it. Then give the evidence for each part, labeled by kind: a proof, an exhaustive check, a sample measurement or a rule that the system enforces. Report failures and exclusions, and say what remains untested. The claim is defended when it survives serious attempts to refute it within its stated domain.

Terms in the question

Full answer

Step 1: replace the adjective with a property. The property must be observable or provable. “Fast” becomes “completes within 10 ms” or “has a median §11.13 completion time of 2 ms”. “Secure” becomes, for example, “installs no update that is not signed with key KK”.

Step 2: state the domain. List the inputs, workloads, hardware, configurations and phases of operation that the claim covers, and the capabilities of the attacker. Outside that domain the claim is neither supported nor refuted, because nothing there was examined. A claim about authorization §1.7, for instance, names the party making a request, the object, the action, the state of the system, the phase of its life (starting up, running normally, in the middle of an update) and what counts as a failure. A counterexample must then fall inside that domain: a party without the right, acting in a covered state, that achieves the forbidden effect.

Step 3: state what would refute the claim. One valid counterexample refutes a universal claim. Valid means that the case lies inside the domain and was measured correctly. No number of passing cases proves a universal claim, because “every case passes” does not follow from “these cases passed”; the next case may fail. This asymmetry is the reason to name the refuting observation in advance: it shows that the claim says something, and it tells anyone who checks the claim what evidence would count against it.

Step 4: match each part of the claim to the kind of evidence that can carry it, and label it.

Step 5: report everything that bears on the claim. Report failures, and report each excluded case with its reason. Exclusion rules must be written down before the results are seen, in an analysis plan §13.17. Report what was not tested. Write “not observed” where nothing was observed, never “impossible”.

Step 6: present the result as an argument. An assurance case §10.41 is a structured argument that links a top claim to sub-claims, and each sub-claim to its evidence and assumptions. Answer a challenge by naming the sub-claim it attacks and the evidence for that sub-claim, or by conceding the gap plainly. A conceded gap with a stated scope is a stronger position than an overstatement that one valid counterexample can refute.

Worked example

Claim CC: every eligible request under workload WW completes within 10 ms. A request is eligible when it belongs to WW and its measurement passed the checks declared in advance.

Data set 1. Of 10,000 eligible requests, 9,999 completed within 10 ms, and one took 11 ms, measured correctly. Because 11>1011 > 10, claim CC is false, and the 9,999 faster requests do not change that. A defensible statement is: “Of 10,000 eligible requests under WW on this hardware, 9,999, which is 9,999/10,000=99.99%9{,}999 / 10{,}000 = 99.99\%, completed within 10 ms; the largest observed time was 11 ms.” This statement describes a sample. It is not a bound.

Data set 2. All 10,000 eligible requests completed within 10 ms. Claim CC is still not proved. Assume that requests are independent and that each exceeds 10 ms with the same unknown probability pp. The probability of seeing no exceedance in nn requests is (1−p)n(1 - p)^n. The largest pp that still gives this outcome a probability of at least 0.05 solves (1−p)n=0.05(1 - p)^n = 0.05, so p=1−0.051/np = 1 - 0.05^{1/n}. For n=10,000n = 10{,}000 this is p≈0.0002996p \approx 0.0002996, close to 3/n=0.00033/n = 0.0003. The shortcut 3/n3/n is called the rule of three §18.5.8; it works because −ln0.05≈2.996-\ln 0.05 \approx 2.996, where ln\ln is the natural logarithm. The defensible statement: no exceedance in 10,000 requests, and with 95% confidence the probability of an exceedance is below 0.03%, assuming independent, identically distributed requests.

Data set 3. A guard now cancels every request that reaches 10 ms. Of 10,000 requests, the guard canceled 37. The sentence “every completed request finished within 10 ms” is true by construction and says nothing about the system. The honest report: 10,000−37=9,96310{,}000 - 37 = 9{,}963 requests, which is 9,963/10,000=99.63%9{,}963 / 10{,}000 = 99.63\%, completed within 10 ms; 37 requests, 0.37%, were canceled at the limit, and their natural completion times are unknown. The statement that no request runs past 10 ms by more than the reaction time of the guard is an operational guarantee. It rests on the guard working, not on any measurement.

Follow-up questions and limits

May the 11 ms request be excluded to save the claim? Only if a rule written before the results were seen excludes it for a recorded reason, for example a failed check of the timing instrument. Excluding a case because it refutes the claim is overstatement in another form.

Is a proof always stronger than a measurement? A proof covers every case of its model and says nothing where the assumptions of the model fail, for example under a hardware fault or a compiler error. Its assumptions must be named.

Can every claim be refuted by a test? No. A safety property §1.11, which says that something bad never happens, is refuted by one finite run in which the bad thing happens. A liveness property §1.12, which says that something good eventually happens, is never refuted by a finite run, because the good thing may still come later. “Every request eventually completes” is therefore not falsifiable by testing; “every request completes within 10 ms” is. A finite successful run shows only that this run succeeded.

This answer does not cover the statistics of estimating rare long times, or the notations used to write assurance cases.

Fullest treatment: Scientific claim versus operational guard (§13.31).

Related entries: Assurance case (§10.41), Assumption versus guarantee (§1.36), Causal inference (§11.11), Worst-case execution time (WCET) (§9.33), Security claim scope (§1.45), Analysis plan (§13.17), Zero observed failures and the rule of three (§18.5.8), Safety property (§1.11), Liveness property (§1.12).