Monodic fragments of first-order temporal logics

Similar documents
Fixpoint Extensions of Temporal Description Logics

Abstract model theory for extensions of modal logic

COMBINING MODAL LOGICS

First-order Modal Languages for the Specification of Multi-agent Systems

Complexity of monodic guarded fragments over linear and real time

Fixpoints in Temporal Description Logics

Decidable fragments of first-order temporal logics

Axiomatizing the monodic fragment of rst-order temporal logic

Deciding Safety and Liveness in TPTL

A tableau-based decision procedure for a branching-time interval temporal logic

Flat Coalgebraic Fixed Point Logics

Principles of Knowledge Representation and Reasoning

Classical First-Order Logic

Reasoning about Strategies: From module checking to strategy logic

TUTORIAL Temporal Representation and Reasoning in Interval Temporal Logics. ECAI 2014 Prague, August 18th, 2014

Final Exam (100 points)

On the Computational Complexity of Spatio-Temporal Logics

Decision Procedures for CTL

Canonicity and representable relation algebras

Automated Synthesis of Tableau Calculi

First-order Temporal Logic with Fixpoint Operators. over the Natural Numbers. Konstantinos Mamouras

Model Theory of Modal Logic Lecture 1: A brief introduction to modal logic. Valentin Goranko Technical University of Denmark

Modal logics: an introduction

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC

Narcissists, Stepmothers and Spies

Discrete Mathematics

Logics of Rational Agency Lecture 3

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure

Metric Propositional Neighborhood Logics

Non-primitive recursive decidability of products of modal logics with expanding domains

First-order resolution for CTL

An Introduction to Temporal Logics

Logics with Counting. Ian Pratt-Hartmann School of Computer Science University of Manchester Manchester M13 9PL, UK

Models for Efficient Timed Verification

CTL-RP: A Computational Tree Logic Resolution Prover

Propositional and Predicate Logic - XIII

Decision Procedures for CTL

A Tableau-Based Decision Procedure for Right Propositional Neighborhood Logic (RPNL )

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation

Undecidable propositional bimodal logics and one-variable first-order linear temporal logics with counting

Neighborhood Semantics for Modal Logic Lecture 3

Classical First-Order Logic

Optimal Tableaux for Right Propositional Neighborhood Logic over Linear Orders

Guest lecturer: Mark Reynolds, The University of Western Australia

Part II. Logic and Set Theory. Year

Expressiveness, decidability, and undecidability of Interval Temporal Logic

An Introduction to Description Logics: Techniques, Properties, and Applications. NASSLLI, Day 3, Part 2. Computational Complexity.

Conservative Extensions in Expressive Description Logics

Herbrand Theorem, Equality, and Compactness

Extending the Monoidal T-norm Based Logic with an Independent Involutive Negation

Propositional and Predicate Logic - VII

Logics for Compact Hausdorff Spaces via de Vries Duality

Modal and temporal logic

Axiomatisation of Hybrid Logic

An optimal tableau-based decision algorithm for Propositional Neighborhood Logic

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

A Principle for Incorporating Axioms into the First-Order Translation of Modal Formulae

Temporal logics with local constraints

A Polynomial Translation from the Two-Variable Guarded Fragment with Number Restrictions to the Guarded Fragment

Reasoning about Fuzzy Belief and Common Belief: With Emphasis on Incomparable Beliefs

Complexity of unification and admissibility with parameters in transitive modal logics

Characterizing First Order Logic

2.2 Lowenheim-Skolem-Tarski theorems

Automata, Logic and Games: Theory and Application

Decomposing Modal Logic

Löwenheim-Skolem Theorems, Countable Approximations, and L ω. David W. Kueker (Lecture Notes, Fall 2007)

Towards A Multi-Agent Subset Space Logic

TheTwo-VariableGuardedFragmentwith Transitive Guards Is 2EXPTIME-Hard

Non-deterministic Semantics for Dynamic Topological Logic

An Introduction to Modal Logic III

arxiv:math/ v1 [math.lo] 5 Mar 2007

DL-Lite with Temporalised Concepts, Rigid Axioms and Roles

Model checking the basic modalities of CTL with Description Logic

Languages, logics and automata

An n! Lower Bound On Formula Size

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

Tableau-based decision procedures for the logics of subinterval structures over dense orderings

Logic in Computer Science. Frank Wolter

