SlideShare a Scribd company logo
1 of 13
Download to read offline
Metric Temporal Logic over Data Words
Seminar Oxford Women in Computer Science
Karin Quaas
University of Leipzig
3.3.2015
Verification
- Program P, Specification S
- Does the program P satisfy the specification S?
- Verification: Can one automatically verify whether P satisfies S?
- P...abstract model: finite automata, timed automata, one-counter automata etc.
- S...logical formula: FOL, LTL, MTL, etc.
Other Usage
- You may also use the logics I introduce for representing knowledge in a database
Linear Time Temporal Logic (LTL)
P... a finite set of propositional variables.
ϕ ::= true | p | ¬ϕ | ϕ ∨ ϕ | ϕUϕ | Xϕ
where p ∈ P.
Syntactical abbreviations:
ϕ1 → ϕ2 ··= ¬ϕ1 ∨ ϕ2, ϕ1 ∧ ϕ2 ··= ¬(¬ϕ1 ∨ ¬ϕ2), Fϕ ··= trueUϕ, Gϕ ··= ¬F¬ϕ
U ... Until; X ... Next; F ... Finally; G ... Globally
Examples:
P = {red, green, button pressed, . . . }
ψ1 = redUbutton pressed ψ2 = button pressed → Xgreen
ψ3 = button pressed → Fgreen ψ4 = G(green ∨ red)
w =
Verification Problems for LTL
The Satisfiability Problem
Given: An LTL formula
Question: Does there exist a word that satisfies the formula?
The Model Checking Problem
Given: An LTL formula, and an abstract model that generates/recognizes words
Question: Does every word generated/recognized by the model satisfy the formula?
The Path Checking Problem
Given: An LTL formula, a word
Question: Does the word satisfy the formula?
- Satisfiability and model checking of Kripke structures is PSPACE-complete
[Sistla & Clarke, 1985]
- Path checking for LTL is in NC [Kuhtz & Finkbeiner, 2009]
LTL cannot express quantitative information
Examples:
• ψ3 = button pressed → Fgreen
w =
Finally...but when?
• ψ2 = button pressed → Xgreen
w =
When the next event occurs...but when?
Goal:
We want to express that green holds within 40 seconds after button pressed.
Verification Problems for MTL over Timed Words
The Satisfiability Problem
Given: An MTL formula
Question: Does there exist a timed word that satisfies the formula?
The Model Checking Problem
Given: An MTL formula, and a timed automaton (recognizing timed words)
Question: Does every timed word recognized by the timed automaton
satisfy the formula?
The Path Checking Problem
Given: An MTL formula, a timed word
Question: Does the timed word satisfy the formula?
- Satisfiability is EXPSPACE-complete for timed words over N
[Alur & Henzinger, 1993]
- Satisfiability and model checking is decidable [Ouaknine & Worrell, 2005]
- Path checking for MTL is in NC [Bundala & Ouaknine, 2014]
Timed Words vs Data Words
Timed words are a special case of data words: monotonically increasing
w =
0.3 92.11.8 10.3 12.0 32.0 40.5 68.1 70.2
(Timed word)
Many sequences of data are not monotonically increasing.
MTL over Data Words
Example:
• ψ6 = F red ∧ X>0true ∧ F=0green
w =
15 2313 18 30 37 30 27 27
Goal:
We want to express, e.g., that the invention of LTL led to an increase in
the number of “coding women”, and that the number of “coding women” in
the year when LTL was invented is equal to the number when MTL was invented.
MTL over Data Words
Example:
• ψ6 = F red ∧ X>0true ∧ F=0green
w =
15 2313 18 30 37 30 27 27
Syntax:
P... a finite set of propositional variables.
ϕ ::= true | p | ¬ϕ | ϕ ∨ ϕ | ϕUIϕ | XIϕ
where p ∈ P, I ⊆ Z is an interval.
Syntactical abbreviations: FIϕ ··= trueUIϕ, GIϕ ··= ¬FI¬ϕ
Verification Problems for MTL over Data Words
The Satisfiability Problem
Given: An MTL formula
Question: Does there exist a data word that satisfies the formula?
The Model Checking Problem
Given: An MTL formula, and a one-counter machine (simulating data words)
Question: Does every run of the one-counter machine satisfy the formula?
The Path Checking Problem
Given: An MTL formula, a data word
Question: Does the data word satisfy the formula?
- Model checking is undecidable, decidable for deterministic one-counter
machines [Q, 2013]
- Satisfiability is undecidable [Carapelle, Feng, Gil, & Q 2014]
- Path checking for MTL is in P-complete [Feng, Lohrey, & Q, 2015 (not pub.)]
Summary
SAT MC PC
LTL PSPACE − c. PSPACE − c. NC
MTL(R≥0) not prim.-rec. not prim-rec. NC
MTL(Z) undec. undec. P − c.
Quantitative Logics and Automata
- DFG Research Training Group QuantLA in Leipzig/Dresden
- Quantitative Logics and Automata, and their applications in verification,
knowledge representation, natural language processing, and semi-structured
data (XML)
- Offers 8 doctoral scholarships starting from October 1, 2015
- Application deadline: May 15, 2015

