Real-time Synthesis is Hard!

Similar documents
Efficient algorithms and tools for MITL model-checking and synthesis

Realizability of Real-Time Logics

Controller Synthesis for MTL Specifications

The Compound Interest in Relaxing Punctuality

From MTL to Deterministic Timed Automata

On decision problems for timed automata

arxiv: v1 [cs.lo] 17 Jun 2014

Liveness in L/U-Parametric Timed Automata

Weak Alternating Timed Automata

Eliminating past operators in Metric Temporal Logic

Folk Theorems on the Determinization and Minimization of Timed Automata

Robust Controller Synthesis in Timed Automata

The Cost of Punctuality

Towards the Complexity of Controls for Timed Automata with a Small Number of Clocks

MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable

Games with Costs and Delays

Synthesis of Winning Strategies for Interaction under Partial Information

On Reachability for Hybrid Automata over Bounded Time

Model Checking Real-Time Systems

Contributions to timed systems and transducers

arxiv: v1 [cs.lo] 25 Dec 2018

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA

Robust Reachability in Timed Automata: A Game-based Approach

The Complexity of Transducer Synthesis from Multi-Sequential Specifications

Hourglass Automata. Yuki Osada, Tim French, Mark Reynolds, and Harry Smallbone

Randomness for Free. 1 Introduction. Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1

The Expressiveness of Metric Temporal Logic II:

Finitary Winning in ω-regular Games

When are Timed Automata Determinizable?

Antichain Algorithms for Finite Automata

The Expressive Completeness of Metric Temporal Logic

On the determinization of timed systems

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr

Reachability-Time Games on Timed Automata (Extended Abstract)

Safety Metric Temporal Logic Is Fully Decidable

Timed Control with Partial Observability

Synthesizing Robust Systems

On Synthesizing Controllers from Bounded-Response Properties

A Survey of Partial-Observation Stochastic Parity Games

Time and Timed Petri Nets

Rectangular Hybrid Games (Extended Abstract) Λ Thomas A. Henzinger Benjamin Horowitz Rupak Majumdar March 1999

CHURCH SYNTHESIS PROBLEM and GAMES

Games and Automata: From Boolean to Quantitative Verification

Controller Synthesis with UPPAAL-TIGA. Alexandre David Kim G. Larsen, Didier Lime, Franck Cassez, Jean-François Raskin

Introduction to Turing Machines

Timed Control with Observation Based and Stuttering Invariant Strategies

Tree Automata and Rewriting

Visibly Linear Dynamic Logic

New Complexity Results for Some Linear Counting Problems Using Minimal Solutions to Linear Diophantine Equations

Simple Priced Timed Games Are Not That Simple

Timed Automata with Observers under Energy Constraints

The MSO Theory of Connectedly Communicating Processes

arxiv: v1 [cs.lo] 2 May 2014

An On-the-fly Tableau Construction for a Real-Time Temporal Logic

Semi-Automatic Distributed Synthesis

Language Emptiness of Continuous-Time Parametric Timed Automata

Models for Efficient Timed Verification

Probabilistic Opacity for Markov Decision Processes

Distributed games with causal memory are decidable for series-parallel systems

Note on winning positions on pushdown games with omega-regular winning conditions

arxiv: v1 [cs.fl] 25 Nov 2018

Nash Equilibria in Concurrent Games with Büchi Objectives

Asynchronous Games over Tree Architectures

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints

Synthesis of Asynchronous Systems

Real-Time Logics: Fictitious Clock as an Abstraction of Dense Time Jean-Francois Raskin and Pierre-Yves Schobbens Computer

Synthesis of Designs from Property Specifications

Bounded Synthesis. Sven Schewe and Bernd Finkbeiner. Universität des Saarlandes, Saarbrücken, Germany

Decision Problems for Additive Regular Functions

A Symbolic Approach to Safety LTL Synthesis

Admissible Strategies for Synthesizing Systems

Temporal Logic with Past is Exponentially More Succinct

Valentin Goranko Stockholm University. ESSLLI 2018 August 6-10, of 29

Formal Verification Techniques. Riccardo Sisto, Politecnico di Torino

Bridging the Gap between Reactive Synthesis and Supervisory Control

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany

Robustness and Implementability of Timed Automata

Stochastic Games with Time The value Min strategies Max strategies Determinacy Finite-state games Cont.-time Markov chains

Measuring Permissivity in Finite Games

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata

Games with Discrete Resources

Deciding Continuous-time Metric Temporal Logic with Counting Modalities

What s decidable about parametric timed automata?

