B8011: a check proved only with another random seed
Catalog status: active. Default severity: warning. Stable name: fragile-proof. Family: Warnings and assumptions.
A warning from proof, under a budget larger than the default (--proof-budget standard or more): the first search did not prove this check, and a retry with another of the solver's random seeds did. The check holds, but its proof is fragile: a change anywhere in the program, even one this check does not use, can make every seed miss it. The default budget, quick, makes no seed retries, so there the check is unproved instead (B5115).
Example (Vada)
procedure Insert (Container : in out List; Item : Integer)
with Post => (for some I in 1 .. Length (Container) => Element (Container, I) = Item);
-- B8011 when only a seed finds which I the postcondition meansExample (Varc)
fn insert(container: inout List, item: Integer)
ensures exists I in 1..=Length(container) => Element(container, I) == item;
// B8011 when only a seed finds which I the postcondition means
What to do
State the step the proof needs, so that the first search finds it: an assertion before the point, a lemma called there, or, for an existential (for some), the witness itself, such as a function that returns the index. --stability N measures how a proof stands up to such changes.
Regression source and further reading
See warnings and assumptions, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.