SlideShare a Scribd company logo
Understanding LTL
By :
Anit Thapaliya
Software Engineering
Department of Computer Science
Kyonggi University, South Korea
∗ It is temporal logic with connectives that allow us to
refer to the future.
∗ It models the time as a sequence of states, extending
infinitely to the future.
Definition
∗ ϕ ::= true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Where, p belongs to AP
X= ‘next’: ϕ is true at next step
U= ‘until’: ϕ2 is true at some point, ϕ1 is true until that
time
Syntax
∗ ϕ := true |
Explanation LTL
…
{p1,p2} {p1,p2} {p2} {p1,p2} {p2}
∗ ϕ := true | p |
Explanation LTL
…
p = p1, p2, p3, p4, …
{p1,p2} {p2} {p1,p2} {p2}
Where p = AP (Every atomic proposition is LTL Formula)
{p1,p2}
∗ ϕ := true | p | ¬ϕ |
Explanation LTL
…¬P1
{p1} {p2} {p2} {p2}
Where p = AP
{p2}
¬ϕ = if ϕ is an LTL formula then not of phi (¬ϕ) is also an LTL formula
Look at the first state it does not satisfy p1. hence, ¬P1 is true
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 |
Explanation LTL
…
P1 ^ P2
{p1,p2} {p2} {p1,p2} {p2}
Where p = AP
{p1,p2}
Φ1 & Φ1 are LTL Formual, then p1 & p2 are LTL formula
Look at the first state it satisfy p1 and p2. hence, P1 & P2 is true
^ stands for And
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ |
Explanation LTL
…
Xp1 is true
Xp2 is not true
X¬p2 is true
{p1} {p2} {p2} {p2}
Where p = AP
{p2}
If Φ is an LTL formula then, XΦ is also an LTL formula
Earlier, we are verifying the states by looking the first part now
with Xp1 operator we have to look to next part. If the following part
satisfy p1 then it is true. Note: Focused on second part
following the first in sequence.
X stands for Next
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Explanation LTL
…
p1 U p2
{p1} {p1} {p2} {p1}
Where p = AP
{p1}
If Φ1, Φ2 are LTL formula then, p1, p2 also LTL formula
We going further states in this part. That is p2 is true at some
point in the future, until that point where p2 is p1 must be true.
Or p2 should definitely true at some point until when p1 must
be true.
U stands for Until
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Some Example
…
¬(p1 U p2)
{p1} {} {p2} {p1}
LTL Formula
{p1}
¬ (p1 U p2)
In this formula, p2 is true at some point which is true
but until where p2 is true p1 is not completely true.
Meaning
Here p2 is true
Here p1 is not true
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Some LTL Formula
…
¬(p1 U p2)
{p1} {} {p2} {p1}
LTL Formula
{p1}
¬ (p1 U p2)
In this formula, p2 is true at some point which is true
but until where p2 is true p1 is not completely true.
Meaning
Here p2 is true
Here p1 is not true
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Some LTL Formula
…
{p1} {p1} {p2} {p1,p3}
LTL Formula
{p1, p3}
p1 U (p2 ^ X p3)
In this formula, (p2 ^ X p3) is true at some point in the future until where p1 is also
true. At the black state Xp3 is true because there is p3 in next state where as p2 is
also true there. Lastly in all the yellow state p1 is present so p1 is true until (p2 ^ X
p3).
Meaning
(p2 ^ X p3) is true
Here p1 is true in all yellow state
∗ Word σ : A0 A1 A2 … ε AP
∗ Each Ai is a set of atomic proposition
∗ Every words satisfies true
∗ Every sigma satisfy LTL formula
∗ Words (true) = AP
∗ σ satisfies Pi if Pi ε A0
∗ If the first letter A0 contain pi.
∗ Word s(Pi) = {A0 A1 A2 A3…. | Pi ε A0} ie Pi must be in A0
Semantics of LTL Formula
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
∗ Word σ : A0 A1 A2 … ε AP
∗ Each Ai is a set of atomic proposition
∗ σ satisfy ¬ϕ if σ does not satisfy ϕ
∗ Words(¬ϕ) = (Words (ϕ))’
∗ σ satisfies ϕ1^ϕ2 if σ satisfy ϕ1 and σ satisfy ϕ2
∗ Words (ϕ1^ϕ2) = Words (ϕ1) Intersection Words (ϕ2)
∗ It means words must be common in ϕ1, ϕ2
Semantics of LTL Formula
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Word σ : A0 A1 A2 A3 … ε AP
 Each Ai is a set of atomic proposition
