Abstract 1 Introduction 2 Right-linear lattice expressions for 𝝎-regular languages 3 Boolean subalgebra of RLL expressions 4 An axiomatisation 5 Completeness via 𝝁𝗟𝗧𝗟 6 Concluding remarks and future work References

Right-Linear Lattices

Anupam Das ORCID School of Computer Science, University of Birmingham, UK Abhishek De ORCID School of Computer Science, University of Birmingham, UK
Abstract

Alternating parity automata (APAs) provide a robust formalism for modelling infinite behaviours and play a central role in formal verification. Despite their widespread use, the algebraic theory underlying APAs has remained largely unexplored. In recent work [10], a notation for non-deterministic finite automata (NFAs) was introduced, along with a sound and complete axiomatisation of their equational theory via right-linear algebras. In this paper, we extend that line of work to the setting of infinite words. In particular, we present a dualised syntax, yielding a notation for APAs based on right-linear lattice expressions, and provide a natural axiomatisation of their equational theory with respect to the standard language model of ω-regular languages. The design of this axiomatisation is guided by the theory of fixed point logics; in fact, the completeness factors cleanly through the completeness of the linear-time μ-calculus.

Keywords and phrases:
omega-languages, regular languages, fixed points, Kleene algebras, right-linear grammars
Copyright and License:
[Uncaptioned image] © Anupam Das and Abhishek De; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Grammars and context-free languages
; Theory of computation Automata over infinite objects ; Theory of computation Logic and verification ; Theory of computation Modal and temporal logics
Related Version:
Full Version: https://arxiv.org/abs/2505.10303 [11]
Acknowledgements:
The authors thank Georg Struth, Mike Cruchten, Debam Biswas, Denis Kuperberg and Damien Pous for fruitful discussions.
Funding:
This work was supported by a UKRI Future Leaders Fellowship, “Structure vs Invariants in Proofs”, project reference MR/S035540/1.
Editors:
Paweł Gawrychowski, Filip Mazowiecki, and Michał Skrzypczak

1 Introduction

1.1 A half century of 𝝎-automata theory

ω-automata, i.e. finite state machines running on infinite inputs, are useful for modelling behaviour of systems that are not expected to terminate, such as hardware, operating systems and control systems. The prototypical ω-automaton model, Büchi automaton, is widely used in model checking [30, 15, 14, 17].

The theory of ω-regular languages, i.e. languages accepted by ω-automata, have been studied for more than half a century. Büchi’s famous complementation theorem [7] for his automata is the engine underlying his proof of the decidability of monadic second-order logic (MSOL) over infinite words. Its extension to infinite trees, Rabin’s Tree Theorem [24], is often referred to as the “mother of all decidability results”.

McNaughton [23] showed that, while Büchi automata could not be determinised per se, a naturally larger class of acceptance conditions (Muller or parity) allowed such determinisation, a highly technical result later improved by Safra [26]. A later relaxation was the symmetrisation of the transition relation itself: instead of only allowing non-deterministic states, allow co-nondeterministic ones too. This has led to beautiful accounts of ω-regular language theory via the theory of positional and finite memory games. The resulting computational model, alternating parity automaton (APA), is now the go-to model in textbook presentations, e.g. [16]. Indeed, their features more closely mimic those of logical settings where such symmetries abound, e.g. linear-time μ-calculus [29] and MSOL over infinite words.

1.2 An algebraic approach

In the world of finite words, the theory of regular languages have been axiomatised as Kleene Algebras (𝖪𝖠s). In fact, 𝖪𝖠s are part of a bigger cohort of regular algebras and they have been studied for several decades and completeness proofs for different variants have been obtained [27, 21, 20, 3, 4]. 𝖪𝖠s and various extensions have found applications in specification and verification of programs and networks [1].

Note that 𝖪𝖠s and other regular algebras axiomatise the equational theory of regular expressions. An alternative (and arguably more faithful) notation for NFAs may be given by identifying them with right-linear grammars. Recall that a right-linear grammar is a CFG where each production has RHS either aX or ε. They may also be written as right-linear expressions, by choosing an order for resolving non-terminals. Formally, right-linear expressions (aka RLA expressions), written e,f,, are generated by:

e,f,::=1Xe+faeμXe

for a𝒜, a finite alphabet and X𝒱, a countable set of variables. Indeed [10] takes this viewpoint seriously and proposed an alternative algebraic foundation of regular language theory, via right-linear algebras (𝖱𝖫𝖠s). Notably, 𝖱𝖫𝖠s are strictly more general than 𝖪𝖠s, as they lack any multiplicative structure. In particular, this means that ω-languages naturally form a model of them (unlike 𝖪𝖠s). This is the starting point of the current work.

In this work, we investigate the algebraic structures induced by the theory of APAs. To do so, we dualise the (1-free)111This restriction imposed to so that the intended interpretation is over ω-words only, not ω-words. syntax of RLA expressions to obtain right-linear lattice (RLL) expressions, formally generated by:

e,f,::=Xaee+fefμXe(X)νXe(X)

Compared to RLA expressions, RLL expressions enjoy more symmetric relationships to games and consequently, are a notation for APAs. Our main contribution is a sound and complete axiomatisation 𝖱𝖫𝖫 of the theory of RLL expressions for the language model.

1.3 Related work

Two kinds of variations of 𝖪𝖠s are relevant to this work. Firstly, the generalisation of regular algebras to ω-regular algebras [31, 8, 22, 9], by axiomatising the theory of ω-regular expressions, a generalisation of regular expressions admitting terms of the form eω. Secondly, following the idea of dualisation from 𝖪𝖠s leads to action lattices, an extension with meet (dual to the sum), and residuals (adjoint to the product). Since 𝖱𝖫𝖠 does not have products we do not consider residuals, – so perhaps Kleene lattices [6, 12], the extension of 𝖪𝖠s with meet is the closest cousin of our proposed right-linear lattices.

1.4 Roadmap