More Related Content

What's hot

Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP CompletenessGene Moo Lee
 
1.2. introduction to automata theory
1.2. introduction to automata theory1.2. introduction to automata theory
1.2. introduction to automata theorySampath Kumar S
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic NotationsNagendraK18
 
Theory of Computation
Theory of ComputationTheory of Computation
Theory of ComputationShiraz316
 
theory of computation lecture 01
theory of computation lecture 01theory of computation lecture 01
theory of computation lecture 018threspecter
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 
Algorithm chapter 10
Algorithm chapter 10Algorithm chapter 10
Algorithm chapter 10chidabdu
 
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...Amrinder Arora
 
Computability, turing machines and lambda calculus
Computability, turing machines and lambda calculusComputability, turing machines and lambda calculus
Computability, turing machines and lambda calculusEdward Blurock
 
Cs6503 theory of computation book notes
Cs6503 theory of computation book notesCs6503 theory of computation book notes
Cs6503 theory of computation book notesappasami
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial IntelligenceKALPANATCSE
 

What's hot (19)

NP completeness
NP completenessNP completeness
NP completeness
 
Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP Completeness
 
27 NP Completness
27 NP Completness27 NP Completness
27 NP Completness
 
1.2. introduction to automata theory
1.2. introduction to automata theory1.2. introduction to automata theory
1.2. introduction to automata theory
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic Notations
 
Theory of Computation
Theory of ComputationTheory of Computation
Theory of Computation
 
Np completeness
Np completenessNp completeness
Np completeness
 
theory of computation lecture 01
theory of computation lecture 01theory of computation lecture 01
theory of computation lecture 01
 
Np complete
Np completeNp complete
Np complete
 
Np complete
Np completeNp complete
Np complete
 
P versus NP
P versus NPP versus NP
P versus NP
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 
Algorithm chapter 10
Algorithm chapter 10Algorithm chapter 10
Algorithm chapter 10
 
P vs NP
P vs NP P vs NP
P vs NP
 
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
 
Computability, turing machines and lambda calculus
Computability, turing machines and lambda calculusComputability, turing machines and lambda calculus
Computability, turing machines and lambda calculus
 
Cs6503 theory of computation book notes
Cs6503 theory of computation book notesCs6503 theory of computation book notes
Cs6503 theory of computation book notes
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Ngrams smoothing
Ngrams smoothingNgrams smoothing
Ngrams smoothing
 

Viewers also liked

Distinguished Speakers - Professor Marta Kwiatkowska
Distinguished Speakers -  Professor Marta KwiatkowskaDistinguished Speakers -  Professor Marta Kwiatkowska
Distinguished Speakers - Professor Marta Kwiatkowskaoxwocs
 
Disntinguished Speaker - Corina Forascu
Disntinguished Speaker - Corina ForascuDisntinguished Speaker - Corina Forascu
Disntinguished Speaker - Corina Forascuoxwocs
 
Tova Milo on Crowd Mining
Tova Milo on Crowd MiningTova Milo on Crowd Mining
Tova Milo on Crowd Miningoxwocs
 
Rosella Gennari- Intelligent systems and learning centred design
Rosella Gennari- Intelligent systems and learning centred designRosella Gennari- Intelligent systems and learning centred design
Rosella Gennari- Intelligent systems and learning centred designoxwocs
 
Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...
Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...
Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...oxwocs
 
Cigdem gencel persistence in poor estimating in software engineering- whys an...
Cigdem gencel persistence in poor estimating in software engineering- whys an...Cigdem gencel persistence in poor estimating in software engineering- whys an...
Cigdem gencel persistence in poor estimating in software engineering- whys an...oxwocs
 

Viewers also liked (6)

Distinguished Speakers - Professor Marta Kwiatkowska
Distinguished Speakers -  Professor Marta KwiatkowskaDistinguished Speakers -  Professor Marta Kwiatkowska
Distinguished Speakers - Professor Marta Kwiatkowska
 
Disntinguished Speaker - Corina Forascu
Disntinguished Speaker - Corina ForascuDisntinguished Speaker - Corina Forascu
Disntinguished Speaker - Corina Forascu
 
