Formal Dependability Modeling and Analysis: A Survey Waqar Ahmed and - - PowerPoint PPT Presentation

formal dependability modeling and analysis a survey
SMART_READER_LITE
LIVE PREVIEW

Formal Dependability Modeling and Analysis: A Survey Waqar Ahmed and - - PowerPoint PPT Presentation

Formal Dependability Modeling and Analysis: A Survey Waqar Ahmed and Osman Hasan School of Electrical Engineering and Computer Science National University of Sciences and Technology (NUST) Islamabad, Pakistan CICM 2016 Bailystock, Poland July


slide-1
SLIDE 1

Formal Dependability Modeling and Analysis: A Survey

Waqar Ahmed and Osman Hasan

School of Electrical Engineering and Computer Science National University of Sciences and Technology (NUST) Islamabad, Pakistan CICM 2016 Bailystock, Poland

July 27, 2016

slide-2
SLIDE 2

Outline

1

Introduction and Motivation

2

Dependability Modeling Techniques

3

Formal Techniques for Dependability Analysis

4

Conclusions

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 2 / 48

slide-3
SLIDE 3

Dependability

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 3 / 48

slide-4
SLIDE 4

Safety-critical Systems

More stringent dependability requirements

Main motivation for Formal Dependabiltiy Modeling and Analysis

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 4 / 48

slide-5
SLIDE 5

Dependability

Dependabililty

Reliability Availability Maintainability

The ability of system to deliver services as specified within a given time The ability of system to deliver services when required The ability of a system to restore to operational status after a failure

  • ccurs
  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 5 / 48

slide-6
SLIDE 6

Dependability

Dependabililty

Reliability Availability Maintainability

The ability of system to deliver services as specified within a given time The ability of system to deliver services when required The ability of a system to restore to operational status after a failure

  • ccurs
  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 6 / 48

slide-7
SLIDE 7

Dependability

Dependabililty

Reliability Availability Maintainability

The ability of system to deliver services as specified within a given time The ability of system to deliver services when required The ability of a system to restore to operational status after a failure

  • ccurs
  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 7 / 48

slide-8
SLIDE 8

Formal Definitions

Reliability = P(no failure occurs before certain time) R(t) = Pr(X > t) = 1 − Pr(X ≤ t) = 1 − FX(t)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 8 / 48

slide-9
SLIDE 9

Formal Definitions

Reliability = P(no failure occurs before certain time) R(t) = Pr(X > t) = 1 − Pr(X ≤ t) = 1 − FX(t) Availability is typically derived from reliability and maintainability measures

A(t) = MTBF MTBF + MTTR where MTBF = MTTF + MTTR

MTBF = Mean time between failures (Reliability Metric) MTTF = Mean time to failure (Reliability Metric) MTTR = Mean time to repair (Maintainability Metric)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 8 / 48

slide-10
SLIDE 10

Traditional Dependability Analysis Steps

Selection of Reliability Modeling Technique Selection of Reliability Analysis Technique

 Mean Time To Failure (MTTF)  Mean Time Between Failure (MTBF)  Mean Time To Repair (MTTR)  Reliability Block Diagram (RBD)  Fault Tree (FT)  Markov Chain (MC)  Analytical  Simulation  Formal Methods

Component Level System Level

Conceptual Behavioural Model of the System Reliability and Availability Metric Calculation Start

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 9 / 48

slide-11
SLIDE 11

Traditional Dependability Analysis Steps

Selection of Reliability Modeling Technique Selection of Reliability Analysis Technique

 Mean Time To Failure (MTTF)  Mean Time Between Failure (MTBF)  Mean Time To Repair (MTTR)  Reliability Block Diagram (RBD)  Fault Tree (FT)  Markov Chain (MC)  Analytical  Simulation  Formal Methods

Component Level System Level

Conceptual Behavioural Model of the System Reliability and Availability Metric Calculation Start

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 10 / 48

slide-12
SLIDE 12

Traditional Dependability Analysis Steps