In Section 2, we recall right-linear algebras and define RLL expressions, a notation for APAs. We identify several principles governing their behaviour in the standard model of ω-languages; namely, their interpretations satisfy a theory of bounded distributive lattices, certain lattice homomorphisms and least and greatest fixed points (of definable operators). In Section 3 recover a syntactic form of complements, and we present our ultimate axiomatisation in Section 4. In Section 5, we prove the completeness of the axiomatisation by reducing it to the completeness of linear time μ-calculus. We conclude with some remarks on the axiomatisation and comparison with existing literature in Section 6. Further examples and detailed proofs can be found in an accompanying preprint [11].

2 Right-linear lattice expressions for 𝝎-regular languages

Let us fix a finite set 𝒜 (the alphabet) of letters, written a,b, etc., and a countable set 𝒱 of variables, written X,Y, etc.

2.1 RLL expressions and 𝝎-regular languages

RLL expressions, written e,f,, are generated by:

e,f,::=Xaee+fefμXe(X)νXe(X)

for a𝒜 and X𝒱. We usually just write ae instead of ae. A variable X is said to occur freely in an expression e if it not under the scope of any binder μX or νX. An expression is said to be closed if it has no occurrences of free variables.

 Remark 1 (0).

The original presentation of right-linear expressions includes a symbol 0 that was always interpreted as a unit for + in structures over this syntax. Here we shall more simply just write 0:=μXX, and remark on the consequences of this choice as we go.

The intended interpretation of an RLL expression is a language of ω-words over 𝒜.

Definition 2 (Interpretation).

Let us temporarily expand the syntax of RLL expressions to include each language A𝒜ω as a constant symbol. We interpret each closed expression (of this expanded language) as a subset of 𝒜ω as follows:

  • (A):=A

  • (e+f):=(e)(f)

  • (ef):=(e)(f)

  • (ae):={aσσ(e)}

  • (μXe(X)):={AA(e(A))}

  • (νXe(X)):={AA(e(A))}

Note that Remark 1 is justified by this interpretation: indeed (μXX) is just the empty language. Furthermore:

 Remark 3 ().

Dual to 0:=μXX, we define :=νXX, that denotes the universal language in .

To justify that μ and ν are indeed interpreted as fixed point operators, we will first recall some terminology. For (S,S) a complete lattice, xS is a prefixed (postfixed respectively) point of a map f:SS if f(x)Sx (xSf(x) respectively). If x is both a pre and postfixed point, it is called a fixed point of f.

Theorem 4 (Knaster-Tarski theorem [19, 28]).

Let (S,S) be a complete lattice and f:SS be monotone. The set of fixed points of f forms a complete lattice under S.

Let us now point out that 𝒫(𝒜ω) indeed forms a complete lattice under , and closed under concatenation with letters on the left. Since all the operations are monotone, (μXe(X)) and (νXe(X)) are indeed the least and greatest fixed points, respectively, of the operation A(e(A)), by the Knaster-Tarski theorem.

Figure 1: An alternating parity automaton. Blue and grey nodes are of parity 0 and 1 respectively.
Example 5.

Let us consider some examples of RLL expressions and the languages they compute in , over the alphabet {a,b}:

  • ia:=νXμY(aX+bY) computes the language Ia of words with infinitely many as:

    • First note that, for any language A, we have that μY(A+bY) computes bA.

    • Now let us show that Ia is a postfixed point of XμY(aX+bY). By the above point, it suffices to show that IabaIa, which holds since every word w with infinitely many as can be written w=baw, where w has infinitely many as too.

    • Now suppose B is another postfixed point, i.e. that BbaB. Then we have BbaBbabaB(ba)ω=Ia.

  • fb:=μX(bX+aX+aνYaY) computes the language Fb of words with finitely many bs:

    • First note that, νYaY computes aω.

    • By a similar argument as above, Fb is a prefixed point of XbX+aX+aaω, contained in any other prefixed point.

  • iafb computes the language IaFb of words with infinitely many as and at most finitely many bs.

As the reader might have expected, the range of () is just the ω-regular languages.

Proposition 6.

A language L𝒜ω is ω-regular if and only if there is a closed RLL expression e such that (e)=L.

One direction, exhaustion of all ω-regular languages, follows swiftly from the inductive definition of the set of all ω-regular languages and was established in previous work [10], without making use of . One way to prove the converse is to introduce a game-theoretic mechanism for deciding word membership in (e). This was introduced in [10] without and can be straightforwardly lifted to our setting. We will illustrate with an example.

Example 7.

Consider iafb as defined in Example 5. We will consider each variable as a state. So, ia=νX1μX3(aX1+bX3) gives us two states q1 and q3 such that q1𝑎q1, q1𝑏q3, q3𝑎q1, and q3𝑏q3. To model the priority, we assign colours to states such that χ(q1) is even, χ(q3) is odd, and χ(q1)<χ(q3). So, let χ(q1)=0 and χ(q3)=1.

Similarly, fb=μX2(bX2+aX2+aνX4aX4) gives us two states q2 and q4 such that q2𝑏q2, q2𝑎q2q4, and q4𝑎q4 with χ(q2)=1 and χ(q4)=0.

Finally, we model the meet with an initial state q0 with arbitrary colour and q0𝜀q1q2. This gives us an alternating parity automaton (see Figure 1) computing exactly the set of words with finitely many as and infinitely many bs.

 Remark 8 (ε).

Note that we have allowed ε-transitions in our APAs in order to mimic the RLL syntax as closely as possible. This choice does not affect the class of ω-languages represented by APAs (see, e.g., [5] for a similar exposition).

2.2 Some properties of the intended model

Let us take a moment to remark upon some principles valid in the intended interpretation of RLL expressions, in order to motivate the axiomatisation we introduce later. As usual we write ef for e+f=f, equivalently e=ef (so in , just means ). First:

  • (0,,+,) forms a bounded distributive lattice:222Some of these axioms are redundant, but we include them all to facilitate the exposition.

    e+0=ee+(f+g)=(e+f)+ge+f=f+ee+e=ee+(ef)=ee+(fg)=(e+f)(e+g)e=ee(fg)=(ef)gef=feee=ee(e+f)=ee(f+g)=(ef)+(eg) (1)
  • Each a𝒜 is a (lower) semibounded lattice homomorphism:

    a0=0a(e+f)=ae+afa(ef)=aeaf (2)

