











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Cindy Eisner^1 and Dana Fisman^1 ,^2 (^1) IBM Haifa Research Laboratory 2 Hebrew University
Abstract. We study the relation between logical contradictions such as p ∧ ¬p and structural contradictions such as p ∩ (p · q). Intuitively, we expect the two to be treated similarly, but they are not by PSL, nor by SVA. We provide a solution that treats both kinds of contradictions in a consistent manner. The solution re- veals that not all structural contradictions are created equal: we must distinguish between them in order to preserve important characteristics of the logic. A happy result of our solution is that it provides the semantics over the natural alphabet 2 P^ , as opposed to the current semantics of PSL/SVA that use an inflated alpha- bet including the cryptic letters > and ⊥. We show that the complexity of model checking PSL/SVA is not affected by our proposed semantics.
A logical contradiction is a propositional formula that is not satisfiable, for example p ∧ ¬p. In temporal logics such as PSL [8, 17] and SVA [18] that contain semi-extended regular expressions, or SEREs, structural contradictions arise. A structural contradiction is a SERE that is not satisfiable due to its structure. That is, for any replacement of the propositions in the SERE, the SERE remains unsatisfiable. For example, p ∩ (p · q) (the language of words consisting of a single letter on which p holds intersected with the language of words consisting of two letters on which p holds on the first and q on the second) is a structural contradiction, while (p · q) ∩ (p · ¬q) is a contradiction, but not a structural one. Structural contradictions were first named in [2], which noted that they were treated differently than logical contradictions by the formal semantics of PSL. The ∩ operator is not the only source of structural contradictions in PSL and SVA. A structural contradiction can also be formed from the fusion operator (denoted here by ◦ ), a kind of overlapping concatenation. The language of SERE r 1 ◦ r 2 includes words of the form v 1 v 2 , where v 1 and v 2 are words, is a letter, v 1 is in the language of r 1 , andv 2 is in the language of r 2. The SERE λ ◦ p, where λ denotes the language consist- ing of the empty word, is a structural contradiction formed without the ∩ operator. Before proceeding, we must first understand a little bit about the use of SEREs in PSL/SVA. The set of SEREs is built from atoms which are propositional formulas us- ing the standard operators concatenation (which we denote · ), union, intersection and Kleene closure, plus the non-standard fusion operator ◦. Let r be a SERE. Then the formula r!, a strong SERE formula, holds on words containing a non-empty prefix in the language of r. For example: {a∗^ · b∗^ · c}! (1)
holds on a word starting with some number of letters satisfying a followed by some number of letters satisfying b followed by a letter satisfying c, and is equivalent to the LTL formula [a U [b U c]].
The formula r, a weak SERE formula, holds if either r! holds or if the word is “too short” (ends before we have “fallen off” the automaton for r) or “too long” (is an infinite word in which we “got stuck” forever in a starred sub-expression).^1 For example:
{a∗^ · b∗^ · c} (2)
holds on words starting with some number of letters satisfying a followed by some number of letters satisfying b followed by a letter satisfying c (in other words, words on which r! holds), on (finite) prefixes of such words (words that are “too short”) and also on infinite words consisting of an infinite number of letters satisfying a or a finite num- ber of letters satisfying a followed by an infinite number of letters satisfying b (words that are “too long”). Recall that Formula 1 is equivalent to [a U [b U c]]. Formula 2, its weak version, is equivalent to the LTL formula [a W [b W c]]. The problem of structural contradictions arises in the context of weak SERE formu- las. Intuitively, a weak SERE formula r is related to its strong counterpart, r!, in the same way that the weak until operator W is related to its strong counterpart, U. For example, the formula (p∗^ · q) is equivalent to [p W q] and the formula (p∗^ · q)! is equivalent to [p U q]. However, replacing q with a logical contradiction c gives a different result than replacing it with a structural contradiction s. While (p∗^ · c) is still equivalent to [p W c], the current semantics give that (p∗^ · s) is not equivalent to [p W s], but rather to false. Structural contradictions also arise in the context of formulas using strong operators (e.g., r! and U) on truncated words, words that are finite but not necessarily maximal. The problem of structural contradictions on such words is created by the PSL abort operator and the SVA disable iff operator. In [10] it was observed that methods devel- oped for dealing with finite maximal words are not sufficient for dealing with truncated words. On truncated words, the user might want to reason about properties of the trun- cation as well as properties of the model. For instance, a user might want to specify that a simulation test goes on long enough to discharge all outstanding obligations, or on the other hand, that an obligation need not be met if it “is the fault of the test” (that is, if the test is too short). The former is useful for a test designed to continue until correct output can be confirmed, while the latter approach is useful for a test that “has no opinion” on the correct length of a test – for instance, a monitor checking for bus protocol errors. The truncated semantics of LTL [10] gives three views of the validity of a formula on a truncated word. The views differ with respect to the truth value of a formula if the word was truncated before evaluation of the formula was complete. For example, consider the formula F p on a truncated word such that p does not hold for any letter, or the formula G q on a truncated word such that q holds at all letters. In both cases we cannot be sure whether or not the formula holds on the original, untruncated word. A decision to return true when there is doubt is termed the weak view and a decision to return false when there is doubt is termed the strong view. Thus in the weak view the formula F p holds for any finite word, while G q holds only if q holds at every letter of the word. And in the strong view the formula F p holds only if p holds at some letter of the word, while the formula G q does not hold for any finite word. The neutral view demands the maximum that can be reasonably expected from a finite word. Under
(^1) Weak SERE formulas are currently part of PSL but not of SVA. However, they are included in the Working Group-approved draft of the next version of SVA.
Definition 1 (Semi-extended Regular Expressions (SEREs)) If b ∈ B is a proposi- tional formula and r, r 1 , and r 2 are SEREs, then the following are SEREs:
Fig. 1: The syntax of PSC
no difference between synchronous and asynchronous abort, we use here a single abort operator which we denote abort. We are left with LTL operators plus formulas formed from semi-extended regular expressions (SEREs) and the abort operator. We define PSC formulas with respect to a non-empty set of atomic propositions P and a given set of propositional formulas B over P. Then SEREs and PSC formulas are defined as shown in Definitions 1 and 2 in Figure 1. Note that every propositional formula is a SERE, thus the weak and strong Booleans of [17] are included. The weak next operator, X, is needed in order to deal with finite words [19] and is defined as syntactic sugaring as follows: X ϕ = ¬X! ¬ϕ. In this paper we also make use of F ϕ = [true U ϕ] and G ϕ = ¬F ¬ϕ. LTL is the subset of PSC consisting of degenerate SEREs of the form b as the base case, the Boolean connectives ¬ and ∧, and the temporal operators X! and U.
2.1 Notation
Let Σ = 2P^ ∪ {>, ⊥}; thus a letter is either a subset of the set of atomic propositions P or one of the special letters >, ⊥. We will denote a letter from Σ by and an empty, finite, or infinite word from Σ by u, v or w. We denote the length of word w as |w|. An empty word w = has length 0, a finite word w = ( 0 1 2 · · · n) has length n + 1, and an infinite word has length ∞. We denote the ith^ letter of w by wi−^1 (since counting of letters starts at zero). We denote by wi..^ the suffix of w starting at wi. That is, wi..^ = (wiwi+1^ · · · wn) or wi..^ = (wiwi+1^ · · ·). We denote by wi..j^ the finite sequence of letters starting from wi^ and ending in wj^. That is, wi..j^ = (wiwi+1^ · · · wj^ ). We make use of an “overflow” and “underflow” for the indices of w. That is, wj..^ = if j ≥ |w|, and wj..k^ = if j ≥ |w| or k < j. The dual word of w, denoted w, is the word obtained by replacing every > with a ⊥ and vice versa. We use true and false to denote p ∨ ¬p and p ∧ ¬p, respectively, for some atomic proposition p. We use ϕ and ψ to denote PSC formulas, p to denote an atomic proposition, and j and k to denote natural numbers. For languages L 1 and L 2 we use L 1 · L 2 to denote the set {w 1 w 2 | w 1 ∈ L 1 and w 2 ∈ L 2 } and L 1 ◦ L 2 to denote the set {w 1w 2 | w 1 ∈ L 1 andw 2 ∈ L 2 }. For a language L we use L^0 to denote {}, Li^ to denote Li−^1 · L, L∗^ to denote
i≥ 0 L
i (^) and L+ (^) to de-
Definition 3 (The language of SERE r)
| b}Fig. 2: The language of SERE r
note
i> 0 L i. We use Lω (^) for the language composed of infinitely many concatenations
of L with itself. For an infinite word w, we define that wv = w for any word v. We use 〈a〉 to denote a letter on which atomic proposition a and only atomic propo- sition a holds, 〈ab〉 to denote a letter on which atomic propositions a and b and only atomic propositions a and b hold, etc. Thus 〈a〉〈bc〉〈d〉 describes a finite word of three letters, such that a is the only atomic proposition that holds on the first letter, b and c are the only atomic propositions that hold on the second letter, and d is the only atomic proposition that holds on the third letter.
2.2 The current semantics of PSC
The current semantics of PSC in [17, 18] is defined inductively, using as the base case the semantics of propositional formulas over letters in Σ = 2P^ ∪{>, ⊥}. The semantics of propositional formulas is assumed to be given as a relation ⊆ Σ × B relating letters in Σ with propositional formulas in B. If (, b) ∈ we say that the letter satisfies the propositional formula b and denote it b. We assume that the two special letters > and ⊥ behave as follows: for every propositional formula b, > b and ⊥ / b. We further assume that on every other letter, p iff p ∈ `. Finally, we assume that otherwise the relation behaves in the usual manner, and in particular that Boolean disjunction, conjunction and negation behave as usual. The language of SERE r (the words on which r holds tightly [17], or is tightly satisfied [18]), denoted L(r), is defined formally as shown in Definition 3 in Figure 2. Because of its use of the special letters > and ⊥, we call the semantics of [17, 18] the >,⊥ approach to the semantics of PSC, and we use w |=>⊥ ϕ to denote that w models ϕ under the >,⊥ approach. The semantics are given in Definition 4 in Figure 3. The semantics of the LTL operators are standard, except that we use the dual word when negating. The semantics of r! are straightforward: r! holds on a word w if there exists a finite prefix of w that is in L(r). For example, (a · b · c)! holds on the word u = 〈a〉〈b〉〈c〉〈d〉. Intuitively, the semantics of r are that nothing should go wrong before reaching a final state in the automaton of r. In other words, that if we have not completed a word in L(r), then at least things have not gone so wrong that appending some number of
Definition 5 (Logical contradiction) A logical contradiction is a propositional for- mula that is not satisfiable.
Observation 1 A logical contradiction can be transformed into a satisfiable (and valid) formula by substituting each proposition with either true or false.
Definition 6 (Structural contradiction) A structural contradiction is a SERE that is not satisfiable, and that remains unsatisfiable under every substitution of each proposi- tion with either true or false.
3.1 The problem
Let ϕ = (a · b
∗ · false) and let ϕ′^ = (a · b
∗ · (c ∩ (c · c))). It is easy to see that ϕ holds on w = 〈a〉〈b〉〈b〉〈b〉 but that ϕ′^ does not. The reason for this is that any propositional formula holds on the letter >, thus adding >’s to the end of a finite word allows us to satisfy any logical contradiction in the future. However, there is no word, not even one consisting entirely of >’s, on which a structural contradiction holds. As suggested in [9], it seems that allowing the special letter > to match not only any propositional formula, but also any SERE of any length, might make the problem disappear by definition. Under the flexible letter approach, we modify the >,⊥ approach by defining that L(λ) = >∗^ and that L(b) = {| b} · >∗. We then get that ϕ′^ = (a · b ∗ · (c ∩ (c · c))) holds on w = 〈a〉〈b〉〈b〉〈b〉 as we want. To see this, note that for ϕ to hold on w we need that w>ω^ |=>⊥ ϕ. We have that >> ∈ L(c ∩ (c · c)) because
∈ L(c) and also that >> ∈ L(c · c). Thus we can let j = 5 and take the first six letters of w>ω^ to be in L(a · b
∗ · (c ∩ (c · c)))). The problem with this solution is that it has a harmful side effect – it changes the semantics of formulas that do not contain structural contradictions. Let r 1 = (a · b · c), let r 2 = (d · e · f ), let ϕ = (r 1 ◦ r 2 ) and let w = 〈a〉〈b〉〈c〉. Then under the >,⊥ ap- proach, using the original semantics of L(r) as defined in Section 2.2, we have that ϕ does not hold on w. To see this, note that |w| = 3. Thus w |=>⊥ ϕ iff ∀j < 3 we have that w^0 ..j^ >ω^ |=>⊥ (r 1 ◦ r 2 )!. Taking j = 2 we get that 〈a〉〈b〉〈c〉>ω^ |= />⊥ (r 1 ◦ r 2 )!, because that requires one letter overlap between (a · b · c) and (d · e · f ), but we do not have that d holds on the third letter. Under the flexible letter approach, using the modified defini- tions of L(λ) and L(p) of the previous paragraph, we can use more than three letters to “match” (a · b · c). So take the first four letters of 〈a〉〈b〉〈c〉>ω^ to be in L(a · b · c), and then, starting from the last letter of those four (which is >), take some number of letters to be in L(d · e · f ). Since all letters after the first > are >, we can take three >’s for that. Then the overlap happens on a >, and thus under the flexible letter approach we get that ϕ holds on w.
3.2 The solution
Our proposed semantics for PSC is based on the truncated semantics of LTL [10]. The truncated semantics is defined over the natural alphabet 2 P^ and gives three views of the truth value of a formula, roughly corresponding to the truth value on w>ω^ (the weak view), w (the neutral view) and w⊥ω^ (the strong view). Formally, the truncated
Definition 7 (Truncated semantics of LTL [10])
holds weakly: For w over 2 P^ such that |w| ≥ 0 ,
holds neutrally: For w over 2 P^ such that |w| > 0 ,
holds strongly: For w over 2 P^ such that |w| ≥ 0 ,
Fig. 4: The truncated semantics of LTL [10]
semantics of LTL is defined as shown in Definition 7 in Figure 4, where abort is the truncation operator, termed trunc w by [10]. The neutral view is defined over non-empty words and corresponds to the tradi- tional LTL semantics over finite words, while the weak and strong views are defined on empty words as well. The weak/strong views consider the empty word explicitly in the semantics of b (the weak view considers it sufficient that |w| = 0 while the strong view requires that w be non-empty), while the neutral view assumes that w is non-empty. A third difference is that the weak and strong views make use of the definition of “overflow” for the indices of w. For example, in Definition 7, consider the semantics of [ϕ U ψ] under the weak and strong views. When we say “∃k”, k is not required to be less than |w|. In the weak view, this has the effect of allowing all eventualities to hold, because an overflow results in , b holds on , and the rest follows easily by induction.
Definition 9 (The language of finite proper prefixes of SERE r) The lan- guage of finite proper prefixes of SERE r, denoted F(r), is defined as follows:
Definition 10 (The loop language of SERE r) The loop language of SERE r, denoted I(r), is defined as follows:
Fig. 6: The languages F(r) and I(r)
we have changed the semantics with respect to formulas not containing structural con- tradictions, exactly the problem that we had with the flexible letter approach. To see this, let r 1 = (a · b · c), let r 2 = (d · e · f ), and examine the semantics of Lweak(r 1 ◦ r 2 )). Since we have already seen the third letter, we want to insist that d holds on it, as we do in the current semantics of PSC. But since w ∈ Lweak(r 1 ), we have not done so. The second complication is that Lweak(r) does not distinguish between the case where formula r holds because the word is “too short” (is finite) and the case where it holds because the word is “too long” (is infinite). Thus it will be difficult for us to use Lweak(r) to extend the truncated semantics, in which it is required that the three views coincide on infinite, but not on finite words. We address the first issue by defining a language that stops one letter short of words in L(r). In order to address the second issue, we split Lweak(r) into two languages. The language of proper prefixes of a SERE, denoted F(r), consists of finite proper prefixes of words in L(r), except that logical and structural contradictions are considered satis- fiable. The loop language of a SERE, denoted I(r), extends the loop(·) of [16] to the intersection and fusion operators. It consists of infinite words in which we get “stuck forever” in a starred sub-expression of r. Formally, these languages are defined as in Definitions 9 and 10 in Figure 6. Using L(r), F(r) and I(r), we extend the truncated semantics to all of PSC as shown in Definition 11 in Figure 7. Note that whenever we ask whether w ∈ F(r) we also ask if w ∈ {}. This is because 6 ∈ F(λ) (it recognizes only proper prefixes), however we want to preserve the property of [10] that any formula holds weakly on . Examine now the semantics of r! under the neutral view. The formula r! holds neutrally on w if there exists a non-empty prefix of w that is in L(r). Since formula r! is strong, its semantics under the strong view are identical to its semantics under the neutral view. Under the weak view, the semantics are weakened. The weakening includes the empty word and words in F(r), but not words in I(r). This is because the views should differ only on truncated words, which are finite, while words in the loop language are infinite.
Definition 11 (Truncated semantics of PSC) The truncated semantics of PSC consists of the truncated semantics of LTL as shown in Definition 7 in Figure 4, extended to the SERE- based operators as follows: holds weakly: For w over 2 P^ such that |w| ≥ 0 ,
holds neutrally: For w over 2 P^ such that |w| > 0 ,
holds strongly: For w over 2 P^ such that |w| ≥ 0 ,
Fig. 7: Truncated semantics of PSC
The formula r holds neutrally on w if either there exists a non-empty prefix of w that is in L(r), or w is “too long” (is in I(r)) or “too short” (is in F(r) ∪ {}). Since formula r is weak, its semantics under the weak view are identical to its semantics under the neutral view. Under the strong view, the semantics are strengthened. Similarly to the weakening of r! in the weak view, the strengthening affects only finite words.
The formula r → ϕ holds neutrally on w if for every finite non-empty prefix of w in L(r), ϕ holds on the suffix of w starting from the last letter of the prefix. Formula r → ϕ is weak, therefore its semantics under the weak view are similar to its semantics under the neutral view (the difference is in the strength used to check ϕ). Under the strong view, the semantics are strengthened. The strengthening involves eliminating and words that are in F(r). To understand this, notice that on such words there might exist an extension to a word in L(r) on the original, untruncated word (considering logical and structural contradictions to be satisfiable) and we cannot be sure whether ϕ holds on the original, untruncated word starting from that point.
Before examining the characterisitics of the truncated semantics of PSC, let’s do a quick sanity check. Previously we saw that on a finite word w = 〈a〉〈b〉〈b〉〈b〉, formulas ϕ = (a · b∗^ · false) and ϕ′^ = (a · b∗^ · (c ∩ (c · c))) behave differently under the >,⊥ approach. Under the extension to the truncated semantics, we get that both of them hold on w. Thus it seems that in some sense the truncated semantics of PSC is treating logical and structural contradictions in a consistent manner. In the next section we formalize this and other characteristics of our solution.
λ ∩ true is equivalent to false while true ∩ (true · true) is equivalent to X^0 false. The de- tails are beyond the scope of this paper – for a thorough discussion of clock alignment, see [14]. Finally, note that all structural contradictions of the form λ ◦ r are of order 0 , and are equivalent to false. Proposition 4 deals with structural contradictions of a specific structure. What about others, for example λ ∩ true, (true^13 ∩ true^7 ) ∪ (true^9 ∩ true^4 ), (a^6 ∪ a^4 ) ∩ a^7 , or (a · b) ∩ (a · b · c · d · e)? Are they satisfiable in the weak view? The answer is yes, all structural contradictions are satisfied on the empty word under the weak view (and none is satisfied by the empty word in the strong view), as stated in the following lemma.
Lemma 5 Let ϕ be a formula in PSC. Then both |= − ϕ and |=
/ ϕ.
Lemma 5 fulfills our intuition that on the empty word clearly nothing has yet gone wrong (thus it should accept weakly any formula, including a structural contradiction) and conversely the empty word provides evidence for nothing (thus it should accept no word strongly, including a structural contradiction). Lemma 5 is important because it shows that a fundamental property of the original truncated semantics, one that was broken in the >,⊥ approach, is preserved by the truncated semantics of PSC. Below we show that other important properties of the original truncated semantics are preserved by our extension to all of PSC. Theorem 6 states that the strong view is stronger than the neutral, which is in turn stronger than the weak.
Theorem 6 (Strength relation theorem) Let w be a non-empty word over 2 P^ , and ϕ be a formula in PSC. Then
Corollary 7 states that all three views are equivalent over infinite words.
Corollary 7 If w is infinite, then w |= − ϕ iff w |= ϕ iff w |=
ϕ.
Finally, Theorem 8 states that if a formula holds weakly on a word w then it holds weakly on all prefixes of w, and if a formula holds strongly on a word w then it holds strongly on all extensions of w. We say that u is a prefix of v, denoted u v, if there exists a word u′^ such that uu′^ = v. We say that w is an extension of v, denoted w v, if there exists a word v′^ such that w = vv′.
Theorem 8 (Prefix/extension theorem) Let v be a word over 2 P^ , and ϕ be a formula in PSC. Then
Previously we have seen that even without structural contradictions, the flexible letter approach and the solution using Lweak(r) differ from the semantics of the >,⊥ approach. The theorem below states that without structural contradictions, the >,⊥ ap- proach and our extension to the truncated semantics agree.
Theorem 9 Let u be a word over 2 P^ , v be a non-empty word over 2 P^ , and ϕ be a PSC formula that does not contain a SERE that is a structural contradiction. Then
Theorem 9 shows that the special letters > and ⊥ are tools that are useful in stat- ing the >,⊥ approach, but are not necessary in stating the semantics in the absence of structural contradictions. Besides the fact that they don’t give us the semantics that we want, a major disadvantage of the >,⊥ approach is that it uses the special letters > and ⊥ to encrypt the semantics, rather than stating directly what they are, as we do in the extension to the truncated semantics. Intuitively, the weak view can be obtained by considering all states of a B¨uchi au- tomaton to be accepting, similarly to the safety component of [3] and to the looping acceptance condition of [21]. However, we have to be careful. The particular automa- ton that results from applying the looping acceptance condition depends on the form of the automaton that we start with, and not just on its original language. For instance, consider the B¨uchi automaton consisting of a single (not final) state and no transitions. Obviously, its language is empty. Now add a single transition on the letter 〈a〉. Since the single state is not final, we have not changed the language of the automaton, which remains empty. However, applying the looping acceptance condition to the original and the modified automata will result in different languages. The following theorem shows that there are automata of the same size as those implementing the current semantics of PSL/SVA, for which a manipulation of this sort works.
Theorem 10 Let r be a SERE and let ϕ be a PSC formula.
Theorem 10 shows that the proposed semantics is not harder than the current se- mantics, and thus that complexity is not a motivation for preferring one over the other, or for considering structural contradictions to be satisfiable. This is in contrast to logical contradictions, for which, as shown by [4], complexity is an important consideration.
We have presented a semantics that treats logical and structural contradictions in a con- sistent manner. Finding a solution was complicated by the need to support not only intersection, but also fusion and the three views (which are needed by abort). We de- fined three separate languages for SEREs. The language L(r) is the traditional language of a semi-extended regular expression. The language of proper prefixes of a SERE, de- noted F(r), consists of finite proper prefixes of words in L(r), except that logical and structural contradictions are considered satisfiable. The loop language of a SERE, de- noted I(r), consists of infinite words in which we get “stuck forever” in a starred sub- expression of r. A bonus is that our semantics are defined on the natural alphabet 2 P
Proposition 3. (false vs. true ∩ (true · true)) Let ϕ be a PSC formula containing false and let ϕ′^ be the formula obtained by replacing every occurrence of false with the struc- tural contradiction true ∩ (true · true). Let w be a finite or infinite word over 2 P^. Then the truth values of ϕ and ϕ′^ on w agree under the truncated semantics of PSC.
Proof Sketch. The proof is by induction on the structure of the formula. Let r = false and r′^ = true ∩ (true · true). It is easy to see that L(r) = L(r′) = ∅, F(r) = F(r′) = {}, I(r) = I(r′) = ∅. The base cases follow easily from the fact that the languages L(·), F(·) and I(·) do not distinguish between r and r′. The rest of the cases follow trivially via the inductive hypothesis.
Proposition 4. ( X n−^1 false vs. truen^ ∩ (truen^ · true+)) Let n ≥ 1 , let ϕ be a PSC formula containing sub-formula ψ = Xn−^1 false and let ϕ′^ be the formula obtained by replacing every occurrence of ψ with the structural contradiction ψ′^ = truen^ ∩ (truen^ · true+). Let w be a finite or infinite word over 2 P^. Then the truth values of ϕ and ϕ′^ on w agree under the truncated semantics of PSC.
Proof Sketch. We show that for any n ≥ 1 both Xn−^1 false and truen^ ∩ (truen^ · true+) hold on any word of length less than or equal to n and only on words of length less than or equal to n. The proof follows by induction on n. The base case, n = 1 , follows from Proposition 3 and since by definition X^0 false = false and false holds only on the empty word. Assuming the claim holds for n it is easy to see it holds for n + 1 since Xn+1false = XXnfalse and truen+1^ ∩ (truen+1^ · true+) = true · (truen^ ∩ (truen^ · true+)) = X (truen^ ∩ (truen^ · true+)). The proposition now follows trivially by induction on the structure of the formula.
Lemma 5. Let ϕ be a formula in PSC. Then both |= − ϕ and |=
/ ϕ.
Proof Sketch. The proof is by induction on the structure of the formula. The base cases r!, r follow trivially by definition of the semantics. The LTL operators and the abort operator are shown in [10]. For formulas of the form (r → ϕ) the inductive step follows easily from the semantics.
Theorem 6. Strength relation theorem Let w be a non-empty word over 2 P^ , and ϕ be a formula in PSC. Then
Proof Sketch. The proof is by induction on the structure of the formula. The base cases r!, r follow trivially by definition of the semantics. The LTL operators and the abort operator are shown in [10]. For formulas of the form (r → ϕ) the inductive step follows easily from the semantics.
Theorem 8. (Prefix/extension theorem) Let v be a word over 2 P^ , and ϕ be a formula in PSC. Then
Proof Sketch. The proof is by induction on the structure of the formula. The LTL op- erators and the abort operator are shown in [10]. We have to show the base cases r! and r and the inductive case for formulas of the form r → ϕ. For non-proper pre- fixes and extensions, the result is trivial. For proper prefixes, we observe that if v ∈ L(r) ∪ F(r) ∪ I(r), then u ∈ F(r) ∪ {} for all proper prefixes u of v. For proper prefixes, we have the following new cases:
For proper extensions, we have the following new cases:
Theorem 9. Let u be a word over 2 P^ , let v be a non-empty word over 2 P^ , and let ϕ be an PSC formula that does not contain a SERE that is a structural contradiction. Then
, 〈s′ 1 , s′ 2 , 1 〉) | (s 1 ,, s′ 1 ) ∈ ρ 1 , (s 2 , , s′ 2 ) ∈ ρ 2 , s 1 ∈/ B 1 } ∪ {(〈s 1 , s 2 , 1 〉,, 〈s′ 1 , s′ 2 , 2 〉) | (s 1 , , s′ 1 ) ∈ ρ 1 , (s 2 ,, s′ 2 ) ∈ ρ 2 , s 1 ∈ B 1 } ∪ {(〈s 1 , s 2 , 2 〉, , 〈s′ 1 , s′ 2 , 2 〉) | (s 1 ,, s′ 1 ) ∈ ρ 1 , (s 2 , , s′ 2 ) ∈ ρ 2 , s 2 ∈/ B 2 } ∪ {(〈s 1 , s 2 , 2 〉,, 〈s′ 1 , s′ 2 , 1 〉) | (s 1 , , s′ 1 ) ∈ ρ 1 , (s 2 ,, s′ 2 ) ∈ ρ 2 , s 2 ∈ B 2 }, s′) | s ∈ L and ∃s′′^ ∈ I s.t. (s′′,, s′) ∈ ρ}The correctness of the construction follows easily from the inductive definition of L(r), F(r) and I(r).