SlideShare a Scribd company logo
Model Checking
Tutorial
By: Anit Thapaliya
Background
• System Verification: Checks whether
system fulfils the specifications that have
been identified.
– Verification: Are we building the product
right.
– Validation: Are we building the right product.
Formal Methods
Applied mathematics for modelling and
analysing of computer systems.
Formal Verification:
– Act of proving or disproving the correctness
of intended algorithms.
– Formal methods of mathematics based on
formal specification of system or property.
Techniques:
• Verification methods to check whether
the system description satisfy the
specification.
Approaches:
• Proof Based: trying to find out the proof
i.e. system description satisfy the
specification ( Г |- Ø)
– Deductive Method:
• Method: Provide a formal proof that p holds
• Tool: Proof Checker
• Applicable: if system has form a mathematic
theory.
Model Based
• Model Based: trying to compute whether
a model satisfy the specification (M ⊨ Ø)
– Methods: systematic check on P in all states
– Tool: SPIN, NuSMV
– Applicable if: System generate (Finite)
behavioural model.
Model Checking
• A successful approach of verifying
requirements.
• It is automatic, model based and property
verification approach.
• Used for concurrent and reactive system.
• Process satisfy system requirement (model)
and property (specification) of final system and
generate outputs “Yes” if satisfy or
counterexamples if not.
Linear Time Logic (LTL)
• It’s a temporary logic with connectives
that allow us to refer to the future.
LTC Syntax
• ϕ ::= ┴ | Τ | p | (¬ϕ) | (ϕ^ϕ) | (ϕvϕ) | (ϕ⇒ϕ) | (Xϕ) | (Fϕ) | (Gϕ) | (ϕUϕ) | (ϕWϕ) | (ϕRϕ)
Where is p is any propositional atom from the set Atom
┴ and Τ are the LTL formula as are all atom from Atom
¬ϕ are LTL formula if ϕ is one.
X,F,G,U,R and W are temporal connectives where
X = ‘neXT State’
F = Some future state
G = all future state (Globally)
U, R and G = Until, Release and Weak Until respectively.
Computational Tree Logic (CTL)
• It’s a branching time logic such as a
model of time in tree like structure
where future is not determined.
CTL Syntax
• ϕ ::= ┴ | Τ | p | (¬ϕ) | (ϕ^ϕ) | (ϕvϕ) | (ϕ⇒ϕ) | (AXϕ) | (EXϕ) | (AFϕ) | (EFϕ) | (AGϕ) |
(EGϕ) | A(ϕUϕ) | E(ϕUϕ)
Where is p ranges over a set of Atomic formulas.
A = Always or along all path
E = Exist or along at least one path
┴ and Τ are the LTL formula as are all atom from Atom
¬ϕ are LTL formula if ϕ is one.
X,F,G,U,R and W are temporal connectives where
X = ‘neXT State’
F = Some future state
G = all future state (Globally)
U, R and G = Until, Release and Weak Until respectively.
NuSMV
• NuSMV (New Symbolic Model Verifier)
model checking system
• It checks the validity of LTL and CTL
formulas on those models.
• SMV provides result Yes if the
specification satisfy the models or
counterexamples otherwise.
Thank You !!!

More Related Content

What's hot

Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
SHREEHARI WADAWADAGI
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th Sem
DigiGurukul
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
Aman Adhikari
 
Traditional Process Models
Traditional Process ModelsTraditional Process Models
Traditional Process Models
Ahsan Rahim
 
Client Server Model and Distributed Computing
Client Server Model and Distributed ComputingClient Server Model and Distributed Computing
Client Server Model and Distributed Computing
Abhishek Jaisingh
 
Planning in AI(Partial order planning)
Planning in AI(Partial order planning)Planning in AI(Partial order planning)
Planning in AI(Partial order planning)
Vicky Tyagi
 
V model presentation
V model presentationV model presentation
V model presentation
Niat Murad
 
software quality
software qualitysoftware quality
software quality
preetikapri1
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
Vinod Kumar Meghwar
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
FellowBuddy.com
 
