Download - Real-Time Systems, COSC-4301-01, Lecture 18
![Page 1: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/1.jpg)
04/21/23 COSC-4301-01, Lecture 18 1
Real-Time Systems, COSC-4301-01, Lecture 18
Stefan Andrei
![Page 2: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/2.jpg)
04/21/23 COSC-4301-01, Lecture 18 2
Reminder of the last lecture
Model checking of finite-state systems
![Page 3: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/3.jpg)
04/21/23 COSC-4301-01, Lecture 18 3
Overview of This Lecture
Symbolic model checking of finite-state systems
(Ordered) Binary Decision Diagrams
![Page 4: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/4.jpg)
04/21/23 COSC-4301-01, Lecture 18 4
Boolean functions
![Page 5: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/5.jpg)
04/21/23 COSC-4301-01, Lecture 18 5
Representing boolean functions
![Page 6: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/6.jpg)
04/21/23 COSC-4301-01, Lecture 18 6
Binary decision trees
![Page 7: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/7.jpg)
04/21/23 COSC-4301-01, Lecture 18 7
Problems
![Page 8: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/8.jpg)
04/21/23 COSC-4301-01, Lecture 18 8
Binary decision diagrams (BDDs)
![Page 9: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/9.jpg)
04/21/23 COSC-4301-01, Lecture 18 9
Reduction rules
![Page 10: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/10.jpg)
04/21/23 COSC-4301-01, Lecture 18 10
Reduction rules (cont)
![Page 11: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/11.jpg)
04/21/23 COSC-4301-01, Lecture 18 11
Variable ordering
![Page 12: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/12.jpg)
04/21/23 COSC-4301-01, Lecture 18 12
Summary of reduction rules
![Page 13: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/13.jpg)
04/21/23 COSC-4301-01, Lecture 18 13
Operations on BDDs
![Page 14: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/14.jpg)
04/21/23 COSC-4301-01, Lecture 18 14
Predicates
![Page 15: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/15.jpg)
04/21/23 COSC-4301-01, Lecture 18 15
Equivalence of functions
![Page 16: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/16.jpg)
04/21/23 COSC-4301-01, Lecture 18 16
Operations
![Page 17: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/17.jpg)
04/21/23 COSC-4301-01, Lecture 18 17
Ordered BDDs (OBDDs)
![Page 18: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/18.jpg)
04/21/23 COSC-4301-01, Lecture 18 18
Properties of OBBDs
![Page 19: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/19.jpg)
04/21/23 COSC-4301-01, Lecture 18 19
Properties of reduced OBBDs
![Page 20: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/20.jpg)
04/21/23 COSC-4301-01, Lecture 18 20
Properties of reduced OBBDs (cont)
![Page 21: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/21.jpg)
04/21/23 COSC-4301-01, Lecture 18 21
OBBDs and variable ordering
![Page 22: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/22.jpg)
04/21/23 COSC-4301-01, Lecture 18 22
Reduction for OBDDs
![Page 23: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/23.jpg)
04/21/23 COSC-4301-01, Lecture 18 23
Labeling algorithm
![Page 24: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/24.jpg)
04/21/23 COSC-4301-01, Lecture 18 24
Labeling algorithm
![Page 25: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/25.jpg)
04/21/23 COSC-4301-01, Lecture 18 25
Complexity
![Page 26: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/26.jpg)
04/21/23 COSC-4301-01, Lecture 18 26
Summary
Symbolic model checking of finite-state systems
(Ordered) Binary Decision Diagrams
![Page 27: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/27.jpg)
04/21/23 COSC-4301-01, Lecture 18 27
Reading suggestions
Chapter 4 of [Cheng; 2002] Chapter 6 of [Huth and Ryan; 2004], where
this is: M. Huth and M. Ryan: Logic in Computer Science.
Modelling and Reasoning about Systems. Cambridge University Press, 2004, ISBN 978-0521-543101
![Page 28: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/28.jpg)
04/21/23 COSC-4301-01, Lecture 18 28
Coming up next
Visual formalism, statecharts, and STATEMATE (Chapter 5 of [Cheng; 2002])
![Page 29: Real-Time Systems, COSC-4301-01, Lecture 18](https://reader035.vdocuments.us/reader035/viewer/2022062315/56814d0a550346895dba4194/html5/thumbnails/29.jpg)
04/21/23 COSC-4301-01, Lecture 18 29
Thank you for your attention!
Questions?