1 / 25

Interpolation-Sequence Based Model Checking

Yakir Vizel 1,2 and Orna Grumberg 1. Interpolation-Sequence Based Model Checking . Computer Science Department, The Technion , Haifa, Israel. Architecture, System Level and Validation Solutions, Intel Development Center, Haifa, Israel. Outline. Introduction Model checking

Download Presentation

Interpolation-Sequence Based Model Checking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Yakir Vizel1,2 and Orna Grumberg1 Interpolation-Sequence Based Model Checking Computer Science Department, The Technion, Haifa, Israel. Architecture, System Level and Validation Solutions, Intel Development Center, Haifa, Israel Formal Methods in Computer Aided Design, Austin, Texas 2009

  2. Outline • Introduction • Model checking • Forward Reachability Analysis • Bounded Model Checking • Interpolation • Interpolation • Interpolation-Sequence • Interpolation-Sequence Based Model Checking • Experimental Results Formal Methods in Computer Aided Design, Austin, Texas 2009

  3. Introduction Formal Methods in Computer Aided Design, Austin, Texas 2009

  4. Model Checking • Given a system and a specification, does the system satisfy the specification. System AGq MC ? • The specification is given in temporal logic – e.g. LTL. • We deal with specifications of the form AGq. Formal Methods in Computer Aided Design, Austin, Texas 2009

  5. Forward Reachability Analysis …… Sn S2 BAD ¬q S1 INIT Formal Methods in Computer Aided Design, Austin, Texas 2009

  6. Bounded Model Checking • Does the system have a counterexample of length k? . . . Formal Methods in Computer Aided Design, Austin, Texas 2009

  7. A Bit of Intuition S3 S2 S1 INIT BAD ¬q I3 I1 I2 INIT Formal Methods in Computer Aided Design, Austin, Texas 2009

  8. Interpolation Formal Methods in Computer Aided Design, Austin, Texas 2009

  9. Interpolation In The Context of Model Checking • Given the following BMC formula. A B I Formal Methods in Computer Aided Design, Austin, Texas 2009

  10. Interpolation-Sequence • The same BMC formula partitioned in a different manner: A1 Ak+1 A2 A3 Ak I1 I2 I3 Ik-1 Ik Formal Methods in Computer Aided Design, Austin, Texas 2009

  11. Interpolation-Sequence (2) • Can easily be computed. For 1 ≤ j < n • A = A1Ù … Ù Aj • B = Aj+1 Ù … Ù An • Ijis the interpolant for the pair (A,B) Formal Methods in Computer Aided Design, Austin, Texas 2009

  12. Interpolation-Sequence Based Model Checking Formal Methods in Computer Aided Design, Austin, Texas 2009

  13. Using Interpolation-Sequence I1,1 I1 I1,2 I2,2 Formal Methods in Computer Aided Design, Austin, Texas 2009

  14. Combining Interpolation-Sequence and BMC • A way to do reachability analysis using a SAT solver. • Uses the original BMC loop and adds an inclusion check for full verification. • Similar sets to those computed by Forward Reachability Analysis but over-approximated. Formal Methods in Computer Aided Design, Austin, Texas 2009

  15. Computing Reachable States with a SAT Solver • Use BMC to search for bugs. • Partition the checked BMC formula and extract the interpolation sequence I1,N IN-1,N IN,N I2,N Formal Methods in Computer Aided Design, Austin, Texas 2009

  16. The Analogy to Forward Reachability Analysis S3 S2 S1 INIT BAD ¬q I3 I2 I1 I1 I2 INIT I1,3 I2,3 I3,3 I1,1 I1,2 I2,2 Formal Methods in Computer Aided Design, Austin, Texas 2009

  17. McMillan’s Method • The computation itself is different. • Uses basic interpolation. • Successive calls to BMC for the same bound. • Not incremental. • The sets computed are different. J1 I1 S1 Formal Methods in Computer Aided Design, Austin, Texas 2009

  18. Experimental Results Formal Methods in Computer Aided Design, Austin, Texas 2009

  19. Experimental Results • Experiments were conducted on two future CPU designs from Intel (two different architectures/tocks) Formal Methods in Computer Aided Design, Austin, Texas 2009

  20. Experimental Results - Falsification Formal Methods in Computer Aided Design, Austin, Texas 2009

  21. Experimental Results - Verification Formal Methods in Computer Aided Design, Austin, Texas 2009

  22. Experiments Results - Analysis Formal Methods in Computer Aided Design, Austin, Texas 2009

  23. Analysis • False properties is always faster. • True properties – results vary. Heavier properties favor ISB where the easier favor IB. • Some properties cannot be verified by one method but can be verified by the other and vise-versa. Formal Methods in Computer Aided Design, Austin, Texas 2009

  24. Conclusions • A new SAT-based method for unbounded model checking. • BMC is used for falsification. • Simulating forward reachability analysis for verification. • Method was successfully applied to industrial sized systems. Formal Methods in Computer Aided Design, Austin, Texas 2009

  25. Questions? Thank You! Formal Methods in Computer Aided Design, Austin, Texas 2009

More Related