PAC Learning
PAC LearningPAC Learning
PAC Learning
Sanghyuk Chun
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3
DigiGurukul
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
Megha Sharma
 
02 order of growth
02 order of growth02 order of growth
02 order of growth
Hira Gul
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 

What's hot (20)

Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Spm unit2
Spm unit2Spm unit2
Spm unit2
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th Sem
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Np cooks theorem
Np cooks theoremNp cooks theorem
Np cooks theorem
 
Traditional Process Models
Traditional Process ModelsTraditional Process Models
Traditional Process Models
 
Client Server Model and Distributed Computing
Client Server Model and Distributed ComputingClient Server Model and Distributed Computing
Client Server Model and Distributed Computing
 
Planning in AI(Partial order planning)
Planning in AI(Partial order planning)Planning in AI(Partial order planning)
Planning in AI(Partial order planning)
 
V model presentation
V model presentationV model presentation
V model presentation
 
software quality
software qualitysoftware quality
software quality
 
Incremental model
Incremental modelIncremental model
Incremental model
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Ch 3 software quality factor
Ch 3 software quality factorCh 3 software quality factor
Ch 3 software quality factor
 
PAC Learning
PAC LearningPAC Learning
PAC Learning
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
02 order of growth
02 order of growth02 order of growth
02 order of growth
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Empirical analysis
Empirical analysisEmpirical analysis
Empirical analysis
 

Viewers also liked

Classic Formal Methods Model Checking
Classic Formal Methods Model CheckingClassic Formal Methods Model Checking
Classic Formal Methods Model Checkingtyramisu
 
Tools for Software Verification and Validation
Tools for Software Verification and ValidationTools for Software Verification and Validation
Tools for Software Verification and Validationaliraza786
 
Classic Model Checking Algorithms
Classic Model Checking AlgorithmsClassic Model Checking Algorithms
Classic Model Checking Algorithmstyramisu
 
Requirements Review Process
Requirements Review ProcessRequirements Review Process
Requirements Review ProcessManageware
 
Jarrar: First Order Logic
Jarrar: First Order LogicJarrar: First Order Logic
Jarrar: First Order Logic
Mustafa Jarrar
 
Thesis Presentation
Thesis PresentationThesis Presentation
Thesis Presentation
venkatakalyan
 
software Engineering process
software Engineering processsoftware Engineering process
software Engineering process
Raheel Aslam
 
Software Process in Software Engineering SE3
Software Process in Software Engineering SE3Software Process in Software Engineering SE3
Software Process in Software Engineering SE3koolkampus
 
Role of engineers in army
Role of engineers in armyRole of engineers in army
Role of engineers in army
Paranthaman Gp
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
onsoftwaretest
 
Software Engineering - chp7- tests
Software Engineering - chp7- testsSoftware Engineering - chp7- tests
Software Engineering - chp7- tests
Lilia Sfaxi
 
Software testing overview subbu
Software testing overview subbuSoftware testing overview subbu
Software testing overview subbu
Subramanya Mudukutore
 
Differences Between On Premise And Windows Azure
Differences Between On Premise And Windows AzureDifferences Between On Premise And Windows Azure
Differences Between On Premise And Windows Azure
Michal Neuwirth
 
Concurrency presents Dynamics CRM 2013
Concurrency presents Dynamics CRM 2013Concurrency presents Dynamics CRM 2013
Concurrency presents Dynamics CRM 2013
Concurrency, Inc.
 
Scientific Visualization
Scientific VisualizationScientific Visualization
Scientific Visualization
Josef Heinen
 
Concurrency presents Modern Datacenter
Concurrency presents Modern DatacenterConcurrency presents Modern Datacenter
Concurrency presents Modern Datacenter
Concurrency, Inc.
 
PSIGEN Document Capture
PSIGEN Document CapturePSIGEN Document Capture
PSIGEN Document Capture
Concurrency, Inc.
 

Viewers also liked (20)

Classic Formal Methods Model Checking
Classic Formal Methods Model CheckingClassic Formal Methods Model Checking
Classic Formal Methods Model Checking
 