Laboratoire Spécification & Vérification. Language Preservation Problems in Parametric Timed Automata. Étienne André and Nicolas Markey

Incompleteness Theorems, Large Cardinals, and Automata ov

Lower-Bound Constrained Runs in Weighted Timed Automata

Approximate Determinization of Quantitative Automata

Approximately Bisimilar Finite Abstractions of Stable Linear Systems

Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1

Undecidability Results for Timed Automata with Silent Transitions

Games and Synthesis. Nir Piterman University of Leicester Telč, July-Autugst 2014

CDS 270 (Fall 09) - Lecture Notes for Assignment 8.

Subsumption of concepts in FL 0 for (cyclic) terminologies with respect to descriptive semantics is PSPACE-complete.

The Element of Surprise in Timed Games

Logical Characterization of Weighted Pebble Walking Automata

Synthesis weakness of standard approach. Rational Synthesis

Logic Model Checking

Hybrid Automata and ɛ-analysis on a Neural Oscillator

Automata-based analysis of recursive cryptographic protocols

ENES 489p. Verification and Validation: Logic and Control Synthesis

Transcription:

Real-time Synthesis is Hard! @ Highlights 2016 Benjamin Monmege (LIF, Aix-Marseille Université) Thomas Brihaye, Morgane Estiévenart, Hsi-Ming Ho (UMONS) Gilles Geeraerts (ULB) Nathalie Sznajder (UPMC, LIP6) 7 September 2016 Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 1 / 10

Reactive synthesis Σ = Σ C Σ E controllable actions owned by controller C: {MoveUp, MoveDown, OpenDoor, Opened,...} uncontrollable actions owned by environment E: {0F-Up, 0F-Down,..., -1F, 0F,... Open, Close,...} Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 2 / 10

Reactive synthesis Σ = Σ C Σ E controllable actions owned by controller C: {MoveUp, MoveDown, OpenDoor, Opened,...} uncontrollable actions owned by environment E: {0F-Up, 0F-Down,..., -1F, 0F,... Open, Close,...} + state (at which floor, opening,... ) Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 2 / 10

Reactive synthesis Σ = Σ C Σ E controllable actions owned by controller C: {MoveUp, MoveDown, OpenDoor, Opened,...} uncontrollable actions owned by environment E: {0F-Up, 0F-Down,..., -1F, 0F,... Open, Close,...} + state (at which floor, opening,... ) + timing restrictions (latency,... ) Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 2 / 10

Reactive synthesis Σ = Σ C Σ E controllable actions owned by controller C: {MoveUp, MoveDown, OpenDoor, Opened,...} uncontrollable actions owned by environment E: {0F-Up, 0F-Down,..., -1F, 0F,... Open, Close,...} + state (at which floor, opening,... ) + timing restrictions (latency,... ) = Plant P: a DTA over Σ Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 2 / 10

Reactive synthesis Σ = Σ C Σ E controllable actions owned by controller C: {MoveUp, MoveDown, OpenDoor, Opened,...} uncontrollable actions owned by environment E: {0F-Up, 0F-Down,..., -1F, 0F,... Open, Close,...} + state (at which floor, opening,... ) + timing restrictions (latency,... ) = Plant P: a DTA over Σ Σ E Σ E 0 TO 1 Arrive x = 5 1F MoveUp x := 0 Σ E Σ E 0F MoveDown x := 0 0 TO -1 Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 2 / 10

Reactive synthesis A run of P can be seen as a play of the timed game between C and E. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 3 / 10

Reactive synthesis A run of P can be seen as a play of the timed game between C and E. In each round, each player proposes a pair (delay, action) enabled in P: Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 3 / 10

Reactive synthesis A run of P can be seen as a play of the timed game between C and E. In each round, each player proposes a pair (delay, action) enabled in P: CloseDoor x := 0 CLOSING Closed x = 2 Open Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 3 / 10

Reactive synthesis A run of P can be seen as a play of the timed game between C and E. In each round, each player proposes a pair (delay, action) enabled in P: CloseDoor x := 0 CLOSING Closed x = 2 Open ( C, Closed) ( E, Open) Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 3 / 10

Reactive synthesis A run of P can be seen as a play of the timed game between C and E. In each round, each player proposes a pair (delay, action) enabled in P: CloseDoor x := 0 CLOSING Closed x = 2 Open ( C, Closed) ( E, Open) Only action(s) with the shortest delay min( C, E ) may be played. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 3 / 10

Reactive synthesis The lift responds to any call in less than 10 t.u. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 4 / 10

Reactive synthesis The lift responds to any call in less than 10 t.u. 1F-Up x := 0-1F-Up x := 0 MoveUp x < 10 MoveDown x < 10 Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 4 / 10