σ satisfies Xϕ if A1 A2 A3 ….. ϕ
What is words expect A0 must satisfy ϕ
σ satisfy ϕ1 U ϕ2 if there exists j Aj Aj+1….. Satisfy ϕ2 and for
all Aj-1 (0<i<j Ai Ai+1 ) ….satisfy ϕ1
Semantics of LTL Formula
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
Except A0
Word σ : A0 A1 A2 A3 … ε AP
 Each Ai is a set of atomic proposition
σ satisfies Xϕ if A1 A2 A3 ….. ϕ
What is words expect A0 must satisfy ϕ
Words (X ϕ)={A0 A1 A2…| A1 A2 .. ε Words (ϕ) }
σ satisfy ϕ1 U ϕ2 if there exists j Aj Aj+1….. Satisfy ϕ2 and for
all Ai and Aj-1 (0<i<j Ai Ai+1 ) ….satisfy ϕ1
Words (ϕ1 U ϕ2) means all the suffix starting from Aj belongs to ϕ2
And all suffixes starting from Ai and Aj-1 belongs to ϕ1.
Semantics of LTL Formula
∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
 σ satisfy true Uϕ if there exists j Aj Aj+1….. Satisfy ϕ
This is because ture is always true for all Ai and Aj-1 (0<i<j Ai Ai+1 )
….satisfy true
Semantics for Fϕ: true U ϕ
Semantics for Gϕ: ¬F ¬ϕ
 σ satisfy F ¬ϕ if there exists j Aj Aj+1….. Satisfy ¬ϕ
σ satisfy ¬F ¬ϕ if σ does not Satisfy F ¬ϕ
∗ X & U are called temporal operators.
∗ Temporal operators means they are related to time.
∗ G global true now and forever (Rectangle in temporal
logic )
∗ F Eventually true now and some time in future (like
diamond in temporal logic)
Primary Temporal Logic Operators
Eventually ◊ ϕ := true U ϕ (ϕ will become true at some point in
the future)
Always □ ϕ := ¬◊¬ϕ ϕ is always true; (never (eventually (¬ϕ)))
∗ p ◊q p implies eventually q (response)→
∗ P p U r p implies q until r (precedence)→
∗ □ ◊p always eventually p (process)
∗ ◊□p eventually always p (stability)
∗ ◊p ◊q eventually p implies eventually q (correlation)→
More Operators & Formulas
Thank You

More Related Content

What's hot

Daa notes 2
Daa notes 2Daa notes 2
Daa notes 2
smruti sarangi
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
Northwestern University
 
Parallel algorithms
Parallel algorithmsParallel algorithms
Parallel algorithms
Danish Javed
 
Lecture: Context-Free Grammars
Lecture: Context-Free GrammarsLecture: Context-Free Grammars
Lecture: Context-Free Grammars
Marina Santini
 
Simple algorithm & hopcroft karp for bipartite graph
Simple algorithm & hopcroft karp for bipartite graphSimple algorithm & hopcroft karp for bipartite graph
Simple algorithm & hopcroft karp for bipartite graphMiguel Pereira
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equationsZunAib Ali
 
Forward Backward Chaining
Forward Backward ChainingForward Backward Chaining
Forward Backward Chaining
QAU ISLAMABAD,PAKISTAN
 
Temporal logic-model-checking
Temporal logic-model-checkingTemporal logic-model-checking
Temporal logic-model-checking
Dr. Jayaraj Poroor
 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
BCSLeicester
 
Lecture 4 asymptotic notations
Lecture 4   asymptotic notationsLecture 4   asymptotic notations
Lecture 4 asymptotic notations
jayavignesh86
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationvk1dadhich
 
08 decrease and conquer spring 15
08 decrease and conquer spring 1508 decrease and conquer spring 15
08 decrease and conquer spring 15
Hira Gul
 
Average case Analysis of Quicksort
Average case Analysis of QuicksortAverage case Analysis of Quicksort
Average case Analysis of Quicksort
Rajendran
 
Lecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithmsLecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithms
Vivek Bhargav
 
AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)
Tajim Md. Niamat Ullah Akhund
 
AI 5 | Local Search
AI 5 | Local SearchAI 5 | Local Search
AI 5 | Local Search
Mohammad Imam Hossain
 
lecture 26
lecture 26lecture 26
lecture 26sajinsc
 
Giáo trình Phân tích và thiết kế giải thuật - CHAP 3
Giáo trình Phân tích và thiết kế giải thuật - CHAP 3Giáo trình Phân tích và thiết kế giải thuật - CHAP 3
Giáo trình Phân tích và thiết kế giải thuật - CHAP 3
Nguyễn Công Hoàng
 