Tools for Software Verification and Validation
Tools for Software Verification and ValidationTools for Software Verification and Validation
Tools for Software Verification and Validation
 
Classic Model Checking Algorithms
Classic Model Checking AlgorithmsClassic Model Checking Algorithms
Classic Model Checking Algorithms
 
Requirements Review Process
Requirements Review ProcessRequirements Review Process
Requirements Review Process
 
Jarrar: First Order Logic
Jarrar: First Order LogicJarrar: First Order Logic
Jarrar: First Order Logic
 
Thesis Presentation
Thesis PresentationThesis Presentation
Thesis Presentation
 
software Engineering process
software Engineering processsoftware Engineering process
software Engineering process
 
Software Process in Software Engineering SE3
Software Process in Software Engineering SE3Software Process in Software Engineering SE3
Software Process in Software Engineering SE3
 
Role of engineers in army
Role of engineers in armyRole of engineers in army
Role of engineers in army
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
Software Engineering - chp7- tests
Software Engineering - chp7- testsSoftware Engineering - chp7- tests
Software Engineering - chp7- tests
 
First order logic
First order logicFirst order logic
First order logic
 
Software testing overview subbu
Software testing overview subbuSoftware testing overview subbu
Software testing overview subbu
 
Evaluation
EvaluationEvaluation
Evaluation
 
Differences Between On Premise And Windows Azure
Differences Between On Premise And Windows AzureDifferences Between On Premise And Windows Azure
Differences Between On Premise And Windows Azure
 
Concurrency presents Dynamics CRM 2013
Concurrency presents Dynamics CRM 2013Concurrency presents Dynamics CRM 2013
Concurrency presents Dynamics CRM 2013
 
Move to azure
Move to azureMove to azure
Move to azure
 
Scientific Visualization
Scientific VisualizationScientific Visualization
Scientific Visualization
 
Concurrency presents Modern Datacenter
Concurrency presents Modern DatacenterConcurrency presents Modern Datacenter
Concurrency presents Modern Datacenter
 
PSIGEN Document Capture
PSIGEN Document CapturePSIGEN Document Capture
PSIGEN Document Capture
 

Similar to Model Checking Tutorial

Du Calcul des prédicats vers Prolog
Du Calcul des prédicats vers PrologDu Calcul des prédicats vers Prolog
Du Calcul des prédicats vers Prolog
Serge Garlatti
 
Predicate Calculus
Predicate CalculusPredicate Calculus
Predicate Calculus
Serge Garlatti
 
Basic Concepts of Non-Parametric Methods ( Statistics )
Basic Concepts of Non-Parametric Methods ( Statistics )Basic Concepts of Non-Parametric Methods ( Statistics )
Basic Concepts of Non-Parametric Methods ( Statistics )
Hasnat Israq
 
Dismath part2 2013
Dismath part2 2013Dismath part2 2013
Dismath part2 2013
Melvin Cabatuan
 
Machine learning by Dr. Vivek Vijay and Dr. Sandeep Yadav
Machine learning by Dr. Vivek Vijay and Dr. Sandeep YadavMachine learning by Dr. Vivek Vijay and Dr. Sandeep Yadav
Machine learning by Dr. Vivek Vijay and Dr. Sandeep Yadav
Agile Testing Alliance
 
Propositional logic(part 2)
Propositional logic(part 2)Propositional logic(part 2)
Propositional logic(part 2)
SURBHI SAROHA
 
ders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptxders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptx
Ergin Akalpler
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng Theory
Khulna University
 
A Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization AlgorithmA Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization Algorithm
Xin-She Yang
 
Master Thesis Presentation
Master Thesis PresentationMaster Thesis Presentation
Master Thesis PresentationMohamed Sobh
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introduction
Vlad Patryshev
 
Karin Quaas
Karin QuaasKarin Quaas
Karin Quaas
oxwocs
 
Metamathematics of contexts
Metamathematics of contextsMetamathematics of contexts
Metamathematics of contextsHossam Saraya
 
