A Temporal-Logic Approach to Binding-Time Analysis

Total Page:16

File Type:pdf, Size:1020Kb

A Temporal-Logic Approach to Binding-Time Analysis A Temporal-Logic Approach to Binding-Time Analysis Rowan Davies Carnegie Mellon University Computer Science Department Pittsburgh PA 15213, USA [email protected] Abstract languages that include binding-time annotations, as for example by Nielson and Nielson [14] and Gomard and The Curry-Howard isomorphism identifies proofs with Jones [9]. However, the motivation for the particular typing typed -calculus terms, and correspondingly identifies rules that are chosen is often not clear. There has been some propositions with types. We show how this isomorphism work, for example by Palsberg [15], on modular proofs that can be extended to relate constructive temporal logic with binding-time analyses generate annotations that allow large binding-timeanalysis. In particular,we show how to extend classes of partial evaluators to specialize correctly. How- the Curry-Howard isomorphism to include the (“next”) ever this still does not provide a direct motivation for the operator from linear-time temporal logic. This yields the particular rules used in binding-time type systems. simply typed -calculus which we prove to be equiva- In this paper we give a logical construction of a binding- lent to a multi-level binding-timeanalysis like those used in time typesystem based on temporal logic. Temporal logicis partial evaluation for functional programming languages. an extension of logic to include proofs that formulas are valid Further, we prove that normalization in can be done at particular times. The Curry-Howard [11] isomorphism in an order corresponding to the times in the logic, which relates constructive proofs to typed -terms and formulas to explains why is relevant to partial evaluation. We then types. Thus, we expect that extending the Curry-Howard extend to a small functional language, Mini-ML , and isomorphism to constructive temporal logic should yield a give an operational semantics for it. Finally, we prove that typed -calculus that expresses that a result of a particular this operational semantics correctly reflects the binding- type will be available at a particular time. This is exactly times in the language, a theorem which is the functional what a binding-time type system should capture. programming analog of time-ordered normalization. Many different temporal logics and many different tem- poral operators have been studied, so we need to determine exactly which are relevant to binding-time analysis. In a 1. Introduction binding-time separated program, one stage in the program can manipulate as data the code of the following stage. At Partial evaluation [12] is a method for specializing a pro- the level of types this suggests that at each stage we should gram given part of the program’s input. The basic technique have a type for code of the next stage. Thus, via the Curry- is to execute those parts of the program that do not depend Howard isomorphism we are led to consider the temporal on the unknown data, while constructing a residual program logic operator, which denotes truth at the next stage, i.e. A A from those parts that do. Offline partial evaluation uses a is valid if is valid at the next time. Further, since binding-time analysis to determine those parts of the pro- temporal logics generally allow an unbounded number of gram that will not depend on the unknown (dynamic) data, “times”, they should naturally correspond to a binding-time regardless of the actual value of the known (static) data. analysis with many levels, such as that studied by Gl¨uck and Binding-time analyses are usually described via typed Jørgensen [8]. The more traditional two-level binding-time analyses can then be trivially obtained by restriction. Also, This work wasmostly completedduring a visit bythe author to BRICS in binding-time analysis we have a simple linear ordering (Basic Research in Computer Science, Centre of the Danish National Re- search Foundation)in the summer of 1995. It was also partly supported by of the binding times, so we consider linear-time temporal a Hackett Studentship from the University of Western Australia logic, in which each time has a unique time immediately following it. Putting this all together naturally suggests that binding-timetypesystems used in partial evaluation, such as constructive linear-time temporal logic with and a type that of Gomard and Jones [9], allow manipulation of code system for multi-level binding-time analysis should be im- with free variables. Thus, the original motivation for the ages of each other under the Curry-Howard isomorphism. present work was to consider how to extend Mini-ML2 to a This does not seem to have been observed previously, and system that is a conservative extension of the binding-time in this paper we show formally that this is indeed the case. type systems used in partial evaluation. In this paper we The development is relatively straightforward and our main achieve that goal, though find that we also lose the features interest is in demonstrating the direct logical relationship of Mini-ML2 beyond ordinary binding-time analysis. Our 2 between binding-time analysis and temporal logic. conclusion is that the 2 operator in Mini-ML corresponds The structure of this paper is then as follows. In the toatypefor closed code, whilethe operatorinMini-ML following section, we start with a natural deduction formu- corresponds to a type for code with free variables. Thus the lation of intuitionistic linear-time temporal logic with two operators are suitable for different purposes, and which and . Our system has a similar style to the modal sys- one is preferred depends on the context. This suggests that tems of Martini and Masini [13]. We then verify that our a desirable direction for future work would be the design of operator is the same as that considered elsewhere by show- a type system correctly capturing both closed code and code ing that adding negation and classical reasoning leads to a with free variables within a single framework. system equivalent to L , an axiomatic formulation due to Stirling [17] for a small classical linear-time temporal logic including . We then apply the Curry-Howard isomorphism to the 2. A temporal -calculus natural-deduction system, yielding the typed -calculus withthe operator in thetypes. We givereduction rulesfor thiscalculus, and prove that normalizationcan be performed In this section we will show how to extend the Curry- in an order corresponding to the times in the logic. This Howard isomorphism to include the (“next”) operator theorem gives an abstract explanation for why is relevant from temporal logic. In order to do this, we give a natural- to partial evaluation. deduction system for an intuitionistic linear-time temporal m In the second part of the paper we consider , which logic containing only and . We then show that our is essentially the -calculus fragment of the language operator is the same as the one usually considered in linear- used in the multi-level binding-time analysis of Gl¨uck and time temporal logics by adding inference rules for negation Jørgensen [8]. We then construct a simple isomorphism and classical reasoning, and then proving equivalence to a m between and that preserves typing, thus showing sound and complete axiomatic system given by Stirling[17] that these languages are equivalent as type systems. We for the fragment of classical linear-time temporal logic con- also give a correspondence between -reductions in the two taining only , and . We then add proof terms to our languages. This gives some explanation for why languages original natural deduction system to yield a simply typed m like are relevant to partial evaluation. -calculus with the operator in the types. Finally, we expand to a small temporal functional language Mini-ML , which is in many ways similar to a realistic binding-time type system. We give an operational semantics for this language, and then give a proof that this 2.1. Intuitionistic Temporal Logic semantics correctly reflects the binding times in the lan- guage. This theorem is the functional programming analog of the time-ordered normalization theorem for . This subsection presents a simple natural-deduction for- We conclude by giving example programs in Mini-ML mulation of an intuitionisticlinear-time temporal logic con- and discussing some practical concepts from binding-time taining only and . Our formulation uses a judge- analysis. ment annotated with a natural number n, representing the This work is similar to work by Davies and Pfenning [5] “time” of the conclusion, and with each assumption A in 2 which shows that a typed language Mini-ML based on Γ also annotated by a time n. These are just like the “lev- modal logic captures a powerful form of staged computa- els” in the modal natural-deduction systems of Martini and tion, including run-time code generation. They also show Masini [13], and in fact our system is exactly the same as that Mini-ML2 is a conservative extension of the two-level their rules for modal K, except that because of linearity we and (linearly ordered) B-level languages studied by Niel- do not need any restriction on the assumptions used in the son and Nielson [14]. However, they note that this system introduction rule for . Our rules for the non-temporal onlyallows programs that manipulateclosed code, whilethe fragment are completely standard. 2 We are now in a positionto prove equivalence to a previ- ously presented temporal logic. The following axioms and n A Γ in inference rules, L , for the fragment of classical linear- V n A Γ time temporal logic containing only , and are due to Stirling[17] (page 516), who shows that they are sound and n n Γ A A 1 2 complete for unravelled models of this logic.
Recommended publications
  • DRAFT: Final Version in Journal of Philosophical Logic Paul Hovda
    Tensed mereology DRAFT: final version in Journal of Philosophical Logic Paul Hovda There are at least three main approaches to thinking about the way parthood logically interacts with time. Roughly: the eternalist perdurantist approach, on which the primary parthood relation is eternal and two-placed, and objects that persist persist by having temporal parts; the parameterist approach, on which the primary parthood relation is eternal and logically three-placed (x is part of y at t) and objects may or may not have temporal parts; and the tensed approach, on which the primary parthood relation is two-placed but (in many cases) temporary, in the sense that it may be that x is part of y, though x was not part of y. (These characterizations are brief; too brief, in fact, as our discussion will eventually show.) Orthogonally, there are different approaches to questions like Peter van Inwa- gen's \Special Composition Question" (SCQ): under what conditions do some objects compose something?1 (Let us, for the moment, work with an undefined notion of \compose;" we will get more precise later.) One central divide is be- tween those who answer the SCQ with \Under any conditions!" and those who disagree. In general, we can distinguish \plenitudinous" conceptions of compo- sition, that accept this answer, from \sparse" conceptions, that do not. (van Inwagen uses the term \universalist" where we use \plenitudinous.") A question closely related to the SCQ is: under what conditions do some objects compose more than one thing? We may distinguish “flat” conceptions of composition, on which the answer is \Under no conditions!" from others.
    [Show full text]
  • The Rise and Fall of LTL
    The Rise and Fall of LTL Moshe Y. Vardi Rice University Monadic Logic Monadic Class: First-order logic with = and monadic predicates – captures syllogisms. • (∀x)P (x), (∀x)(P (x) → Q(x)) |=(∀x)Q(x) [Lowenheim¨ , 1915]: The Monadic Class is decidable. • Proof: Bounded-model property – if a sentence is satisfiable, it is satisfiable in a structure of bounded size. • Proof technique: quantifier elimination. Monadic Second-Order Logic: Allow second- order quantification on monadic predicates. [Skolem, 1919]: Monadic Second-Order Logic is decidable – via bounded-model property and quantifier elimination. Question: What about <? 1 Nondeterministic Finite Automata A = (Σ,S,S0,ρ,F ) • Alphabet: Σ • States: S • Initial states: S0 ⊆ S • Nondeterministic transition function: ρ : S × Σ → 2S • Accepting states: F ⊆ S Input word: a0, a1,...,an−1 Run: s0,s1,...,sn • s0 ∈ S0 • si+1 ∈ ρ(si, ai) for i ≥ 0 Acceptance: sn ∈ F Recognition: L(A) – words accepted by A. 1 - - Example: • • – ends with 1’s 6 0 6 ¢0¡ ¢1¡ Fact: NFAs define the class Reg of regular languages. 2 Logic of Finite Words View finite word w = a0,...,an−1 over alphabet Σ as a mathematical structure: • Domain: 0,...,n − 1 • Binary relation: < • Unary relations: {Pa : a ∈ Σ} First-Order Logic (FO): • Unary atomic formulas: Pa(x) (a ∈ Σ) • Binary atomic formulas: x < y Example: (∃x)((∀y)(¬(x < y)) ∧ Pa(x)) – last letter is a. Monadic Second-Order Logic (MSO): • Monadic second-order quantifier: ∃Q • New unary atomic formulas: Q(x) 3 NFA vs. MSO Theorem [B¨uchi, Elgot, Trakhtenbrot, 1957-8 (independently)]: MSO ≡ NFA • Both MSO and NFA define the class Reg.
    [Show full text]
  • On Constructive Linear-Time Temporal Logic
    Replace this file with prentcsmacro.sty for your meeting, or with entcsmacro.sty for your meeting. Both can be found at the ENTCS Macro Home Page. On Constructive Linear-Time Temporal Logic Kensuke Kojima1 and Atsushi Igarashi2 Graduate School of Informatics Kyoto University Kyoto, Japan Abstract In this paper we study a version of constructive linear-time temporal logic (LTL) with the “next” temporal operator. The logic is originally due to Davies, who has shown that the proof system of the logic corre- sponds to a type system for binding-time analysis via the Curry-Howard isomorphism. However, he did not investigate the logic itself in detail; he has proved only that the logic augmented with negation and classical reasoning is equivalent to (the “next” fragment of) the standard formulation of classical linear-time temporal logic. We give natural deduction and Kripke semantics for constructive LTL with conjunction and disjunction, and prove soundness and completeness. Distributivity of the “next” operator over disjunction “ (A ∨ B) ⊃ A ∨ B” is rejected from a computational viewpoint. We also give a formalization by sequent calculus and its cut-elimination procedure. Keywords: constructive linear-time temporal logic, Kripke semantics, sequent calculus, cut elimination 1 Introduction Temporal logic is a family of (modal) logics in which the truth of propositions may depend on time, and is useful to describe various properties of state transition systems. Linear-time temporal logic (LTL, for short), which is used to reason about properties of a fixed execution path of a system, is temporal logic in which each time has a unique time that follows it.
    [Show full text]
  • A Unifying Field in Logics: Neutrosophic Logic
    University of New Mexico UNM Digital Repository Faculty and Staff Publications Mathematics 2007 A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS - 6th ed. Florentin Smarandache University of New Mexico, [email protected] Follow this and additional works at: https://digitalrepository.unm.edu/math_fsp Part of the Algebra Commons, Logic and Foundations Commons, Other Applied Mathematics Commons, and the Set Theory Commons Recommended Citation Florentin Smarandache. A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS - 6th ed. USA: InfoLearnQuest, 2007 This Book is brought to you for free and open access by the Mathematics at UNM Digital Repository. It has been accepted for inclusion in Faculty and Staff Publications by an authorized administrator of UNM Digital Repository. For more information, please contact [email protected], [email protected], [email protected]. FLORENTIN SMARANDACHE A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS (sixth edition) InfoLearnQuest 2007 FLORENTIN SMARANDACHE A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS (sixth edition) This book can be ordered in a paper bound reprint from: Books on Demand ProQuest Information & Learning (University of Microfilm International) 300 N. Zeeb Road P.O. Box 1346, Ann Arbor MI 48106-1346, USA Tel.: 1-800-521-0600 (Customer Service) http://wwwlib.umi.com/bod/basic Copyright 2007 by InfoLearnQuest. Plenty of books can be downloaded from the following E-Library of Science: http://www.gallup.unm.edu/~smarandache/eBooks-otherformats.htm Peer Reviewers: Prof. M. Bencze, College of Brasov, Romania.
    [Show full text]
  • A Unifying Field in Logics: Neutrosophic Logic. Neutrosophy, Neutrosophic Set, Neutrosophic Probability and Statistics
    FLORENTIN SMARANDACHE A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS (fourth edition) NL(A1 A2) = ( T1 ({1}T2) T2 ({1}T1) T1T2 ({1}T1) ({1}T2), I1 ({1}I2) I2 ({1}I1) I1 I2 ({1}I1) ({1} I2), F1 ({1}F2) F2 ({1} F1) F1 F2 ({1}F1) ({1}F2) ). NL(A1 A2) = ( {1}T1T1T2, {1}I1I1I2, {1}F1F1F2 ). NL(A1 A2) = ( ({1}T1T1T2) ({1}T2T1T2), ({1} I1 I1 I2) ({1}I2 I1 I2), ({1}F1F1 F2) ({1}F2F1 F2) ). ISBN 978-1-59973-080-6 American Research Press Rehoboth 1998, 2000, 2003, 2005 FLORENTIN SMARANDACHE A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS (fourth edition) NL(A1 A2) = ( T1 ({1}T2) T2 ({1}T1) T1T2 ({1}T1) ({1}T2), I1 ({1}I2) I2 ({1}I1) I1 I2 ({1}I1) ({1} I2), F1 ({1}F2) F2 ({1} F1) F1 F2 ({1}F1) ({1}F2) ). NL(A1 A2) = ( {1}T1T1T2, {1}I1I1I2, {1}F1F1F2 ). NL(A1 A2) = ( ({1}T1T1T2) ({1}T2T1T2), ({1} I1 I1 I2) ({1}I2 I1 I2), ({1}F1F1 F2) ({1}F2F1 F2) ). ISBN 978-1-59973-080-6 American Research Press Rehoboth 1998, 2000, 2003, 2005 1 Contents: Preface by C. Le: 3 0. Introduction: 9 1. Neutrosophy - a new branch of philosophy: 15 2. Neutrosophic Logic - a unifying field in logics: 90 3. Neutrosophic Set - a unifying field in sets: 125 4. Neutrosophic Probability - a generalization of classical and imprecise probabilities - and Neutrosophic Statistics: 129 5. Addenda: Definitions derived from Neutrosophics: 133 2 Preface to Neutrosophy and Neutrosophic Logic by C.
    [Show full text]
  • Aristotelian Temporal Logic: the Sea Battle
    Aristotelian temporal logic: the sea battle. According to the square of oppositions, exactly one of “it is the case that p” and “it is not the case that p” is true. Either “it is the case that there will be a sea battle tomorrow” or “it is not the case that there will be a sea battle tomorrow”. Problematic for existence of free will, and for Aristotelian metaphysics. Core Logic – 2005/06-1ab – p. 3/34 The Master argument. Diodorus Cronus (IVth century BC). Assume that p is not the case. In the past, “It will be the case that p is not the case” was true. In the past, “It will be the case that p is not the case” was necessarily true. Therefore, in the past, “It will be the case that p” was impossible. Therefore, p is not possible. Ergo: Everything that is possible is true. Core Logic – 2005/06-1ab – p. 4/34 Megarians and Stoics. Socrates (469-399 BC) WWW WWWWW WWWWW WWWWW WW+ Euclides (c.430-c.360 BC) Plato (c.427-347 BC) WWW WWWWW WWWWW WWWWW WW+ Eubulides (IVth century) Stilpo (c.380-c.300 BC) Apollonius Cronus Zeno of Citium (c.335-263 BC) gg3 ggggg ggggg ggggg ggg Diodorus Cronus (IVth century) Cleanthes of Assos (301-232 BC) Chrysippus of Soli (c.280-207 BC) Core Logic – 2005/06-1ab – p. 5/34 Eubulides. Strongly opposed to Aristotle. Source of the “seven Megarian paradoxes”, among them the Liar. The Liar is attributed to Epimenides the Cretan (VIIth century BC); (Titus 1:12).
    [Show full text]
  • Artificial Intelligence Dynamic Reasoning with Qualified Syllogisms
    Artificial Intelligence ELSEVIER Artificial Intelligence 93 ( 1997 ) 105 167 Dynamic reasoning with qualified syllogisms Daniel G. Schwartz’ Department of Computer Science, Florida State University, Tallahassee. FL 32306-4019, USA Received January 1996: revised January 1997 Abstract A gualij%e~ syllogism is a classical Aristoteiean syllogism that has been “qualified” through the use of fuzzy quantifiers, likelihood modifiers, and usuality modifiers, e.g., “Most birds can Ry; Tweety is a bird; therefore, it is likely that Tweety can fly.” This paper introduces a formal logic Q of such syllogisms and shows how this may be employed in a system of nonmonotonj~ reasoning. In process are defined the notions of path logic and dynamic reasoning system (DRS) The former is an adaptation of the conventional formal system which explicitly portrays reasoning as an activity that takes place in time. The latter consists of a path logic together with a multiple- inhe~tance hierarchy. The hierarchy duplicates some of the info~ation recorded in the path logic, but additionally provides an extralogical spec#icity relation. The system uses typed predicates to formally distinguish between properties and kinds of things. The effectiveness of the approach is demonstrated through analysis of several “puzzles” that have appeared previously in the literature, e.g., Tweety the Bird, Clyde the Elephant, and the Nixon Diamond. It is also outlined how the DRS framework accommodates other reasoning techniques-in particular, predicate circumscription, a “localized” version of default logic, a variant of nonmonotonic logic, and reason maintenance. Furthermore it is seen that the same framework accomodates a new formulation of the notion of unless.
    [Show full text]
  • Explaining Multi-Stage Tasks by Learning Temporal Logic Formulas from Suboptimal Demonstrations
    Robotics: Science and Systems 2020 Corvalis, Oregon, USA, July 12-16, 2020 Explaining Multi-stage Tasks by Learning Temporal Logic Formulas from Suboptimal Demonstrations Glen Chou, Necmiye Ozay, and Dmitry Berenson Electrical Engineering and Computer Science, University of Michigan, Ann Arbor, MI 48109 Email: gchou, necmiye, dmitryb @umich.edu f g Abstract—We present a method for learning to perform multi- stage tasks from demonstrations by learning the logical structure and atomic propositions of a consistent linear temporal logic (LTL) formula. The learner is given successful but potentially suboptimal demonstrations, where the demonstrator is optimizing a cost function while satisfying the LTL formula, and the cost function is uncertain to the learner. Our algorithm uses Fig. 1. Multi-stage manipulation: first fill the cup, then grasp it, and then the Karush-Kuhn-Tucker (KKT) optimality conditions of the deliver it. To avoid spills, a pose constraint is enforced after the cup is grasped. demonstrations together with a counterexample-guided falsifi- In this paper, our insight is that by assuming that demonstra- cation strategy to learn the atomic proposition parameters and tors are goal-directed (i.e. approximately optimize an objective logical structure of the LTL formula, respectively. We provide function that may be uncertain to the learner), we can regu- theoretical guarantees on the conservativeness of the recovered atomic proposition sets, as well as completeness in the search larize the LTL learning problem without being given
    [Show full text]
  • Post-Defense Draft with Corrections
    THE A-THEORY: A THEORY BY MEGHAN SULLIVAN A dissertation submitted to the Graduate School—New Brunswick Rutgers, The State University of New Jersey in partial fulfillment of the requirements for the degree of Doctor of Philosophy Graduate Program in Philosophy Written under the direction of Dean Zimmerman and approved by New Brunswick, New Jersey October, 2011 © 2011 Meghan Sullivan ALL RIGHTS RESERVED ABSTRACT OF THE DISSERTATION The A-Theory: A Theory by Meghan Sullivan Dissertation Director: Dean Zimmerman A-theories of time postulate a fundamental distinction between the present and other times. This distinction manifests in what A-theorists take to exist, their accounts of property change, and their views about the appropriate temporal logic. In this dissertation, I argue for a particular formulation of the A-theory that dispenses with change in existence and makes tense operators an optional formal tool for expressing the key theses. I call my view the minimal A-theory. The first chapter introduces the debate. The second chapter offers an extended, logic-based argument against more traditional A-theories. The third and fourth chapters develop my alternative proposal. The final chapter considers a problem for A-theorists who think the contents of our attitudes reflect changes in the world. ii Acknowledgements I’ve loved working on this project over the past few years, largely because of the ex- citing philosophers I’ve been fortunate to work alongside. Tim Williamson first intro- duced me to tense logic while I was at Oxford. He helped me through some confused early stages, and his work on modality inspires the minimal A-theory.
    [Show full text]
  • Tense Or Temporal Logic Gives a Glimpse of a Number of Related F-Urther Topics
    TI1is introduction provi'des some motivational and historical background. Basic fonnal issues of propositional tense logic are treated in Section 2. Section 3 12 Tense or Temporal Logic gives a glimpse of a number of related f-urther topics. 1.1 Motivation and Terminology Thomas Miiller Arthur Prior, who initiated the fonnal study of the logic of lime in the 1950s, called lus logic tense logic to reflect his underlying motivation: to advance the philosophy of time by establishing formal systems that treat the tenses of nat­ \lrallanguages like English as sentence-modifying operators. While many other Chapter Overview formal approaches to temporal issues have been proposed h1 the meantime, Pri­ orean tense logic is still the natural starting point. Prior introduced four tense operatm·s that are traditionally v.rritten as follows: 1. Introduction 324 1.1 Motiv<Jtion and Terminology 325 1.2 Tense Logic and the History of Formal Modal Logic 326 P it ·was the case that (Past) 2. Basic Formal Tense Logic 327 H it has always been the case that 2.1 Priorean (Past, Future) Tense Logic 328 F it will be the case that (Future) G it is always going to be the case that 2.1.1 The Minimal Tense Logic K1 330 2.1 .2 Frame Conditions 332 2.1.3 The Semantics of the Future Operator 337 Tims, a sentence in the past tense like 'Jolm was happy' is analysed as a temporal 2.1.4 The lndexicai'Now' 342 modification of the sentence 'John is happy' via the operator 'it was the case thai:', 2.1.5 Metric Operators and At1 343 and can be formally expressed as 'P HappyO'olm)'.
    [Show full text]
  • Temporal Description Logics Over Finite Traces
    Temporal Description Logics over Finite Traces Alessandro Artale, Andrea Mazzullo, Ana Ozaki KRDB Research Centre, Free University of Bozen-Bolzano, Italy [email protected] Abstract. Linear temporal logic interpreted over finite traces (LTLf ) has been used as a formalism for temporal specification in automated planning, process modelling and (runtime) verification. In this paper, we lift some results from the propositional case to a decidable fragment of first-order temporal logic obtained by combining the description logic ALC f with LTLf , denoted as TU ALC. We show that the satisfiability problem f in TU ALC is ExpSpace-complete, as already known for the infinite trace case, while it decreases to NExpTime when we consider finite traces with a fixed number of instants, and even to ExpTime when additionally restricting to globally interpreted TBoxes. Moreover, we investigate two f model-theoretical notions for TU ALC: we show that, differently from the infinite trace case, it enjoys the bounded model property; we also discuss the notion of insensitivity to infiniteness, providing characterisations and sufficient conditions to preserve it. 1 Introduction Since the introduction of linear temporal logic (LTL) by Pnueli [33], several (propositional and first-order) LTL-based formalisms have been developed for applications such as automated planning [11, 12, 15–17], process modelling [1, 31] and (runtime) verification of programs [14, 24, 32–35]. Related research in knowledge representation has focussed on decidable fragments of first-order LTL [28], many of them obtained by combining LTL with description logics (DLs), and for this reason called temporal description logics (TDLs) [3, 4, 30, 36].
    [Show full text]
  • Temporal Logic 11
    Temporal Logic 11 In classical logic, the predicate P in “if P ∧ (P ⇒ Q) then Q” retains its truth value even after Q has been derived. In other words, in classical logic the truth of a formula is static. However, real-life implications are causal and temporal. To handle these, it must be possible to specify that “an event happened when P was true, moments after that Q became true, and now “P is not true and Q is true”. This may also be stated using “states”. We associate predicates with states such that a predicate is true in some state S and false in some other states. For example, the statements P the train is approaching the gate, P ⇒ Q if the train approaches the gate, the gate is lowered, Q the gate is lowered before the train is in the gate, and R the gate remains closed until the train crosses the gate describe changes to the states of a control system that continuously maintains an ongoing interaction with the environmental objects train and gate. The program controlling the train and the gate, according to the specification stated above, is a reactive program. Reactive system refers to the reactive program together with its environment. Such systems are typ- ically non-terminating, read input and produce output on a continuous basis at different system states, interact with other systems and devices in its environment, exhibit concur- rent behavior and may have to obey strict timing constraints. For example, the statements P and R denote continuous activities, the statement Q involves the temporal ordering of the actions “gate closing” and “train arriving at the crossing”, and the statements P and Q imply concurrency.
    [Show full text]