Tova Milo on Crowd Mining
Tova Milo on Crowd MiningTova Milo on Crowd Mining
Tova Milo on Crowd Mining
 
Rosella Gennari- Intelligent systems and learning centred design
Rosella Gennari- Intelligent systems and learning centred designRosella Gennari- Intelligent systems and learning centred design
Rosella Gennari- Intelligent systems and learning centred design
 
Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...
Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...
Sheila Mcllraith: Of Programs, Plans, and Automata: 101 things you can do wit...
 
Cigdem gencel persistence in poor estimating in software engineering- whys an...
Cigdem gencel persistence in poor estimating in software engineering- whys an...Cigdem gencel persistence in poor estimating in software engineering- whys an...
Cigdem gencel persistence in poor estimating in software engineering- whys an...
 

Similar to Metric Temporal Logic over Data Words: Expressing Quantitative Properties

Model Checking Tutorial
Model Checking TutorialModel Checking Tutorial
Model Checking TutorialAnit Thapaliya
 
How Hard Can a Problem Be ?
How Hard Can a Problem Be ?How Hard Can a Problem Be ?
How Hard Can a Problem Be ?Ahmed Saeed
 
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...sipij
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignmenttesfahunegn minwuyelet
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introductionVlad Patryshev
 
2009 CSBB LAB 新生訓練
2009 CSBB LAB 新生訓練2009 CSBB LAB 新生訓練
2009 CSBB LAB 新生訓練Abner Huang
 
9. chapter 8 np hard and np complete problems
9. chapter 8   np hard and np complete problems9. chapter 8   np hard and np complete problems
9. chapter 8 np hard and np complete problemsJyotsna Suryadevara
 
Moment generating function & bernoulli experiment
Moment generating function & bernoulli experimentMoment generating function & bernoulli experiment
Moment generating function & bernoulli experimentGhanashyam Prajapati
 
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 YadavAgile Testing Alliance
 
P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2S.Shayan Daneshvar
 
pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...
pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...
pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...Lifeng (Aaron) Han
 
Pptphrase tagset mapping for french and english treebanks and its application...
Pptphrase tagset mapping for french and english treebanks and its application...Pptphrase tagset mapping for french and english treebanks and its application...
Pptphrase tagset mapping for french and english treebanks and its application...Lifeng (Aaron) Han
 
Basic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfBasic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfArivukkarasu Dhanapal
 
Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4Rajendran
 
Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...Konstantinos Giannakis
 
20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrisonComputer Science Club
 
UNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit pptUNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit pptJyoReddy9
 

Similar to Metric Temporal Logic over Data Words: Expressing Quantitative Properties (20)

class23.ppt
class23.pptclass23.ppt
class23.ppt
 
Model Checking Tutorial
Model Checking TutorialModel Checking Tutorial
Model Checking Tutorial
 
How Hard Can a Problem Be ?
How Hard Can a Problem Be ?How Hard Can a Problem Be ?
How Hard Can a Problem Be ?
 
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignment
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introduction
 
2009 CSBB LAB 新生訓練
2009 CSBB LAB 新生訓練2009 CSBB LAB 新生訓練
2009 CSBB LAB 新生訓練
 
9. chapter 8 np hard and np complete problems
9. chapter 8   np hard and np complete problems9. chapter 8   np hard and np complete problems
9. chapter 8 np hard and np complete problems
 
Moment generating function & bernoulli experiment
Moment generating function & bernoulli experimentMoment generating function & bernoulli experiment
Moment generating function & bernoulli experiment
 
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
 
P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2
 
pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...
pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...
pptphrase-tagset-mapping-for-french-and-english-treebanks-and-its-application...
 
Pptphrase tagset mapping for french and english treebanks and its application...
Pptphrase tagset mapping for french and english treebanks and its application...Pptphrase tagset mapping for french and english treebanks and its application...
Pptphrase tagset mapping for french and english treebanks and its application...
 
Teori pnp
Teori pnpTeori pnp
Teori pnp
 
Basic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfBasic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdf
 
Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4
 
Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...
 
20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison
 
chapter 2.pptx
chapter 2.pptxchapter 2.pptx
chapter 2.pptx
 
UNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit pptUNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit ppt
 

Recently uploaded

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Recently uploaded (20)

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