Selection of Reliability Modeling Technique Selection of Reliability Analysis Technique

 Mean Time To Failure (MTTF)  Mean Time Between Failure (MTBF)  Mean Time To Repair (MTTR)  Reliability Block Diagram (RBD)  Fault Tree (FT)  Markov Chain (MC)  Analytical  Simulation  Formal Methods

Component Level System Level

Conceptual Behavioural Model of the System Reliability and Availability Metric Calculation Start

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 11 / 48

slide-13
SLIDE 13

Traditional Dependability Analysis Steps

Selection of Reliability Modeling Technique Selection of Reliability Analysis Technique

 Mean Time To Failure (MTTF)  Mean Time Between Failure (MTBF)  Mean Time To Repair (MTTR)  Reliability Block Diagram (RBD)  Fault Tree (FT)  Markov Chain (MC)  Analytical  Simulation  Formal Methods

Component Level System Level

Conceptual Behavioural Model of the System Reliability and Availability Metric Calculation Start

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 12 / 48

slide-14
SLIDE 14

Outline

1

Introduction and Motivation

2

Dependability Modeling Techniques

3

Formal Techniques for Dependability Analysis

4

Conclusions

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 13 / 48

slide-15
SLIDE 15

Dependability Modeling Techniques

Some widely used modeling techniques are:

Reliability Block Diagram Fault Tree Markov Chain

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 14 / 48

slide-16
SLIDE 16

Reliability Block Diagrams

Model the failure relationship of system components as a diagram of sub-blocks and connectors (RBD) Judge the failure characteristics of the overall system based on the failure rates of sub-blocks

1 N M I O

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 15 / 48

slide-17
SLIDE 17

Reliability Block Diagrams

Model the failure relationship of system components as a diagram of sub-blocks and connectors (RBD) Judge the failure characteristics of the overall system based on the failure rates of sub-blocks

1 N M I O

The overall system failure happens if all the paths for successful execution fail

Add more parallelism to meet the dependability goals

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 15 / 48

slide-18
SLIDE 18

Types of RBD

RBDs Mathematical Expressions

1 N O I O

Rseries(t) = Pr(

N

  • i=1

Ei(t)) =

N

  • i=1

Ri(t)

1 M I O

Rparallel(t) = Pr(

M

  • i=1

Ei) = 1 −

M

  • i=1

(1 − Ri(t))

1 N M O I

Rparallel−series(t)= Pr(

M

  • i=1

N

  • j=1

Eij(t))= 1 −

M

  • i=1

(1 −

N

  • j=1

(Rij(t)))

1 N M I O

Rseries−parallel(t)= Pr(

N

  • i=1

M

  • j=1

Eij(t))=

N

  • i=1

(1 −

M

  • j=1

(1 − Rij(t)))

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 16 / 48

slide-19
SLIDE 19

Example: Power Supply System

Waqar requires continuous supply of power for his Lab PC

The UPS can support the load during a switch from the main supply to the generator

Wants to determine the reliability of power supply system

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 17 / 48

slide-20
SLIDE 20

Example: Power Supply System

Step 1

Construct an RBD Model Power Supply RBD

Transformer (T) Main (M) Generator (G) UPS (U)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 18 / 48

slide-21
SLIDE 21

Example: Power Supply System

Step 1

Construct an RBD Model Power Supply RBD

Transformer (T) Main (M) Generator (G) UPS (U)

pow sys rbd = (M ∩ T) ∪ G ∪ U

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 18 / 48

slide-22
SLIDE 22

Example: Power Supply System

Step 2

Identify the RBD type

Step 3

Use the corresponding mathematical expression to evaluate the overall reliability based on the sub-components reliability P((M ∩ T) ∪ G ∪ U) = 1 − (1 − P(M) ∗ P(T)) ∗ (1 − P(G)) ∗ (1 − P(U))

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 19 / 48

slide-23
SLIDE 23

Fault Tree

A graphical method used to identify potential causes of system failure A fault tree is constructed having

Events: describing the failure of system components Logic Gates: representing logical relationship between events

AND, OR, NOR, NAND, NOR etc.

TOP event First Level Contributor to TOP Event by Logic Gates First Level Events Second-level Contributors to TOP by Logic Gates Second-level Contributors Basic Failure Events

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 20 / 48

