arXiv:1912.12895v2 [cs.LO] 12 Mar 2021 tsol o esrrsn htcmiain fitiinsi oi n lin and logic cr intuitionistic a of play combinations phenomena that surprising these be which nat not in a should it processes it making dynamic topology, about or information reason computation, on based tions nutoitclgc( logic Intuitionistic ne osdrto o ulcto nTer n Practice and Theory in publication for consideration Under n,uigorsudesrsls hwta h axiomatical Practic and the Theory that in show consideration Under results, relations. b soundness order on our based using logics and, semantically-defined classic the the between of structu variants i relation intuitionistic of distinct natural class two are provide a which We for of systems. sound topological is dynamic systems intui on these or for of systems each pro that axiomatic logic show several for persp consider semantics semantics We several the framework. and from systems while dynamical theory, about the type f From extend via years. to features possible few new it last made have the logics in temporal itionistic clear Comput increasingly in logics become temporal has intuitionistic of importance The ∗ hsrsac a upre yteSca cecsadHuman and Sciences Social the by supported was research This xlrn h ugeo nutoitcTemporal Intuitionistic of Jungle the Exploring umte aur 03 eie aur 03 cetd1 accepted 2003; January 1 revised 2003; January 1 submitted eateto hlspy nvriyo oot,Toronto, Toronto, of University Philosophy, of Department eateto ahmtc,GetUiest.Get Belgi Ghent, University. Ghent Mathematics, of Department IL ..(etn 90 it 00 nosamra finterpreta- of myriad a enjoys 2000) Mints 1930; (Heyting e.g. ) ( e-mail: EI.Uiest fAgr.Agr,France. Angers, Angers. of University LERIA. RT olueUiest,Tuos,France. Toulouse, University, Toulouse IRIT, ( e-mail: ( AI FERN DAVID ( e-mail: e-mail: [email protected] [email protected] MART OEHBOUDOU JOSEPH HLPKREMER PHILIP [email protected] Introduction 1 [email protected] Logics Abstract ´ NDI IN ANDEZ-DUQUE ´ EGUEZ ´ loe ecmltl sals h order the establish completely We one. al fLgcProgramming Logic of ntoa rgamn agae with languages programming unctional ∗ fLgcPormig(TPLP). Programming Logic of e rSineadAtfiilIntelligence Artificial and Science er t nepeain f‘henceforth’, of interpretations oth trrttoso hneot’ both ‘henceforth’, of nterpretations insi iertmoa oi and logic temporal linear tionistic te eerhCuclo Canada. of Council Research ities rmighv hi ot nthis in roots their have gramming e ae ihro rpeframes Kripke on either based res ciesvrllgc o reasoning for logics several ective ydfie oisejytesame the enjoy logics ly-defined ro-hoypito iw intu- view, of point proof-theory ) ) ) ) aur 2003 January Canada. um. rlfaeokto framework ural ca oe Thus, role. ucial a temporal ear 1 2 Boudou et al. logic (LTL) (Pnueli 1977) have been proposed for applications within several different contexts:
Types for functional programming languages. The Curry-Howard correspondence identi- fies intuitionistic proofs with the λ-terms of functional programming (Howard 1980). Sev- eral extensions of the λ-calculus with operators from LTL have been proposed in order to introduce new features to functional programming languages: (Davies 1996; Davies 2017) has suggested adding a ‘next’ (#) operator to IL in order to define the type system λ#, which allows extending functional programming languages with staged computa- tion1 (Ershov 1977). (Davies and Pfenning 2001) proposed the functional programming language Mini-ML2 which is supported by intuitionistic S4 and allows capturing complex forms of staged computation as well as runtime code generation. (Yuse and Igarashi 2006) later extended λ# to λ2 by incorporating the ‘henceforth’ operator (2), useful for mod- elling persistent code that can be executed at any subsequent state.
Semantics for dynamical processes. Intuitionistic temporal logics have been proposed as a tool for modelling semantically-given processes. (Maier 2004) observed that an intu- itionistic temporal logic with ‘henceforth’ and ‘eventually’2 (3) could be used for rea- soning about safety and liveness conditions in possibly-terminating reactive systems, and (Fern´andez-Duque 2018) has suggested that a logic with ‘eventually’ can be used to provide a decidable framework in which to reason about topological dynamics.
Temporal answer set programming. In the areas of nonmonotonic reasoning, knowledge representation (KR), and artificial intelligence, intuitionistic and intermediate logics have played an important role within the successful answer set programming (ASP) (Brewka et al. 2011) paradigm for KR, leading to several extensions of modal ASP (Cabalar and P´erez Vega 2007) that are supported by intuitionistic-based modal logics like temporal here and there (Balbiani and Di´eguez 2016).
Despite interest in the above applications, there is a large gap to be filled regarding our understanding of the computational behaviour of intuitionistic temporal logics. We have successfuly employed semantical methods to show the decidability of the logic ITLe defined by a natural class of Kripke frames (Boudou et al. 2017) and shown that these se- mantics correspond to a natural calculus over the 2-free fragment (Di´eguez and Fern´andez-Duque 2018). However, as we will see, in the presence of 2, new validities arise which may be undesirable from the point of view of an extended Curry-Howard isomorphism. Thus, our goal is to provide semantics for weaker axiomatically-defined intuitionistic temporal logics in order to provide tools for understanding their computational behaviour. We demonstrate the power of our semantics by separating several natural axiomatically-given calculi, which in particular answers in the negative a conjecture of (Yuse and Igarashi 2006) that the Gentzen-style and the Hilbert-style calculi presented there prove the same set of formulas.
1 Staged computation is a technique that allows dividing the computation in order to exploit the early availability of some arguments. 2 In this paper, ‘eventually’ should be understood as ‘occurring at least once, either now or in the future,’ while ‘henceforth’ should be understood as ‘from now on.’ Exploring the Jungle of Intuitionistic Temporal Logics 3
There have already been some notable efforts towards a semantical study of intuition- istic temporal logics. (Kojima and Igarashi 2011) endowed Davies’s logic with Kripke semantics and provided a complete deductive system. Bounded-time versions of logics with henceforth were later studied by (Kamide and Wansing 2010). Both use semantics based on Simpson’s bi-relational models for intuitionistic modal logic (Simpson 1994). Since then, (Balbiani and Di´eguez 2016) have shown that temporal here-and-there is decidable and enjoys a natural axiomatization. Topological semantics for intuitionistic modal and tense logics have also been studied by (Davoren 2009; Davoren et al. 2002), and (Kremer 2004) suggested a topologically-defined intuitionistic variant of LTL with # and an intuitionistic variant of ‘henceforth’, which we will denote by . Kremer’s pro- posal was never published, and is presented from the axiomatic perspective in Section 2 and its semantics in Section 3. The decidability of the logic of the weak semantics re- mains open, but (Fern´andez-Duque 2018) has shown that a similar logic with ‘eventually’ 3 instead of 2 is decidable.
In this paper we lay the groundwork for an axiomatic treatment of intuitionistic linear temporal logics. We will introduce a ‘basic’ intuitionistic temporal logic, ITL32, defined by adding standard axioms of LTL to intuitionistic modal logic (see Section 2 for details). We also consider additional Fischer Servi axioms (FS), a ‘constant domain’ axiom CD := 2(p∨q) → 2p∨3q, and a ‘conditional excluded middle’ axiom CEM := (¬#p∧#¬¬p) → (#q ∨¬#q). Combining these, we obtain seven intuitionistic temporal logics. Logics with the constant domain axiom are sound for their Kripke semantics, given by the class of dynamical systems based on a poset, also called expanding posets. In the setting of Kripke semantics, the Fischer Servi axioms correspond to backwards-confluence of the transition function. The constant domain axiom is not derivable from the others, and to show this, we will consider topological semantics for intuitionistic temporal logic. This is in contrast to the setup in (Balbiani et al. 2019), where all logics are based on expanding posets and hence validate CD. The crucial difference between working with expanding posets vs. topological semantics is that the standard interpretation of ‘henceforth’ in classical LTL may readily be applied to the setting of expanding posets, whereas in the topological setting, it requires some modification. Recall that topological spaces are pairs (X, T ), where T is a collection of subsets of X closed under unions and finite intersections (see Section 4). Elements of T are called open sets. In the topological semantics of intuitionistic logic, each proposition ϕ must be interpreted as an open set ϕ ⊆ X. In order to interpret tenses, we equip (X, T ) with a continuous function S : XJ K→ X. The classical semantics for next and eventually yield well-defined operations in this setting: for example, we define #ϕ = S−1 ϕ , which amounts to the standard definition where x ∈ #ϕ iff S(x) ∈ ϕJ . TheK continuityJ K of S ensures that #ϕ is an open set whenever ϕJ isK (recall thatJ byK definition, S is continuous iff preimagesJ K of open sets are open). Similarly,J K setting x ∈ 3ϕ iff there is n ≥ 0 such that Sn(x) ∈ ϕ ensures that 3ϕ will always be open. J K However, the classicalJ definitionK of 2ϕJ wouldK have that x ∈ 2ϕ iff Sn(x) ∈ ϕ 2 J K J K J K for all n ≥ 0 or, equivalently, ϕ = n≥0 ϕ . The problem is that open sets need not be closed under infinite intersections,J K so anJ intuitionisticK interpretation for 2ϕ must T modify the classical semantics in a way that only open sets are produced. There are at 4 Boudou et al. least two ways to achieve this. We call these the ‘weak’ and ‘strong’ interpretations of 2. The first was originally proposed by (Kremer 2004) in an unpublished note, and is treated similarly to the universal quantifier in the context of intuitionistic semantics of first order logic. In order to distinguish it from the strong interpretation, we will denote it by .3 As we will see, the operator does not satisfy some key LTL validities, namely p →# p, #p → # p, and p → p. Consequently, some of the standard LTL axioms are not sound for this interpretation. We thus propose a logic ITL3, where the axiom p → # p is replaced by the weaker p → #p. Nevertheless, 2p → #2p is arguably one of the defining axioms for henceforth, so it is convenient to have semantics that validate it. In order to obtain semantics for ITL32, we propose a new interpretation for 2. Our approach is natural from an algebraic per- spective, as we define the interpretation of 2ϕ via a greatest fixed point in the Heyting algebra of open sets.4 We will show that dynamic topological systems provide semantics for the logics without the constant domain axiom, from which we conclude the indepen- dence of the latter. Moreover, we show that the Fischer Servi axioms are valid for the class of open dynamical topological systems, and that in this setting, the semantics for and 2 coincide. The constant domain axiom shows that the {3, 2}-logic of expanding posets is different from that of dynamic topological systems. We show via an alternative axiom that the {#, 2}-logics are also different. We also consider the special case where topological semantics are based on Euclidean spaces. We show that this leads to logics strictly between that of all spaces and that of expanding posets. In the special case of the real line, we can prove that every formula falsified on a persistent poset is falsifiable on the real line. Layout. Section 2 introduces the syntax and the axiomatic systems as well as its weak counterparts that we propose for intuitionistic temporal logic. Section 3 reviews dynamic topological systems, which are used in Section 4 to provide semantics for our formal language. Section 5 shows that four of our logics and their weak companions are each sound for a class of dynamical systems, and Section 6 shows that the remaining logics are sound for Euclidean spaces. In Section 7 we focus on ITL32 interpreted on persistent posets and its connection with the real line. In Section 8 we show that several of the logics we consider are pairwise distinct. Finally, Section 9 lists some open questions.
2 Syntax and axiomatics In this section we will introduce several natural intuitionistic temporal logics. Most of the axioms we consider have appeared either in the intuitionistic logic, the temporal logic, or the intuitionistic modal logic literature. They will be based on the language of linear temporal logic, as defined next. Fix a countably infinite set P of propositional variables. The full language L32 of intuitionistic (linear) temporal logic ITL is given by the grammar in Backus-Naur form ϕ, ψ := ⊥ | p | ϕ ∧ ψ | ϕ ∨ ψ | ϕ → ψ | #ϕ | 3ϕ | 2ϕ | ϕ, where p ∈ P. As usual, we use ¬ϕ as a shorthand for ϕ →⊥ and ϕ ↔ ψ as a shorthand
3 (Kremer 2004) instead uses ∗. 4 We will not discuss Heyting algebras in this text, but see e.g. (Heyting 1930; Mints 2000). Exploring the Jungle of Intuitionistic Temporal Logics 5
for (ϕ → ψ) ∧ (ψ → ϕ). We read # as ‘next’, 3 as ‘eventually’, 2 as ‘strong henceforth’ and as ‘weak henceforth’. The intuition is that formulas are evaluated at moments of discrete time. The formula #ϕ indicates that ϕ will hold at the next moment, 3ϕ that it will hold in some subsequent moment, and 2ϕ and ϕ both indicate that ϕ will hold in every subsequent moment, including the current moment. However, as we will see, making sense of the latter notion in intuitionistic semantics is not straightforward, thus giving rise to two natural, but distinct, interpretations. Given any formula ϕ, we denote the set of subformulas of ϕ by sub(ϕ). For Θ ⊆ {3, 2, }, the language LΘ is the sub-language of L32 whose only tenses are # and those in Θ; we will not consider languages without #. So, for example, L3 only has tenses # and 3. We will write L◦ instead of L∅. The tenses , 2 represent two possible intuitionistic readings of ‘henceforth’ and thus we will rarely consider logics with both. In order to compare logics based on with logics based on 2, we introduce the translations t, where t(ϕ) ∈ L3 is the formula obtained by replacing every occurrence of 2 in ϕ by , and similarly define t2, which replaces every occurrence of by 2. The semantics for first appeared in the unpublished note (Kremer 2004), while those for 2 were first introduced in a preliminary version of this paper (Boudou et al. 2019). We begin by establishing our basic axiomatization for logics over L32. It is obtained by adapting the standard axioms and inference rules of LTL (Lichtenstein and Pnueli 2000), as well as their dual versions.
Definition 2.1 The logic ITL32 is the least set of L32-formulas closed under the following axioms and rules.
(i) All intuitionistic tautologies; (ix) 2ϕ → #2ϕ; (ii) ¬#⊥; (x) ϕ → 3ϕ; (iii) # (ϕ ∧ ψ) ↔ (#ϕ ∧ #ψ); (xi) #3ϕ → 3ϕ; (iv) # (ϕ ∨ ψ) ↔ (#ϕ ∨ #ψ); (xii) 2(ϕ → #ϕ) → (ϕ → 2ϕ); (v) # (ϕ → ψ) → (#ϕ → #ψ); (xiii) 2(#ϕ → ϕ) → (3ϕ → ϕ); ϕ ϕ → ψ (vi) 2 (ϕ → ψ) → (2ϕ → 2ψ); (xiv) ; ψ (vii) 2 (ϕ → ψ) → (3ϕ → 3ψ); ϕ ϕ (xv) , . (viii) 2ϕ → ϕ; #ϕ 2ϕ
Axioms (v) and (vi) hold in any normal modal logic and (vii) is a dual version of (vi); such dual axioms are often needed in intuitionistic modal logic, since 3 and 2 are not typically inter-definable. The axioms (ii)-(iv) have to do with the passage of time being deterministic in linear temporal logic, and are related to a functional modality, i.e. a modality that is interpreted using a function rather than a relation. The axioms (viii) and (x) have to do with future tenses being interpreted reflexively, i.e. ϕ is considered to hold eventually if it holds now. The axiom (xi) states that if something will henceforth be the case, then in the next moment, it will still henceforth be the case, and (xii) is successor induction, as time is interpreted over the natural numbers. Axioms (xi) and (xiii) are their duals. All rules are standard in any normal modal logic. Each axiom is either included in the axiomatization of Goldblatt (Goldblatt 1992, page 6 Boudou et al.
87) or is a variant of one of them (e.g., a contrapositive); this is standard in intuitionistic modal logic, as such variants are needed to account for the independence of the basic connectives. We do not consider ‘until’ and ‘release’ in this paper, but these operators have previously studied within an intuitionistic context in (Balbiani et al. 2019). Next we define our base logic for weak henceforth. It is convenient to present it as a logic over L32 and then translate to L3. The main reason for this is that we view the weak and strong semantics of henceforth as two possible interpretations of intuitionistic temporal logic, rather than two independent tenses. From this point of view, the notation should be seen as an indication that weak semantics are being used. Moreover, we are interested in comparing logics based on with those based on 2, and uniform notation will be helpful for this. In particular, we will see that the weak semantics give rise to weaker logics, partially motivating the terminology. We will then use the translation t (which, recall, replaces 2 by ) when we wish to indicate that we are working with weak semantics. 0 We define ITL32 as ITL32, but replacing axiom (ix) by
def WH = 2ϕ → 2#ϕ. Here, WH stands for ‘weak henceforth’. This terminology is justified by the following.
Lemma 2.2 Every instance of WH is derivable in ITL32.
Proof From (viii), (xv) and (vi) we obtain #2ϕ → #ϕ, which combined with axiom (ix) allows us to conclude ⊢ 2ϕ → #ϕ. Thanks to (xv) and axiom (vi) we get ⊢ 22ϕ → 2#ϕ. (1)
From axiom (xv), necessitation and (xii) we obtain ⊢ 2 (2ϕ → #2ϕ) → (2ϕ → 22ϕ) . (2)
From (1) and (2) we conclude ⊢ 2ϕ → 2#ϕ.
0 Thus ITL32 ⊆ ITL32. We will later see that the inclusion is strict, since ϕ → # ϕ is not valid in general for our semantics, but ϕ → #ϕ and 2ϕ → #2ϕ are. We can 0 then define ITL3 = t(ITL32). Modal intuitionistic logics often involve additional axioms, and in particular (Fischer Servi 1984) includes the schema def FS3(ϕ, ψ) = (3ϕ → 2ψ) → 2 (ϕ → ψ) .
We also define def FS◦(ϕ, ψ) = (#ϕ → #ψ) → # (ϕ → ψ) . This notation is justified in view of the fact that # is self-dual in linear temporal logic: since time is modeled deterministically, ‘in some next moment’ is equivalent to ‘in every next moment,’ so # may be regarded as a ‘box’ or a ‘diamond.’ It is further motivated by the following. Exploring the Jungle of Intuitionistic Temporal Logics 7
Proposition 2.3
The formula FS◦(3p, 2q) → FS3(p, q) is derivable in ITL32.
Proof
We reason within ITL32. Assume 1) FS◦(3p, 2q) and 2) (3p → 2q). Notice that #3p → 3p and 2p → #2p are instances of axioms (ix) and (xi). From this and assump- tion 2) we conclude #3p → #2p. Thanks to assumption 1) and Modus Ponens we conclude # (3p → 2q). Therefore, (3p → 2p) → # (3p → 2q). By Rule (xv), we obtain 2 ((3p → 2p) → # (3p → 2q)). By the induction axiom (xii) we derive (3p → 2p) → 2 (3p → 2q). From the assumption 2) and Modus Ponens it follows that 2 (3p → 2q). Note that (3p → 2q) → (p → q) is derivable in ITL32. From rule (xv) and axiom (vi) we obtain 2 (3p → 2q) → 2 (p → q). From this and 2 (3p → 2q) it follows that 2 (p → q), as required.
Later we will show that these schemas lead to logics strictly stronger than ITL32. Next we consider additional axioms reminiscent of the constant domain axiom in first- order intuitionistic logic, namely ∀x(ϕ(x) ∨ ψ(x)) → ∃xϕ(x) ∨ ∀xψ(x); we maintain the terminology ‘constant domain’ due to this similarity, although they do not retain this meaning in our logics. As we will see, in the context of intuitionistic temporal logics, these axioms separate Kripke semantics from the more general topological semantics.
def CD(ϕ, ψ) = 2(ϕ ∨ ψ) → 2ϕ ∨ 3ψ def BI(ϕ, ψ) = 2(ϕ ∨ ψ) ∧ 2(#ψ → ψ) → 2ϕ ∨ ψ. Here, CD stands for ‘constant domain’ and BI for ‘backward induction’. We also define as a special case CD−(ϕ) = CD(¬ϕ, ϕ). The axiom CD might not be desirable from a constructive perspective, as from 2(ϕ∨ψ) one cannot in general extract an upper bound for a witness for 3ψ.5 The axiom BI is a 3-free version of CD, as witnessed by the following.
Proposition 2.4 0 The following formulas are derivable in ITL32:
1. CD(p, q) → BI(p, q); 2. BI(p, 3q) → CD(p, q).
Proof 0 We reason within ITL32. For the first claim, assume that 1) CD(p, q), 2) 2(#q → q), and 3) 2(p ∨ q). From 1) and 3) we obtain 2p ∨ 3q, which together with 2) and axiom (xiii) gives us 2p ∨ q, as needed. For the second, assume 1) BI(p, 3q) and 2) 2(p ∨ q). From 2(p ∨ q), axiom (xi) and some modal reasoning, 2(p ∨ 3q). Also from axiom (xi) and rule (xv), 2(#3q → 3q). From BI(p, 3q) we obtain 2p ∨ 3q, as needed.
5 For example, if ϕ represents the ‘active’ states and ψ the ‘halting’ states of a program, then CD would require us to decide whether the program halts, which is not possible to do constructively. 8 Boudou et al.
Finally, we introduce the conditional excluded middle axiom
def CEM(p, q) = (¬#p ∧ #¬¬p) → (#q ∨ ¬#q).
This axiom states that a certain instance of excluded middle holds, provided some as- sumptions are satisfied. It is less familiar than others we have considered, but its role will become clear when we consider semantics based on the real line. With this, we define a handful of logics, listed in Table 2.1, along with definitions of the ‘optional’ axioms. The inclusions between these logics are summarized in Figure 2.1; as we will show in this paper, these are the only inclusions that hold between these logics.6
WH(ϕ) = 2ϕ → 2#ϕ FS◦(ϕ, ψ) = (#ϕ → #ψ) → # (ϕ → ψ) FS3(ϕ, ψ) = (3ϕ → 2ψ) → 2 (ϕ → ψ) CD(ϕ, ψ) = 2(ϕ ∨ ψ) → 2ϕ ∨ 3ψ CD−(ϕ) = 2(¬ϕ ∨ ϕ) → 2¬ϕ ∨ 3ϕ BI(ϕ, ψ) = 2(ϕ ∨ ψ) ∧ 2(#ψ → ψ) → 2ϕ ∨ ψ CEM(ϕ, ψ) = (¬#ϕ ∧ #¬¬ϕ) → (#ψ ∨ ¬#ψ)
ITL32 = (See Definition 2.1) 0 0 ITL32 = ITL32 − (ix) + WH ITL3 = t(ITL32) − 0 − ETL32 = ITL32 + CD ETL3 = t(ITL32 + CD ) − 0 − RTL32 = ITL32 + CD + CEM RTL3 = t(ITL32 + CD + CEM) CDTL32 = ITL32 + CD CDTL3 = t(CDTL32) + + + ITL32 = ITL32 + FS◦ ITL3 = t(ITL32) + − + + ETL32 = ITL32 + FS◦ + CD ETL3 = t(ETL32) + + + CDTL32 = ITL32 + FS◦ + CD CDTL3 = t(CDTL32)
Table 2.1: Axioms not listed in Definition 2.1 (above) and logics based on strong and weak henceforth (below). In the right-hand column, notice that only ITL3, ETL3 and 0 RTL3 are based on ITL32.
Here, RTL32 stands for ‘real temporal logic’, ETL32 for ‘Euclidean temporal logic’ 0 and CDTL32 for ‘constant domain temporal logic’. For a logic Λ in the above list, Λ is 0 defined analogously but replacing ITL32 by ITL32. Logics over L3 are defined in Table 2.1. Note that logics with either CD or FS◦ use the strong axiom, ϕ → # ϕ. This has to do with our semantics and will become clear later.
6 Note that our notation for logics has been modified from that in (Boudou et al. 2019), in order to 0 + accommodate the larger family we now consider. Specifically, ITL32 was denoted ITL , ITL32 was FS CD + 1 0 denoted ITL , CDTL32 was denoted ITL , and CDTL32 was denoted ITL . Note that ITL32 is weaker than ITL0. Exploring the Jungle of Intuitionistic Temporal Logics 9
+ + CDTL32 CDTL3
+ + ETL32 ETL3
+ + CDTL32 RTL32 ITL32 CDTL3 RTL3 ITL3
ETL32 ETL3
ITL32 ITL3
Fig. 2.1: Inclusions between the logics based on strong or weak henceforth we have defined; an arrow Λ1 → Λ2 means that every theorem of Λ1 is a theorem of Λ2.
Our list is not meant to exhaust all combinations of axioms; rather, we only consider logics that arise from natural classes of models. Before discussing semantics, we establish the only non-trivial inclusion between these logics. Lemma 2.5 + Every instance of CEM is derivable in ITL32.
Proof + It is not hard to check that ¬(¬#p ∧ #¬¬p) is derivable in ITL32, hence so is CEM. + This immediately yields that RTL32 ⊆ ETL32: Proposition 2.6 + Every formula derivable in RTL32 is derivable in ETL32.
We are also interested in logics over sublanguages of L32 or L3. For any logic Λ defined above, let Λ2 be defined by restricting similarly all rules and axioms to L2, except that when CD is an axiom of Λ, we add the axiom BI to Λ2. In these cases, Λ is similarly defined using t(BI). The logic ITL2 is similar to a Hilbert calculus for the ∧, ∨-free fragment considered by Yuse and Igarashi (Yuse and Igarashi 2006), although they do not include induction but include the axioms 2ϕ → 22ϕ and 2#ϕ ↔ #2ϕ. It is not difficult to check that the latter are derivable from our basic axioms, and hence their logic is contained in ITL2. We also define Λ3 to be the logic obtained by restricting all rules and axioms to ϕ→ψ #ϕ→ϕ L3, and adding the rules 3ϕ→3ψ and 3ϕ→ϕ . Note that these rules correspond to ax- ioms (vii), (xiii), respectively, but do not involve 2. In this paper we are mostly con- cerned with logics including ‘henceforth’, but 2-free logics are studied in detail by (Di´eguez and Fern´andez-Duque 2018).
3 Dynamic topological systems The logics defined above are pairwise distinct. We will show this by introducing semantics for each of them. They will be based on dynamic topological systems (or dynamical systems for short), which, as was observed in (Fern´andez-Duque 2018), generalize their 10 Boudou et al.
Kripke semantics (Boudou et al. 2017). In this section, we review the basic notions of topological dynamics needed in the rest of the text. Let us first recall the definition of a topological space, as in e.g. (Dugundji 1975): Definition 3.1 A topological space is a pair (X, T ) , where X is a set and T a family of subsets of X satisfying a) ∅,X ∈ T ; b) if U, V ∈ T then U ∩ V ∈ T , and c) if O ⊆ T then O ∈ T . The elements of T are called open sets. S If x ∈ X, a neighbourhood of x is an open set U ⊆ X such that x ∈ U. Given a set A ⊆ X, its interior, denoted A◦, is the largest open set contained in A. It is defined formally by A◦ = {U ∈ T : U ⊆ A} . (3) Dually, we define the closure A as X[\ (X \ A)◦; this is the smallest closed set containing A. If (X, T ) is a topological space, a function S : X → X is continuous if, whenever U ⊆ X is open, it follows that S−1[U] is open. The function S is open if, whenever V ⊆ X is open, then so is S[V ]. An open, continuous function is an interior map, and a bijective interior map is a homeomorphism; equivalently, S is a homeomorphism if it is invertible and both S and S−1 are continuous. A dynamical system is then a topological space equipped with a continuous function: Definition 3.2 A dynamical (topological) system is a triple X = (X, T ,S) such that (X, T ) is a topolog- ical space and S : X → X is continuous. We say that X is open if S is an interior map and invertible if S is a homeomorphism. Topological spaces generalize posets in the following way. Let F = (W, 4) be a poset; that is, W is any set and 4 is a transitive, reflexive, antisymmetric relation on W . To see F as a topological space, define ↑w = {v : w 4 v} . Then consider the topology T4 on W given by setting U ⊆ W to be open if and only if, whenever w ∈ U, we have ↑w ⊆ U. A topology of this form is an up-set topology (Aleksandroff 1937). The interior operator on such a topological space is given by A◦ = {w ∈ W : ↑w ⊆ A}; (4) i.e., w lies on the interior of A if whenever v < w, it follows that v ∈ A. Throughout this text we will often identify partial orders with their corresponding topologies, and many times do so tacitly. In particular, a dynamical system generated by a poset is called a dynamical or expanding poset, due to its relation to expanding products of modal logics (Gabelaia et al. 2006). It will be useful to characterize the continuous and open functions on posets (see Figure 3.1): Lemma 3.3 Consider a poset (W, 4) and a function S : W → W . Then, 1. the function S is continuous with respect to the up-set topology if and only if, whenever w 4 w′, it follows that S(w) 4 S(w′), and 2. the function S is open with respect to the up-set topology if whenever S(w) 4 v, there is w′ ∈ W such that w 4 w′ and S(w′)= v. Exploring the Jungle of Intuitionistic Temporal Logics 11
These are properties common in multi-modal logics and we refer to them as ‘confluence properties.’ A persistent function is an open, continuous map on a poset.
S S w′ w′ v
4 4 4 4 S S w w
(a) Continuity (b) Openness
Fig. 3.1: On a dynamic poset, the above diagrams can always be completed if S is continuous or open, respectively.
4 Semantics In this section we will see how dynamical systems can be used to provide a natural intuitionistic semantics for the language of linear temporal logic. Classicall LTL may be interpreted over structures (X,S) where X is a set and S : X → X. In this setting, #ϕ is true on a point x if ϕ is true ‘at the next moment,’ i.e., on S(x); 3ϕ is true on a point x if ϕ is ‘eventually’ true, i.e. there is n ≥ 0 such that ϕ is true on Sn(x), and 2ϕ is true on a point x if ϕ is ‘henceforth’ true, i.e. for all n ≥ 0, ϕ is true on Sn(x). Meanwhile, topological spaces provide semantics for intuitionistic logic, where each formula is assigned an open set. Under this semantics, ϕ → ψ is true on x if there is a neighborhood U of x (i.e., an open set U with x ∈ U) such that every y ∈ U satisfying ϕ also satisfies ψ. Thus it is natural to interpret intuitionistic temporal logic on dynamical systems, which are endowed with both a topology and a transition function. In this setting, the classical definitions of # and 3 readily adapt to the topological setting without modification. On the other hand, the classical definition of 2 does not necessarily yield open sets, and to this end we consider two variants of henceforth, the weak variant, , and the strong variant, which we simply denote 2. Definition 4.1 Given a dynamical system X = (X, T ,S), a valuation on X is a function · : L32 → T such that J K
⊥ = ∅ 3ϕ = S−n ϕ Jϕ K∧ ψ = ϕ ∩ ψ J K n≥0 J K S Jϕ ∨ ψK = JϕK ∪ JψK 2ϕ = U ∈ T : S[U] ⊆ U ⊆ ϕ ◦ J K J K Jϕ → ψK =J (KX \J ϕK ) ∪ ψ ◦ ϕ = S n S−n ϕ o J#ϕ =KS−1 ϕ J K J K J K n≥0 J K J K J K T A tuple M = (X, T , S, · ) consisting of a dynamical system with a valuation is a dynamic topological model, JandK if T is generated by a partial order, we will say that M is a dynamic poset model. All of the semantic clauses are standard from either intuitionistic or temporal logic, with the exception of those for ϕ and 2ϕ, which we discuss in greater detail in the 12 Boudou et al. remainder of this section. It is not hard to check by structural induction on ϕ that ϕ is uniquely defined given any assignment of the propositional variables to open sets, andJ K that ϕ is always open. We define validity in the standard way, and with this introduce additionalJ K semantically-defined logics, two of which were studied in (Boudou et al. 2017). Definition 4.2 If M = (X, T , S, · ) is any dynamic topological model and ϕ ∈ L is any formula, we write M |= ϕ if JϕK = X. Similarly, if S = (X, T ,S) is a dynamical system, we write S |= ϕ if for any valuationJ K · on X , we have that (S, · ) |= ϕ; and, if X = (X, T ) is any topological space, then X |=J Kϕ if, for any continuous SJ :K X → X, (X, T ,S) |= ϕ. Finally, if Ω is a class of structures (either topological spaces, dynamical systems, or models), we write Ω |= ϕ if for every A ∈ Ω, A |= ϕ, in which case we say that ϕ is valid on Ω. Ω If Ω is either a structure or a class of structures and Θ ⊆{3, 2, }, we write ITLΘ for the set of LΘ formulas valid on Ω. We maintain the convention that # is assumed to be Ω in all languages, and we write ITL◦ when Θ = ∅. The main classes of dynamical systems we are interested in are listed in Table 4.1. c For example, ITL32 denotes the set of L32-formulas valid over the class of all dynamical systems.
c all dynamical systems (with a continuous function) e expanding posets p persistent posets o open dynamical systems Rn systems based on n-dimensional Euclidean space
Table 4.1: The main classes of dynamical systems appearing in the text.
In practice, it is convenient to have a ‘pointwise’ characterization of the semantic clauses of Definition 4.1. For a model M = (X, T , S, · ), x ∈ X and ϕ ∈ L, we write M, x |= ϕ if x ∈ ϕ , and M |= ϕ if ϕ = X. Then,J K in view of (3), given formulas ϕ and ψ, we haveJ thatK M, x |= ϕ → ψJifK and only if there is a neighbourhood U of x such that for all y ∈ U, if M,y |= ϕ then M,y |= ψ; note that this is a special case of neighbourhood semantics (Pacuit 2017). The following simple observation will be useful. Lemma 4.3 If M = (X, T , S, · ) is any model and ϕ, ψ ∈ L32, then M |= ϕ → ψ if and only if ϕ ⊆ ψ . J K J K J K Proof ◦ If ϕ ⊆ ψ then (X \ ϕ ) ∪ ψ = X, so ϕ → ψ = (X \ ϕ ) ∪ ψ = X◦ = X. ◦ Otherwise,J K J thereK is z ∈ JϕK suchJ K that z∈ / ψJ , so thatK z∈ / (XJ \K ϕ J) ∪K ψ , i.e. z∈ / ϕ → ψ . J K J K J K J K J K Using (4), this can be simplified somewhat in the case that T is generated by a partial order 4: Exploring the Jungle of Intuitionistic Temporal Logics 13
Proposition 4.4 If (X, 4, S, · ) is a dynamic poset model, x ∈ X, and ϕ, ψ are formulas, then M, x |= ϕ → ψ if andJ K only if from y < x and M,y |= ϕ, it follows that M,y |= ψ.
This is the standard relational interpretation of implication, and thus topological seman- tics are a generalization of the usual Kripke semantics. The semantics for were originally introduced by (Kremer 2004) as an intuition- istic reading of ‘henceforth’. By analogy with 3, one might try to interpret ϕ as −n J K n≥0 S ϕ . But this does not quite work since, on this interpretation, there would be no guaranteeJ K that ϕ is open. Instead, we consider interpreting ϕ as the interior T −n J K J K of n≥0 S ϕ . In other words, M, x |= ϕ if and only if there is a neighbourhood U of x so that forJ everyK y ∈ U and every n ∈N, one has that M,Sn(y) |= ϕ. T This interpretation of ‘henceforth’ is analogous to the interpretation in (Rasiowa and Sikorski 1963), and going back to (Mostowski 1948), of ∀x in the topological semantics for quantified intuitionistic logic. We may interpret variables as ranging over some non-empty domain D, and truth values as open sets in some topological space (X, T ). The semantic clauses for ∃x and ∀x are, essentially, the following: ∃xϕ = ϕ[d/x] J K d∈D J K ∀xϕ = (S ϕ[d/x] )◦ J K d∈D J K T Note that if D is infinite then the intersection in the definition of ∀xϕ may also be infinite and hence the application of the interior operator is necessaryJ in orderK to obtain an open truth value. The semantics for 2ϕ are also an intuitionistic interpretation of ‘henceforth’, but from a more algebraic perspective. In classical temporal logic, 2ϕ is the largest set contained in ϕ which is closed under S. In our semantics, 2ϕ is theJ greatestK open set which is closed underJ K S. If M, x |= 2ϕ, this fact is witnessedJ by anK open, S-invariant neighbourhood of x, where U ⊆ X is S-invariant if S[U] ⊆ U.
Proposition 4.5 If (X, T , S, · ) is a dynamic topological model, x ∈ X, and ϕ is any formula, then M, x |= 2ϕJifK and only if there is an S-invariant neighbourhood U of x such that for all y ∈ U, M,y |= ϕ.
In fact, the open, S-invariant sets form a topology; that is, the family of S-invariant open sets is closed under finite intersections and arbitrary unions, and both the empty set and the full space are open and S-invariant (this follows readily from the fact that the topology T already has these properties, as does the family of S-invariant sets). This topology is coarser than T , in the sense that every S-invariant open set is (tautologically) open. Thus 2 can itself be seen as an interior operator based on a coarsening of T , and 2ϕ is always an S-invariant open set. J K Example 4.6 As usual, the real number line is denoted by R and we assume that it is equipped with the standard topology, where U ⊆ R is open if and only if it is a union of intervals of the form (a,b). Consider a dynamical system based on R with S : R → R given by S(x)=2x. 14 Boudou et al.
We claim that for any model M based on (R,S) and any formula ϕ, M, 0 |= 2ϕ if and only if M |= ϕ. To see this, note that one implication is obvious since R is open and S-invariant, so if ϕ = R it follows that M, 0 |= 2ϕ. For the other implication, assume that M, 0 |= 2ϕ, soJ K that there is an S-invariant, open U ⊆ ϕ with 0 ∈ U. It follows from U being open that for some ε > 0, (−ε,ε) ⊆ U. Now, letJ Kx ∈ R, and let n be large enough so that |2−nx| <ε. Then, 2−nx ∈ U, and since U is S-invariant, x = Sn(2−nx) ∈ U. Since x was arbitrary, U = R, and it follows that M |= ϕ. On the other hand, suppose that 0