Skip to content
STIMSMITH

Counterexample Generation

Concept

Counterexample generation is the process, illustrated in UCLID5-based formal verification, of turning a satisfiable negated verification condition into a concrete sequence of model actions that violates the intended property. Such counterexamples help diagnose design errors, modeling inaccuracies or over-abstraction, and incorrectly stated verification conditions.

First seen 5/26/2026
Last seen 5/26/2026
Evidence 1 chunks
Wiki v1

WIKI

Definition

Counterexample generation occurs when a formal verification workflow checks a verification condition by asking an SMT solver to satisfy the negation of the desired property, and the solver returns that the formula is satisfiable. In the UCLID5 workflow described in the evidence, the solver supplies concrete values for all data elements in the formula, including uninterpreted functions, and UCLID5 uses those values to construct a counterexample: a sequence of actions that could occur in the model and violate a verification condition. [counterexample-generation-from-satisfiability]

Role in a UCLID5 verification flow

READ FULL ARTICLE →

NEIGHBORHOOD

No graph connections found for this entity yet. It may appear in future ingestion runs.

explore full graph →

RELATIONSHIPS

1 connections
UCLID5 ← introduces 100% 1e
When a verification condition fails, UCLID5 generates a counterexample showing a sequence of actions that violate the condition.