A Journey through the Possible Worlds of Modal Logic Lecture 1: Introduction to modal logics

From Constructibility and Absoluteness to Computability and Domain Independence

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Linear Temporal Logic and Büchi Automata

Relational dual tableaux for interval temporal logics *

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking

On Decidability and Tractability of Querying in Temporal EL

King s Research Portal

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Verification Using Temporal Logic

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

Equality and Monodic First-Order Temporal Logic

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Local variations on a loose theme: modal logic and decidability

Reasoning about distances

From Löwenheim to Pnueli, from Pnueli to PSL and SVA

Model Checking for Modal Intuitionistic Dependence Logic

SKETCHY NOTES FOR WEEKS 7 AND 8

Transcription:

Outline of talk Most propositional temporal logics are decidable. But the decision problem in predicate (first-order) temporal logics has seemed near-hopeless. Monodic fragments of first-order temporal logics Ian Hodkinson Joint work with S Bauer F Wolter M Zakharyaschev I will report on some recent work on this problem. I will consider monodic fragments of the first-order temporal language, in which formulas beginning with a temporal operator have at most one free variable. The first-order part is also restricted. Validity of formulas in these fragments can be decided by combining: an algorithm to decide the first-order part of the formula, an algorithm deciding monadic second-order logic over the given flow of time. Works for linear and (with additional restrictions) for branching time. 1 Organisation 1. First-order temporal logic 1. First-order temporal logic Syntax, semantics, validity. Some known results. 2. Monodic first-order temporal logic Definitions, examples. 3. Monodic fragments over linear time Decidability, complexity, reasoning. 4. Monodic fragments over branching time Undecidability and decidability. 5. Applications 6. Conclusion 7. References We want to combine temporal and first-order logic, to gain expressive power. We use a first-order extension of the branching-time temporal logic CT L [Emerson Halpern, 1986]. L first-order relational signature without equality. We fix a set V of first-order variables. Syntax Any atomic L-formula is a temporal formula. If ϕ,ψ are (temporal) formulas, so are ϕ ϕ ψ xϕ (where x is any variable in V ) ϕ U ψ (until) ϕ S ψ (since) ϕ (tomorrow) Eϕ (for some history) 2 3

Evaluation Semantics A flow of time is an irreflexive partial order T = (T,<). < is called the earlier-later relation. T is linear if any two distinct times are <-related. It s a tree if for all t T, {u T : u < t} (the past of t) is linearly ordered by <. A history (or branch) of T is a maximal linearlyordered subset of T. We often consider ω-trees: trees with all branches isomorphic to N = {0,1,2,...}. For non-linear flows, we often have an idea of the intended history. Semantics evaluate formulas at a time point but relative to a history. Models have the form M = (T,(D t : t T)), for a flow of time T = (T,<) and first-order L-structures D t with fixed domain D (say). For a time t T, a history h of T containing t, and an assignment a of variables to elements of D, define M,h,t = a ϕ by induction on ϕ: for atomic ϕ, we let M,h,t = a ϕ iff D t = a ϕ booleans as usual M,h,t = a xϕ iff M,h,t = b ϕ for some assignment b that agrees with a on all variables other than x M,h,t = a ϕ iff there is an immediate successor t + of t in h with M,h,t + = a ϕ M,h,t = a ϕ U ψ iff there is u h with t < u, M,h,u = a ψ, and M,h,v = a ϕ for all v with t < v < u (strict interpretation!) ϕ S ψ mirror image M,h,t = a Eϕ iff M,h,t = a ϕ for some history h of T containing t. 4 5 Remarks We use constant domains. (Expanding domains can be represented in this setting.) ϕ U ϕ, but it helps later when defining fragments to have as primitive. Some abbreviations,, : as usual Gϕ = ϕ ( U ϕ) Fragments This is a powerful logic. Sometimes it s too much. So we define some fragments: propositional temporal logic (CT L +Since): require that all L-relations are nullary; throw out. The D t are essentially just propositional valuations. linear fragment: over linear time, the history h is unique so can be dropped from the notation. And Eϕ ϕ, so we throw out E. Aϕ = E ϕ. Some formulas A x(researches(x) U y admin job for(y, x)) AG x( y admin job for(y, x) researches(x)) AG x(researches(x) E researches(x)) more to come... 6 7