slide-24
SLIDE 24

Types of FT Gates

FT Gates Failure Probability Expressions F(t) = Pr(

N

  • i=2

Ai(t)) =

N

  • i=2

Fi(t) F(t) = Pr(

N

  • i=2

Ai(t)) = 1 −

N

  • i=2

(1 − Fi(t)) F(t) = 1 − FOR(t) =

N

  • i=2

(1 − Fi(t)) F(t)= Pr(

k

  • i=2

Ai(t) ∩

N

  • j=k

Ai(t))=

k

  • i=2

(1 − Fi(t)) ∗

N

  • j=k

(Fj(t)) F(t)= Pr( ¯ A(t)B(t) ∪ A(t) ¯ B(t)) = FA(t)(1 − FB(t)) + FB(t)(1 − FA(t)) F(t) = Pr( ¯ A(t)) = (1 − FA(t))

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 21 / 48

slide-25
SLIDE 25

Example: Power Supply System

Determine the overall failure probability?

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 22 / 48

slide-26
SLIDE 26

Fault Tree Analysis

Step 1

Construct a FT and represent Top Event in terms of basic events

F(PS) M T G U

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 23 / 48

slide-27
SLIDE 27

Fault Tree Analysis

Step 1

Construct a FT and represent Top Event in terms of basic events

F(PS) M T G U

pow sys fail = (M ∪ T) ∩ G ∩ U

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 23 / 48

slide-28
SLIDE 28

Fault Tree Analysis

Step 2

Evaluate probability of failure using the Probabilistic Inclusion-Exclusion principle P(

n

  • i=1

Ai) =

  • J=∅,J⊆{1,2,...,n}

(−1)|J|−1P(

  • j∈J

Aj) P(pow sys fail) = P((M ∪ T) ∩ G ∩ U) = P(M ∩ G ∩ U) + P(T ∩ G ∩ U) − P(M ∩ T ∩ G ∩ U)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 24 / 48

slide-29
SLIDE 29

Fault Tree Analysis

Step 3

Using Mutual Independence property P(pow sys fail) = P(M) ∗ P(G) ∗ P(U) + P(T) ∗ P(G) ∗ P(U)− P(M) ∗ P(T) ∗ P(G) ∗ P(U)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 25 / 48

slide-30
SLIDE 30

Markov Chain

Stochastic Process Markov Property

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 26 / 48

slide-31
SLIDE 31

Markov Chain

Stochastic Process

A sequence of states Determining the next state is random

E

0.1 0.1 0.9 1.0

5

0.9

I End

1.0

Start

Markov Property

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 26 / 48

slide-32
SLIDE 32

Markov Chain

Stochastic Process

A sequence of states Determining the next state is random

E

0.1 0.1 0.9 1.0

5

0.9

I End

1.0

Start

Markov Property

The probability of the next state is only dependent on the current state

Pr{Xtn+1 = fn+1|Xtn = fn, . . . , Xt0 = f0} = Pr{Xtn+1 = fn+1|Xtn = fn}

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 26 / 48

slide-33
SLIDE 33

Markov Chains - Types

Discrete-time Markov Chain Continuous-time Markov Chain

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 27 / 48

slide-34
SLIDE 34

Markov Chain - Example

Weather Prediction Problem

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 28 / 48

slide-35
SLIDE 35

Markov Chain - Example

Weather Prediction Problem

Waqar records the weather conditions (sunny or rainy/snowy) daily

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 28 / 48

slide-36
SLIDE 36

Markov Chain - Example

Weather Prediction Problem

Waqar records the weather conditions (sunny or rainy/snowy) daily Based on this collected data he wants to obtain the probability of a specific weather pattern

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 28 / 48

slide-37
SLIDE 37

Markov Chain - Example

Solution: Discrete Time Markov Chains

Set of States = {Sunny, Rainy} State Transition Probabilities can be obtained from the observed data

Example: P{“Tomorrow is sunny” given that “Today is sunny”}

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 29 / 48

slide-38
SLIDE 38

Comparison between Dependability Modeling Techniques

Features Reliability Block Diagram Fault Tree Markov Chain

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 30 / 48