Reactive synthesis The lift responds to any call in less than 10 t.u. 1F-Up x := 0-1F-Up x := 0 MoveUp x < 10 MoveDown x < 10 Specification L: a set of timed words over Σ Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 4 / 10

Reactive synthesis The lift responds to any call in less than 10 t.u. 1F-Up x := 0-1F-Up x := 0 MoveUp x < 10 MoveDown x < 10 Specification L: a set of timed words over Σ Reactive synthesis problem (RS) Given plant P and specification L, find a strategy of Controller such that no matter what Environment does, every play satisfies the specification. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 4 / 10

Metric Temporal Logic (MTL) ϕ ::= a ϕ ϕ ϕ ϕ U I ϕ with a Σ, I [0, ) with bounds in Q {+ } Models: finite (or infinite) timed words σ = (a 1, t 1 )(a 2, t 2 ) Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 5 / 10

Metric Temporal Logic (MTL) ϕ ::= a ϕ ϕ ϕ ϕ U I ϕ with a Σ, I [0, ) with bounds in Q {+ } Models: finite (or infinite) timed words σ = (a 1, t 1 )(a 2, t 2 ) Theorem: [Doyen, Geeraerts, Raskin, and Reichert, 2009] Reactive synthesis problem is undecidable for ECL (hence, MTL) specifications, even without plant. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 5 / 10

Reactive synthesis for MTL Reactive synthesis Undec. [Doyen, Geeraerts, Raskin, and Reichert, 2009] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 6 / 10

Reactive synthesis for MTL Reactive synthesis Undec. [Doyen, Geeraerts, Raskin, and Reichert, 2009] Controller = timed automaton Implementable reactive synthesis Undec. [Bouyer, Bozzelli, and Chevalier, 2006] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 6 / 10

Reactive synthesis for MTL Reactive synthesis Undec. [Doyen, Geeraerts, Raskin, and Reichert, 2009] Controller = timed automaton Implementable reactive synthesis Undec. [Bouyer, Bozzelli, and Chevalier, 2006] Bounding resources of controller Clocks- and precision-bounded reactive synthesis Dec. & Non-elem. over finite words [Bouyer, Bozzelli, and Chevalier, 2006] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 6 / 10

Reactive synthesis for MTL Reactive synthesis Undec. [Doyen, Geeraerts, Raskin, and Reichert, 2009] Controller = timed automaton Implementable reactive synthesis Undec. [Bouyer, Bozzelli, and Chevalier, 2006] Clocks-bounded reactive synthesis Precision-bounded reactive synthesis Bounding resources of controller Clocks- and precision-bounded reactive synthesis Dec. & Non-elem. over finite words [Bouyer, Bozzelli, and Chevalier, 2006] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 6 / 10

Reactive synthesis for MTL Reactive synthesis Undec. [Doyen, Geeraerts, Raskin, and Reichert, 2009] Controller = timed automaton Implementable reactive synthesis Undec. [Bouyer, Bozzelli, and Chevalier, 2006] Clocks-bounded reactive synthesis Undec. Precision-bounded reactive synthesis Undec. Bounding resources of controller Clocks- and precision-bounded reactive synthesis Dec. & Non-elem. over finite words [Bouyer, Bozzelli, and Chevalier, 2006] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 6 / 10

Regaining hope? Less expressive specifications Undecidability proofs heavily use punctuality of MTL: request =1 grant Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 7 / 10

Regaining hope? Less expressive specifications Undecidability proofs heavily use punctuality of MTL: request =1 grant request [1,2] grant request 3 grant Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 7 / 10

Regaining hope? Less expressive specifications Undecidability proofs heavily use punctuality of MTL: request =1 grant request [1,2] grant request 3 grant MITL = non-punctual fragment of MTL: ϕ ::= a ϕ ϕ ϕ ϕ U I ϕ with a Σ, I [0, ) is a non-singular with bounds in Q {+ } Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 7 / 10

Contribution: reactive synthesis for MITL Reactive synthesis Implementable reactive synthesis Controller = timed automaton Clocks-bounded reactive synthesis Precision-bounded reactive synthesis Bounding resources of controller Clocks- and precision-bounded reactive synthesis Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 8 / 10

Contribution: reactive synthesis for MITL Reactive synthesis Undec. (even without plant) Implementable reactive synthesis Controller = timed automaton Clocks-bounded reactive synthesis Precision-bounded reactive synthesis Bounding resources of controller Clocks- and precision-bounded reactive synthesis Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 8 / 10