Tracking the tracker: Time Series Analysis in Python from First Principles
Tracking the tracker: Time Series Analysis in Python from First PrinciplesTracking the tracker: Time Series Analysis in Python from First Principles
Tracking the tracker: Time Series Analysis in Python from First Principles
kenluck2001
 
10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prolog
baran19901990
 
Week08.pdf
Week08.pdfWeek08.pdf
Otter 2014-12-01-01-slideshare-2
Otter 2014-12-01-01-slideshare-2Otter 2014-12-01-01-slideshare-2
Otter 2014-12-01-01-slideshare-2Ruo Ando
 
ecir2019tutorial-finalised
ecir2019tutorial-finalisedecir2019tutorial-finalised
ecir2019tutorial-finalised
Tetsuya Sakai
 

Similar to Model Checking Tutorial (20)

Du Calcul des prédicats vers Prolog
Du Calcul des prédicats vers PrologDu Calcul des prédicats vers Prolog
Du Calcul des prédicats vers Prolog
 
Predicate Calculus
Predicate CalculusPredicate Calculus
Predicate Calculus
 
Basic Concepts of Non-Parametric Methods ( Statistics )
Basic Concepts of Non-Parametric Methods ( Statistics )Basic Concepts of Non-Parametric Methods ( Statistics )
Basic Concepts of Non-Parametric Methods ( Statistics )
 
DISMATH_Part2
DISMATH_Part2DISMATH_Part2
DISMATH_Part2
 
Dismath part2 2013
Dismath part2 2013Dismath part2 2013
Dismath part2 2013
 
Machine learning by Dr. Vivek Vijay and Dr. Sandeep Yadav
Machine learning by Dr. Vivek Vijay and Dr. Sandeep YadavMachine learning by Dr. Vivek Vijay and Dr. Sandeep Yadav
Machine learning by Dr. Vivek Vijay and Dr. Sandeep Yadav
 
Propositional logic(part 2)
Propositional logic(part 2)Propositional logic(part 2)
Propositional logic(part 2)
 
ders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptxders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptx
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng Theory
 
Logic
LogicLogic
Logic
 
A Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization AlgorithmA Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization Algorithm
 
Master Thesis Presentation
Master Thesis PresentationMaster Thesis Presentation
Master Thesis Presentation
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introduction
 
Karin Quaas
Karin QuaasKarin Quaas
Karin Quaas
 
Metamathematics of contexts
Metamathematics of contextsMetamathematics of contexts
Metamathematics of contexts
 
Tracking the tracker: Time Series Analysis in Python from First Principles
Tracking the tracker: Time Series Analysis in Python from First PrinciplesTracking the tracker: Time Series Analysis in Python from First Principles
Tracking the tracker: Time Series Analysis in Python from First Principles
 
10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prolog
 
Week08.pdf
Week08.pdfWeek08.pdf
Week08.pdf
 
Otter 2014-12-01-01-slideshare-2
Otter 2014-12-01-01-slideshare-2Otter 2014-12-01-01-slideshare-2
Otter 2014-12-01-01-slideshare-2
 
ecir2019tutorial-finalised
ecir2019tutorial-finalisedecir2019tutorial-finalised
ecir2019tutorial-finalised
 

More from Anit Thapaliya

A unified approach for uml based safety oriented level crossing using fta and...
A unified approach for uml based safety oriented level crossing using fta and...A unified approach for uml based safety oriented level crossing using fta and...
A unified approach for uml based safety oriented level crossing using fta and...
Anit Thapaliya
 
Puzzle Solving Using Model Checking
Puzzle Solving Using Model Checking Puzzle Solving Using Model Checking
Puzzle Solving Using Model Checking
Anit Thapaliya
 
Model Checking History
Model Checking History Model Checking History
Model Checking History
Anit Thapaliya
 
Linear Temporal Logic LTL
Linear Temporal Logic LTLLinear Temporal Logic LTL
Linear Temporal Logic LTL
Anit Thapaliya
 
Rotaract Club of Pashupati-Ktm Rota Year 2014-15
Rotaract Club of Pashupati-Ktm Rota Year 2014-15 Rotaract Club of Pashupati-Ktm Rota Year 2014-15
Rotaract Club of Pashupati-Ktm Rota Year 2014-15
Anit Thapaliya
 