In particular, of course ⊧̸a=, so in this sense 0 and do not behave dually in . Instead we have a variant of this principle, indicating that the homomorphisms freely factor the structure:

  • The ranges of a𝒜 partition the domain:

    aebf=0whenever ab=a𝒜a (3)

Finally, is a complete lattice and so interprets the least and greatest fixed points as such. Being a complete lattice is a second-order property, but we have the following first order (even quasi-equational) consequences:

  • μXe(X) is a least prefixed point of Xe(X):

    (Prefix)e(μXe(X))μXe(X)(Induction)e(f)fμXe(X)f (4)
  • νXe(X) is a greatest postfixed point of Xe(X):

    (Postfix)νXe(X)e(νXe(X))(Coinduction)fe(f)fνXe(X) (5)

Note that Induction and Coinduction are axiom schemas, as one might expect (e.g. as in Peano Arithmetic).

Example 9 (0).

Recall 0:=μXX and :=νXX. Indeed 0e (i.e. 0+e=e) is a consequence of the axioms (4) above: it follows by Induction from ee. Dually e follows from (5).

The principles above also suffice to derive some basic properties of the operators defined by RLL expressions:

Proposition 10 (Functoriality).

Equations 1234, and 5fge(f)e(g).

As an immediate corollary of functoriality, we have:

Example 11 (Fixed points are fixed points).

By a standard argument mimicking the proof of the Knaster-Tarski theorem, 𝖱𝖫𝖫μXe(X)e(μXe(X)) and dually, 𝖱𝖫𝖫e(νXe(X))νXe(X). We will show the first one. By Induction it suffices to show that e(μXe(X)) is a prefixed point, i.e. e(e(μXe(X)))e(μXe(X)). Now, by the functors of Proposition 10 above it suffices to show e(μXe(X))μXe(X), which is just the Prefix axiom.

Recall that RLA expressions are notation for NFAs and thus can be duly interpreted as regular languages over finite words. In previous work [10] we showed soundness and completeness of a subset of the above mentioned axioms for RLA expressions with respect to the language interpretation (also written hedging the risk of confusion). Writing 𝖱𝖫𝖠 for the subset of axioms from Equations 1, 2, 3, 4, and 5 not involving ,,ν, we have:

Theorem 12 ([10]).

For RLA expressions e,f, 𝖱𝖫𝖠e=f (e)=(f).

The goal of the present work is to establish a similar sort of result for RLL expressions, in the ω-regular world rather than the (finitely) regular world.

3 Boolean subalgebra of RLL expressions

As the ω-regular languages are closed under complementation, we actually have that the initial term submodel of RLL expressions in forms a Boolean algebra. In this section, we shall inline this structure axiomatically.

3.1 Complements

We can define complements of the RLL expressions, wrt , quite simply, thanks to closure of the syntax under duality:

Definition 13 (Complement).

Define ec by induction on an expression e:

  • (ae)c:=aec+bab

  • Xc:=X

  • (e+f)c:=ecfc

  • (ef)c:=ec+fc

  • (μXe)c:=νXec

  • (νXe)c:=μXec

Proposition 14.

e and ec are complementary in , i.e. (ec)=𝒜ω(e) for any closed expression e.

Thus the set of RLL expressions denote a Boolean subalgebra of , a fact subsumed by adequacy for ω-regular languages, Proposition 6. Of course duality of +, hold in any bounded distributive lattice. The homomorphism axioms also guarantee that our definition of (ae)c is well-behaved:

Example 15.

Let 𝔏 be a bounded distributive lattice (i.e. a model of (1)) satisfying Equations 2 and 3, and suppose A has a complement Ac in 𝔏.333Recall that complements are unique in distributive lattices. Then aA has complement (aA)c=aAc+bab:

0=AAc0=aAaAcby (2)0=(aAaAc)+ba(aAb)by (3)0=aA(aAc+bab)by distributivity0=aA(aA)cby definition

Similarly, one can show =A+Ac=aA+(aA)c.

However, the issue with the principles thusfar, Equations 1, 2, 3, 4, and 5, is that they do not guarantee such duality of μ and ν. Let us address this issue now.

3.2 Incompleteness strikes!

Not all models of Equations 1, 2, 3, 4, and 5 interpret e and ec as complements. Indeed it is well known that there are even completely distributive lattices, let alone models of Equations 1, 2, 3, 4, and 5, that are not even Heyting algebras, let alone Boolean algebras. Still, this does not quite yet give unprovability of the complementary laws for closed expressions (which carve out a substructure of a model). Indeed in even complete distributive lattices μ and ν are at least dual, in the sense that they preserve complements. Let us develop an appropriate counterexample, exploiting the incompleteness of the lattice structure:

Example 16 (Incompleteness).

Consider the Cantor topology 𝒞 on 𝒜ω: A𝒜ω is open if it is a (possibly infinite) union of sets of form a1an𝒜ω. 𝒞 is closed under finite meets and infinite joins, as it is a topology, so it forms a (bounded) join-complete lattice. So we have:

  • 𝒞 satisfies (1), under the usual set-theoretic union and intersection; and,

  • We can interpret least and greatest fixed points in 𝒞 by setting, for monotone open operators F:

    • 𝒞(μF):=α𝖮𝗋𝖽Fα(); and,

    • 𝒞(νF):=AF(A)A.

    where Fα(X) is defined by transfinite induction on α as follows:

    • F0(X):=X;

    • Fα+1(X):=F(Fα(X)); and,

    • Fλ(X):=β<λFβ(X) for limit ordinals λ.

    It is not difficult to see that these interpretations of μF and νF are always least/greatest pre/post fixed points, respectively, in 𝒞, as long as F is monotone. Thus 𝒞 furthermore satisfies Equations 4 and 5.