slide-39
SLIDE 39

Comparison between Dependability Modeling Techniques

Features Reliability Block Diagram Fault Tree Markov Chain Success Paths between input and output

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 30 / 48

slide-40
SLIDE 40

Comparison between Dependability Modeling Techniques

Features Reliability Block Diagram Fault Tree Markov Chain Success Paths between input and output

  • Failure Paths between input

and output

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 30 / 48

slide-41
SLIDE 41

Comparison between Dependability Modeling Techniques

Features Reliability Block Diagram Fault Tree Markov Chain Success Paths between input and output

  • Failure Paths between input

and output

  • Combinatorial Problems (Ef-

fect of sub-components on the failure of the whole system)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 30 / 48

slide-42
SLIDE 42

Comparison between Dependability Modeling Techniques

Features Reliability Block Diagram Fault Tree Markov Chain Success Paths between input and output

  • Failure Paths between input

and output

  • Combinatorial Problems (Ef-

fect of sub-components on the failure of the whole system)

  • Non-combinatorial

Problems (System is either inactive, fail- ure or in standby state)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 30 / 48

slide-43
SLIDE 43

Comparison between Dependability Modeling Techniques

Features Reliability Block Diagram Fault Tree Markov Chain Success Paths between input and output

  • Failure Paths between input

and output

  • Combinatorial Problems (Ef-

fect of sub-components on the failure of the whole system)

  • Non-combinatorial

Problems (System is either inactive, fail- ure or in standby state)

  • Large and Complex Systems
  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 30 / 48

slide-44
SLIDE 44

Outline

1

Introduction and Motivation

2

Dependability Modeling Techniques

3

Formal Techniques for Dependability Analysis

4

Conclusions

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 31 / 48

slide-45
SLIDE 45

Formal Dependability Analysis Techniques

Dependability models have been analyzed extensively using the following formal techniques: Petri Nets Model Checking Higher-order-Logic Theorem Proving

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 32 / 48

slide-46
SLIDE 46

Petri Nets

A Petri Net is a bipartite graph consisiting of: Places Transitions Tokens Transitions consume tokens from the input places and produce tokens in the output places

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 33 / 48

slide-47
SLIDE 47

Example: Chemical Reaction

2H2 + O2 ⇒ 2H2O 2

2 H2 O2 H2O

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 34 / 48

slide-48
SLIDE 48

Example: Chemical Reaction

2H2 + O2 ⇒ 2H2O 2

2 H2 O2 H2O

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 35 / 48

slide-49
SLIDE 49

Dependability Analysis using Petri Nets:

Colored PN (CPN) and Stochastic PN (SPN) have been extensively used for dependability analysis

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 36 / 48

slide-50
SLIDE 50

Dependability Analysis using Petri Nets:

Colored PN (CPN) and Stochastic PN (SPN) have been extensively used for dependability analysis Analyzing RBDs and FTs with Petri Nets

Broadband Integrated Service Network (Balakrishnan et al. RESS-1996) Internet voting System (Omidi et al. Computer & Comm. Eng., 2012) High-speed Trains (Lijie et al. RESS-2012) Logistic Supply Chain (Li et al. IJUNESST-2014)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 36 / 48

slide-51
SLIDE 51

Dependability Analysis using Petri Nets:

Colored PN (CPN) and Stochastic PN (SPN) have been extensively used for dependability analysis Analyzing RBDs and FTs with Petri Nets

Broadband Integrated Service Network (Balakrishnan et al. RESS-1996) Internet voting System (Omidi et al. Computer & Comm. Eng., 2012) High-speed Trains (Lijie et al. RESS-2012) Logistic Supply Chain (Li et al. IJUNESST-2014)

Analyzing Markov chains with PNs

Client Server Queuing system (Ibe et al. TPDS-1993) Fibre Distributed Data Interface (FDDI) (Christodoulou et al. ETFA-1994) Low Earth Orbit (LEO) satellite (Zeng et al. JMLC-2011)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 36 / 48

slide-52
SLIDE 52

Model Checking

Model

(System Requirements)

Specification

(System Properties)