Propositional logic
Propositional logicPropositional logic
Propositional logicRushdi Shams
 

What's hot (20)

Daa notes 2
Daa notes 2Daa notes 2
Daa notes 2
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
 
Parallel algorithms
Parallel algorithmsParallel algorithms
Parallel algorithms
 
Lecture: Context-Free Grammars
Lecture: Context-Free GrammarsLecture: Context-Free Grammars
Lecture: Context-Free Grammars
 
Simple algorithm & hopcroft karp for bipartite graph
Simple algorithm & hopcroft karp for bipartite graphSimple algorithm & hopcroft karp for bipartite graph
Simple algorithm & hopcroft karp for bipartite graph
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Forward Backward Chaining
Forward Backward ChainingForward Backward Chaining
Forward Backward Chaining
 
Temporal logic-model-checking
Temporal logic-model-checkingTemporal logic-model-checking
Temporal logic-model-checking
 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
 
Lecture 4 asymptotic notations
Lecture 4   asymptotic notationsLecture 4   asymptotic notations
Lecture 4 asymptotic notations
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
08 decrease and conquer spring 15
08 decrease and conquer spring 1508 decrease and conquer spring 15
08 decrease and conquer spring 15
 
Average case Analysis of Quicksort
Average case Analysis of QuicksortAverage case Analysis of Quicksort
Average case Analysis of Quicksort
 
Lecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithmsLecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithms
 
Chuong03
Chuong03Chuong03
Chuong03
 
AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)
 
AI 5 | Local Search
AI 5 | Local SearchAI 5 | Local Search
AI 5 | Local Search
 
lecture 26
lecture 26lecture 26
lecture 26
 
Giáo trình Phân tích và thiết kế giải thuật - CHAP 3
Giáo trình Phân tích và thiết kế giải thuật - CHAP 3Giáo trình Phân tích và thiết kế giải thuật - CHAP 3
Giáo trình Phân tích và thiết kế giải thuật - CHAP 3
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 

Similar to Linear Temporal Logic LTL

Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
IJERA Editor
 
A factorization theorem for generalized exponential polynomials with infinite...
A factorization theorem for generalized exponential polynomials with infinite...A factorization theorem for generalized exponential polynomials with infinite...
A factorization theorem for generalized exponential polynomials with infinite...Pim Piepers
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
Mamta Pandey
 
The structure of functions
The structure of functionsThe structure of functions
The structure of functionsSpringer
 
The Chase in Database Theory
The Chase in Database TheoryThe Chase in Database Theory
The Chase in Database Theory
Jan Hidders
 
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
BRNSS Publication Hub
 
On Spaces of Entire Functions Having Slow Growth Represented By Dirichlet Series
On Spaces of Entire Functions Having Slow Growth Represented By Dirichlet SeriesOn Spaces of Entire Functions Having Slow Growth Represented By Dirichlet Series
On Spaces of Entire Functions Having Slow Growth Represented By Dirichlet Series
IOSR Journals
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 l
Pepa Vidosa Serradilla
 
Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5
Dr. Maamoun Ahmed
 
L3 cfg
L3 cfgL3 cfg
SPLITTING FIELD.ppt
SPLITTING FIELD.pptSPLITTING FIELD.ppt
SPLITTING FIELD.ppt
Triveni Prabaakar
 
Limit in Dual Space
Limit in Dual SpaceLimit in Dual Space
Limit in Dual Space
QUESTJOURNAL
 
H03702061062
H03702061062H03702061062
H03702061062
theijes
 
Hecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector BundlesHecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector Bundles
Heinrich Hartmann
 
PaperNo1-ErshadYousefiHabibi-IJMS
PaperNo1-ErshadYousefiHabibi-IJMSPaperNo1-ErshadYousefiHabibi-IJMS
PaperNo1-ErshadYousefiHabibi-IJMSMezban Habibi
 
Bregman divergences from comparative convexity
Bregman divergences from comparative convexityBregman divergences from comparative convexity
Bregman divergences from comparative convexity
Frank Nielsen
 

Similar to Linear Temporal Logic LTL (20)

03 propsem
03 propsem03 propsem
03 propsem
 
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
 
A factorization theorem for generalized exponential polynomials with infinite...
A factorization theorem for generalized exponential polynomials with infinite...A factorization theorem for generalized exponential polynomials with infinite...
A factorization theorem for generalized exponential polynomials with infinite...
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
The structure of functions
The structure of functionsThe structure of functions
The structure of functions
 