Now define the homomorphisms a𝒜 in 𝒞 just as in : aA:={aw:wA}. Clearly this is an open map and, under this interpretation, 𝒞 satisfies Equations 2 and 3 as it is a substructure of .

However the denotation of greatest fixed points in 𝒞 may be smaller than in , as its definition as a union of postfixed points ranges over only open sets, not all languages. Indeed we have:

  • 𝒞(νX(aX))=. For this, reasoning in 𝒞, note that surely νX(aX) by boundedness, and so νX(aX)an for all n, by monotonticity and since νX(aX) is a fixed point of XaX. The only nonempty subset of 𝒜ω satisfying this property is {aω}, but this is not open and so does not belong to 𝒞. On the other hand, evidently a=.

  • 𝒞(νX(aX))c𝒜ω. Reasoning in 𝒞, we have that (νX(aX))c=μX(aX+bab), which (necessarily) has the same denotation in 𝒞 as in : the set of words with at least one letter ba.

Thus νX(aX) and (νX(aX))c are not complementary in 𝒞. Since 𝒞 is a model of Equations 1, 2, 3, 4, and 5, it is immediate that this set of axioms is incomplete for : it does not prove =νX(aX)+(νX(aX))c.

The issue for Equations 1, 2, 3, 4, and 5, towards completeness for , is that, in the absence of completeness of the lattice, it is not immediately clear that μ and ν are dual. Duality is derivable for + and from Equation 1, but the infinitary nature of the fixed points means that it does not follow as a consequence of Equations 1, 2, 3, 4, and 5.

 Remark 17.

In [10] it was asked whether an axiomatisation ν𝖱𝖫𝖠 for -free expressions is complete over . ν𝖱𝖫𝖠 is essentially the -free part of Equations 1, 2, 3, 4, and 5 (see [10] for a formal definition), and so the structure 𝒞 in Example 16 above also models ν𝖱𝖫𝖠. Since the equation =νX(aX)+(νX(aX))c is -free, we thus have that ν𝖱𝖫𝖠 is in fact incomplete with respect to .

4 An axiomatisation

In this section, we will develop an axiomatisation 𝖱𝖫𝖫 for equations over RLL expressions that are valid in . Towards a definition of our ultimate axiomatisation, let us give a final property in :

  • μ and ν are dual:

    X,Y(X+Ye(X)+f(Y))μXe(X)+νYf(Y)X,Y(XY0e(X)f(Y)0)μXe(X)νYf(Y)0 (6)

It is not difficult to see that the above principles hold in any completely distributive lattice, not just in , by induction on the closure ordinals of fixed points. However, unlike completeness, the principle above is first-order, not second-order. Note also that the principle above does not state the existence of complements, just that μ and ν behave well wrt complements in the same way that + and do. For all these reasons it is quite natural to include (6) natively within any “right linear lattice axiomatisation” for . We are now ready to axiomatise the right-linear lattice theory of .

Definition 18.

Write 𝖱𝖫𝖫 for the theory axiomatised by Equations 1, 2, 3, 4, 5, and 6.

Our main result is that this axiomatisation is indeed sound and complete for the RLL theory of :

Theorem 19 (Soundness and completeness of 𝖱𝖫𝖫).

e=f 𝖱𝖫𝖫e=f.

Let us point out that the soundness direction, , follows from the discussion of each of the axioms Equations 1, 2, 3, 4, and 5 in Section 2.2 and Equation 6 above. For the completeness direction, , we shall reduce to the completeness result for the fixed point logic μ𝖫𝖳𝖫Section 5 is dedicated to proving this formally.

For completeness a key result is the provable correctness of the syntactic notion of complementation we introduced at the beginning of this section:

Proposition 20 (Complementation).

𝖱𝖫𝖫 proves the following, for all closed e:

e+eceec0 (7)

To prove this we need a more general intermediate result, establishing “complement functoriality” (cf. Proposition 10 earlier):

Lemma 21.

𝖱𝖫𝖫 proves

X,Y(iXi+Yie(X)+ec(Y))X,Y(iXiYi0e(X)ec(Y)0) (8)

Note that Proposition 20 follows immediately by setting X and Y to be empty in Lemma 21 above.

Proof sketch of Lemma 21.

By induction on e(). When the outermost connective of e is a + or we appeal to the induction hypothesis by duality of + and more generally in bounded distributive lattices. The case when e has form af is handled similarly to Example 15, only with the presence of free variables. It remains to check the fixed point cases.

Suppose e(X) has form μXf(X,X). Reasoning in 𝖱𝖫𝖫, suppose Xi+Yi and XiYi0 for all i. We have:

X,Y(X+Yf(X,X)+fc(Y,Y))by IHμXf(X,X)+νXfc(X,Y)by (6)
X,Y(XY0f(X,X)fc(Y,Y)0)by IHμXf(X,X)νXfc(X,X)0by (6)

The argument for the case when e(X) has form νXf(X,X) is symmetric.

We end this section with some remarks on models of 𝖱𝖫𝖫.

In Section 3 we defined a complement expression ec of each RLL expression e, and Proposition 20 showed that e and ec are provable complementary in 𝖱𝖫𝖫. This means that any model of 𝖱𝖫𝖫 has a substructure, namely the denotations of RLL expressions, that forms a Boolean algebra. The same holds for Kleene Algebras, as each regular expression can also be associated with one computing its complement, with respect to the regular language model. Just like 𝖪𝖠, this does not mean that all models of 𝖱𝖫𝖫 are Boolean algebras themselves.

Example 22 (𝖱𝖫𝖫 model without general complements).

