## Abstract

The logic LTL^{∇} extends LTL by quality operators. The satisfaction value of an LTL^{∇} formula in a computation refines the 0/1 value of formulas to a real value in [0,1]. The higher the value is, the better is the quality of the computation. The quality operator ∇_{λ}, for a quality constant λ ∈ [0,1], enables the designer to prioritize different satisfaction possibilities. Formally, the satisfaction value of a sub-formula ∇ _{λφ} is λ times the satisfaction value of φ. For example, the LTL^{∇} formula G(req → (X grant ∨ ∇_{1/2} F grant)) has value 1 in computations in which every request is immediately followed by a grant, value 1/2 if grants to some requests involve a delay, and value 0 if some request is not followed by a grant. The design of an LTL^{∇} formula typically starts with an formula on top of which the designer adds the parameterized ∇ operators. In the Boolean setting, the problem of automatic generation of specifications from binary-tagged computations is of great importance and is a very challenging one. Here we consider the quantitative counterpart: an LTL^{∇} query is an LTL^{∇} formula in which some of the quality constants are replaced by variables. Given an LTL^{∇} query and a set of computations tagged by satisfaction values, the goal is to find an assignment to the variables in the query so that the obtained LTL^{∇} formula has the given satisfaction values, or, if this is impossible, best approximates them. The motivation to solving LTL^{∇} queries is that in practice it is easier for a designer to provide desired satisfaction values in representative computations than to come up with quality constants that capture his intuition of good and bad quality. We study the problem of solving LTL ^{∇} queries and show that while the problem is NP-hard, interesting fragments can be solved in polynomial time. One such fragment is the case of a single tagged computation, which we use for introducing a heuristic for the general case. The polynomial solution is based on an analysis of the search space, showing that reasoning about the infinitely many possible assignments can proceed by reasoning about their partition into finitely many classes. Our experimental results show the effectiveness and favorable outcome of the heuristic.

Original language | American English |
---|---|

Title of host publication | Computer Aided Verification - 25th International Conference, CAV 2013, Proceedings |

Pages | 479-494 |

Number of pages | 16 |

DOIs | |

State | Published - 2013 |

Event | 25th International Conference on Computer Aided Verification, CAV 2013 - Saint Petersburg, Russian Federation Duration: 13 Jul 2013 → 19 Jul 2013 |

### Publication series

Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|

Volume | 8044 LNCS |

ISSN (Print) | 0302-9743 |

ISSN (Electronic) | 1611-3349 |

### Conference

Conference | 25th International Conference on Computer Aided Verification, CAV 2013 |
---|---|

Country/Territory | Russian Federation |

City | Saint Petersburg |

Period | 13/07/13 → 19/07/13 |