robust expressive and quantitative linear temporal logics
play

Robust, Expressive, and Quantitative Linear Temporal Logics: Pick - PowerPoint PPT Presentation

Robust, Expressive, and Quantitative Linear Temporal Logics: Pick any Two for Free Joint work with Daniel Neider and Alexander Weinert Martin Zimmermann University of Liverpool September 3rd, 2019 GandALF 2019, Bordeaux, France Martin


  1. Robust, Expressive, and Quantitative Linear Temporal Logics: Pick any Two for Free Joint work with Daniel Neider and Alexander Weinert Martin Zimmermann University of Liverpool September 3rd, 2019 GandALF 2019, Bordeaux, France Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 1/12

  2. Linear Temporal Logic (LTL) The most prominent and most important specification language for reactive systems. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 2/12

  3. Linear Temporal Logic (LTL) The most prominent and most important specification language for reactive systems. Examples ( q → p ): every re q uest is res p onded to eventually. a → g : if a ssumption holds always, then g uarantee holds always. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 2/12

  4. Linear Temporal Logic (LTL) The most prominent and most important specification language for reactive systems. Exponential Compilation Property (ECP): every LTL formula can be translated into a Büchi automaton of exponential size. ECP yields model checking in PSpace and synthesis in 2ExpTime . Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 2/12

  5. Linear Temporal Logic (LTL) The most prominent and most important specification language for reactive systems. Exponential Compilation Property (ECP): every LTL formula can be translated into a Büchi automaton of exponential size. ECP yields model checking in PSpace and synthesis in 2ExpTime . Shortcomings Inability to express timing constraints Limited expressiveness (weaker than Büchi automata) Inability to capture robustness Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 2/12

  6. Linear Temporal Logic (LTL) The most prominent and most important specification language for reactive systems. Exponential Compilation Property (ECP): every LTL formula can be translated into a Büchi automaton of exponential size. ECP yields model checking in PSpace and synthesis in 2ExpTime . Shortcomings Inability to express timing constraints Limited expressiveness (weaker than Büchi automata) Inability to capture robustness All three shortcomings have been addressed before.. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 2/12

  7. The Big Picture rLTL( , ) Prompt-LTL LDL LTL Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 3/12

  8. Prompt-LTL Kupferman, Piterman, Vardi (’09): Add timing constraints to LTL Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | ϕ | ϕ U ϕ | ϕ R ϕ | p ϕ Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 4/12

  9. Prompt-LTL Kupferman, Piterman, Vardi (’09): Add timing constraints to LTL Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | ϕ | ϕ U ϕ | ϕ R ϕ | p ϕ Semantics via evaluation function V p mapping a trace w , a bound k , and a formula ϕ to a truth value in {0,1}. V p ( w , k , p ϕ ) = 1 iff ϕ w : 0 1 2 3 · · · k − 1 k Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 4/12

  10. Prompt-LTL Kupferman, Piterman, Vardi (’09): Add timing constraints to LTL Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | ϕ | ϕ U ϕ | ϕ R ϕ | p ϕ Example ( q → p p ): every re q uest is res p onded to within k steps. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 4/12

  11. Linear Dynamic Logic Vardi (’11): Add guards to and to restrict their scope Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | � r � ϕ | [ r ] ϕ r ::= φ | ϕ ? | r + r | r ; r | r ∗ where φ ranges over boolean formulas over the atomic propositions. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 5/12

  12. Linear Dynamic Logic Vardi (’11): Add guards to and to restrict their scope Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | � r � ϕ | [ r ] ϕ r ::= φ | ϕ ? | r + r | r ; r | r ∗ where φ ranges over boolean formulas over the atomic propositions. Semantics V d ( w , � r � ϕ ) = 1 iff ϕ w : ∈ L ( r ) ∈ L ( r ) Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 5/12

  13. Linear Dynamic Logic Vardi (’11): Add guards to and to restrict their scope Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | � r � ϕ | [ r ] ϕ r ::= φ | ϕ ? | r + r | r ; r | r ∗ where φ ranges over boolean formulas over the atomic propositions. Semantics V d ( w , [ r ] ϕ ) = 1 iff ϕ ϕ w : ∈ L ( r ) ∈ L ( r ) Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 5/12

  14. Linear Dynamic Logic Vardi (’11): Add guards to and to restrict their scope Syntax ϕ ::= p | ¬ p | ϕ ∧ ϕ | ϕ ∨ ϕ | � r � ϕ | [ r ] ϕ r ::= φ | ϕ ? | r + r | r ; r | r ∗ where φ ranges over boolean formulas over the atomic propositions. Example [ r ] p with r = ( tt ; tt ) ∗ : p holds at every even position. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 5/12

  15. Robust LTL Tabuada and Neider (’16): Capture robustness in LTL semantics Consider the five (canonical) ways a can be satisfied/violated: 1. a holds always ( a ) 2. a holds almost always ( a ) 3. a holds infinitely often ( a ) 4. a holds at least once ( a ) 5. a holds never ( ¬ a ) Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 6/12

  16. Robust LTL Tabuada and Neider (’16): Capture robustness in LTL semantics Consider the five (canonical) ways a can be satisfied/violated: 1. a holds always ( a ) 2. a holds almost always ( a ) 3. a holds infinitely often ( a ) 4. a holds at least once ( a ) 5. a holds never ( ¬ a ) Note that 1. ⇒ 2. ⇒ 3. ⇒ 4 . Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 6/12

  17. Robust LTL Tabuada and Neider (’16): Capture robustness in LTL semantics Consider the five (canonical) ways a can be satisfied/violated: 1. a holds always ( a ) 1111 2. a holds almost always ( a ) 0111 3. a holds infinitely often ( a ) 0011 4. a holds at least once ( a ) 0001 5. a holds never ( ¬ a ) 0000 Note that 1. ⇒ 2. ⇒ 3. ⇒ 4 . Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 6/12

  18. Robust LTL Tabuada and Neider (’16): Capture robustness in LTL semantics Consider the five (canonical) ways a can be satisfied/violated: 1. a holds always ( a ) 1111 2. a holds almost always ( a ) 0111 3. a holds infinitely often ( a ) 0011 4. a holds at least once ( a ) 0001 5. a holds never ( ¬ a ) 0000 Note that 1. ⇒ 2. ⇒ 3. ⇒ 4 . Basis of five-valued robust semantics for LTL. Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 6/12

  19. Robust Semantics Truth values B 4 = { 1111 > 0111 > 0011 > 0001 > 0000 } Truth value for atomic propositions always in { 1111 , 0000 } Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 7/12

  20. Robust Semantics Truth values B 4 = { 1111 > 0111 > 0011 > 0001 > 0000 } Truth value for atomic propositions always in { 1111 , 0000 } Conjunction and disjunction via minimization and maximization over B 4 Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 7/12

  21. Robust Semantics Truth values B 4 = { 1111 > 0111 > 0011 > 0001 > 0000 } Truth value for atomic propositions always in { 1111 , 0000 } Conjunction and disjunction via minimization and maximization over B 4 Negation based on 1111 representing satisfaction and all other truth values representing shades of violation Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 7/12

  22. Robust Semantics Truth values B 4 = { 1111 > 0111 > 0011 > 0001 > 0000 } Truth value for atomic propositions always in { 1111 , 0000 } Conjunction and disjunction via minimization and maximization over B 4 Negation based on 1111 representing satisfaction and all other truth values representing shades of violation Implication “ ψ → ϕ ” satisfied (1111) if truth value of consequence ϕ not smaller than truth value of antecedent ψ (otherwise truth value of consequence) Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 7/12

  23. Robust Semantics Truth values B 4 = { 1111 > 0111 > 0011 > 0001 > 0000 } Truth value for atomic propositions always in { 1111 , 0000 } Conjunction and disjunction via minimization and maximization over B 4 Negation based on 1111 representing satisfaction and all other truth values representing shades of violation Implication “ ψ → ϕ ” satisfied (1111) if truth value of consequence ϕ not smaller than truth value of antecedent ψ (otherwise truth value of consequence) Eventually classical Martin Zimmermann University of Liverpool Robust, Expressive, and Quantitative Temporal Logics 7/12

Recommend


More recommend