Validity A formula ϕ is valid over a flow of time T if it is true at all times and histories under all assignments in all models with flow of time T. ϕ is valid in linear time if it is valid in all linear flows. Define valid over trees, ω-trees, etc., similarly. A formula ϕ is satisfiable if ϕ is not valid. Other semantic choices Bundled semantics: we can restrict h to come from a given set B a bundle of histories. B is included as part of M. We require B = T. This gives a different notion of validity (weaker fewer validities). May restrict to models with finite domain D. Again, this gives a different notion of validity (stronger more validities). Propositional temporal logic: good news Most propositional temporal logics are quite well behaved: Over linear time: N, Z, Q, R, and linear-time validity of propositional temporal formulas is decidable and finitely axiomatisable. Validity problem PSPACE-complete [Sistla & Clarke 1985; Reynolds 200?]. Over ω-trees: Decidable. Finitely axiomatisable. If drop Since (i.e., CT L ), recursively axiomatisable. [Reynolds] Without Since, validity 2EXPTIME-complete [lower bound: Vardi Stockmeyer 1985; upper bound: Emerson Jutla 1988]. 8 9 Predicate temporal logic: bad news Of course, predicate logic is undecidable. But temporal predicate logic is worse. Negative results began with unpublished work of Scott and Lindström in 1960s. Example Over N, even with only 2 variables and unary relation symbols, predicate temporal logic is undecidable, not recursively axiomatisable. Can be proved by reduction of tiling problem (or halting problem). Note: 2-variable and monadic fragments of first-order logic are decidable. What did we do to deserve this? We took a 3-dimensional product : two dimensions for the 2 first-order variables, one more dimension for time. 3-dimensional products are often badly behaved (undecidable, not finitely axiomatisable). How can we recover? Limit the interaction between dimensions. When we quantify over domain elements ( xϕ), we do it at a single time point. But when we move through time, (ϕ U ψ etc), there may be many free variables in the formula. This is not fair! The negative results retreat if we ban it from happening. 10 11

2. Monodic first-order temporal logic A formula ϕ is monodic if every subformula of ϕ of the form ψ U χ or ψ S χ or ψ or Eψ has at most one free variable. Examples Barcan formula, xgϕ(x) G xϕ(x) List all persons who have been unemployed between jobs [Chomicki Toman]: S y WorksFor(x,y) y WorksFor(x, y) U y WorksFor(x,y) Non-example Rigidity of a binary relation (over N): G xy(r(x, y) R(x, y)). 12 3. Monodic fragments over linear time Any first-order L-formula is monodic. So validity for monodic formulas is undecidable. But given an oracle for first-order L-satisfiability, we can decide monodic satisfiability over linear time. We can get rid of the oracle by restricting to a decidable fragment of first-order logic. If we restrict in formulas to guarded form, x(r( x,ȳ) ϕ( x,ȳ)) for atomic R( x,ȳ), we get the temporal guarded fragment, T GF. The monodic guarded fragment (the monodic fragment of T GF) is decidable over linear time, N, Z, Q, etc., and for finite domains (the general case is open), R. So are the monodic loosely guarded and monodic packed/clique-guarded fragments. So is the monodic 2-variable fragment. So is the monodic monadic fragment, etc. 13 Proof of decidability: quasimodels Quasimodels and decidability Let F be the monodic guarded, packed, 2-variable, or monadic fragment. A quasimodel for a sentence σ F is obtained from a model of σ by regarding formulas beginning with a temporal operator as atomic (i.e. unary or nullary relation symbols) replacing each L-structure D t by its σ-theory Σ t (theory w.r.t. subformulas of σ a finite object) axiomatising the links between the Σ t (t T) that are enforced by their origin in a model. Lemma 1. Let T be linear. Then σ has a model over T iff it has a quasimodel over T. A quasimodel boils down to a monadic expansion of the flow of time, with properties expressible in monadic second-order logic. Lemma 2. We can construct from σ a monadic second-order sentence σ such that for any linear T, T = σ iff there is a quasimodel for σ over T. Put the two lemmas together to obtain: Theorem. Assume that T is linear with decidable monadic second-order theory (e.g., N, Z, Q). Then it is decidable whether a sentence in F is satisfiable over T. 14 15