Model Checker M |= ɸ True, if Model satisfies the given specifications Otherwise a counterexample

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 37 / 48

slide-53
SLIDE 53

Probabilistic Model Checking - Example

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 38 / 48

slide-54
SLIDE 54

Probabilistic Model Checking - Example

Probability of reaching State E from the State A: 0.4x0.3 + 0.6x0.4x0.3 = 0.192

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 38 / 48

slide-55
SLIDE 55

Probabilistic Model Checking - Example

Probability of reaching State E from the State A: 0.4x0.3 + 0.6x0.4x0.3 = 0.192 Probabilities associated with the validity of Temporal logic properties can be verified

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 38 / 48

slide-56
SLIDE 56

Dependability Analysis using Model Checking

Several Probabilistic and Statistical model checking tools have been used for reliability/availability assesment

Probabilistic model checker (PRISM) (Baier et al. MIT Press 2008) COMPASS: Based on the NuSMV and Markov Chain model checker (MRMC) (Bozanno et al. SAFECOMP-2009) Erlangen-Twente Markov Chain Checker (ETMCC) (Hermanns et al. DSN-2013)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 39 / 48

slide-57
SLIDE 57

Dependability Analysis using Model Checking

Several Probabilistic and Statistical model checking tools have been used for reliability/availability assesment

Probabilistic model checker (PRISM) (Baier et al. MIT Press 2008) COMPASS: Based on the NuSMV and Markov Chain model checker (MRMC) (Bozanno et al. SAFECOMP-2009) Erlangen-Twente Markov Chain Checker (ETMCC) (Hermanns et al. DSN-2013)

Analysis of Real-world systems

Aerospace systems (Bozanno et al. SAFECOMP-2009) RAID disk protocol (Gopinath et al. Tech report 2009) Herschel-Planck satellite system (Pend et al. Modeling Symp. 2013) Airbag system (Pend et al. Modeling Symp. 2013) e-health systems used in hospitals (Pervez et al. e-HEALTHCOMM-2014)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 39 / 48

slide-58
SLIDE 58

Higher-order-Logic Theorem Proving

System Properties Logical Model in HOL Proof Assistant

(HOL4, Isabelle/HOL)

Proof Goal Mechanized Proofs of System Properties

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 40 / 48

slide-59
SLIDE 59

HOL Theorem Proving - Example: Series RBD

1 N O I O

Rseries(t) = Pr(N

i=1 Ai(t)) = N i=1 Ri(t)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 41 / 48

slide-60
SLIDE 60

HOL Theorem Proving - Example: Series RBD

1 N O I O

Rseries(t) = Pr(N

i=1 Ai(t)) = N i=1 Ri(t)

Definition: Series RBD

⊢ ∀ p L. series struct p L = inter list p L

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 41 / 48

slide-61
SLIDE 61

HOL Theorem Proving - Example: Series RBD

1 N O I O

Rseries(t) = Pr(N

i=1 Ai(t)) = N i=1 Ri(t)

Definition: Series RBD

⊢ ∀ p L. series struct p L = inter list p L

Theorem: Series RBD Reliability

⊢ ∀ p L. prob space p ∧ ∽NULL L ∧ mutual indep p L ∧ in events p L = ⇒ (prob p (series struct p (rel event list p L t)) = list prod (list prob p (rel event list p L t)))

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 41 / 48

slide-62
SLIDE 62

Dependability Analysis using HOL Theorem Proving

Probability Theory

  • J. Hurd (2002), PhD Thesis, University of Cambridge

Formal Verification of Probabilistic Algorithms.

  • O. Hasan (2008), PhD Thesis, Concordia University

Formal Probabilistic Analysis using Theorem Proving.

  • T. Mhamdi (2011), PhD Thesis, Concorida University

Information-Theoretic Analysis using Theorem Proving.

  • J. H¨
  • lzl (2012), PhD thesis, Technical University of Munich

Construction and Stochastic Applications of Measure Spaces in Higher-Order Logic.

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 42 / 48

slide-63
SLIDE 63

Dependability Analysis using HOL Theorem Proving

Dependability Analysis of a Component