The Chase in Database Theory
The Chase in Database TheoryThe Chase in Database Theory
The Chase in Database Theory
 
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
 
Ft3 new
Ft3 newFt3 new
Ft3 new
 
04_AJMS_254_19.pdf
04_AJMS_254_19.pdf04_AJMS_254_19.pdf
04_AJMS_254_19.pdf
 
On Spaces of Entire Functions Having Slow Growth Represented By Dirichlet Series
On Spaces of Entire Functions Having Slow Growth Represented By Dirichlet SeriesOn Spaces of Entire Functions Having Slow Growth Represented By Dirichlet Series
On Spaces of Entire Functions Having Slow Growth Represented By Dirichlet Series
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 l
 
Slides lln-risques
Slides lln-risquesSlides lln-risques
Slides lln-risques
 
Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5
 
L3 cfg
L3 cfgL3 cfg
L3 cfg
 
SPLITTING FIELD.ppt
SPLITTING FIELD.pptSPLITTING FIELD.ppt
SPLITTING FIELD.ppt
 
Limit in Dual Space
Limit in Dual SpaceLimit in Dual Space
Limit in Dual Space
 
H03702061062
H03702061062H03702061062
H03702061062
 
Hecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector BundlesHecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector Bundles
 
PaperNo1-ErshadYousefiHabibi-IJMS
PaperNo1-ErshadYousefiHabibi-IJMSPaperNo1-ErshadYousefiHabibi-IJMS
PaperNo1-ErshadYousefiHabibi-IJMS
 
Bregman divergences from comparative convexity
Bregman divergences from comparative convexityBregman divergences from comparative convexity
Bregman divergences from comparative convexity
 

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
 
Model Checking Tutorial
Model Checking TutorialModel Checking Tutorial
Model Checking Tutorial
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
 
Model Checking Tutorial
Model Checking TutorialModel Checking Tutorial
Model Checking Tutorial
 
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

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 

Recently uploaded (20)

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 