Communication Network Comnet Report
Communication Network Comnet Report Communication Network Comnet Report
Communication Network Comnet Report
Anit Thapaliya
 
Project Planning & Management
Project Planning & Management Project Planning & Management
Project Planning & Management
Anit Thapaliya
 
Rotaract Projects
Rotaract Projects Rotaract Projects
Rotaract Projects
Anit Thapaliya
 
Adventure Travel & Tours Website Design
Adventure Travel & Tours Website DesignAdventure Travel & Tours Website Design
Adventure Travel & Tours Website Design
Anit Thapaliya
 
Airlines Reservation System
Airlines Reservation SystemAirlines Reservation System
Airlines Reservation System
Anit Thapaliya
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Anit Thapaliya
 
Networking Devices & Its Advantages and Disadvantages
Networking Devices & Its Advantages and DisadvantagesNetworking Devices & Its Advantages and Disadvantages
Networking Devices & Its Advantages and Disadvantages
Anit Thapaliya
 
Software engineering II
Software engineering IISoftware engineering II
Software engineering IIAnit Thapaliya
 
Advanced System Analysis And Design
Advanced System Analysis And Design Advanced System Analysis And Design
Advanced System Analysis And Design
Anit Thapaliya
 
Business intelligence In
Business intelligence InBusiness intelligence In
Business intelligence InAnit Thapaliya
 
A Study on 21st Century Business Intelligence
A Study on 21st Century Business Intelligence A Study on 21st Century Business Intelligence
A Study on 21st Century Business Intelligence
Anit Thapaliya
 
Introduction of Biometrics
Introduction of BiometricsIntroduction of Biometrics
Introduction of BiometricsAnit Thapaliya
 
A Bidding System In Football "Football Fantasy"
A Bidding System In Football "Football Fantasy" A Bidding System In Football "Football Fantasy"
A Bidding System In Football "Football Fantasy"
Anit Thapaliya
 
E-Business "A Comparative Study on Dell Business Model"
E-Business "A Comparative Study on Dell Business Model"E-Business "A Comparative Study on Dell Business Model"
E-Business "A Comparative Study on Dell Business Model"
Anit Thapaliya
 

More from Anit Thapaliya (19)

A unified approach for uml based safety oriented level crossing using fta and...
A unified approach for uml based safety oriented level crossing using fta and...A unified approach for uml based safety oriented level crossing using fta and...
A unified approach for uml based safety oriented level crossing using fta and...
 
Puzzle Solving Using Model Checking
Puzzle Solving Using Model Checking Puzzle Solving Using Model Checking
Puzzle Solving Using Model Checking
 
Model Checking History
Model Checking History Model Checking History
Model Checking History
 
Linear Temporal Logic LTL
Linear Temporal Logic LTLLinear Temporal Logic LTL
Linear Temporal Logic LTL
 
Rotaract Club of Pashupati-Ktm Rota Year 2014-15
Rotaract Club of Pashupati-Ktm Rota Year 2014-15 Rotaract Club of Pashupati-Ktm Rota Year 2014-15
Rotaract Club of Pashupati-Ktm Rota Year 2014-15
 
Communication Network Comnet Report
Communication Network Comnet Report Communication Network Comnet Report
Communication Network Comnet Report
 
Project Planning & Management
Project Planning & Management Project Planning & Management
Project Planning & Management
 
Rotaract Projects
Rotaract Projects Rotaract Projects
Rotaract Projects
 
Adventure Travel & Tours Website Design
Adventure Travel & Tours Website DesignAdventure Travel & Tours Website Design
Adventure Travel & Tours Website Design
 
Airlines Reservation System
Airlines Reservation SystemAirlines Reservation System
Airlines Reservation System
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Networking Devices & Its Advantages and Disadvantages
Networking Devices & Its Advantages and DisadvantagesNetworking Devices & Its Advantages and Disadvantages
Networking Devices & Its Advantages and Disadvantages
 
Software engineering II
Software engineering IISoftware engineering II
Software engineering II
 
