1Introduction: back and forth between algebra and model theory Algebra and model theory are complementary stances in the history of logic, and their interaction continues to spawn new ideas, witness the interface of First-Order Logic and Cylindric Algebra. This chapter is about a more specialized contact: the flow of ideas between algebra and modal logic through 'guarded fragments' restricting the range of quantification over objects. Here is some general background for this topic. For a start, the connection between algebra and model theory is rather tight, since we can view universal algebra as the equational logic part of standard first-order model theory. This extension of the set of models leaves several base laws of relational algebra valid, while others become invalid: Associativity (R S) ; T = R ; (S ; T)) is a typical example.Crucially, in this contraction process, the set of algebraic validities becomes decidable.But if we impose additional conditions on the relation U, then undecidability may reappears. For instance, if we require transitivity, relational algebra is undecidable again: in logical modeling. Intuitively, the core calculus of action embodied in relational algebra seems simple, and undecidability comes as a surprise. Thus, we want to find a semantics that gives just the bare bones of action, while additional effects of 'standard set-theoretic modeling' are separated out as negotiable decisions of formulation that engender the undecidability. This theme underlies the systems presented in this chapter.Fragments But there is also a quite different technical way of viewing relativization as a general logical device. Already Wadge 1975 showed how relational algebra can be axiomatized smoothly by using explicit pair notation (x, y) : R, making transitions explicit as objects, which suggests viewing it as a fragment of first-order logic. Now it is a well-known result of Tarski's that standard relational algebra translates into the undecidable 3-variable fragment of first-order logic, through clauses such aswhich typically use existential quantification over objects in the domain. But the clause in our earlier description replaces this by another syntactic format, namelyThus, we end up inside a sub-language of the 3-variable fragment, where patterns of quantification are restricted or 'guarded' in some way by atomic formulas. Similar points hold for CRS and first-order dependence logics, and the result there is that we end up in a sub-language of full first-order logic known as the Guarded Fragment.In this paper, we will develop this fragment view as well, and eventually, we will also address the following fundamental question about our presentation so far. What is the relation between the two lines of (a) taking a logical language and extending its class of models, and (b) retaining the original model class while restricting the language? 4
Arrow logic in a nutshellMotivation: core content versus wrappings Relational algebra is a calculus of transition