Metric Temporal Logic over Data Words: Expressing Quantitative Properties

  • 1. Metric Temporal Logic over Data Words Seminar Oxford Women in Computer Science Karin Quaas University of Leipzig 3.3.2015
  • 2. Verification - Program P, Specification S - Does the program P satisfy the specification S? - Verification: Can one automatically verify whether P satisfies S? - P...abstract model: finite automata, timed automata, one-counter automata etc. - S...logical formula: FOL, LTL, MTL, etc. Other Usage - You may also use the logics I introduce for representing knowledge in a database
  • 3. Linear Time Temporal Logic (LTL) P... a finite set of propositional variables. ϕ ::= true | p | ¬ϕ | ϕ ∨ ϕ | ϕUϕ | Xϕ where p ∈ P. Syntactical abbreviations: ϕ1 → ϕ2 ··= ¬ϕ1 ∨ ϕ2, ϕ1 ∧ ϕ2 ··= ¬(¬ϕ1 ∨ ¬ϕ2), Fϕ ··= trueUϕ, Gϕ ··= ¬F¬ϕ U ... Until; X ... Next; F ... Finally; G ... Globally Examples: P = {red, green, button pressed, . . . } ψ1 = redUbutton pressed ψ2 = button pressed → Xgreen ψ3 = button pressed → Fgreen ψ4 = G(green ∨ red) w =
  • 4. Verification Problems for LTL The Satisfiability Problem Given: An LTL formula Question: Does there exist a word that satisfies the formula? The Model Checking Problem Given: An LTL formula, and an abstract model that generates/recognizes words Question: Does every word generated/recognized by the model satisfy the formula? The Path Checking Problem Given: An LTL formula, a word Question: Does the word satisfy the formula? - Satisfiability and model checking of Kripke structures is PSPACE-complete [Sistla & Clarke, 1985] - Path checking for LTL is in NC [Kuhtz & Finkbeiner, 2009]
  • 5. LTL cannot express quantitative information Examples: • ψ3 = button pressed → Fgreen w = Finally...but when? • ψ2 = button pressed → Xgreen w = When the next event occurs...but when? Goal: We want to express that green holds within 40 seconds after button pressed.
  • 6. Verification Problems for MTL over Timed Words The Satisfiability Problem Given: An MTL formula Question: Does there exist a timed word that satisfies the formula? The Model Checking Problem Given: An MTL formula, and a timed automaton (recognizing timed words) Question: Does every timed word recognized by the timed automaton satisfy the formula? The Path Checking Problem Given: An MTL formula, a timed word Question: Does the timed word satisfy the formula? - Satisfiability is EXPSPACE-complete for timed words over N [Alur & Henzinger, 1993] - Satisfiability and model checking is decidable [Ouaknine & Worrell, 2005] - Path checking for MTL is in NC [Bundala & Ouaknine, 2014]
  • 7. Timed Words vs Data Words Timed words are a special case of data words: monotonically increasing w = 0.3 92.11.8 10.3 12.0 32.0 40.5 68.1 70.2 (Timed word) Many sequences of data are not monotonically increasing.
  • 8.
  • 9. MTL over Data Words Example: • ψ6 = F red ∧ X>0true ∧ F=0green w = 15 2313 18 30 37 30 27 27 Goal: We want to express, e.g., that the invention of LTL led to an increase in the number of “coding women”, and that the number of “coding women” in the year when LTL was invented is equal to the number when MTL was invented.
  • 10. MTL over Data Words Example: • ψ6 = F red ∧ X>0true ∧ F=0green w = 15 2313 18 30 37 30 27 27 Syntax: P... a finite set of propositional variables. ϕ ::= true | p | ¬ϕ | ϕ ∨ ϕ | ϕUIϕ | XIϕ where p ∈ P, I ⊆ Z is an interval. Syntactical abbreviations: FIϕ ··= trueUIϕ, GIϕ ··= ¬FI¬ϕ
  • 11. Verification Problems for MTL over Data Words The Satisfiability Problem Given: An MTL formula Question: Does there exist a data word that satisfies the formula? The Model Checking Problem Given: An MTL formula, and a one-counter machine (simulating data words) Question: Does every run of the one-counter machine satisfy the formula? The Path Checking Problem Given: An MTL formula, a data word Question: Does the data word satisfy the formula? - Model checking is undecidable, decidable for deterministic one-counter machines [Q, 2013] - Satisfiability is undecidable [Carapelle, Feng, Gil, & Q 2014] - Path checking for MTL is in P-complete [Feng, Lohrey, & Q, 2015 (not pub.)]
  • 12. Summary SAT MC PC LTL PSPACE − c. PSPACE − c. NC MTL(R≥0) not prim.-rec. not prim-rec. NC MTL(Z) undec. undec. P − c.
  • 13. Quantitative Logics and Automata - DFG Research Training Group QuantLA in Leipzig/Dresden - Quantitative Logics and Automata, and their applications in verification, knowledge representation, natural language processing, and semi-structured data (XML) - Offers 8 doctoral scholarships starting from October 1, 2015 - Application deadline: May 15, 2015