Advanced System Analysis And Design
Advanced System Analysis And Design Advanced System Analysis And Design
Advanced System Analysis And Design
 
Business intelligence In
Business intelligence InBusiness intelligence In
Business intelligence In
 
A Study on 21st Century Business Intelligence
A Study on 21st Century Business Intelligence A Study on 21st Century Business Intelligence
A Study on 21st Century Business Intelligence
 
Introduction of Biometrics
Introduction of BiometricsIntroduction of Biometrics
Introduction of Biometrics
 
A Bidding System In Football "Football Fantasy"
A Bidding System In Football "Football Fantasy" A Bidding System In Football "Football Fantasy"
A Bidding System In Football "Football Fantasy"
 
E-Business "A Comparative Study on Dell Business Model"
E-Business "A Comparative Study on Dell Business Model"E-Business "A Comparative Study on Dell Business Model"
E-Business "A Comparative Study on Dell Business Model"
 

Recently uploaded

Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 

Recently uploaded (20)

Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 

Model Checking Tutorial

  • 2. Background • System Verification: Checks whether system fulfils the specifications that have been identified. – Verification: Are we building the product right. – Validation: Are we building the right product.
  • 3. Formal Methods Applied mathematics for modelling and analysing of computer systems. Formal Verification: – Act of proving or disproving the correctness of intended algorithms. – Formal methods of mathematics based on formal specification of system or property.
  • 4. Techniques: • Verification methods to check whether the system description satisfy the specification.
  • 5. Approaches: • Proof Based: trying to find out the proof i.e. system description satisfy the specification ( Г |- Ø) – Deductive Method: • Method: Provide a formal proof that p holds • Tool: Proof Checker • Applicable: if system has form a mathematic theory.
  • 6. Model Based • Model Based: trying to compute whether a model satisfy the specification (M ⊨ Ø) – Methods: systematic check on P in all states – Tool: SPIN, NuSMV – Applicable if: System generate (Finite) behavioural model.
  • 7. Model Checking • A successful approach of verifying requirements. • It is automatic, model based and property verification approach. • Used for concurrent and reactive system. • Process satisfy system requirement (model) and property (specification) of final system and generate outputs “Yes” if satisfy or counterexamples if not.
  • 8. Linear Time Logic (LTL) • It’s a temporary logic with connectives that allow us to refer to the future.
  • 9. LTC Syntax • ϕ ::= ┴ | Τ | p | (¬ϕ) | (ϕ^ϕ) | (ϕvϕ) | (ϕ⇒ϕ) | (Xϕ) | (Fϕ) | (Gϕ) | (ϕUϕ) | (ϕWϕ) | (ϕRϕ) Where is p is any propositional atom from the set Atom ┴ and Τ are the LTL formula as are all atom from Atom ¬ϕ are LTL formula if ϕ is one. X,F,G,U,R and W are temporal connectives where X = ‘neXT State’ F = Some future state G = all future state (Globally) U, R and G = Until, Release and Weak Until respectively.
  • 10. Computational Tree Logic (CTL) • It’s a branching time logic such as a model of time in tree like structure where future is not determined.
  • 11. CTL Syntax • ϕ ::= ┴ | Τ | p | (¬ϕ) | (ϕ^ϕ) | (ϕvϕ) | (ϕ⇒ϕ) | (AXϕ) | (EXϕ) | (AFϕ) | (EFϕ) | (AGϕ) | (EGϕ) | A(ϕUϕ) | E(ϕUϕ) Where is p ranges over a set of Atomic formulas. A = Always or along all path E = Exist or along at least one path ┴ and Τ are the LTL formula as are all atom from Atom ¬ϕ are LTL formula if ϕ is one. X,F,G,U,R and W are temporal connectives where X = ‘neXT State’ F = Some future state G = all future state (Globally) U, R and G = Until, Release and Weak Until respectively.
  • 12. NuSMV • NuSMV (New Symbolic Model Verifier) model checking system • It checks the validity of LTL and CTL formulas on those models. • SMV provides result Yes if the specification satisfy the models or counterexamples otherwise.