Complexity Seems to be MAX(EXPSPACE, complexity of underlying first-order fragment). Monodic one-variable, (two-variable too?), monadic fragments are EXPSPACE-complete over N. Monodic guarded fragment is 2EXPTIME-complete over N. Reasoning algorithms The monodic monadic fragment over N is axiomatisable (Wolter & Zakharyaschev 2001) Resolution-based algorithm (Degtyarev & Fisher 2001, for fragment only) Tableau-based algorithms (Kontchakov, Lutz, Wolter & Zakharyaschev 2001) Implementation of tableaux (Günsel 2001) Extensions Can add rigid constants. Can t add equality in general: monodic validities not r.e. (Degtyarev & Fisher 2001). But can add equality safely to guarded fragments. 16 4. Monodic fragments over branching time Here, things are not quite so good. Over any class of trees containing a tree with at least two histories through each time, the 1-variable fragment is undecidable. ( certainly monodic!) This can be strengthened in technical ways: bundles, just G, modal products, etc. Proof uses a reduction of tiling problem, via relation algebras. What did we do to deserve this? There are three dimensions again: domain point time point history (fixed in linear case) Interaction between these is restricted, but still enough for undecidability. Evaluation at pairs (t,h) breaks quasimodels. 17 Positive branching results We can get quasimodels working again by imposing extra restrictions to limit the dimensional interaction and/or dependence on the history h. Two different ways are known. Fragment 1: restrict A state formula is one made from atomic formulas and formulas of the form Eψ using only the firstorder operations. Semantics of state formulas is history-independent. By requiring that x applies only to state formulas, U, S,, E are used monodically the first-order part lies in a decidable fragment of first-order logic (guarded fragment, etc), we obtain a decidable fragment over ω-trees. Eg: xa[(receive(x) shred(x)) U caught] OK E x[(receive(x) shred(x)) U caught] not OK 18 By requiring that Fragment 2: restrict U, S, E U,S,E apply only to sentences (nullodic?), is used monodically, the first-order part lies in a decidable fragment of first-order logic, we obtain a decidable fragment over ω-trees. Eg: E([ x(receive(x) shred(x))] U }{{}} caught {{} ) } sentence{{ sentence } These results use 1. downward Löwenheim Skolem theorem, to find a model over a countable ω-tree, 2. quasimodels 3. decidability of monadic second-order theory of countable ω-trees (follows from Rabin s theorem). The search for the best fragment over ω-trees is still on. 19

5. Applications Predicate temporal logic is important. structures can represent: First-order states of programs (reactive systems): specification and verification, synthesis of programs from (temporal) specifications states of databases: e-commerce states of knowledge bases: description logics such as ALC (some) topological spaces: qualitative spatial reasoning systems like RCC-8 Kripke frames for epistemic logics: multi-agent systems So it seems worth studying predicate temporal logics. 20 As well as being powerful in its own right, predicate temporal logic embeds other useful logics often monodically so serves as a unifying framework. Agent logics of Halpern et al. Almost all decidable agent logics can be embedded into decidable monodic fragments. Temporal description logics extend standard DLs with temporal operators. In ALC, if temporal operators are applied only to subsumptions and concepts (but not to roles), then the language is reducible to the two-variable monodic fragment. Spatial logic RCC-8 can be extended with temporal operators. The resulting logics can be reduced to decidable monodic fragments if the topology can be simulated in first-order logic. 21 7. References 6. Conclusion S Bauer, I Hodkinson, F Wolter, M Zakharyaschev. On non-local propositional and local one-variable quantified CT L. Proc. TIME 02, pp. 2 9. Predicate temporal logic is poorly behaved. Monodic fragments of predicate temporal logic are better behaved. They give us a new direction of research, new problems, but also new hope of understanding temporal logic better, using temporal logic in more advanced applications. I Hodkinson, F Wolter, and M Zakharyaschev. Decidable fragments of first-order temporal logics. Ann. Pure Appl. Logic, 106:85 134, 2000. I Hodkinson, F Wolter, and M Zakharyaschev. Monodic fragments of first-order temporal logics: 2000 2001 A.D. In R. Nieuwenhuis and A. Voronkov, editors, Logic for Programming, Artificial Intelligence and Reasoning, vol. 2250 of LNAI, pages 1 23. Springer- Verlag, 2001. I Hodkinson, F Wolter, and M Zakharyaschev. Decidable and undecidable fragments of first-order branching temporal logics, Proc. LICS 02, pp. 393 402. See also www.dcs.kcl.ac.uk/staff/mz 22 23