Formal Verification · All levels
Reading and Debugging Counterexample Traces: Step-by-Step Walkthrough
Step-by-Step Walkthrough for Reading and Debugging Counterexample Traces.
Step-by-step analysis walkthrough
Use this sequence when owning Reading and Debugging Counterexample Traces in a formal review.
Confirm trigger reachability and non-vacuous evaluation.
Inspect first-cycle divergence and classify failure source.
Check reset/fairness/assumption interactions before editing RTL.
Apply smallest reversible fix in model or implementation.
Re-run sibling properties and cover goals for collateral impact.
Archive decision with owner and residual-risk statement.
Artifacts to collect
formal closure packet: assumptions audit, proof status matrix, counterexample classification, and requirement traceability
counterexample replay package
assumption traceability matrix
vacuity and cover dashboard snapshot
post-fix closure trend report
Decision memo template
COUNTEREXAMPLE MEMO
first divergence:
model vs rtl classification:
assumption impact:
fix candidate:
sibling property impact:
owners:Formal deep dive
Formal methodology scales when ownership, triage policy, and CI automation are explicit and stable.
Concept diagram
METHODOLOGY LOOP
plan -> run in CI -> triage -> fix -> revalidate -> signoff dashboardMetric graph
FLOW MATURITY SIGNALS
triage latency ████
reopened proofs ███
deterministic closure ███████Metrics and artifacts to collect
requirement matrix freshness
counterexample turnaround SLA
inconclusive aging by risk tier
reopened proof trend after RTL churn
Mini case study
Integrating formal into daily CI cut reopened-property surprises near release by enforcing vacuity and waiver policies.
Debug branches
Start debug at first semantic divergence cycle.
Tag every failure with owner and risk tier immediately.
Automate stale inconclusive and vacuity alerts.
Senior review question
Ask: which requirement intent is proven, under which assumptions, and what residual risk remains?
Key takeaways
Tie each proof claim to assumption boundaries and reachability evidence.
Prefer minimal reversible fixes and preserve legal behavior visibility.
Common pitfalls
Treating runtime reduction as proof-quality improvement without audits.
Declaring closure while critical covers remain unreachable.
Using broad waivers instead of first-divergence root-cause ownership.
Principal formal review addendum
Reading and Debugging Counterexample Traces should be reviewed as a requirement-evidence workflow, not a single status report.
Use non-vacuous closure rate, counterexample turnaround time, and requirement-level residual risk trend as the monitoring lens and formal closure packet: assumptions audit, proof status matrix, counterexample classification, and requirement traceability as closure proof.
Methodology scales formal from expert activity to repeatable organizational quality gate. Strong teams preserve legal reachability while improving convergence.