Reconfigurable Memory Arrays (Hasan et al. TC-2010) Combinational Circuits (Hasan et al. JAL-2011) Electronic System Components (Abbasi et al. WoLLIC-2014

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 43 / 48

slide-64
SLIDE 64

Dependability Analysis using HOL Theorem Proving

Dependability Analysis of a Component

Reconfigurable Memory Arrays (Hasan et al. TC-2010) Combinational Circuits (Hasan et al. JAL-2011) Electronic System Components (Abbasi et al. WoLLIC-2014

Dependability Analysis using RBDs and FTs

Oil and Gas Pipelines (Waqar et al. CICM-2014) WSN Transport Protocols (Waqar et al. WiMob-2015) Logistic Supply Chain (Waqar et al. IWIL-2015) Satellite Solar Array (Waqar et al. CICM-2015)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 43 / 48

slide-65
SLIDE 65

Comparison between Dependability Analysis Techniques

Feature Paper-and- pencil Proof Simulation Tools Petri Nets Theorem Proving Model Checking

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 44 / 48

slide-66
SLIDE 66

Comparison between Dependability Analysis Techniques

Feature Paper-and- pencil Proof Simulation Tools Petri Nets Theorem Proving Model Checking Expressiveness

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 44 / 48

slide-67
SLIDE 67

Comparison between Dependability Analysis Techniques

Feature Paper-and- pencil Proof Simulation Tools Petri Nets Theorem Proving Model Checking Expressiveness

  • Accuracy

(?)

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 44 / 48

slide-68
SLIDE 68

Comparison between Dependability Analysis Techniques

Feature Paper-and- pencil Proof Simulation Tools Petri Nets Theorem Proving Model Checking Expressiveness

  • Accuracy

(?)

  • Automation
  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 44 / 48

slide-69
SLIDE 69

Outline

1

Introduction and Motivation

2

Dependability Modeling Techniques

3

Formal Techniques for Dependability Analysis

4

Conclusions

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 45 / 48

slide-70
SLIDE 70

Conclusion

Dependability

Reliability Availability Maintainability

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 46 / 48

slide-71
SLIDE 71

Conclusion

Dependability

Reliability Availability Maintainability

Dependability Modeling Techniques

Reliability Block Diagram Fault Tree Markov Chains

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 46 / 48

slide-72
SLIDE 72

Conclusion

Dependability

Reliability Availability Maintainability

Dependability Modeling Techniques

Reliability Block Diagram Fault Tree Markov Chains

Formal Dependability Analysis Techniques

Petri Nets Model Checkng Interactive Theorem Proving

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 46 / 48

slide-73
SLIDE 73

Timeline of Surveyed Papers

Before 1990s 1990-99 2000-09 2010-16

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 47 / 48

slide-74
SLIDE 74

Timeline of Surveyed Papers

Before 1990s 1990-99 2000-09 2010-16 Introduction

  • f

Models RBDs and FTs Markov Chains Dynamic RBDs and FTs

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 47 / 48

slide-75
SLIDE 75

Timeline of Surveyed Papers

Before 1990s 1990-99 2000-09 2010-16 Introduction

  • f

Models RBDs and FTs Markov Chains Dynamic RBDs and FTs Introduction

  • f

Analysis Tech- niques Petri Nets Model Checking Theorem Prov- ing

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 47 / 48

slide-76
SLIDE 76

Timeline of Surveyed Papers

Before 1990s 1990-99 2000-09 2010-16 Introduction

  • f

Models RBDs and FTs Markov Chains Dynamic RBDs and FTs Introduction

  • f

Analysis Tech- niques Petri Nets Model Checking Theorem Prov- ing

Future Directions: Analysis of Dynamic RBDs and FTs Using Theorem Proving to conduct Markov Chains based dependability analysis Foundational Support is available in HOL4 (L. Liu et al., ATVA-2011) and Isabelle/HOL (J. H¨

  • lzl et al., TACAS 2012)
  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 47 / 48

slide-77
SLIDE 77

Thanks!

save.seecs.nust.edu.pk

  • W. Ahmed and O. Hasan (NUST)

Formal Dependability Modeling and Analysis July 27, 2016 48 / 48