FVO — Formal Verification Online
Lesson 16.3 · Advanced Abstraction Techniques

Localization abstraction and CEGAR

Even after you reduce the cone of influence, a property's cone often contains thousands of flops that do not matter for it. Localization abstraction cuts most of them automatically: the tool starts with a small piece of logic close to the property and turns everything at the boundary into free inputs.

The refinement loop (CEGAR)

abstractkeep a small conemodel checkproofPROVENCEXreplay onreal designrealBUGspurious: add the logic that rules it out
Counterexample-guided abstraction refinement: only the logic needed to kill spurious counterexamples is ever added back.

Commercial tools do this internally and report, for example, "proven with 212 of 18,400 flops". Two practical consequences:

  • A proof that needs only a small part of the design is fast — and its proof core (the logic actually used) is a coverage metric: logic outside every proof core was not needed by any assertion (Chapter 11).
  • When the loop does not converge, the tool's report of which flops it kept adding is a strong hint about what helper invariant or manual cut point is missing.

Doing it by hand

The same idea works manually: cut a large sub-block, run, and inspect each counterexample. If it relies on something the real sub-block cannot do, either restore that part of the logic or add a small assumption describing the real behaviour — and then prove that assumption on the sub-block. You are running CEGAR with yourself as the refinement engine.

Discussion

No comments yet.

Was this page helpful?

Tip: select any text on the page before clicking Report and it will be quoted in your report.