Formal Verification SE303 Conception des systèmes sur puces (SoC)
|
|
- Melina Davis
- 5 years ago
- Views:
Transcription
1 Formal Verifiation SE33 Coneption des systèmes sur pues (SoC) Ulrih Kühne 29//27
2 Outline Introdution Short History of Hardware Failures Design and Verifiation Proess Funtional Verifiation Ciruit Models Linear Time Logi (LTL) Computation Tree Logi (CTL) Model Cheking Equivalene Cheking Prolem Formulation Boolean Satisfiaility 2/42 SE33 Ulrih Kühne 29//27
3 Motivation 3/42 SE33 Ulrih Kühne 29//27
4 Motivation [Soure: 4/42 SE33 Ulrih Kühne 29//27
5 Motivation [ CC photo y mark.sze ] Transistor ount of > 3 illion Gate level models are huge Big designer teams (several hundreds) Big orretness issues Late ugs are extremely expensive 5/42 SE33 Ulrih Kühne 29//27
6 Motivation The First Bug (947) [ Photo: U.S. Naval Historial Center ] 6/42 SE33 Ulrih Kühne 29//27
7 Motivation The Pentium FDIV Bug (994) let x = , y = x x y = 256 y Bug in floating point unit $ 45 Mio. loss for Intel 82 Chipset MTH Bug (2) Error in memory translator hu Reall of around Mio. motheroards $ 253 Mio. finanial loss Intel i6/i7 (Skylake) Hyperthreading Bug (27) Speifi operating onditions ause unpreditale ehavior Found y Linux/OCaml developers 7/42 SE33 Ulrih Kühne 29//27
8 Hardware Design Flow Req. eng., modeling Design Spae expl., partitioning Implementation, refinement Synthesis Plae & route Manufaturing Speifiation Eletr. System Lvl. Transation Lvl. Register Transfer Lvl. Netlist Layout Chip Natural language UML, SysML, Matla,... C, C++, SystemC,... VHDL, Verilog,... Gate models Geometri, eletr. models Silion 8/42 SE33 Ulrih Kühne 29//27
9 Hardware Verifiation Flow Model Driven Eng. Performane Evaluation Coverage Model Cheking Deugging Roustness Speifiation Eletr. System Lvl. Transation Lvl. Register Transfer Lvl. Netlist Layout Chip NLP Tehniques High Lvl. Synth. Conf. Cheking Equiv. Cheking ATPG Diagnosis 9/42 SE33 Ulrih Kühne 29//27
10 Design Gap Verifiation Gap manufature # Transistors verify design Years /42 SE33 Ulrih Kühne 29//27
11 Outline Introdution Short History of Hardware Failures Design and Verifiation Proess Funtional Verifiation Ciruit Models Linear Time Logi (LTL) Computation Tree Logi (CTL) Model Cheking Equivalene Cheking Prolem Formulation Boolean Satisfiaility /42 SE33 Ulrih Kühne 29//27
12 Funtional Verifiation Dynami verifiation (= simulation) still standard tehnology Pentium 4 overall simulated yles < one minute at operation speed [Bentley, 25] Full overage is infeasile Inreasing use of formal methods 2/42 SE33 Ulrih Kühne 29//27
13 Sequential Ciruit Model I n k λ δ m k O Mealy Mahine: M = (I, O, S, S, δ, λ) δ : S I S λ : S I O S S Memory I = {, } n O = {, } m S = {, } k 3/42 SE33 Ulrih Kühne 29//27
14 From Verilog to Mealy Mahine module ount(clk, EN, CLR, S, S, S2, V); EN input CLK, EN, CLR; output reg S, S, S2; output V; assign V = S & S & S2 &!CLR & EN; EN EN EN EN EN EN CLR EN EN CLK) egin if (CLR) {S2, S, S} <= ; else if (EN) {S2, S, S} <= {S2, S, S} + ; end endmodule // ount EN EN/V EN EN EN EN EN 4/42 SE33 Ulrih Kühne 29//27
15 What do we want to verify? Safety Something ad will never happen, e.g. The stak pointer will never overflow The traffi lights will never e green at the same time Liveness Something good will eventually happen, e.g. Every request will e granted The ahe and the main memory will eventually e onsistent 5/42 SE33 Ulrih Kühne 29//27
16 How to speify suh properties? Temporal logi = propositional logi + time Disrete vs. ontinuous time Linear time view Branhing time view LTL CTL CTL 6/42 SE33 Ulrih Kühne 29//27
17 The Linear Time View Computation paths π :... π :... π 2 : /42 SE33 Ulrih Kühne 29//27
18 Linear Time Logi (LTL) p holds (in the initial state) p... p p holds in the next state p... X p p holds in the future p... F p p holds gloally p p p p... G p p holds until q p p q... p U q 8/42 SE33 Ulrih Kühne 29//27
19 Linear Time Logi (LTL) An LTL formula over propositional variales V has the form LTL ::= p, where p V ϕ ϕ ψ X ϕ F ϕ G ϕ ϕ U ψ, where ϕ, ψ LTL. 9/42 SE33 Ulrih Kühne 29//27
20 Branhing Time View Computation Tree /42 SE33 Ulrih Kühne 29//27
21 Computation Tree Logi (CTL) Some property p holds (in the initial state) p p holds in some next state p holds in all next states p p p p EX p AX p path quantifier next operator 2/42 SE33 Ulrih Kühne 29//27
22 Further Modalities p holds in some future state p holds eventually p holds gloally on some path p holds gloally on all paths p p p p p p p p p p p p p p EF p AF p EG p AG p 22/42 SE33 Ulrih Kühne 29//27
23 Until Modalities On some path, q holds until p holds q On all paths, q holds until p holds q q p q p E(p U q) p A(p U q) p 23/42 SE33 Ulrih Kühne 29//27
24 Computation Tree Logi (CTL) A CTL formula over propositional variales V has the form CTL ::= p, where p V ϕ ψ ϕ EX ϕ AX ϕ EF ϕ AF ϕ EG ϕ AG ϕ E(ϕ U ψ) A(ϕ U ψ), where ϕ, ψ CTL 24/42 SE33 Ulrih Kühne 29//27
25 What do we want to verify? Safety The stak pointer will never overflow AG (sp < 496) The traffi lights will never e green at the same time EF (tl tl 2 ) Liveness Every request will e granted The ahe and the main memory will eventually e onsistent AG (req AF gnt) AF (mem i = ahe i ) 25/42 SE33 Ulrih Kühne 29//27
26 Model Cheking Model Cheking Given a Mealy Mahine M and a CTL formula ϕ, hek if M = ϕ. How do we do this?. Compute all states in whih ϕ holds: τ(ϕ) = {s S M, s = ϕ} 2. Chek if the initial states are a suset of those states: S \ τ(ϕ) = 26/42 SE33 Ulrih Kühne 29//27
27 Example s s s 2 p τ(p) = {s 2, s 4, s 5 } p p s 3 s 4 s 5 27/42 SE33 Ulrih Kühne 29//27
28 Example s s s 2 p τ(p) = {s 2, s 4, s 5 } τ(ex p) = {s, s 2, s 3, s 5 } p p s 3 s 4 s 5 27/42 SE33 Ulrih Kühne 29//27
29 Example s s s 2 p τ(p) = {s 2, s 4, s 5 } τ(ex p) = {s, s 2, s 3, s 5 } τ(ax p) = {s, s 2, s 5 } p p s 3 s 4 s 5 27/42 SE33 Ulrih Kühne 29//27
30 Example s s s 2 p p p s 3 s 4 s 5 τ(p) = {s 2, s 4, s 5 } τ(ex p) = {s, s 2, s 3, s 5 } τ(ax p) = {s, s 2, s 5 } τ(ef p) = {s 2, s 4, s 5 } {s, s 3 } {s } Expansion rules: EF ϕ = ϕ EX EF ϕ 27/42 SE33 Ulrih Kühne 29//27
31 Example s s s 2 p p p s 3 s 4 s 5 Expansion rules: EF ϕ = ϕ EX EF ϕ AG ϕ = ϕ AX AG ϕ τ(p) = {s 2, s 4, s 5 } τ(ex p) = {s, s 2, s 3, s 5 } τ(ax p) = {s, s 2, s 5 } τ(ef p) = {s 2, s 4, s 5 } {s, s 3 } {s } τ(ag p) = {s 2, s 4, s 5 } {s 2, s 5 } 27/42 SE33 Ulrih Kühne 29//27
32 Fixed Point Algorithm for EF p... p S = p S = p EX p S 2 = p EX p EX EX p... S n = p n EX i p = S n i=... S n = τ(ef p) 28/42 SE33 Ulrih Kühne 29//27
33 Model Cheking Complexity depends heavily on state spae Need for effiient data strutures State spae explosion still a prolem Works for small to medium (or very regular) systems Popular tool: NuSMV [Cimatti et al., 22] Ongoing researh /42 SE33 Ulrih Kühne 29//27
34 Outline Introdution Short History of Hardware Failures Design and Verifiation Proess Funtional Verifiation Ciruit Models Linear Time Logi (LTL) Computation Tree Logi (CTL) Model Cheking Equivalene Cheking Prolem Formulation Boolean Satisfiaility 3/42 SE33 Ulrih Kühne 29//27
35 Equivalene Cheking Model Driven Eng. Performane Evaluation Model Cheking Speifiation Eletr. System Lvl. Transation Lvl. Register Transfer Lvl. Netlist NLP Tehniques High Lvl. Synth. Conf. Cheking Equiv. Cheking Layout Chip 3/42 SE33 Ulrih Kühne 29//27
36 Equivalene Cheking RTL Hardware synthesis is omplex Aggressive optimization Automati pipelining, retiming,... Tehnology mapping Tools are losed soure Does the netlist do what we think it does?? Netlist 32/42 SE33 Ulrih Kühne 29//27
37 Miter Struture a C? C 33/42 SE33 Ulrih Kühne 29//27
38 SAT Prolem Boolean Satisfiaility (SAT) Given a Boolean funtion f : {, } n {, } (in onjuntive normal form), is there an assignment X {, } n, suh that f (X) =? Conjuntive Normal Form A Boolean formula over variales X = {x... x n } is in onjuntive normal form if it is a onjuntion of lauses (l, l,2 l,m ) (l k, l k,mk ). A lause is a disjuntion of literals l = x i or l = x i for some x i X. NP-omplete prolem [Cook, 97] 34/42 SE33 Ulrih Kühne 29//27
39 Tseitin Transformation q p r s z (p q) r t z s p q t r z s t s p q (s p q) (p q s) ( s p q) ( (p q) s) ( s p q) (( p q) s) ( s p q) ( p s) ( q s) t r ( t r) (t r) z s t ( s t z) (s z) (t z) 35/42 SE33 Ulrih Kühne 29//27
40 How it Looks Like in Pratie... example iruit p nf ( s p q) ( p s) ( q s) ( t r)... 36/42 SE33 Ulrih Kühne 29//27
41 SAT-Based Equivalene Cheking Counterexample Prolem C C SAT Solver SAT CNF UNSAT 37/42 SE33 Ulrih Kühne 29//27
42 SAT-Based Equivalene Cheking Counterexample Prolem C C Prolem Enoding SAT Solver SAT CNF UNSAT 37/42 SE33 Ulrih Kühne 29//27
43 DPLL Algorithm DPLL Davis-Putnam-Logemann-Loveland [Davis et al., 962] Data: Set of lauses C DPLL(C) egin if all lauses satisfied then return SAT if C ontains empty lause then return UNSAT Propagate(); l ChooseLiteral(); return DPLL(C l) or DPLL(C l) 38/42 SE33 Ulrih Kühne 29//27
44 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
45 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
46 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
47 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
48 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
49 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
50 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
51 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
52 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
53 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
54 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
55 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
56 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
57 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
58 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
59 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
60 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
61 SAT Solving in a Nutshell ( a ) (a d) (a d) (a d) (a d) ( d) ( a ) ( a ) a 39/42 SE33 Ulrih Kühne 29//27
62 Advanements in SAT Solving 962: DPLL aktraking algorithm [Davis et al., 962] 996: Conflit learning [Silva and Sakallah, 996] 2: Loal searh, deision heuristis, engineering... Modern solvers handle millions of variales and lauses Popular solvers: MiniSAT Gluose Lingeling Extensions of SAT: Satisfiaility Modulo Theories (SMT) Quantified Boolean Formulae (QBF) Max-SAT 4/42 SE33 Ulrih Kühne 29//27
63 Summary Equivalene Cheking and SAT Verifying orretness of hardware synthesis Separation of verifiation prolem and deision engine Many more appliations in hardware & software verifiation Convenient and standardized APIs for ease of use Ative field of researh 4/42 SE33 Ulrih Kühne 29//27
64 Bounded Model Cheking =? ϕ [,k] I I I 2 I k S M M M 2... M k S k+ O O O 2 O k 42/42 SE33 Ulrih Kühne 29//27
65 Referenes I Bentley, B. (25). Validating a modern miroproessor. In Etessami, K. and Rajamani, S., editors, Computer Aided Verifiation, volume 3576 of Leture Notes in Computer Siene, pages 2 4. Springer Berlin Heidelerg. Cimatti, A., Clarke, E., Giunhiglia, E., Giunhiglia, F., Pistore, M., Roveri, M., Seastiani, R., and Tahella, A. (22). NuSMV Version 2: An OpenSoure Tool for Symoli Model Cheking. In Pro. International Conferene on Computer-Aided Verifiation (CAV 22), volume 244 of LNCS, Copenhagen, Denmark. Springer. Cook, S. (97). The omplexity of theorem proving proedures. In 3. ACM Symposium on Theory of Computing, pages Davis, M., Logemann, G., and Loveland, D. (962). A mahine program for theorem-proving. Commun. ACM, 5(7): /42 SE33 Ulrih Kühne 29//27
66 Referenes II Silva, J. a. P. M. and Sakallah, K. A. (996). Grasp a new searh algorithm for satisfiaility. In Proeedings of the 996 IEEE/ACM International Conferene on Computer-aided Design, ICCAD 96, pages , Washington, DC, USA. IEEE Computer Soiety. 44/42 SE33 Ulrih Kühne 29//27
An Efficient Sequential SAT Solver With Improved Search Strategies
An Effiient Sequential SAT Solver With Improved Searh Strategies F. Lu, M.K. Iyer, G. Parthasarathy, L.-C. Wang, and K.-T. Cheng K.C. Chen Department of ECE, Design Tehnology University of California at
More informationAnnouncements. Office Hours Swap: OH schedule has been updated to reflect this.
SA Solving Announements Offie Hours Swap: Zavain has offie hours from 4-6PM toay in builing 460, room 040A. Rose has offie hours tonight from 7-9PM in Gates B26B. Keith has offie hours hursay from 2-4PM
More informationFormal Verification by Model Checking
Outline Formal Verifiation by Model Cheking Natasha Sharygina Carnegie Mellon University Guest Letures at the Analysis of Software Artifats Class, Spring 2005 1 Leture 1: Overview of Model Cheking Leture
More informationFORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S)
Alessandro Artale (FM First Semester 2009/2010) p. 1/38 FORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S) Alessandro Artale Faulty of Computer Siene Free University of Bolzano artale@inf.unibz.it
More informationFrom SAT To SMT: Part 1. Vijay Ganesh MIT
From SAT To SMT: Part 1 Vijay Ganesh MIT Software Engineering & SMT Solvers An Indispensable Tactic for Any Strategy Formal Methods Program Analysis SE Goal: Reliable/Secure Software Automatic Testing
More informationSolvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011
Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber 15-414 Aug 31, 2011 Why study SAT solvers? Many problems reduce to SAT. Formal verification CAD, VLSI Optimization AI, planning, automated
More informationDigital Systems. Validation, verification. R. Pacalet January 4, 2018
Digital Systems Validation, verification R. Pacalet January 4, 2018 2/98 Simulation Extra design tasks Reference model Simulation environment A simulation cannot be exhaustive Can discover a bug Cannot
More informationSufficient Conditions for a Flexible Manufacturing System to be Deadlocked
Paper 0, INT 0 Suffiient Conditions for a Flexile Manufaturing System to e Deadloked Paul E Deering, PhD Department of Engineering Tehnology and Management Ohio University deering@ohioedu Astrat In reent
More informationTutorial 1: Modern SMT Solvers and Verification
University of Illinois at Urbana-Champaign Tutorial 1: Modern SMT Solvers and Verification Sayan Mitra Electrical & Computer Engineering Coordinated Science Laboratory University of Illinois at Urbana
More informationLecture 2: Symbolic Model Checking With SAT
Lecture 2: Symbolic Model Checking With SAT Edmund M. Clarke, Jr. School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 (Joint work over several years with: A. Biere, A. Cimatti, Y.
More informationVLSI CAD: Lecture 4.1. Logic to Layout. Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1
VLSI CAD: Logic to Layout Rob A. Rutenbar University of Illinois Lecture 4.1 Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1 Some Terminology Satisfiability (called SAT for
More informationModel Checking I. What are LTL and CTL? dack. and. dreq. and. q0bar
Model Checking I What are LTL and CTL? q0 or and dack dreq q0bar and 1 View circuit as a transition system (dreq, q0, dack) (dreq, q0, dack ) q0 = dreq and dack = dreq & (q0 + ( q0 & dack)) q0 or and D
More informationVerification using Satisfiability Checking, Predicate Abstraction, and Craig Interpolation. Himanshu Jain THESIS ORAL TALK
Verification using Satisfiability Checking, Predicate Abstraction, and Craig Interpolation Himanshu Jain THESIS ORAL TALK 1 Computer Systems are Pervasive Computer Systems = Software + Hardware Software/Hardware
More informationIntroduction to SAT (constraint) solving. Justyna Petke
Introduction to SAT (constraint) solving Justyna Petke SAT, SMT and CSP solvers are used for solving problems involving constraints. The term constraint solver, however, usually refers to a CSP solver.
More informationFinite-State Model Checking
EECS 219C: Computer-Aided Verification Intro. to Model Checking: Models and Properties Sanjit A. Seshia EECS, UC Berkeley Finite-State Model Checking G(p X q) Temporal logic q p FSM Model Checker Yes,
More informationEECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization
EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Discrete Systems Lecture: State-Space Exploration Stavros Tripakis University of California, Berkeley Stavros Tripakis:
More informationInternational Journal of Electronics and Computer Science Engineering 817. Available Online at ISSN
International Journal of Eletronis and Computer Siene Engineering 817 Available Online at www.ijese.org ISSN- 2277-1956 A Duly Synhronized, Straightforward Approah For Realizing the General Charateristis
More informationState-Space Exploration. Stavros Tripakis University of California, Berkeley
EE 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2014 State-Space Exploration Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE
More informationWHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008
WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT I LL TALK ABOUT Propositional Logic Terminology, Satisfiability, Decision Procedure First-Order Logic Terminology, Background Theories Satisfiability
More informationSolving SAT Modulo Theories
Solving SAT Modulo Theories R. Nieuwenhuis, A. Oliveras, and C.Tinelli. Solving SAT and SAT Modulo Theories: from an Abstract Davis-Putnam-Logemann-Loveland Procedure to DPLL(T) Mooly Sagiv Motivation
More informationPushdown Specifications
Orna Kupferman Hebrew University Pushdown Speifiations Nir Piterman Weizmann Institute of Siene une 9, 2002 Moshe Y Vardi Rie University Abstrat Traditionally, model heking is applied to finite-state systems
More informationTemporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.
EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016
More informationGenerating Linear Temporal Logic Formulas for Pattern-Based Specifications
Generating Linear Temporal Logic Formulas for Pattern-Based Specifications Salamah Salamah, Vladik Kreinovich, and Ann Q. Gates Dept. of Computer Science, University of Texas at El Paso El Paso, TX 79968,
More informationTwo-Level Minimization
Two-Level Minimization Logi Ciruits Design Seminars WS2010/2011, Leture 5 Ing. Petr Fišer, Ph.D. Department of Digital Design Faulty of Information Tehnology Czeh Tehnial University in Prague Evropský
More informationLOGIC PROPOSITIONAL REASONING
LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1
More informationIC3 and Beyond: Incremental, Inductive Verification
IC3 and Beyond: Incremental, Inductive Verification Aaron R. Bradley ECEE, CU Boulder & Summit Middle School IC3 and Beyond: Incremental, Inductive Verification 1/62 Induction Foundation of verification
More informationControl Theory association of mathematics and engineering
Control Theory assoiation of mathematis and engineering Wojieh Mitkowski Krzysztof Oprzedkiewiz Department of Automatis AGH Univ. of Siene & Tehnology, Craow, Poland, Abstrat In this paper a methodology
More informationSoftware Verification using Predicate Abstraction and Iterative Refinement: Part 1
using Predicate Abstraction and Iterative Refinement: Part 1 15-414 Bug Catching: Automated Program Verification and Testing Sagar Chaki November 28, 2011 Outline Overview of Model Checking Creating Models
More informationModal Horn Logics Have Interpolation
Modal Horn Logis Have Interpolation Marus Kraht Department of Linguistis, UCLA PO Box 951543 405 Hilgard Avenue Los Angeles, CA 90095-1543 USA kraht@humnet.ula.de Abstrat We shall show that the polymodal
More informationDesign Verification Overview
Design Verification Overview Testing & Verification Dept. of Computer Science & Engg,, IIT Kharagpur Pallab Dasgupta Professor, Dept. of Computer Science & Engg., Professor-in in-charge, AVLSI Design Lab,
More informationSAT-Based Verification with IC3: Foundations and Demands
SAT-Based Verification with IC3: Foundations and Demands Aaron R. Bradley ECEE, CU Boulder & Summit Middle School SAT-Based Verification with IC3:Foundations and Demands 1/55 Induction Foundation of verification
More informationModel Checking. Boris Feigin March 9, University College London
b.feigin@cs.ucl.ac.uk University College London March 9, 2005 Outline 1 2 Techniques Symbolic 3 Software 4 Vs. Deductive Verification Summary Further Reading In a nutshell... Model checking is a collection
More informationFormal Verification Methods 1: Propositional Logic
Formal Verification Methods 1: Propositional Logic John Harrison Intel Corporation Course overview Propositional logic A resurgence of interest Logic and circuits Normal forms The Davis-Putnam procedure
More informationFoundations of Artificial Intelligence
Foundations of Artificial Intelligence 31. Propositional Logic: DPLL Algorithm Malte Helmert and Gabriele Röger University of Basel April 24, 2017 Propositional Logic: Overview Chapter overview: propositional
More informationPropositional Logic: Evaluating the Formulas
Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere
More informationSAT-based Combinational Equivalence Checking
SAT-based Combinational Equivalence Checking Zhuo Huang zhuang@cise.ufl.edu Prabhat Mishra prabhat@cise.ufl.edu CISE Technical Report #05-007 Department of Computer and Information Science and Engineering,
More informationUndergraduate work. Symbolic Model Checking Using Additive Decomposition by. Himanshu Jain. Joint work with Supratik Chakraborty
Undergraduate work Symbolic Model Checking Using Additive Decomposition by Himanshu Jain Joint work with Supratik Chakraborty Organization of the Talk Basics Motivation Related work Decomposition scheme
More informationAppendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs
Appendix B Review of Digital Logic Baback Izadi Division of Engineering Programs bai@engr.newpaltz.edu Elect. & Comp. Eng. 2 DeMorgan Symbols NAND (A.B) = A +B NOR (A+B) = A.B AND A.B = A.B = (A +B ) OR
More informationLecture 9: The Splitting Method for SAT
Lecture 9: The Splitting Method for SAT 1 Importance of SAT Cook-Levin Theorem: SAT is NP-complete. The reason why SAT is an important problem can be summarized as below: 1. A natural NP-Complete problem.
More informationPractical SAT Solving
Practical SAT Solving Lecture 1 Carsten Sinz, Tomáš Balyo April 24, 2017 NSTITUTE FOR THEORETICAL COMPUTER SCIENCE KIT University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz
More informationPythagorean Triples and SAT Solving
Pythagorean Triples and SAT Solving Moti Ben-Ari Department of Science Teaching Weizmann Institute of Science http://www.weizmann.ac.il/sci-tea/benari/ c 2017-18 by Moti Ben-Ari. This work is licensed
More informationComputation Tree Logic
Computation Tree Logic Computation tree logic (CTL) is a branching-time logic that includes the propositional connectives as well as temporal connectives AX, EX, AU, EU, AG, EG, AF, and EF. The syntax
More informationAn instance of SAT is defined as (X, S)
SAT: Propositional Satisfiability 22c:45 Artificial Intelligence Russell & Norvig, Ch. 7.6 Validity vs. Satisfiability Validity: A sentence is valid if it is true in every interpretation (every interpretation
More informationSolving Quantified Verification Conditions using Satisfiability Modulo Theories
Solving Quantified Verification Conditions using Satisfiability Modulo Theories Yeting Ge, Clark Barrett, Cesare Tinelli Solving Quantified Verification Conditions using Satisfiability Modulo Theories
More informationNPTEL Phase-II Video course on. Design Verification and Test of. Dr. Santosh Biswas Dr. Jatindra Kumar Deka IIT Guwahati
NPTEL Phase-II Video course on Design Verification and Test of Digital VLSI Designs Dr. Santosh Biswas Dr. Jatindra Kumar Deka IIT Guwahati Module IV: Temporal Logic Lecture I: Introduction to formal methods
More informationMachine Learning and Logic: Fast and Slow Thinking
Machine Learning and Logic: Fast and Slow Thinking Moshe Y. Vardi Rice University Is Computer Science Fundamentally Changing? Formal Science vs Data Science We are at peak hype about machine learning and
More informationModel checking the basic modalities of CTL with Description Logic
Model checking the basic modalities of CTL with Description Logic Shoham Ben-David Richard Trefler Grant Weddell David R. Cheriton School of Computer Science University of Waterloo Abstract. Model checking
More informationSAT in Formal Hardware Verification
SAT in Formal Hardware Verification Armin Biere Institute for Formal Models and Verification Johannes Kepler University Linz, Austria Invited Talk SAT 05 St. Andrews, Scotland 20. June 2005 Overview Hardware
More informationA brief history of model checking. Ken McMillan Cadence Berkeley Labs
A brief history of model checking Ken McMillan Cadence Berkeley Labs mcmillan@cadence.com Outline Part I -- Introduction to model checking Automatic formal verification of finite-state systems Applications
More informationA Compact and Efficient SAT Encoding for Quantum Circuits
A Compact and Efficient SAT Encoding for Quantum Circuits Robert Wille Nils Przigoda Rolf Drechsler Institute of Computer Science University of Bremen 8359 Bremen Germany Cyber-Physical Systems DFKI Gmb
More informationExample: vending machine
Example: vending machine Release item after 15 cents are deposited Single coin slot for dimes, nickels o change Reset Coin Sensor Vending Machine FSM Open Release Mechanism Clock Spring 2005 CSE370 - guest
More informationRanking Verification Counterexamples: An Invariant guided approach
Ranking Verification Counterexamples: An Invariant guided approach Ansuman Banerjee Indian Statistical Institute Joint work with Pallab Dasgupta, Srobona Mitra and Harish Kumar Complex Systems Everywhere
More informationHardware Equivalence & Property Verification
Hardware Equivalence & Property Verification Introduction Jie-Hong Roland Jiang National Taiwan University Flolac 29 Flolac 29 3 Outline Motivations Introduction Motivations Systems to be verified Hardware
More informationIST 4 Information and Logic
IST 4 Information and Logi T = today x= hw#x out x= hw#x due mon tue wed thr fri 3 M 7 oh M 4 oh oh 2M2 2 oh oh 2 oh 28 oh M2 oh oh = offie hours 5 3 Mx= MQx out 2 oh 3 4 oh oh midterms oh Mx= MQx due
More informationQuantified Boolean Formulas Part 1
Quantified Boolean Formulas Part 1 Uwe Egly Knowledge-Based Systems Group Institute of Information Systems Vienna University of Technology Results of the SAT 2009 application benchmarks for leading solvers
More informationMODEL CHECKING. Arie Gurfinkel
1 MODEL CHECKING Arie Gurfinkel 2 Overview Kripke structures as models of computation CTL, LTL and property patterns CTL model-checking and counterexample generation State of the Art Model-Checkers 3 SW/HW
More informationComparison of Alternative Equivalent Circuits of Induction Motor with Real Machine Data
Comparison of Alternative Equivalent Ciruits of Indution Motor with Real Mahine Data J. radna, J. auer, S. Fligl and V. Hlinovsky Abstrat The algorithms based on separated ontrol of the motor flux and
More informationLinear Algebra, Boolean Rings and Resolution? Armin Biere. Institute for Formal Models and Verification Johannes Kepler University Linz, Austria
Linear Algebra, Boolean Rings and Resolution? Armin Biere Institute for Formal Models and Verification Johannes Kepler University Linz, Austria ACA 08 Applications of Computer Algebra Symbolic Computation
More informationSAT Solvers: Theory and Practice
Summer School on Verification Technology, Systems & Applications, September 17, 2008 p. 1/98 SAT Solvers: Theory and Practice Clark Barrett barrett@cs.nyu.edu New York University Summer School on Verification
More informationCSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/
Computer-Aided Reasoning for Software CSE507 courses.cs.washington.edu/courses/cse507/17wi/ Introduction Emina Torlak emina@cs.washington.edu Today What is this course about? Course logistics Review of
More informationVerification Using Temporal Logic
CMSC 630 February 25, 2015 1 Verification Using Temporal Logic Sources: E.M. Clarke, O. Grumberg and D. Peled. Model Checking. MIT Press, Cambridge, 2000. E.A. Emerson. Temporal and Modal Logic. Chapter
More informationModels. Lecture 25: Model Checking. Example. Semantics. Meanings with respect to model and path through future...
Models Lecture 25: Model Checking CSCI 81 Spring, 2012 Kim Bruce Meanings with respect to model and path through future... M = (S,, L) is a transition system if S is a set of states is a transition relation
More informationBoolean Satisfiability and Its Applications
Boolean Satisfiability and Its Applications FLOLAC 25 Chung-Yang (Ric) Huang/NTU 25.7.8/9 What can/should be covered in this topic? u Fundamentals of Boolean Satisfiability (SAT) u Techniques to improve
More informationCarry Look-ahead Adders. EECS150 - Digital Design Lecture 12 - Combinational Logic & Arithmetic Circuits Part 2. Carry Look-ahead Adders
EECS5 - Digital Design Leture 2 - Combinational Logi & Arithmeti Ciruits Part 2 Otober 3, 22 John Wawrzynek In general, for n-bit addition best we an ahieve is delay α log(n) How do we arrange this? (think
More informationFault Tolerant Variable Block Carry Skip Logic (VBCSL) using Parity Preserving Reversible Gates
Fault Tolerant Variable lok Carry Skip Logi (VCSL) using Parity Preserving Reversible Gates Md. Saiful Islam, M. M. Rahman*, Zerina egum, and M. Z. Hafiz Institute of Information Tehnology, University
More informationModel Checking with CTL. Presented by Jason Simas
Model Checking with CTL Presented by Jason Simas Model Checking with CTL Based Upon: Logic in Computer Science. Huth and Ryan. 2000. (148-215) Model Checking. Clarke, Grumberg and Peled. 1999. (1-26) Content
More informationCMSC 451: Lecture 9 Greedy Approximation: Set Cover Thursday, Sep 28, 2017
CMSC 451: Leture 9 Greedy Approximation: Set Cover Thursday, Sep 28, 2017 Reading: Chapt 11 of KT and Set 54 of DPV Set Cover: An important lass of optimization problems involves overing a ertain domain,
More informationModel Checking I. What are LTL and CTL? dack. and. dreq. and. q0bar
Model Checking I What are LTL and CTL? and dack q0 or D dreq D q0bar and 1 View circuit as a transition system (dreq, q0, dack) (dreq, q0, dack ) q0 = dreq dack = dreq and (q0 or (not q0 and dack)) q0
More informationSAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments. Lintao Zhang
SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments Requirements for SAT solvers in the Real World Fast & Robust Given a problem instance, we want to solve it quickly Reliable
More informationError Bounds for Context Reduction and Feature Omission
Error Bounds for Context Redution and Feature Omission Eugen Bek, Ralf Shlüter, Hermann Ney,2 Human Language Tehnology and Pattern Reognition, Computer Siene Department RWTH Aahen University, Ahornstr.
More informationAbstractions and Decision Procedures for Effective Software Model Checking
Abstractions and Decision Procedures for Effective Software Model Checking Prof. Natasha Sharygina The University of Lugano, Carnegie Mellon University Microsoft Summer School, Moscow, July 2011 Lecture
More informationTime Domain Method of Moments
Time Domain Method of Moments Massahusetts Institute of Tehnology 6.635 leture notes 1 Introdution The Method of Moments (MoM) introdued in the previous leture is widely used for solving integral equations
More informationArray Design for Superresolution Direction-Finding Algorithms
Array Design for Superresolution Diretion-Finding Algorithms Naushad Hussein Dowlut BEng, ACGI, AMIEE Athanassios Manikas PhD, DIC, AMIEE, MIEEE Department of Eletrial Eletroni Engineering Imperial College
More informationStatistical physics analysis of the computational complexity of solving random satisfiability problems using backtrack algorithms
Eur. Phys. J. B, 55 53 ) THE EUROPEAN PHYSICAL JOURNAL B EDP Sienes Soietà Italiana di Fisia Springer-Verlag Statistial physis analysis of the omputational omplexity of solving random satisfiability problems
More informationTemporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure
Outline Temporal Logic Ralf Huuck Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness Model Checking Problem model, program? M φ satisfies, Implements, refines property, specification
More informationThe Effectiveness of the Linear Hull Effect
The Effetiveness of the Linear Hull Effet S. Murphy Tehnial Report RHUL MA 009 9 6 Otober 009 Department of Mathematis Royal Holloway, University of London Egham, Surrey TW0 0EX, England http://www.rhul.a.uk/mathematis/tehreports
More informationDecision Procedures for Satisfiability and Validity in Propositional Logic
Decision Procedures for Satisfiability and Validity in Propositional Logic Meghdad Ghari Institute for Research in Fundamental Sciences (IPM) School of Mathematics-Isfahan Branch Logic Group http://math.ipm.ac.ir/isfahan/logic-group.htm
More informationAn Introduction to Temporal Logics
An Introduction to Temporal Logics c 2001,2004 M. Lawford Outline Motivation: Dining Philosophers Safety, Liveness, Fairness & Justice Kripke structures, LTS, SELTS, and Paths Linear Temporal Logic Branching
More informationComplexity of Regularization RBF Networks
Complexity of Regularization RBF Networks Mark A Kon Department of Mathematis and Statistis Boston University Boston, MA 02215 mkon@buedu Leszek Plaskota Institute of Applied Mathematis University of Warsaw
More informationEECS 270 Midterm 2 Exam Answer Key Winter 2017
EES 270 Midterm 2 Exam nswer Key Winter 2017 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. NOTES: 1. This part of the exam
More informationPacking Plane Spanning Trees into a Point Set
Paking Plane Spanning Trees into a Point Set Ahmad Biniaz Alfredo Garía Abstrat Let P be a set of n points in the plane in general position. We show that at least n/3 plane spanning trees an be paked into
More informationNonreversibility of Multiple Unicast Networks
Nonreversibility of Multiple Uniast Networks Randall Dougherty and Kenneth Zeger September 27, 2005 Abstrat We prove that for any finite direted ayli network, there exists a orresponding multiple uniast
More informationModel Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the
Sérgio Campos, Edmund Why? Advantages: No proofs Fast Counter-examples No problem with partial specifications can easily express many concurrency properties Main Disadvantage: State Explosion Problem Too
More informationUSING SAT FOR COMBINATIONAL IMPLEMENTATION CHECKING. Liudmila Cheremisinova, Dmitry Novikov
International Book Series "Information Science and Computing" 203 USING SAT FOR COMBINATIONAL IMPLEMENTATION CHECKING Liudmila Cheremisinova, Dmitry Novikov Abstract. The problem of checking whether a
More informationPropositional and First Order Reasoning
Propositional and First Order Reasoning Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p p Clause: disjunction of literals q \/ p \/ r given by
More informationComputation Tree Logic (CTL) & Basic Model Checking Algorithms
Computation Tree Logic (CTL) & Basic Model Checking Algorithms Martin Fränzle Carl von Ossietzky Universität Dpt. of Computing Science Res. Grp. Hybride Systeme Oldenburg, Germany 02917: CTL & Model Checking
More informationFAIRNESS FOR INFINITE STATE SYSTEMS
FAIRNESS FOR INFINITE STATE SYSTEMS Heidy Khlaaf University College London 1 FORMAL VERIFICATION Formal verification is the process of establishing whether a system satisfies some requirements (properties),
More informationAutomated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving
Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving Matt Fredrikson mfredrik@cs.cmu.edu October 17, 2016 Matt Fredrikson SAT Solving 1 / 36 Review: Propositional
More informationModel for reactive systems/software
Temporal Logics CS 5219 Abhik Roychoudhury National University of Singapore The big picture Software/ Sys. to be built (Dream) Properties to Satisfy (caution) Today s lecture System Model (Rough Idea)
More informationA New Version of Flusser Moment Set for Pattern Feature Extraction
A New Version of Flusser Moment Set for Pattern Feature Extration Constantin-Iulian VIZITIU, Doru MUNTEANU, Cristian MOLDER Communiations and Eletroni Systems Department Military Tehnial Aademy George
More informationPrinciples of Sequential-Equivalence Verification
Sequential-Equivalence Verification Principles of Sequential-Equivalence Verification Maher N. Mneimneh and Karem A. Sakallah University of Michigan Editor s note: This article is a general survey of conceptual
More informationELG 5372 Error Control Coding. Claude D Amours Lecture 2: Introduction to Coding 2
ELG 5372 Error Control Coding Claude D Amours Leture 2: Introdution to Coding 2 Deoding Tehniques Hard Deision Reeiver detets data before deoding Soft Deision Reeiver quantizes reeived data and deoder
More informationPropositional Calculus
Propositional Calculus Dr. Neil T. Dantam CSCI-498/598 RPM, Colorado School of Mines Spring 2018 Dantam (Mines CSCI, RPM) Propositional Calculus Spring 2018 1 / 64 Calculus? Definition: Calculus A well
More informationAn Introduction to SAT Solving
An Introduction to SAT Solving Applied Logic for Computer Science UWO December 3, 2017 Applied Logic for Computer Science An Introduction to SAT Solving UWO December 3, 2017 1 / 46 Plan 1 The Boolean satisfiability
More informationSensitivity Analysis in Markov Networks
Sensitivity Analysis in Markov Networks Hei Chan and Adnan Darwihe Computer Siene Department University of California, Los Angeles Los Angeles, CA 90095 {hei,darwihe}@s.ula.edu Abstrat This paper explores
More informationThe State Explosion Problem
The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis
More informationChapter 8 Hypothesis Testing
Leture 5 for BST 63: Statistial Theory II Kui Zhang, Spring Chapter 8 Hypothesis Testing Setion 8 Introdution Definition 8 A hypothesis is a statement about a population parameter Definition 8 The two
More informationEECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams. Sanjit A. Seshia EECS, UC Berkeley
EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: Lintao Zhang Announcement Project proposals due
More information15.12 Applications of Suffix Trees
248 Algorithms in Bioinformatis II, SoSe 07, ZBIT, D. Huson, May 14, 2007 15.12 Appliations of Suffix Trees 1. Searhing for exat patterns 2. Minimal unique substrings 3. Maximum unique mathes 4. Maximum
More informationIMPEDANCE EFFECTS OF LEFT TURNERS FROM THE MAJOR STREET AT A TWSC INTERSECTION
09-1289 Citation: Brilon, W. (2009): Impedane Effets of Left Turners from the Major Street at A TWSC Intersetion. Transportation Researh Reord Nr. 2130, pp. 2-8 IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE
More information