In the literature on Kleene algebra, a number of variants have been proposed which impose additional structure specified by a theory, such as Kleene algebra with tests (KAT) and the recent Kleene algebra with observations (KAO), or make specific assumptions about certain constants, as for instance in NetKAT. Many of these variants fit within the unifying perspective offered by Kleene algebra with hypotheses, which comes with a canonical language model constructed from a given set of hypotheses. For the case of KAT, this model corresponds to the familiar interpretation of expressions as languages of guarded strings. A relevant question therefore is whether Kleene algebra together with a given set of hypotheses is complete with respect to its canonical language model. In this paper, we revisit, combine and extend existing results on this question to obtain tools for proving completeness in a modular way. We showcase these tools by giving new and modular proofs of completeness for KAT, KAO and NetKAT, and we prove completeness for new variants of KAT: KAT extended with a constant for the full relation, KAT extended with a converse operation, and a version of KAT where the collection of tests only forms a distributive lattice.
翻译:关于Kleene代数的文献中,提出了若干变式,这些变式规定了一种理论所规定的额外结构,例如Kleene代数与测试(KAT)和最近的Kleene代数与观察(KAO),或对某些常数作出具体假设,例如NetKAT。许多变式与Kleene代数与假设相一致,这些变式与Kleene代数与根据一套特定假设构建的粗体语言模型相配合。就KAT而言,这一模型与对作为保守弦语言的表达方式的熟悉解释相对应。因此,一个相关的问题是,Kleene代数与一组特定假设是否与观察(KAO)一起完成,或对某些常数作出具体假设,例如NetKAT。在本文件中,我们重新研究、合并和扩大关于该问题的现有结果,以模块方式获得证明完整性的工具。我们通过为KAT、KAO和NetKAT提供新的和模块性语言完整性证据来展示这些工具。我们证明KAT的新变式的变式是完整的:KAT扩展KAT与一套完全的常态,只有KAT的收藏式,KAT的扩展为完全的测试。