Optimization Techniques For Craig Interpolant Compaction In Unbounded Model Checking
Danilo Vendraminetto
PhD student at Formal Methods Group, Politecnico di Torino, Torino, Italy. Alpine Verification Meeting 2013, FBK, Trento, Italy.
Interpolant Compaction In Unbounded Model Checking Danilo - - PowerPoint PPT Presentation
Alpine Verification Meeting 2013, FBK, Trento, Italy. Optimization Techniques For Craig Interpolant Compaction In Unbounded Model Checking Danilo Vendraminetto PhD student at Formal Methods Group, Politecnico di Torino, Torino, Italy. Before
PhD student at Formal Methods Group, Politecnico di Torino, Torino, Italy. Alpine Verification Meeting 2013, FBK, Trento, Italy.
3
Motivations & background
Hardware designs verification Craig Interpolants in MC ITP size compaction & scalability
Contributions
Redundancy removal and reduction of
UNSAT proofs Craig interpolants
Heuristic procedure for scalable ITP compaction
Experimental results & Conclusions
4
Can ITPs compete with IC3 ? Main limitations of ITP
BMC-based model (vs. cube/clause-based reachability) ITPs are highly redundant
5
Can ITPs compete with IC3 ? Main limitations of ITP
BMC-based model (vs. cube/clause-based reachability) ITPs are highly redundant
6
Gianpiero Cabodi - IBM2011
7
A A’ A’B = 0 A’ refers only to common variables of A,B
Given a resolution refutation of AB A' is derived in linear time and space
8
Over-approximation Variable quantification
A: From T (FWD) B: paths to failure states (BWD) A’: over-approx image
9
10
11
12
13
14
15
16
17
18
19
20
21
22
computed by adequate IMG+ do not intersect BWD reachable states
23
Resolution
graph
AND-OR
circuit
24
Resolution
graph
AND-OR
circuit
25
C1 (1 2 3) C2 (-2 4) C3 (1 3 4) C4 (-1 -2 5) C6 (2 6) C5 (-2 3 4 5) C7 (3 4 5 6) C1 (1 2 3) C2 (-2 4) C3 (1 3 4) C4 (-1 -2 5) C6 (2 6) C5 (-2 3 4 5) C7 (3 4 5 6)
C1 (1 2 3) C2 (-2 4) C3 (1 3 4) C4 (-1 -2 5) C6 (2 6) C5 (-2 3 4 5) C7 (3 4 5 6) C2 (-2 4) C3 (-2 4) C6 (2 6) C5 (-2 4) C7 (4 6)
RL = {-2 1} RL = {-2}
RL denotes the Removable-Literals
26
27
28
Simpler data structure for proof reduction algorithms
Constant propagation BDD-based sweeping (for equivalences) Observability Don’t Care (lightweight)
29
ODC (lightweight) Logic synthesis
rewrite / refactor, using ABC tool AIG balance
ITE-based decomposition (iff necessary)
30
don’t-care set
31
care set
32
33
34
35
MUX 1 X Ni ITP1 ITP0 ITP
36
37
State-of-the-art academic Model Checker HWMCC ’07 to ‘12
200 400 600 800 1000 1200 Time [s] Circuit name Best Opt Time Std Itp Time
39
Scalable techniques, applied incrementally
Hard-to-prove properties (hard for IC3) Explosion of standard interpolation Can afford extra time (for memory)
40