Contribution: reactive synthesis for MITL Reactive synthesis Undec. (even without plant) Controller = timed automaton Clocks-bounded reactive synthesis Implementable reactive synthesis Precision-bounded reactive synthesis Undec. Bounding resources of controller Clocks- and precision-bounded reactive synthesis Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 8 / 10

Contribution: reactive synthesis for MITL Reactive synthesis Undec. (even without plant) Controller = timed automaton Clocks-bounded reactive synthesis Undec. Implementable reactive synthesis Precision-bounded reactive synthesis Undec. Undec. Bounding resources of controller Clocks- and precision-bounded reactive synthesis Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 8 / 10

Contribution: reactive synthesis for MITL Reactive synthesis Undec. (even without plant) Controller = timed automaton Clocks-bounded reactive synthesis Undec. Implementable reactive synthesis Precision-bounded reactive synthesis Undec. Undec. Bounding resources of controller Clocks- and precision-bounded reactive synthesis Dec. & 3-EXPTIME over finite words [D Souza and Madhusudan, 2002] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 8 / 10

Contribution: reactive synthesis for MITL Reactive synthesis Undec. (even without plant) Controller = timed automaton Clocks-bounded reactive synthesis Undec. Implementable reactive synthesis Precision-bounded reactive synthesis Undec. Undec. Bounding resources of controller Clocks- and precision-bounded reactive synthesis Dec. & 3-EXPTIME over finite words [D Souza and Madhusudan, 2002] On-the-fly algo: interval sem. [Brihaye, Estiévenart, and Geeraerts, 2013] Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 8 / 10

Conclusion For almost all reactive synthesis problems, MITL is as hard as MTL... Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 9 / 10

Conclusion For almost all reactive synthesis problems, MITL is as hard as MTL...... except for resources-bounded problem over finite words: Non-elementary for MTL; 3-EXPTIME for MITL; on-the-fly algorithm Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 9 / 10

Conclusion For almost all reactive synthesis problems, MITL is as hard as MTL...... except for resources-bounded problem over finite words: Non-elementary for MTL; 3-EXPTIME for MITL; on-the-fly algorithm Other fragments?? Hopeless! implementable RS clock-bounded RS precision-bounded RS Safety-MTL coflat-mtl Open-MITL Closed-MITL Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 9 / 10

Conclusion For almost all reactive synthesis problems, MITL is as hard as MTL...... except for resources-bounded problem over finite words: Non-elementary for MTL; 3-EXPTIME for MITL; on-the-fly algorithm Other fragments?? Hopeless! Safety-MTL coflat-mtl Open-MITL Closed-MITL implementable RS undec. undec. undec. undec. clock-bounded RS undec. undec. undec. undec. precision-bounded RS undec. undec. undec. undec. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 9 / 10

Conclusion For almost all reactive synthesis problems, MITL is as hard as MTL...... except for resources-bounded problem over finite words: Non-elementary for MTL; 3-EXPTIME for MITL; on-the-fly algorithm Other fragments?? Hopeless! Safety-MTL coflat-mtl Open-MITL Closed-MITL implementable RS undec. undec. undec. undec. clock-bounded RS undec. undec. undec. undec. precision-bounded RS undec. undec. undec. undec. Possible future directions: Decidable fragments for BPrecRS/BClockRS Heuristics for speed-up for the on-the-fly algorithm Experiments of the on-the-fly algorithm over the fragments Robustness of controllers Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 9 / 10

Conclusion For almost all reactive synthesis problems, MITL is as hard as MTL...... except for resources-bounded problem over finite words: Non-elementary for MTL; 3-EXPTIME for MITL; on-the-fly algorithm Other fragments?? Hopeless! Safety-MTL coflat-mtl Open-MITL Closed-MITL implementable RS undec. undec. undec. undec. clock-bounded RS undec. undec. undec. undec. precision-bounded RS undec. undec. undec. undec. Possible future directions: Decidable fragments for BPrecRS/BClockRS Heuristics for speed-up for the on-the-fly algorithm Experiments of the on-the-fly algorithm over the fragments Robustness of controllers Thank you for your attention! Questions? Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 9 / 10