Fix the alphabet {0,1}. Consider the substructure 𝒦 of that is the smallest -complete lattice containing every ω-regular language and Q:=(0,1). First, note that indeed 𝒦𝖱𝖫𝖫:

  • Equations 1, 2, and 3 hold as 𝒦.

  • For (4), we define (μXe(X))𝒦:=α𝖮𝗋𝖽eα(). This is well defined and coincides with (μXe(X)) by -completeness and the approximant definition of the latter.

  • For (5), we define (νXe(X))𝒦:={Ae(A)}. Since, in particular, (νXe(X)) is a postfixed point and an ω-regular language, it must coincide with (νXe(X))𝒦.

However it is not hard to see that Q does not have a complement in 𝒦, i.e. that (0,1) does not belong to 𝒦. For this note that, as powerset lattices are completely distributive (and therefore so are their (semi)complete sublattices), we can write any element A of 𝒦 as an infinite union of finite intersections of ω-regular languages and Q, i.e. of the form iIAi1Aini, where each Aij is ω-regular or Q. Now, if A, then also some Ai:=Ai1Aini as well. However, since ω-regular languages are closed under intersection, Ai must contain the rational part of some nonempty ω-regular language. Since any non-empty ω-regular language must contain some ultimately periodic word, this means that AAi, and so A cannot be a complement of Q in 𝒦.

5 Completeness via 𝝁𝗟𝗧𝗟

In this section, we will prove the completeness of 𝖱𝖫𝖫. Our completeness proof relies on the completeness of an axiomatisation of the linear-time μ-calculus called μ𝖫𝖳𝖫. We show several syntactic and semantic simulations between 𝖱𝖫𝖫 and μ𝖫𝖳𝖫. For the sake of brevity, we only give the directions necessary to recover completeness of 𝖱𝖫𝖫 wrt. . Key to this reduction is our recovery of syntactic complements in 𝖱𝖫𝖫, Proposition 20, which allows 𝖱𝖫𝖫 to simulate the Boolean reasoning available in classical modal logics like μ𝖫𝖳𝖫.

5.1 A (very quick) recap of 𝝁𝗟𝗧𝗟

Linear temporal logic (𝖫𝖳𝖫) is a modal logic with modalities referring to time. In 𝖫𝖳𝖫, one can encode formulas about the future of paths. In particular, we have formulas of the form φ and φ𝐔ψ that are (informally) interpreted as “at the next time step φ holds” and “φ holds until ψ holds.” Naturally they are interpreted over discrete linear orders.

We can construe φ𝐔ψ as a fixed point νX(ψ(φX)). Generalising this idea leads to μ𝖫𝖳𝖫, the extension of 𝖫𝖳𝖫 with arbitrary fixed points.

We shall write P,Q, for propositional symbols. μ𝖫𝖳𝖫 formulas, written φ,ψ,, are generated by:

φ,ψ,::=PP¯XφψφψφμXφνXφ

Formulas are interpreted over infinite words. To this end, we shall assume that the propositional symbols P,Q, are from some finite set 𝐏, and henceforth fix an alphabet 𝒜=𝒫(𝐏).

Definition 23 (Semantics of μ𝖫𝖳𝖫).

Let us temporarily expand the syntax of formulas by a constant symbol α for each subset αω. For ω-words σ𝒜ω ( i.e.  σ𝒫(𝐏)ω) and formulas φ, we define φσω by:

σ:= σ:=ω
Pσ:={nω:Pσn} P¯σ:={nω:Pσn}
ασ:=α (φ)σ:={nω:n+1φσ}
(φψ)σ:=φσψσ (φψ)σ:=φσψσ
(μXφ(X))σ:={αφ(α)σ} (νXφ(X))σ:={αφ(α)σ}

Write σφ if 0φσ. We say φ is valid, written φ, if for all σ𝒜ω we have σφ.

μ𝖫𝖳𝖫 enjoys a sound and complete axiomatisation, due to Kaivola [18] (see also [13]). To recast this axiomatisation in the current logical basis, let us point out that we can extend negation to all μ𝖫𝖳𝖫 formulas by defining φ¯ exploiting De Morgan duality of , and , and μ,ν, and finally self-duality of : φ¯:=φ¯. Therefore, we may freely use other propositional connectives such as ¬,, as suitable macros. The following axiomatisation is equivalent to that of [18], only adapted to our negation normal syntax.

Axioms All propositional tautologies
(φψ)φψ (φψ)φψ
φ(μXφ(X))μXφ(X) νXφ(X)φ(νXφ(X))
Rules
Figure 2: A Hilbert-style axiomatisation of μ𝖫𝖳𝖫.
Definition 24 (Hilbert-style axiomatisation of μ𝖫𝖳𝖫).

μ𝖫𝖳𝖫444By abuse of notation, we refer to both the language and the axiomatisation as μ𝖫𝖳𝖫. is the logic defined by the axioms and inference rules in Figure 2.

Theorem 25 ([18]).

μ𝖫𝖳𝖫 is sound and complete i.e. μ𝖫𝖳𝖫φ φ.

Note that the self-duality of , semantically, is reflected in the axioms too, with distributing over both and .

Example 26.

Write φ𝐔ψ:=νX(ψ(φX)). We will prove the LTL tautology (φ𝐔ψ)φ𝐔ψ. First note that the following modal rule is derivable,

as φψ:=φ¯ψ. Thus we have:

(φ𝐔ψ) (ψ(φ(φ𝐔ψ))) by () and ν-unfolding
ψ(φ(φ𝐔ψ)) by distributing over 
ψ(φ(φ𝐔ψ)) by distributing over 

Applying the ν rule, we are done.

5.2 Interpreting 𝗥𝗟𝗟𝓛 in 𝝁𝗟𝗧𝗟, semantically

Our aim is to reduce the completeness of 𝖱𝖫𝖫 to that of μ𝖫𝖳𝖫. For this reason we need to embed 𝖱𝖫𝖫 into μ𝖫𝖳𝖫.

Definition 27.

For (possibly open) RLL expressions e we define a μ𝖫𝖳𝖫 formula e by induction on the structure of e as follows:

  • X:=X

  • (ae):=PaPPaP¯e

  • e+f:=ef

  • ef:=ef

  • (μXe):=μXe

  • (νXe):=νXe