Linear Temporal Logic LTL

  • 1. Understanding LTL By : Anit Thapaliya Software Engineering Department of Computer Science Kyonggi University, South Korea
  • 2. ∗ It is temporal logic with connectives that allow us to refer to the future. ∗ It models the time as a sequence of states, extending infinitely to the future. Definition
  • 3. ∗ ϕ ::= true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2 Where, p belongs to AP X= ‘next’: ϕ is true at next step U= ‘until’: ϕ2 is true at some point, ϕ1 is true until that time Syntax
  • 4. ∗ ϕ := true | Explanation LTL … {p1,p2} {p1,p2} {p2} {p1,p2} {p2}
  • 5. ∗ ϕ := true | p | Explanation LTL … p = p1, p2, p3, p4, … {p1,p2} {p2} {p1,p2} {p2} Where p = AP (Every atomic proposition is LTL Formula) {p1,p2}
  • 6. ∗ ϕ := true | p | ¬ϕ | Explanation LTL …¬P1 {p1} {p2} {p2} {p2} Where p = AP {p2} ¬ϕ = if ϕ is an LTL formula then not of phi (¬ϕ) is also an LTL formula Look at the first state it does not satisfy p1. hence, ¬P1 is true
  • 7. ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Explanation LTL … P1 ^ P2 {p1,p2} {p2} {p1,p2} {p2} Where p = AP {p1,p2} Φ1 & Φ1 are LTL Formual, then p1 & p2 are LTL formula Look at the first state it satisfy p1 and p2. hence, P1 & P2 is true ^ stands for And
  • 8. ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | Explanation LTL … Xp1 is true Xp2 is not true X¬p2 is true {p1} {p2} {p2} {p2} Where p = AP {p2} If Φ is an LTL formula then, XΦ is also an LTL formula Earlier, we are verifying the states by looking the first part now with Xp1 operator we have to look to next part. If the following part satisfy p1 then it is true. Note: Focused on second part following the first in sequence. X stands for Next
  • 9. ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2 Explanation LTL … p1 U p2 {p1} {p1} {p2} {p1} Where p = AP {p1} If Φ1, Φ2 are LTL formula then, p1, p2 also LTL formula We going further states in this part. That is p2 is true at some point in the future, until that point where p2 is p1 must be true. Or p2 should definitely true at some point until when p1 must be true. U stands for Until
  • 10. ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2 Some Example … ¬(p1 U p2) {p1} {} {p2} {p1} LTL Formula {p1} ¬ (p1 U p2) In this formula, p2 is true at some point which is true but until where p2 is true p1 is not completely true. Meaning Here p2 is true Here p1 is not true
  • 11. ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2 Some LTL Formula … ¬(p1 U p2) {p1} {} {p2} {p1} LTL Formula {p1} ¬ (p1 U p2) In this formula, p2 is true at some point which is true but until where p2 is true p1 is not completely true. Meaning Here p2 is true Here p1 is not true
  • 12. ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2 Some LTL Formula … {p1} {p1} {p2} {p1,p3} LTL Formula {p1, p3} p1 U (p2 ^ X p3) In this formula, (p2 ^ X p3) is true at some point in the future until where p1 is also true. At the black state Xp3 is true because there is p3 in next state where as p2 is also true there. Lastly in all the yellow state p1 is present so p1 is true until (p2 ^ X p3). Meaning (p2 ^ X p3) is true Here p1 is true in all yellow state
  • 13. ∗ Word σ : A0 A1 A2 … ε AP ∗ Each Ai is a set of atomic proposition ∗ Every words satisfies true ∗ Every sigma satisfy LTL formula ∗ Words (true) = AP ∗ σ satisfies Pi if Pi ε A0 ∗ If the first letter A0 contain pi. ∗ Word s(Pi) = {A0 A1 A2 A3…. | Pi ε A0} ie Pi must be in A0 Semantics of LTL Formula ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
  • 14. ∗ Word σ : A0 A1 A2 … ε AP ∗ Each Ai is a set of atomic proposition ∗ σ satisfy ¬ϕ if σ does not satisfy ϕ ∗ Words(¬ϕ) = (Words (ϕ))’ ∗ σ satisfies ϕ1^ϕ2 if σ satisfy ϕ1 and σ satisfy ϕ2 ∗ Words (ϕ1^ϕ2) = Words (ϕ1) Intersection Words (ϕ2) ∗ It means words must be common in ϕ1, ϕ2 Semantics of LTL Formula ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
  • 15. Word σ : A0 A1 A2 A3 … ε AP  Each Ai is a set of atomic proposition σ satisfies Xϕ if A1 A2 A3 ….. ϕ What is words expect A0 must satisfy ϕ σ satisfy ϕ1 U ϕ2 if there exists j Aj Aj+1….. Satisfy ϕ2 and for all Aj-1 (0<i<j Ai Ai+1 ) ….satisfy ϕ1 Semantics of LTL Formula ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2 Except A0
  • 16. Word σ : A0 A1 A2 A3 … ε AP  Each Ai is a set of atomic proposition σ satisfies Xϕ if A1 A2 A3 ….. ϕ What is words expect A0 must satisfy ϕ Words (X ϕ)={A0 A1 A2…| A1 A2 .. ε Words (ϕ) } σ satisfy ϕ1 U ϕ2 if there exists j Aj Aj+1….. Satisfy ϕ2 and for all Ai and Aj-1 (0<i<j Ai Ai+1 ) ….satisfy ϕ1 Words (ϕ1 U ϕ2) means all the suffix starting from Aj belongs to ϕ2 And all suffixes starting from Ai and Aj-1 belongs to ϕ1. Semantics of LTL Formula ∗ ϕ := true | p | ¬ϕ | ϕ1^ϕ2 | Xϕ | ϕ1Uϕ2
  • 17.  σ satisfy true Uϕ if there exists j Aj Aj+1….. Satisfy ϕ This is because ture is always true for all Ai and Aj-1 (0<i<j Ai Ai+1 ) ….satisfy true Semantics for Fϕ: true U ϕ Semantics for Gϕ: ¬F ¬ϕ  σ satisfy F ¬ϕ if there exists j Aj Aj+1….. Satisfy ¬ϕ σ satisfy ¬F ¬ϕ if σ does not Satisfy F ¬ϕ
  • 18. ∗ X & U are called temporal operators. ∗ Temporal operators means they are related to time. ∗ G global true now and forever (Rectangle in temporal logic ) ∗ F Eventually true now and some time in future (like diamond in temporal logic)
  • 19. Primary Temporal Logic Operators Eventually ◊ ϕ := true U ϕ (ϕ will become true at some point in the future) Always □ ϕ := ¬◊¬ϕ ϕ is always true; (never (eventually (¬ϕ))) ∗ p ◊q p implies eventually q (response)→ ∗ P p U r p implies q until r (precedence)→ ∗ □ ◊p always eventually p (process) ∗ ◊□p eventually always p (stability) ∗ ◊p ◊q eventually p implies eventually q (correlation)→ More Operators & Formulas