References Patricia Bouyer, Laura Bozzelli, and Fabrice Chevalier. Controller synthesis for MTL specifications. In Proceedings of the 17th International Conference on Concurrency Theory (CONCUR 06), volume 4137 of Lecture Notes in Computer Science, pages 450 464. Springer, 2006. Patricia Bouyer, Nicolas Markey, Joël Ouaknine, and James Worrell. The cost of punctuality. In Proceedings of the 22nd Annual IEEE Symposium on Logic in Computer Science (LICS 07), pages 109 120. IEEE Computer Society, 2007. Thomas Brihaye, Morgane Estiévenart, and Gilles Geeraerts. On MITL and alternating timed automata. In Proceedings of the 11th international conference on Formal Modeling and Analysis of Timed Systems (FORMATS 13), volume 8053 of Lecture Notes in Computer Science, pages 47 61. Springer, 2013. Thomas Brihaye, Morgane Estiévenart, Gilles Geeraerts, Hsi-Ming Ho, Benjamin Monmege, and Nathalie Sznajder. Real-time synthesis is hard! In Martin Fränzle and Nicolas Markey, editors, Proceedings of the 14th International Conference on Formal Modeling and Analysis of Timed Systems (FORMATS 16), volume 9884 of Lecture Notes in Computer Science, pages 105 120. Springer, August 2016. doi: 10.1007/978-3-319-44878-7 7. Laurent Doyen, Gilles Geeraerts, Jean-François Raskin, and Julien Reichert. Realizability of real-time logics. In Proceedings of the 7th International Conference on Formal Modeling and Analysis of Timed Systems (FORMATS 09), volume 5813 of Lecture Notes in Computer Science, pages 133 148. Springer, 2009. Deepak D Souza and P. Madhusudan. Timed control synthesis for external specifications. In Proceedings of the 19th Annual conference on Theoretical Aspects of Computer Science (STACS 02), volume 2285 of Lecture Notes in Computer Science, pages 571 582. Springer, 2002. Joël Ouaknine and James Worrell. Safety metric temporal logic is fully decidable. In Proceedings of the 12th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 06), volume 3920 of Lecture Notes in Computer Science, pages 411 425. Springer, 2006. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 10 / 10

Implementable reactive synthesis (IRS) C = deterministic symbolic transition system T set of locations; if finite T is a DTA finite set of clocks X finite set of possible clock constraints precision (m, K): g ::= g g x < α/m x α/m x = α/m x α/m x > α/m with x X, m N and 0 α K. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 11 / 10

Implementable reactive synthesis (IRS) C = deterministic symbolic transition system T set of locations; if finite T is a DTA finite set of clocks X finite set of possible clock constraints precision (m, K): g ::= g g x < α/m x α/m x = α/m x α/m x > α/m with x X, m N and 0 α K. Implementable reactive synthesis problem (IRS) Given P and L, find such a T that no matter what E does, every play satisfies the specification. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 11 / 10

Recovering decidability... Clock constraints in T : g ::= g g x < α/m x α/m x = α/m x α/m x > α/m with x X, m N and 0 α K. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 12 / 10

Recovering decidability... Clock constraints in T : g ::= g g x < α/m x α/m x = α/m x α/m x > α/m with x X, m N and 0 α K. Fix X and (m, K) = the alphabet of T is given! Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 12 / 10

Recovering decidability... Clock constraints in T : g ::= g g x < α/m x α/m x = α/m x α/m x > α/m with x X, m N and 0 α K. Fix X and (m, K) = the alphabet of T is given! Bounded-resources reactive synthesis problem (BResRS) Given P, L, and a set of clocks X and precision (m, K), find such a resourcebounded T that no matter what E does, every play satisfies the specification. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 12 / 10

Other fragments of MTL IRS/BPrecRS/BClockRS for MITL are undecidable. What about other fragments of MTL? Theorem: [Ouaknine and Worrell, 2006] Satisfiability and model-checking for Safety-MTL are decidable. Theorem: [Bouyer, Markey, Ouaknine, and Worrell, 2007] Model-checking for coflat-mtl is decidable. However with some more efforts, we can rewrite the formula in these fragments. IRS/BPrecRS/BClockRS over infinite timed words: Safety-MTL coflat-mtl desired undec. undec. undesired undec. undec. Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 13 / 10

On the decidable side Theorem: [D Souza and Madhusudan, 2002] BResRS is decidable for undesired specifications given in TA. Theorem: [Bouyer, Bozzelli, and Chevalier, 2006] BResRS is decidable for MTL specifications with non-primitive recursive complexity (over finite timed words). We propose an on-the-fly algorithm that solves BResRS for MITL specifications with 3-EXPTIME complexity (over finite words). Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 14 / 10

From MTL to OCATA ϕ = (a [1,2] b) b a a y := 0 b y [1, 2] Execution on the timed word (a, 0.5)(a, 0.6)(a, 1.2)(b, 2.3): 0 0.1 0.7 y = 1.8 0 0 0.6 y = 1.7 0.5 0 y = 1.1 0.6 1.2 2.3 Benjamin Monmege (LIF, Aix-Marseille Université) Real-time Synthesis is Hard! 15 / 10