We need to show that the translation above is faithful wrt. the two semantics we have presented, for RLL expressions and for μ𝖫𝖳𝖫 formulas. Writing (φ):={σφ} for closed μ𝖫𝖳𝖫 formulas φ, we have:

Proposition 28 (Semantic adequacy).

(e)(e), for closed expressions e.

To prove this, we must first address the fact that our two semantics interpret syntax as different types of sets, and duly have different types of constant symbols. To this end, let us temporarily introduce into the language of μ𝖫𝖳𝖫 a constant symbol A for each language A𝒜ω. We extend the definition of by the clause A:=A and duly extend the definition of σ by the clause Aσ:={nω:σnA} where σn is the nth tail of σ, i.e. we set σ0:=σ, and σn+1 to be the tail of σn. Now we can establish a sort of substitution lemma that relates our two semantics:

Lemma 29 (Mixed substitution).

φ((χ))σφ(χ)σ, for μ𝖫𝖳𝖫 formulas χ,φ(X) (all free variables indicated).

Proof sketch.

By Induction on the size of φ(X), i.e. its number of symbols. We will only exhibit the fixed point case. Suppose φ(X)=μYψ(X,Y).

ψ((χ),(μYψ(χ,Y))σ)σψ(χ,(μYψ(χ,Y))σ)σby Induction hypothesisψ(χ,μYψ(χ,Y))σby substitution property of σ(μYψ(χ,Y))σsince μσ is a prefixed point(μYψ((χ),Y))σ(μYψ(χ,Y)σby μσ-induction

The case for φ(X)=νYψ(X,Y) is symmetric.

Now, semantic adequacy is readily proved:

Proof sketch of Proposition 28.

We proceed by induction on the size of e. Again, we will only exhibit the fixed point cases. If e is μXf(X) then:

(f(((μXf(X)))))(f(((μXf(X))))by Induction hypothesis(f((μXf(X))))(f((μXf(X)))by definition of (f(μXf(X)))by Lemma 29(μXf(X))since (μ) is a prefixed point(μXf(X))(μXf(X))by (μ)-induction

If e is νXf(X) then:

(f((νXf(X))))(f((νXf(X))))by Induction hypothesis(f((νXf(X))))by definition of (νXf(X))since (ν) is a postfixed point(νXf(X))σ(f((νXf(X))))σby monotonicity property of σf((νXf(X)))σby Lemma 29f((νXf(X))σ)σby substitution property of σ(νXf(X))σ(νXf(X))σby νσ-coinduction(νXf(X))σby definition of 

So in particular, σ(νXf(X))0(νXf(X))σ0(νXf(X))σσ(νXf(X))σ(νXf(X)).

5.3 Interpreting 𝝁𝗟𝗧𝗟 in 𝗥𝗟𝗟𝓛, syntactically

In order to leverage the completeness of μ𝖫𝖳𝖫 within 𝖱𝖫𝖫, we need to simulate its reasoning, for which we must embed μ𝖫𝖳𝖫 back into 𝖱𝖫𝖫. As mentioned at the beginning of this section, a key component here is our recovery of syntactic complements, Proposition 20, allowing for Boolean reasoning on RLL expressions in 𝖱𝖫𝖫.

Definition 30.

For (possibly open) μ𝖫𝖳𝖫 formulas φ we define an RLL expression φ by induction on the structure of φ as follows:

:=0 :=
P:=aPa P¯:=a∌Pa
X:=X (φ):=a𝒜aφ
(φψ):=φ+ψ (φψ):=φψ
(μXe):=μXe (νXe):=νXe

We can again establish the adequacy of this interpretation, though this time we need a syntactic result rather than a semantic one:

Theorem 31 (Syntactic adequacy).

μ𝖫𝖳𝖫φ𝖱𝖫𝖫φ=.

Proof.

By induction on μ𝖫𝖳𝖫 proofs.

  • All the propositional axioms are handled by the fact that RLL expressions 𝖱𝖫𝖫-provably form a Boolean Algebra (cf. Section 3), and since is defined directly as a homomorphism (,,,)(0,,+,). We also need duality of P and P¯ in 𝖱𝖫𝖫:

    P+P¯=aPa+a∌Pa=a𝒜a=PP¯=aPabPb=aPb∌Pab=0
  • For normality of wrt , it suffices by Boolean reasoning in 𝖱𝖫𝖫 to derive:

    ((φψ))=a𝒜a(φ+ψ)by definition of =a𝒜(aφ+aψ) a is a +-homomorphism=a𝒜aφ+a𝒜aψby commutativity and associativity of +=(φψ)by definition of 

    Similarly for normality of wrt .

  • The simulation of axioms for μ and ν are immediate, by functoriality, as commutes with μ and ν.

  • Obtaining the rules is mostly straightforward. Modus ponens reduces to transitivity of , under Boolean reasoning. Necessitation is simulated by =a𝒜a. Simulating (co)induction rules are immediate as commutes with μ and ν.

5.4 Compatibility of interpretations and completeness

To complete our reduction of 𝖱𝖫𝖫 completeness to μ𝖫𝖳𝖫 completeness, as well as simulating μ𝖫𝖳𝖫 reasoning, we need compatibility of the two translations.

Proposition 32 (Compatibility).

𝖱𝖫𝖫e=e

Proof.

By induction on the structure of e. Almost all cases are immediate, as commutes with X,+,,μ,ν. For the remaining homomorphism case, we reason in 𝖱𝖫𝖫:

(ae)=(PaPPaP¯e)by definition of =PabPbPab∌Pbc𝒜ceby definition of =ac𝒜ceby set theoretic reasoning=c𝒜(ace)by distributivity=aaesince aebf=0 when ab=a(e)as a is a -homomorphism=aeas  is a -unit=aeby induction hypothesis

To explain a little further the third line above, note that any ba is distinguished from a by either some Pab or some Pba.

We can finally assemble our main completeness result, the direction of Theorem 19:

Theorem 33 (Completeness of 𝖱𝖫𝖫).

(e)=(f)𝖱𝖫𝖫e=f.

Proof.

By Boolean reasoning in 𝖱𝖫𝖫 it suffices to show that (e)=𝒜ω𝖱𝖫𝖫e=:

(e)=𝒜ωeby Proposition 28μ𝖫𝖳𝖫eby Theorem 25𝖱𝖫𝖫e=by Theorem 31𝖱𝖫𝖫e=by Proposition 32

6 Concluding remarks and future work

In this work, we introduced RLL expressions, a notation for APAs and gave a sound and complete axiomatisation for their equational theory. We make some observations about our choice of axioms and compare with existing literature.

6.1 Alternative axiomatisation(s)

Our axiomatisation 𝖱𝖫𝖫 for is first-order, avoiding second-order axioms such as completeness of lattices. Still, stating the duality of μ and ν, Equation 6, requires quantifiers.

Let us point out that the completeness argument for 𝖱𝖫𝖫 only used the principles (7), an equational consequence of (6) under Equations 1, 2, 3, 4, and 5. In fact, Equations 1, 2, 3, 4, 5, and 7 axiomatises the same first-order theory as 𝖱𝖫𝖫.555Nonetheless, note that it is possible that 𝖱𝖫𝖫 does not have the same first-order theory as its extension by a native negation operator.

Proposition 34.

Equations 1, 2, 3, 4, 5, and 7 proves Equation 6.

Of course, (7) is an axiom schema. For what it is worth, let us also point out that we can present (6) as quantifier-free rules rather than an axiom:

Following from the presentation of (6) as sequent rules above, we may consider an alternative but equational rule for duality of μ and ν, now given in sequent style:

(9)

One can also show that these rules suffice to establish (7) under Equations 1, 2, 3, 4, and 5, and so is also complete for the equational theory of . One way to distinguish the above mentioned formulations of the RLL theory of is to conduct a proof theoretic analysis, investigating which (if any) of the formulations behave well under cut-elimination.

Note that it is not clear whether it is even possible to finitely quantifier-free axiomatise the RLL theory of . For comparison, it is known that regular expressions do not have a finite equational axiomatisation [25], though it does have a finite quantifier-free (even quasi-equational) axiomatisation [20, 21].

6.2 Comparison with 𝝎-algebras

Recall that ω-regular expressions are an extension of regular expressions with terms of the form eω that are adequate to capture all ω-regular languages. The intended interpretation is (eω)={u0u1u2ui(e),iω}. Surprisingly, the algebraic theory of ω-regular expressions has not been explored until recently. Wagner [31] gave a two-sorted axiomatisation that was proved complete in [9]. Cohen [8] proposed an axiomatic theory with ω-regular expressions but not with the intension of proving completeness for . In fact, it is indeed incomplete for the language model because it cannot prove identities like eωf=eω. In [9] Cohen’s axiomatic theory was extended to be complete for .

It would be interesting to compare various ω-regular algebras to 𝖱𝖫𝖫 presented in this work. For comparison, in the finite world, every “left-handed” Kleene Algebra is an right-linear algebra, but not vice versa  [10].

6.3 Axiomatising relational models

𝖪𝖠s admit relational models interpreting product as composition, sum as union, and the Kleene star as reflexive, transitive closure. It is well-known that the class of relational models satisfies the same equational theory of regular expressions as . Similarly, interpreting each a as pre-composition by some fixed binary relation a and μ as the least fixed point, the class of relational models of 𝖱𝖫𝖠 satisfies the same equational theory over RLA-expressions as .

However, in Kleene lattices, relational and language models start to differ: ef1=(e1)(f1) is valid in but not in the relational interpretations [2]. Analogously relational structures, when interpreting letters as relations, do not model 𝖱𝖫𝖫 (in general). The interpretations a are not necessarily lattice homomorphisms: we have a(ef)aeaf but not the converse. Thus this interpretation refutes Equation 2. At the same time this interpretation does not necessarily satisfy Equation 3 either: for instance a and b may intersect, even when ab. On the other hand, a= as soon as a. It is therefore a natural question if there is a natural restriction of 𝖱𝖫𝖫 that is complete for the relational interpretation. Conversely, it might be interesting to explore an alternative interpretation of letters, as certain homomorphisms on lattices of relations.

References

  • [1] Carolyn Jane Anderson, Nate Foster, Arjun Guha, Jean-Baptiste Jeannin, Dexter Kozen, Cole Schlesinger, and David Walker. Netkat: semantic foundations for networks. In Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL ’14, pages 113–126, New York, NY, USA, 2014. Association for Computing Machinery. doi:10.1145/2535838.2535862.
  • [2] Hajnal Andréka, Szabolcs Mikulás, and István Németi. The equational theory of kleene lattices. Theoretical Computer Science, 412(52):7099–7108, 2011. doi:10.1016/j.tcs.2011.09.024.
  • [3] Maurice Boffa. Une remarque sur les systèmes complets d’identités rationnelles. Theor. Inform. Appl., 24(4):419–423, 1990. doi:10.1051/ITA/1990240404191.
  • [4] Maurice Boffa. Une condition impliquant toutes les identités rationnelles. Theor. Inform. Appl., 29(6):515–518, 1995. doi:10.1051/ITA/1995290605151.
  • [5] Mikołaj Bojańczyk. Automata, logic and games, 2023. Lecture course at University of Warsaw. https://www.mimuw.edu.pl/˜bojan/2022-2023/automata-logic-and-games-2023. URL: https://www.mimuw.edu.pl/˜bojan/2022-2023/automata-logic-and-games-2023.
  • [6] Paul Brunet. Reversible kleene lattices. In Kim G. Larsen, Hans L. Bodlaender, and Jean-Francois Raskin, editors, 42nd International Symposium on Mathematical Foundations of Computer Science, MFCS 2017, August 21-25, 2017 - Aalborg, Denmark, volume 83 of LIPIcs, pages 66:1–66:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPICS.MFCS.2017.66.
  • [7] J. Richard Büchi. On a Decision Method in Restricted Second Order Arithmetic, pages 425–435. Springer New York, New York, NY, 1990. doi:10.1007/978-1-4613-8928-6_23.
  • [8] Ernie Cohen. Separation and reduction. In Roland Backhouse and José Nuno Oliveira, editors, Mathematics of Program Construction, pages 45–59, Berlin, Heidelberg, 2000. Springer Berlin Heidelberg. doi:10.1007/10722010_4.
  • [9] James Cranch, Michael R. Laurence, and Georg Struth. Completeness results for omega-regular algebras. J. Log. Algebraic Methods Program., 84(3):402–425, 2015. doi:10.1016/J.JLAMP.2014.10.002.
  • [10] Anupam Das and Abhishek De. A proof theory of right-linear (ω-)grammars via cyclic proofs. In Pawel Sobocinski, Ugo Dal Lago, and Javier Esparza, editors, Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2024, Tallinn, Estonia, July 8-11, 2024, pages 30:1–30:14. ACM, 2024. doi:10.1145/3661814.3662138.
  • [11] Anupam Das and Abhishek De. An algebraic theory of ω-regular languages, via μν-expressions, 2025. arXiv:2505.10303.
  • [12] Anupam Das and Damien Pous. Non-wellfounded proof theory for (kleene+action)(algebras+lattices). In Dan R. Ghica and Achim Jung, editors, 27th EACSL Annual Conference on Computer Science Logic, CSL 2018, September 4-7, 2018, Birmingham, UK, volume 119 of LIPIcs, pages 19:1–19:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPICS.CSL.2018.19.
  • [13] Amina Doumane. Constructive completeness for the linear-time μ-calculus. In 32nd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2017, Reykjavik, Iceland, June 20-23, 2017, pages 1–12. IEEE Computer Society, 2017. doi:10.1109/LICS.2017.8005075.
  • [14] Paul Gastin and Denis Oddoux. Fast ltl to büchi automata translation. In Gérard Berry, Hubert Comon, and Alain Finkel, editors, Computer Aided Verification, pages 53–65, Berlin, Heidelberg, 2001. Springer Berlin Heidelberg. doi:10.1007/3-540-44585-4_6.
  • [15] R. Gerth, D. Peled, M. Y. Vardi, and P. Wolper. Simple On-the-fly Automatic Verification of Linear Temporal Logic, pages 3–18. Springer US, Boston, MA, 1996. doi:10.1007/978-0-387-34892-6_1.
  • [16] Erich Grädel, Wolfgang Thomas, and Thomas Wilke, editors. Automata, Logics, and Infinite Games. Lecture notes in computer science. Springer, New York, NY, 2002 edition, February 2003.
  • [17] Gerard Holzmann. The SPIN Model Checker: Primer and Reference Manual. Addison-Wesley Professional, 1st edition, 2011.
  • [18] Roope Kaivola. Axiomatising linear time mu-calculus. In Insup Lee and Scott A. Smolka, editors, CONCUR ’95: Concurrency Theory, 6th International Conference, Philadelphia, PA, USA, August 21-24, 1995, Proceedings, volume 962 of Lecture Notes in Computer Science, pages 423–437. Springer, 1995. doi:10.1007/3-540-60218-6_32.
  • [19] Bronisław Knaster and Alfred Tarski. Un théorème sur les fonctions d’ensembles. Annales de la Société Polonaise de Mathématique, 6:133–134, 1927.
  • [20] D. Kozen. A completeness theorem for kleene algebras and the algebra of regular events. Information and Computation, 110(2):366–390, 1994. doi:10.1006/inco.1994.1037.
  • [21] Daniel Krob. Complete systems of b-rational identities. Theoretical Computer Science, 89(2):207–343, 1991. doi:10.1016/0304-3975(91)90395-I.
  • [22] Michael R. Laurence and Georg Struth. On completeness of omega-regular algebras. In Wolfram Kahl and Timothy G. Griffin, editors, Relational and Algebraic Methods in Computer Science - 13th International Conference, RAMiCS 2012, Cambridge, UK, September 17-20, 2012. Proceedings, volume 7560 of Lecture Notes in Computer Science, pages 179–194. Springer, 2012. doi:10.1007/978-3-642-33314-9_12.
  • [23] Robert McNaughton. Testing and generating infinite sequences by a finite automaton. Information and Control, 9(5):521–530, 1966. doi:10.1016/S0019-9958(66)80013-X.
  • [24] Michael O. Rabin. Decidability of second-order theories and automata on infinite trees. Bulletin of the American Mathematical Society, 74(5):1025–1029, 1968.
  • [25] V.N. Redko. On defining relations for the algebra of regular events. Ukrainskii Matematicheskii Zhurnal, 16(1):120–126, 1964.
  • [26] S. Safra. On the complexity of omega -automata. In [Proceedings 1988] 29th Annual Symposium on Foundations of Computer Science, pages 319–327, 1988. doi:10.1109/SFCS.1988.21948.
  • [27] Arto Salomaa. Two complete axiom systems for the algebra of regular events. Journal of the ACM (JACM), 13(1):158–169, 1966. doi:10.1145/321312.321326.
  • [28] Alfred Tarski. A lattice-theoretical fixpoint theorem and its applications. Pacific Journal of Mathematics, 5:285–309, 1955.
  • [29] Moshe Y. Vardi. An automata-theoretic approach to linear temporal logic, pages 238–266. Springer Berlin Heidelberg, Berlin, Heidelberg, 1996. doi:10.1007/3-540-60915-6_6.
  • [30] M.Y. Vardi and P. Wolper. Reasoning about infinite computations. Information and Computation, 115(1):1–37, 1994. doi:10.1006/inco.1994.1092.
  • [31] K. W. Wagner. Eine axiomatisierung der theorie der regulären folgenmengen. J. Inf. Process. Cybern., 12:337–354, 1976. URL: https://api.semanticscholar.org/CorpusID:27249080.