A declarative approach to specifying Paxos using three-valued modal fixpoint logic Murdoch J. Gabbay Luca Zanolini Abstract We present Three-valued Fixpoint Quorum Logic , or 𝟑 ​ μ ​ 𝖰𝖫 {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} for short; a three-valued modal fixed-point logic designed for declaratively specifying and reasoning about distributed algorithms, such as the Paxos consensus algorithm. Our methodology represents a distributed algorithm as a logical theory, enabling correctness properties to be derived directly within the framework — or revealing logical errors in the algorithm’s design when they exist. 𝟑 ​ μ ​ 𝖰𝖫 {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} adopts a declarative approach, specifying the overall logic of computation without prescribing control flow. Notably, message-passing and state-transitions are not explicitly modelled, and notions of ‘quorum’ are abstracted from concrete thresholds to abstract modal operators. This distinguishes our framework from approaches like TLA+. The logical abstraction emphasises the essence of distributed algorithms, offering a novel perspective on their specification and reasoning. We define the syntax and semantics of 𝟑 ​ μ ​ 𝖰𝖫 {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , explore its theoretical properties, and demonstrate its applicability through a detailed treatment of the Paxos consensus algorithm. By presenting Paxos as a logical theory and deriving its standard correctness properties, we showcase the framework’s capacity to handle non-trivial distributed systems. We envision 𝟑 ​ μ ​ 𝖰𝖫 {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} as a versatile tool for specifying and reasoning about distributed algorithms. The Paxos example highlights the framework’s ability to capture intricate details, offering a new lens through which distributed algorithms can be specified, studied, and checked. The ideas we present are easily implemented, and to demonstrate this we have implemented a freely-available proof-of-concept 𝟑 ​ μ ​ 𝖰𝖫 {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} model-checker, as an effective prototyping tool. \yyyymmdddate keywords Modal logic, distributed consensus 1 Introduction 1.1 Initial overview Introducing {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} Three-valued Fixpoint Quorum Logic , or {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} for short, is a logical framework for studying distributed algorithms in a declarative manner, abstracting away in particular from notions of message-passing, concrete state-transitions, and explicit threshold-based notions of quorum. To demonstrate the scope and utility of this approach, we focus on Paxos [ Lam98 ] — one of the most widely deployed and influential consensus protocols in distributed systems [ CGR07 , BBH+11 , RST11 , BBC+11 ] . By developing an axiomatisation of Paxos in our framework, we capture the essence of its design in a precise logical form and establish a principled foundation for reasoning about its correctness. Furthermore, this axiomatic perspective paves the way for extending the methodology to more complex algorithms, offering a path toward analyses that are both conceptually cleaner, and easier to manage. Logic is widely applied in distributed algorithms: for example the logic TLA+ (based on Linear Temporal Logic) is an industry standard to model and verify distributed protocols [ Lam94 , Lam02 , YML99 ] . TLA+ encourages us to think in terms of a (sequential) temporal structure of actions (as per the name: Temporal Logic of Actions). In contrast, a {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} axiomatisation adopts a more abstract perspective: it distils the protocol into a set of logical principles that capture its essential structure. This abstraction highlights the core invariants of the algorithm and also provides a clean alternative foundation for reasoning and generalisation. This idea of abstracting an algorithm to a logical theory is itself not new: declarative programming is based on it. What is new, however, is applying an axiomatic, message-free, time-free, three-valued modal logic perspective to distributed algorithms at the level of Paxos. This paper demonstrates that such an axiomatisation is not only possible but also illuminating: it exposes the essential logical structure of the protocol in a way that is both rigorous and conceptually simple. 1 1 1 Note that just because a framework is conceptually simple does not mean that everything we say in that framework must also be simple. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} is a core language (like first-order logic, higher-order logic, the \lambda -calculus, LISP or indeed C); the programs and proofs that we express within it can be arbitrarily rich. Concrete examples appear below and throughout the paper. 2 2 2 Readers eager to see a toy illustration of the method may skip directly to Subsection 6.1 . For reasons of length, we concentrate on Paxos in this paper. This offers a rich and nontrivial case study — complex and non-trivial, yet sufficiently well-understood to serve as a benchmark. In a sister paper to this one with a more explicit expository emphasis [ Gab26b ] , the first author applies a simpler logic to study Bracha Broadcast and Crusader Agreement (which are simpler than Paxos). To demonstrate the applicability of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , we created a proof-of-concept {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} model-checker [ Gab26a ] , vibe-coded by the first author using AI from prompts starting with the draft of this paper, and with [ Gab26b ] . This is a theory paper but the existence of a parallel prototype implementation indicates that this theory 3 3 3 …which is no more complex than that justifying any other declarative environment, like Haskell or Lean. has potential for the delivery of compact, snappy, and effective developer tools, with succinct syntax and surprisingly compact search-spaces. The reader is welcome to play with the tool and watch the logic from this paper come alive in an implementation. 4 4 4 Note that the implementation is not this paper ! For example, by design the implementation omits the exposition and proofs that give meaning to and justify correctness of its computations — that is the task of a maths paper like this one — and as a prototype it should not be relied on in production. Yet it illustrates and indicates the potential for what could become of the ideas in this paper in the hands of a competent software engineer. So this paper has abundant theory, but it is not just theory for its own sake. Quite the opposite. The {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} model-checker is a prototype but it is not a toy. We know this, because the AI coding agent spontaneously applied the model-checker it had just written to test the papers from its prompt, and in doing so it falsified a conjecture from [ Gab26b ] (as documented in the package’s README file). So: not a toy. In the long run, we envision our logical approach fulfilling the broader promise of declarative techniques: uncovering subtle errors, reducing development effort, accelerating productivity, and even suggesting new mathematical insights. What is declarative programming By ‘declarative’ we mean that we specify the logic of a computation without specifying its control flow. Thus our axiomatisation of Paxos (in Figure 11 ) relates to a concrete Paxos implementation and/or its TLA+ specification, much as this axiomatic, algebraic specification of the factorial function 5 5 5 By ‘axiomatic’ we mean that the function is specified just by asserting properties that are true of it. By ‘algebraic’ we mean that these assertions are purely equational, i.e. we just assert some equalities between terms. 0!=1\qquad(n+1)!=(n+1)*n! relates to this concrete implementation of factorial in BASH value=1; while [ $number -gt 1 ]; do value=$((value * number)); number=$((number - 1)); done The reader may be familiar with programming languages based on declarative principles, such as Haskell, Erlang, or Prolog. Their design philosophy is that we should assert things that we want to be true, and leave it to the compiler to figure out how best to make this happen. Contrast with C, which is a canonical imperative language. 6 6 6 We are not interested here in taking sides. With a variety of tools to choose from, we pick the one that is best for the job. What matters is that the widest possible variety of levels of abstraction is made available. This paper develops a methodology for specifying distributed algorithms which lies firmly on the Haskell/Erlang/Prolog side of the spectrum — concise, declarative, and abstraction-oriented — in contrast to TLA+, which (while still high-level) explicitly represents state transitions, quorum sizes, and other operational detail. As a warm-up, we will consider a minimal example: a simple voting system. We present this in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to illustrate the style of axiomatisation and to give the reader a concrete sense of how the framework operates in practice. Consider a voting system such that ‘if a quorum of voters vote for candidate c , then c wins the election’. We write this axiomatically simply as ({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{vote}(c))\mathrel{\rightharpoonup}\mathsf{wins}(c). The {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt is a logical modality that is true when there exists a quorum of participants at which \mathsf{vote}(c) holds. 7 7 7 Details of this modality in our framework are in Proposition 4.7.14 ( 3 ) and Lemma 5.3.1 . Even without going into the details of what these symbols mean, it is clear that details of message-passing, of how votes are communicated, and of how they are counted up, are absent. In fact in this case the predicate is just a direct rendering of the English statement above it, without specifying how it is concretely implemented. Thus, in keeping with a declarative philosophy, we specify what we want the algorithm to do, but not how it should do it: it is the point of the axiom to express formally and precisely our idea — and to add as little as possible to that, beyond what is necessary to make it logically precise. Who should read this document This work is intended for two main audiences: 1. logicians , who may be intrigued by the study of a three-valued modal fixed-point logic that combines unusual theoretical features with concrete applications to distributed computation, and 2. distributed-systems researchers , who may find {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} a basis for useful tools for specifying, analysing, and communicating the design of complex protocols. Our primary case studies concern consensus algorithms, with a particular emphasis on blockchain protocols. 8 8 8 This is a particular professional interest of the second author, who was part of the core team developing consensus algorithms for Ethereum. These represent one of the most demanding and safety-critical application domains. References to key points in the text The reader who might want to jump to where the action is and read backwards and forwards from there, is welcome to proceed as follows: • The axioms of Declarative Paxos are in Figure 11 . • The syntax and semantics of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} are in Figures 3 , 5 , and 6 . • Truth-tables for three-valued logic and its connectives are in Figure 1 . • An outline of the Paxos algorithm (for the reader who might like to be reminded what it is) is in Remark 6.2.1 . • See also toy axiomatisations for an imaginary ‘simple’ protocol in Subsection 6.1 , designed to be vaguely reminiscent of Paxos, but very greatly simplified for the sake of exposition. 1.2 Motivation and background (further details) Let us unpack what consensus in distributed systems (like blockchains) is, why it matters, and why it is hard: Distributed systems, and the fundamental challenge thereof A distributed computing system is one that distributes its computation over several machines. Distributed systems are essential to computing: they enable a network of parties to collaborate to achieve common goals [ CGR11 ] . The fundamental challenge of distribution is that we cannot assume that all participants in the algorithm are correct: we need to be resilient against failure, and against hostile (also called Byzantine ) behaviour by some participants (a typical assumption is that up to a third of participants may be faulty in some way). This has a profound effect on the flavour of distributed systems; and it is reflected in this paper by the use of a third truth-value which we use to represent faulty/hostile behaviour, and by the use of sophisticated modalities to describe quorum-based behaviour. 9 9 9 This gives ‘distributed systems’ a flavour somewhat different from ‘concurrency’, ‘parallelism’, or ‘multi-agent systems’: the fundamental character of the theory of distributed systems is particularly marked by the fact that algorithms must survive in an unreliable and hostile space. (They solve this problem using notions of quorums, as we will discuss.) Being distributed is attractive to software engineers because it can give us desirable properties, including some or all of: scalability, redundancy, lower latency, reliability, and resilience. For this reason, almost any nontrivial commercial software system that the reader might care to name is implemented in a distributed manner. Furthermore, blockchain systems (like Bitcoin and Ethereum 10 10 10 https://bitcoin.org/en/ and https://ethereum.org/en/ ) and peer-to-peer systems are inherently distributed by design; if they were centralised, then they would not even make sense. The challenge of consensus Among the many challenges in distributed systems, consensus represents a fundamental abstraction. Consensus captures the problem of reaching agreement among multiple participants on a common value, in the face of possibly unreliable communication, and in the presence of possibly faulty participants. Consensus algorithms are an essential prerequisite for coordination in any distributed system, and they play a particularly critical role in blockchain networks. In such networks, consensus is the mechanism that ensures all participants agree on the state of the ledger — the blockchain’s source of truth — thereby solving problems like double spending (manipulating the blockchain ledger to spend the same token twice). Consensus protocols also enable the secure ordering of transactions, and they ensure the integrity and consistency of the blockchain, even in the face of adversarial actors. Consensus protocols in blockchain systems are particularly challenging to design and implement correctly. Indeed, there are numerous examples in which incomplete or insufficiently specified protocols have led to serious issues, such as network halts or vulnerabilities that adversaries could exploit. For example: 1. Solana ( https://solana.com ) has experienced instances where its consensus mechanism [ Yak18 , Sho22 ] contributed to temporary network halts ( https://solana.com/news/9-14-network-outage-initial-overview ). 2. Ripple’s ( https://ripple.com ) consensus protocol has been analysed for conditions in which safety and liveness may not be guaranteed [ ASCM21 ] . 3. Avalanche’s ( https://www.avax.network ) consensus protocol has faced scrutiny regarding its assumptions and performance in adversarial scenarios [ ASCT23 ] . Even mature blockchains like Ethereum are not immune to challenges. Attacks such as balancing attacks [ NTT21 ] and ex-ante reorganisation ( reorg ) attacks [ SSNM+22 ] have highlighted vulnerabilities in Ethereum’s protocol. These examples underscore how subtle flaws or ambiguities in protocol design can have significant consequences, emphasising the need for rigorous analysis and well-defined specifications in this complex and safety-critical field. Compounding the fact that consensus algorithms are foundational to the security and functionality of blockchain systems, is the fact that designing and implementing these algorithms is notoriously challenging. Distributed algorithms — including consensus protocols — are difficult (at least for human brains) because of the inherent difficulty of coordinating multiple participants, which may be faulty, hostile, drifting in and out of network connectivity [ PS17 ] , and/or have different local clocks, states, agendas, and so forth. In short, this is a notoriously difficult field which is full of ‘gotchas’, and within this difficult field, consensus protocols are amongst the most intricate, demanding, and practically important objects of study. Introducing a logic-based declarative approach (applied to Paxos) In this paper, we develop a logic-based declarative approach to modelling distributed algorithms. It stands in relation to existing techniques in roughly the same way as declarative programming languages stand to imperative ones. Technically speaking, {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} is a three-valued modal fixpoint logic . This means: • There are three truth-values: {\mathbf{t}} (true), {\mathbf{b}} (no value returned, i.e. ‘crashed’), and {\mathbf{f}} (false) [ Got22 ] . • Modalities let us express things like ‘some participant has property \phi ’ or ‘a quorum of participants has property \psi ’ or ‘ \phi has been true in the past’ or ‘ \psi will be true in the future’. 11 11 11 In order, these are as follows in our logic: \Diamond\hskip 0.0pt\phi , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi , {\reflectbox{$\mathsf{R}$}}\phi , and \scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt\phi . Precise semantics are in Figures 5 and 6 . • The operator \mu imports the expressive power of iteration [ Wik24a ] . Consensus algorithms are often iterative, thus it is natural to include this in our logic. We will apply these constructs to give axiomatic models of the Paxos consensus protocol [ Lam98 , Lam01 , Cac11 ] and then we will state and derive standard correctness properties from the axioms. Our example is elementary but nontrivial and strikes (we think) a good balance between being compact and still exhibiting enough richness of structure to illustrate the essential features of how our logic works. The first half of this paper will focus on the logic, and the second half of this paper will apply the logic to the examples. The reader from a logic background might like to start with the first half and refer to examples for motivation; the reader from a distributed systems background might like to do the opposite and start with the examples in the second half, referring back to the logic as required to understand what is being done. Related work using logic Logic-based approaches have long been used to model and verify distributed protocols, with TLA+ [ Lam94 , Lam02 , YML99 ] being one of the most prominent frameworks in the field. Introduced by Leslie Lamport in the 1990s, TLA+ builds on Linear Temporal Logic (LTL) [ Pnu77 ] to describe systems in terms of state variables and their evolution through explicit next-state relations. It has since become an industry standard for specifying and verifying distributed algorithms. TLA+ excels at specifying and verifying behaviours through operational, state-based descriptions. In this respect, it is well-suited for detailing how algorithms proceed step by step. The reader can find a modern example of a TLA+ Paxos specification (part of a formalisation of a multi-Paxos elaboration of the protocol) described in [ CLS16 ] ; see Figures 2, 3, 4, and 5 of that paper and accompanying text. A direct link to the relevant code file is in [ LMD ] . This operational perspective can create a certain distance between the specification and the invariants it seeks to uphold. Although TLA+ provides powerful mechanisms for expressing and checking invariants, the burden lies in verifying that these invariants are preserved across all possible state transitions — an exercise that can become complex and unintuitive, especially in the setting of distributed algorithms where subtle corner cases abound. Our approach Our novel framework leverages the mathematics of semitopology and three-valued logic. Semitopology, introduced in previous work [ Gab24 , Gab25 ] , provides a natural way to describe quorums — sets of participants that collaborate to progress the system state — by representing them as open sets. This perspective is particularly well-suited to distributed systems, where system behaviour emerges from the interactions of coalitions of components rather than from a sequence of steps orchestrated by a central controller. Three-valued logic (for an overview, see [ Ber08 , Chapter 5] ) enables reasoning about the uncertainty and potential faults inherent in distributed systems. Unlike classical logic, which admits only {\mathbf{t}} and {\mathbf{f}} , three-valued logic introduces a third truth value {\mathbf{b}} to capture indeterminate states, as arise when the behaviour of some parties cannot be fully trusted. This yields compact and natural descriptions of distributed protocols, distinguishing clearly between normal operation and faulty behaviour. It also provides a formal foundation that could, in future work, be connected to automated reasoning tools such as SAT solvers or theorem provers, thereby enhancing both the expressiveness and verifiability of protocol specifications. Our approach is especially relevant in the context of blockchain consensus protocols: distributed and decentralised systems that critically depend on precise and robust specifications. It is not an exaggeration to say that blockchains have accelerated the development of new consensus protocols at an unprecedented pace [ CV17 ] . Yet many of these proposals remain only informally specified, often described in blog posts or non-academic sources, leading to ambiguity about their guarantees and behaviour. This lack of formalisation contributes to a fragmented landscape in which the properties of protocols are unclear, hindering adoption and undermining confidence. By providing a logic-based declarative language and a systematic way to axiomatise consensus protocols, our framework aims to support formal specification, rigorous reasoning, and eventual verification of the properties of distributed systems. We believe this can lower costs, increase reliability, and reduce development time. More broadly, we argue that effective formalisation is essential for eliminating ambiguity in the design and evaluation of emerging consensus mechanisms, particularly in the blockchain space. Our approach thus bridges the gap between the declarative specification of invariants and the practical verification of protocol correctness. We will explain everything, and that’s a feature Different readers will find some parts of this paper straightforward and other parts more challenging. Which parts these are will largely depend on the reader’s background. 12 12 12 This is not a hypothetical: the first author, coming from a logic background, needed time to fully understand how Paxos works, while the second author, experienced with Paxos and familiar with logic in broad terms, was less at ease with modal fixed-point logic and models of axiomatic logical theories. The overlap of readers who are already well-versed in both fields may not be large. We hope this paper contributes to narrowing this gap. For example: • three-valued modal logic and its models, and technical results like the Knaster-Tarski fixpoint theorem used in Proposition 3.5.7 may be known to the reader with a background in logic (like the first author), but perhaps not to a distributed systems theorist (like the second author); conversely, • the Paxos algorithm, together with standard technical devices such as the discussion motivating n -twined semitopologies in Remark 5.1.3 , will be familiar territory to a distributed-systems expert. However, their application in this logical setting may be new to readers coming from a logic background. We play safe and explain everything. If the reader finds we are going a bit slow in places, then better that than going too fast and skipping details that might help some other reader follow the argument. 1.3 Structure of the paper 1. Section 1 is the Introduction; You are Here. The rest of the paper splits into two halves: Sections 2 to 5 have to do with logic and semitopologies; and Sections 6 to 8 use {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to declaratively specify and study Paxos. 2. Section 2 introduces the basics of three-valued logic, including notable connectives ( \mathrel{\to} and \mathrel{\rightharpoonup} ) and modalities ( \mathsf{T}\hskip 0.0pt and \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt ). We also introduce a notion of validity for truth-values. 3. Section 3 defines semitopologies (our model of the quorums that are ubiquitous in consensus algorithms), then it builds the syntax and semantics of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} . 4. Section 4 studies {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} predicates; notably developing some logical equivalences, and well-behavedness criteria like being pointwise . 5. Section 5 returns to semitopologies, and shows how antiseparation properties can be represented in logical form in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} . One particular antiseparation property corresponds to the quorum intersection property which is used in the correctness proofs for Paxos (see Remark 5.2.4 ), but we will put this fact in a more general logical/semitopological context. 6. Section 6 introduces Declarative Paxos; this is representative of the kinds of algorithms that we built {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to express. We take our time to explain how Paxos works, state the axiomatisation, and discuss it in detail. 7. Section 7 states the standard correctness properties for Paxos, phrases them in declarative form, and then proves them from the axioms of Declarative Paxos. What all our work has accomplished is to convert proving correctness properties into (relatively straightforward) proofs of facts about an abstract model, reasoning from axioms. 8. Section 8 revisits the axioms of Declarative Paxos from Section 6 , in the light of the proofs in Section 7 — and then prunes them down to a minimal theory required to prove correctness. We call this minimal theory Simpler Declarative Paxos : it is simpler, and because further details have been elided, it is more abstract. The reader may prefer Declarative Paxos to Simpler Declarative Paxos because it is more identifiably related to the Paxos algorithm, but if we want to prove correctness properties, then Simpler Declarative Paxos distils the logical essence of what makes those proofs work. 9. Section 9 concludes with conclusions and reflections on future work. 2 Three truth-values 2.1 Basic definition of {\mathbf{3}} , and some truth-tables Definition 2.1.1 (Three-valued truth-values) . Let {\mathbf{3}} be the poset of truth-values with elements {\mathbf{f}} (false), {\mathbf{b}} (broken), and {\mathbf{t}} (true) ordered as {\mathbf{f}}<{\mathbf{b}}<{\mathbf{t}}. \begin{array}[]{c}\begin{array}[]{c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c}\begin{array}[]{c c c c}p\mathrel{\boldsymbol{\wedge}}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{b}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{f}}&{\mathbf{f}}&{\mathbf{f}}\end{array}&\begin{array}[]{c c c c}p\mathbin{\boldsymbol{\vee}}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{t}}&{\mathbf{t}}\\ {\mathbf{b}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{b}}\\ {\mathbf{f}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\end{array}&\begin{array}[]{c c c c}p\mathrel{\to}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{b}}\\ {\mathbf{f}}&{\mathbf{t}}&{\mathbf{t}}&{\mathbf{t}}\end{array}&\begin{array}[]{c c c c}p\mathrel{\rightharpoonup}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{f}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{b}}\\ {\mathbf{f}}&{\mathbf{t}}&{\mathbf{t}}&{\mathbf{t}}\end{array}\end{array}\\[30.1388pt] \begin{array}[]{c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c}\begin{array}[]{cc}{\boldsymbol{\neg}}p\\ {\mathbf{t}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{b}}\\ {\mathbf{f}}&{\mathbf{t}}\end{array}&\begin{array}[]{cc}\mathsf{T}\hskip 0.0ptp\\ {\mathbf{t}}&{\mathbf{t}}\\ {\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{f}}\end{array}&\begin{array}[]{cc}\mathsf{F}\hskip 0.0ptp\\ {\mathbf{t}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{t}}\end{array}&\begin{array}[]{cc}\mathsf{B}\hskip 0.0ptp\\ {\mathbf{t}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{t}}\\ {\mathbf{f}}&{\mathbf{f}}\end{array}&\begin{array}[]{cc}\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0ptp\\ {\mathbf{t}}&{\mathbf{t}}\\ {\mathbf{b}}&{\mathbf{t}}\\ {\mathbf{f}}&{\mathbf{f}}\end{array}&\begin{array}[]{cc}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0ptp\\ {\mathbf{t}}&{\mathbf{t}}\\ {\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{t}}\end{array}&\begin{array}[]{cc}\mathsf{F}\hskip-1.5pt\mathsf{B}\hskip 0.0ptp\\ {\mathbf{t}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{t}}\\ {\mathbf{f}}&{\mathbf{t}}\end{array}\end{array}\\[30.1388pt] \begin{array}[]{c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c}\begin{array}[]{c c c c}p{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\Rightarrow$}}\hskip 0.2pt}}}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{t}}&{\mathbf{t}}&{\mathbf{t}}\end{array}&\begin{array}[]{c c c c}p\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\leq$}}\hskip 0.2pt}}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{f}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{t}}&{\mathbf{t}}&{\mathbf{t}}\end{array}\end{array}\end{array} Above, the vertical axis of a table indicates values for p ; the horizontal axis (if nontrivial) denotes values for q . Figure 1 : Truth-tables for some operations on {\mathbf{3}} (Remark 2.1.2 ) \begin{array}[]{c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c@{\qquad}c}\begin{array}[]{c c c c}p\mathbin{\hbox to0.0pt{$\leftarrow$\hss}\hskip-0.86108pt\rightarrow}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{b}}&{\mathbf{b}}&{\mathbf{b}}\\ {\mathbf{f}}&{\mathbf{f}}&{\mathbf{b}}&{\mathbf{t}}\end{array}&\begin{array}[]{c c c c}p\mathbin{\hbox to0.0pt{$\leftharpoonup$\hss}\hskip-0.86108pt\rightharpoonup}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{f}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{f}}&{\mathbf{b}}&{\mathbf{b}}\\ {\mathbf{f}}&{\mathbf{f}}&{\mathbf{b}}&{\mathbf{t}}\end{array}&\begin{array}[]{c c c c}p\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}q&{\mathbf{t}}&{\mathbf{b}}&{\mathbf{f}}\\ {\mathbf{t}}&{\mathbf{t}}&{\mathbf{f}}&{\mathbf{f}}\\ {\mathbf{b}}&{\mathbf{f}}&{\mathbf{t}}&{\mathbf{f}}\\ {\mathbf{f}}&{\mathbf{f}}&{\mathbf{f}}&{\mathbf{t}}\end{array}\end{array} Figure 2 : Truth-tables for notions of equivalence (Definition 2.3.6 ) Remark 2.1.2 . We start with some elementary observations about {\mathbf{3}} . 1. {\mathbf{3}} has bottom element {\mathbf{f}} , top element {\mathbf{t}} , and meets \mathrel{\boldsymbol{\wedge}} and joins \mathbin{\boldsymbol{\vee}} . This makes it a finite lattice . 2. {\mathbf{3}} has a negation operation {\boldsymbol{\neg}} . 3. {\mathbf{3}} has several natural modalities that identify truth-values, including \mathsf{T}\hskip 0.0pt , \mathsf{F}\hskip 0.0pt , \mathsf{B}\hskip 0.0pt , \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt , and \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt . For example, the reader can examine the truth-table for \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt in Figure 1 and see that it identifies elements of \{{\mathbf{t}},{\mathbf{f}}\} . 13 13 13 One could also call these modalities characteristic functions for various subsets of {\mathbf{3}} , by which we mean functions which (literally) return {\mathbf{t}} on elements in the set and {\mathbf{f}} on elements not in the set. 4. {\mathbf{3}} also has multiple notions of implication and equivalence, some of which are illustrated in Figures 1 and 2 . We will discuss these implications in Subsection 2.3 . Remark 2.1.3 . We will use the third truth-value {\mathbf{b}} to represent participants in a distributed algorithm crashing (or {\mathbf{b}} reaking). The method is simple: the truth-value of a predicate describing the outcome of a crashed computation, is deemed to be {\mathbf{b}} . This is similar in spirit to how in domain theory an additional value — usually written \bot — is added to a denotation to represent nontermination; the function-value of a nonterminating computation is deemed to be \bot [ AJ94 ] . The nonterminating computation does not return a value, but we represent this absence of a value in the denotation, using \bot . In our declarative axiomatisation of Paxos, we use {\mathbf{b}} in much the same way, as a truth-value to describe the absence of a return value (either {\mathbf{t}} or {\mathbf{f}} ) from participants that have crashed. 2.2 Valid and correct truth-values Definition 2.2.1 . 1. Define subsets {\mathbf{3}}_{\scalebox{0.6}{valid}},{\mathbf{3}}_{\scalebox{0.6}{correct}},{\mathbf{3}}_{\scalebox{0.6}{true}},{\mathbf{3}}_{\scalebox{0.6}{false}}\subseteq{\mathbf{3}} by {\mathbf{3}}_{\scalebox{0.6}{valid}}=\{{\mathbf{t}},{\mathbf{b}}\}\quad\text{and}\quad{\mathbf{3}}_{\scalebox{0.6}{correct}}=\{{\mathbf{t}},{\mathbf{f}}\}\quad\text{and}\quad{\mathbf{3}}_{\scalebox{0.6}{true}}=\{{\mathbf{t}}\}\quad\text{and}\quad{\mathbf{3}}_{\scalebox{0.6}{false}}=\{{\mathbf{f}}\}. 2. We refer to \mbox{$\mathit{tv}$}\in{\mathbf{3}} as being valid / invalid , correct / incorrect , and true / untrue , and false / unfalse 14 14 14 …‘unfalse’ is ‘ {\mathbf{t}} -or- {\mathbf{b}} ’, not ‘ {\mathbf{t}} ’. Similarly, ‘untrue’ is {\mathbf{b}} -or- {\mathbf{f}} . We cannot resist stating the following gem of three-valued clarity: not- {\mathbf{t}} , is not {\boldsymbol{\neg}}{\mathbf{t}} , and not- {\mathbf{f}} is not {\boldsymbol{\neg}}{\mathbf{f}} , and not- {\mathbf{b}} is not- {\boldsymbol{\neg}}{\mathbf{b}} , because {\mathbf{b}} is {\boldsymbol{\neg}}{\mathbf{b}} . depending on whether it is / is not in {\mathbf{3}}_{\scalebox{0.6}{valid}} , {\mathbf{3}}_{\scalebox{0.6}{correct}} , {\mathbf{3}}_{\scalebox{0.6}{true}} , and {\mathbf{3}}_{\scalebox{0.6}{false}} respectively. 3. Define \vDash\mbox{$\mathit{tv}$} (read ‘ \mathit{tv} is valid ’) by \vDash\mbox{$\mathit{tv}$}\quad\text{when}\quad\mbox{$\mathit{tv}$}\in{\mathbf{3}}_{\scalebox{0.6}{valid}},\ \ \text{which just means}\ \ \mbox{$\mathit{tv}$}\in\{{\mathbf{t}},{\mathbf{b}}\}. Thus, ‘ \mathit{tv} is valid’ holds precisely when \mathit{tv} is a valid truth-value. Remark 2.2.2 (Why {\mathbf{b}} is valid) . We take a moment to discuss Definition 2.2.1 : 1. We can think of {\mathbf{t}} and {\mathbf{f}} as specific ‘yes/no’ results from the successful completion of some computation. Therefore, we will call {\mathbf{t}} and {\mathbf{f}} correct . 2. We can think of {\mathbf{b}} as representing failure of a computation to complete correctly — e.g. because a participant has crashed and so can return neither {\mathbf{t}} nor {\mathbf{f}} . 3. In Definition 2.2.1 we set {\mathbf{3}}_{\scalebox{0.6}{valid}}=\{{\mathbf{t}},{\mathbf{b}}\} and define \vDash\mbox{$\mathit{tv}$} when \mbox{$\mathit{tv}$}\in{\mathbf{3}}_{\scalebox{0.6}{valid}} , and we call {\mathbf{t}} and {\mathbf{b}} valid . This identifies our treatment of validity as being that in Priest’s logic of paradox LP [ Pri79 ] , which sets {\mathbf{t}} and {\mathbf{b}} to be valid; the jargon is that {\mathbf{t}} and {\mathbf{b}} are designated . This is as opposed to Kleene’s K_{3} , which makes the other choice of designating only {\mathbf{t}} [ Kle52 ] . It might seem strange at first to let {\mathbf{b}} be valid; if {\mathbf{b}} represents the (non)behaviour of a crashed participant, then surely crashing should not be valid? Not necessarily. To see why, consider that many of the assertions we consider will have the form ‘if p is not crashed, then \vDash\phi at p ’, or equivalently ‘either p is crashed, or \vDash\phi at p ’. If we let {\mathbf{b}} be valid (i.e. if we define \vDash{\mathbf{b}} to hold), then we can simplify the above to the conveniently succinct assertion ‘ \vDash\phi at p ’. The ‘if p is not crashed’ precondition gets swallowed up into the fact that if p is crashed then \phi returns {\mathbf{b}} , and \vDash{\mathbf{b}} so there is nothing to prove. Remark 2.2.3 . Later on in Definition 3.6.1 ( 1 ) we will extend validity to predicates-in-context, just by evaluating a predicate-in-context to a truth-value using a denotation function, and checking that truth-value is valid in the sense we define here. We make some elementary observations about {\mathbf{3}} and Definition 2.2.1 : Lemma 2.2.4 . Suppose \mbox{$\mathit{tv}$},\mbox{$\mathit{tv}$}^{\prime}\in{\mathbf{3}} are truth-values. Then: 1. \vDash{\mathbf{t}} and \vDash{\mathbf{b}} . 2. \not\vDash{\mathbf{f}} . 3. \vDash\mbox{$\mathit{tv}$}\mathbin{\boldsymbol{\vee}}\mbox{$\mathit{tv}$}^{\prime} if and only if {\vDash\mbox{$\mathit{tv}$}}\lor{\vDash\mbox{$\mathit{tv}$}^{\prime}} . 4. \vDash\mbox{$\mathit{tv}$}\mathrel{\boldsymbol{\wedge}}\mbox{$\mathit{tv}$}^{\prime} if and only if {\vDash\mbox{$\mathit{tv}$}}\land{\vDash\mbox{$\mathit{tv}$}^{\prime}} . Proof. Fact of Definition 2.2.1 and the truth-tables in Figure 1 . ∎ Negation is conspicuous by its absence in Lemma 2.2.4 . We consider this next: Lemma 2.2.5 . Suppose \mbox{$\mathit{tv}$}\in{\mathbf{3}} is a truth-value. Then: 1. \vDash\mbox{$\mathit{tv}$}\mathbin{\boldsymbol{\vee}}{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} , and as a corollary \not\vDash\mbox{$\mathit{tv}$} implies \vDash{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} . 2. \vDash\mbox{$\mathit{tv}$}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} is possible, and as corollaries: \vDash\mbox{$\mathit{tv}$} does not necessarily imply \not\vDash{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} ; and it is possible that \vDash\mbox{$\mathit{tv}$} and \vDash{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} both hold. Proof. We consider each part in turn: 1. Using Lemma 2.2.4 (3) it would suffice to show that \vDash\mbox{$\mathit{tv}$} or \vDash{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} . So suppose \not\vDash\mbox{$\mathit{tv}$} . By Definition 2.2.1 ( 3 ) \mbox{$\mathit{tv}$}\not\in{\mathbf{3}}_{\scalebox{0.6}{valid}} , thus \mbox{$\mathit{tv}$}={\mathbf{f}} and by Figure 1 {\boldsymbol{\neg}}\mbox{$\mathit{tv}$}={\mathbf{t}}\in{\mathbf{3}}_{\scalebox{0.6}{valid}} and so \vDash{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} . 2. We just take \mbox{$\mathit{tv}$}={\mathbf{b}} and check from Figure 1 that {\boldsymbol{\neg}}{\mathbf{b}}={\mathbf{b}} . We use Lemma 2.2.4 (1&4). ∎ Remark 2.2.6 . Some comments on Lemma 2.2.5 : • Lemma 2.2.5 ( 2 ) notes that our notion of validity in three-valued logic is naturally paraconsistent , meaning that it is possible for a thing, and the negation of that thing, to both be valid. This is a feature of {\mathbf{b}}\in{\mathbf{3}} , not a bug, and we will make good use of it later when we use {\mathbf{b}} as a return value for ‘I return no correct truth-value’. • Lemma 2.2.5 ( 1 ) asserts validity of the excluded middle (‘ \phi -or-negation-of- \phi ’), but its corollaries implicitly illustrate another fact of three-valued logic, by what they do not say: looking at the proof of Lemma 2.2.5 ( 1 ), it is clearly also true that \vDash\mbox{$\mathit{tv}$}\mathbin{\boldsymbol{\vee}}\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} , and that \vDash\mbox{$\mathit{tv}$}\mathbin{\boldsymbol{\vee}}\mathsf{T}\hskip 0.0pt{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} , and that \not\vDash\mbox{$\mathit{tv}$} implies \vDash\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} , and also that \not\vDash\mbox{$\mathit{tv}$} implies \vDash\mathsf{T}\hskip 0.0pt{\boldsymbol{\neg}}\mbox{$\mathit{tv}$} . These are stronger assertions, so why did we not state them in the lemma instead? Because we will not need the result in those forms later. In two-valued logic, if something is true then it is probably a useful lemma. In contrast, in three-valued logic, there is so much more structure with the third truth-value that more things are true than are necessarily useful . So, we have to pick and choose our lemmas, and it is not always the case that the strongest form of a result is the most useful. Lemmas 2.2.7 and 2.2.8 are easy, but they spell out some useful facts about truth-values and validity judgements: Lemma 2.2.7 . Suppose \mbox{$\mathit{tv}$}\in{\mathbf{3}} is a truth-value. Then: 1. {\mathbf{3}}_{\scalebox{0.6}{correct}}\cap{\mathbf{3}}_{\scalebox{0.6}{valid}}={\mathbf{3}}_{\scalebox{0.6}{true}} . In words: a truth-value is true if and only if it is correct and valid. 2. \vDash\mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$} if and only if \mbox{$\mathit{tv}$}\in{\mathbf{3}}_{\scalebox{0.6}{true}} . In words: ‘ \mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$} is valid’ holds if and only if \mathit{tv} is true. 3. \vDash\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} if and only if \mbox{$\mathit{tv}$}\in{\mathbf{3}}_{\scalebox{0.6}{false}} . In words: ‘ \mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} is valid’ holds if and only if \mathit{tv} is false. 4. \vDash\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\mbox{$\mathit{tv}$} if and only if \mbox{$\mathit{tv}$}\in{\mathbf{3}}_{\scalebox{0.6}{valid}} if and only if \vDash\mbox{$\mathit{tv}$} . In words: ‘ \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\mbox{$\mathit{tv}$} is valid’ if and only if \mathit{tv} is valid. 15 15 15 Note that \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\mbox{$\mathit{tv}$} is not necessarily literally equal to \mathit{tv} , in the sense of \mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mbox{$\mathit{tv}$} from Definition 2.3.6 . For example, \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt{\mathbf{b}}={\mathbf{t}}\neq{\mathbf{b}} . 5. \vDash\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} if and only if \mbox{$\mathit{tv}$}\in{\mathbf{3}}_{\scalebox{0.6}{correct}} . In words: ‘ \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} is valid’ if and only if \mathit{tv} is correct. Proof. Part 1 is a fact of sets. Parts 2 and 3 and 4 and 5 are just from the truth-tables for \mathsf{T}\hskip 0.0pt , \mathsf{F}\hskip 0.0pt , \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt , and \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt in Figure 1 and Definition 2.2.1 . ∎ Lemma 2.2.8 . Suppose \mbox{$\mathit{tv}$}\in{\mathbf{3}} is a truth-value. Then the following are all equivalent: \vDash\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$}\ \Longleftrightarrow\ \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\mbox{$\mathit{tv}$}=\mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$}\ \Longleftrightarrow\ \mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$}=\mbox{$\mathit{tv}$}\ \Longleftrightarrow\ \mathsf{F}\hskip-1.5pt\mathsf{B}\hskip 0.0pt\mbox{$\mathit{tv}$}=\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$}\ \Longleftrightarrow\ \mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$}={\boldsymbol{\neg}}\mbox{$\mathit{tv}$} Informally — we do not build the machinery to make this formal, but it may still be a helpful observation — we can write that the modality \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt is equivalent to the modal equivalences \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt=\mathsf{T}\hskip 0.0pt=\mbox{$\mathit{id}$} and \mathsf{F}\hskip-1.5pt\mathsf{B}\hskip 0.0pt=\mathsf{F}\hskip 0.0pt={\boldsymbol{\neg}} . Proof. By Lemma 2.2.7 ( 5 ) and Definition 2.2.1 ( 1 ), \vDash\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mbox{$\mathit{tv}$} when \mbox{$\mathit{tv}$}={\mathbf{t}}\ \lor\ \mbox{$\mathit{tv}$}={\mathbf{f}}\quad\text{and when}\quad\mbox{$\mathit{tv}$}\neq{\mathbf{b}}. We check the truth-tables in Figure 1 , and see that all of the other statements above precisely characterise the same condition. ∎ 2.3 The rich implication and equivalence structure of {\mathbf{3}} 2.3.1 Weak and strong implications, and others Three-valued logic supports many kinds of implication, as has already been noted [ AAZ11 , note 5, page 22] . We discuss two in Definition 2.3.1 , and mention two more in Remark 2.3.4 : Definition 2.3.1 . 1. Define weak implication \mathrel{\to} , using {\boldsymbol{\neg}} and \mathbin{\boldsymbol{\vee}} , as follows: \mbox{$\mathit{tv}$}\mathrel{\to}\mbox{$\mathit{tv}$}^{\prime}=({\boldsymbol{\neg}}\mbox{$\mathit{tv}$})\mathbin{\boldsymbol{\vee}}\mbox{$\mathit{tv}$}^{\prime}. This ‘not-or’ equality identifies \mathrel{\to} as what some would call material implication ; it is the natural generalisation of Boolean ‘not-or’ implication to the three-valued setting. 2. Define strong implication \mathrel{\rightharpoonup} , using \mathrel{\to} and \mathsf{T}\hskip 0.0pt , as follows: \mbox{$\mathit{tv}$}\mathrel{\rightharpoonup}\mbox{$\mathit{tv}$}^{\prime}=\mbox{$\mathit{tv}$}\mathrel{\to}\mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$}^{\prime}. Strong implication appears to be original to this paper, so far as we know. The closest explicit analogue we can find in the literature is that it is equal to the contrapositive of a connective p\supset q from page 278 of [ Avr91 ] ; that is, p\mathrel{\rightharpoonup}q in our notation is equal to {\boldsymbol{\neg}}q\supset{\boldsymbol{\neg}}p in Avron’s notation. These and other encodings are assembled in Figure 6 . We motivate the weak and strong implications from Definition 2.3.1 ( 1 & 2 ): Remark 2.3.2 (How to interpret \mathrel{\to} and \mathrel{\rightharpoonup} ) . For this Remark, let us interpret \mbox{$\mathit{tv}$}\in{\mathbf{3}} as the result of a computation process which either succeeds and returns true (truth-value {\mathbf{t}} ), or it succeeds and returns false (truth-value {\mathbf{f}} ), or the process does not succeed (e.g. it crashes) and it returns a broken value / no value (represented by the truth-value {\mathbf{b}} ). Recall also from Definition 2.2.1 ( 3 ) that \vDash\mbox{$\mathit{tv}$} means \mbox{$\mathit{tv}$}\in\{{\mathbf{t}},{\mathbf{b}}\} . Then by this reading: 1. \vDash\mbox{$\mathit{tv}$} means “the process \mathit{tv} returns {\mathbf{t}} , if valid” . 2. \vDash\mbox{$\mathit{tv}$}\mathrel{\to}\mbox{$\mathit{tv}$}^{\prime} means “ if process \mathit{tv} returns true then process \mbox{$\mathit{tv}$}^{\prime} returns {\mathbf{t}} , if valid” . Implication does not imply sequentiality: we are just making a logical assertion about outcomes. 3. \vDash\mbox{$\mathit{tv}$}\mathrel{\rightharpoonup}\mbox{$\mathit{tv}$}^{\prime} means “ if process \mathit{tv} returns true then process \mbox{$\mathit{tv}$}^{\prime} is also valid, and it returns {\mathbf{t}} ” . We can sum this up as a modus ponens result, which relates the validity \vDash from Definition 2.2.1 , the weak implication \mathrel{\to} and strong implication \mathrel{\rightharpoonup} from Figure 1 , to real-world implication: Proposition 2.3.3 (Weak and strong modus ponens) . Suppose \mbox{$\mathit{tv}$},\mbox{$\mathit{tv}$}^{\prime}\in{\mathbf{3}} are truth-values. Then: 1. \vDash\mbox{$\mathit{tv}$}\mathrel{\to}\mbox{$\mathit{tv}$}^{\prime} if and only if \vDash\mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$} implies \vDash\mbox{$\mathit{tv}$}^{\prime} . In words: ‘ \mathit{tv} weakly implies \mbox{$\mathit{tv}$}^{\prime} ’ is valid, if and only if \mathit{tv} is true implies \mbox{$\mathit{tv}$}^{\prime} is valid (but \mbox{$\mathit{tv}$}^{\prime} need not be true). We may call this logical equivalence weak modus ponens . 2. \vDash\mbox{$\mathit{tv}$}\mathrel{\rightharpoonup}\mbox{$\mathit{tv}$}^{\prime} if and only if \vDash\mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$} implies \vDash\mathsf{T}\hskip 0.0pt\mbox{$\mathit{tv}$}^{\prime} . In words: ‘ \mathit{tv} strongly implies \mbox{$\mathit{tv}$}^{\prime} ’ is valid if and only if \mathit{tv} is true implies \mbox{$\mathit{tv}$}^{\prime} is true. We may call this logical equivalence strong modus ponens . Proof. We consider each part in turn: 1. By direct inspection of the truth-table for \mathrel{\to} in Figure 1 , using Definition 2.2.1 ( 3 ). 2. By a similar direct inspection. ∎ Remark 2.3.4 (Explicit and implicit implications) . So far, the structure we have seen (the lattice structure, the negation, the modalities, and the two implications \mathrel{\to} and \mathrel{\rightharpoonup} ) is reflected explicitly in the syntax of our logic in Figures 3 and 6 . For instance, Figure 3 has a unary negation connective {\boldsymbol{\neg}} whose denotation as per Figure 5 is precisely the negation operator {\boldsymbol{\neg}} in Figure 1 . So far, so explicit. However, {\mathbf{3}} has further implication structure, which we do not mention explicitly in our logic, but which is still there, is important, and which appears implicitly in the proofs. Notably: 1. An implication \Rightarrow defined by \mbox{$\mathit{tv}$}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\Rightarrow$}}\hskip 0.2pt}}}\mbox{$\mathit{tv}$}^{\prime}={\boldsymbol{\neg}}\mbox{$\mathit{tv}$}^{\prime}\mathrel{\rightharpoonup}{\boldsymbol{\neg}}\mbox{$\mathit{tv}$}=(\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\mbox{$\mathit{tv}$})\mathrel{\to}\mbox{$\mathit{tv}$}^{\prime} has a truth-table spelled out in Figure 1 (bottom left). This can be read as “if \mathit{tv} is valid then \mbox{$\mathit{tv}$}^{\prime} is valid”. \Rightarrow is clearly implicit in results like Proposition 4.4.3 – see all the parts whose statement uses logical implication \Longrightarrow — and in Proposition 4.8.8 . 2. Another implication is implicit in the use of \leq in results like Lemma 3.5.6 and Corollary 4.3.2 . That symbol refers to the lattice order on {\mathbf{3}} , but this could easily be internalised in our logic — e.g. we can set \mathit{tv} \leq \mathit{tv^{\prime}} to be (\mbox{$\mathit{tv}$}\mathrel{\rightharpoonup}\mbox{$\mathit{tv}$}^{\prime})\mathrel{\boldsymbol{\wedge}}(\mbox{$\mathit{tv}$}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\Rightarrow$}}\hskip 0.2pt}}}\mbox{$\mathit{tv}$}^{\prime}) , to obtain the connective \leq also illustrated in Figure 1 (bottom right). So in fact, we use all four of \Rightarrow and \leq , and \mathrel{\to} and \mathrel{\rightharpoonup} . The reason that \mathrel{\to} and \mathrel{\rightharpoonup} make it into our logic as (sugared) syntax, and \Rightarrow and \leq do not, is that \mathrel{\to} and \mathrel{\rightharpoonup} naturally arise in our axioms (see most of the axioms in Figure 11 ) whereas we do not need \Rightarrow or \leq in the same way for the axiomatisations in this paper. Different axiomatisations of different algorithms might make different demands on our logic, and it would be straightforward to include (sugar for) connectives accordingly. Remark 2.3.5 . A word of warning: \mathrel{\to} curries with itself as the reader might expect; \mathrel{\rightharpoonup} displays currying behaviour too, but via interactions with \mathrel{\to} . In more detail, the following yield equal truth-tables: \begin{array}[]{c@{\ \ }c@{\ \ }c@{\ \ }c@{\ \ }c}p\mathrel{\to}(q\mathrel{\rightharpoonup}r)&\text{equals}&(p\mathrel{\boldsymbol{\wedge}}q)\mathrel{\rightharpoonup}r\\ p\mathrel{\rightharpoonup}(q\mathrel{\rightharpoonup}r)&\text{equals}&p\mathrel{\rightharpoonup}(q\mathrel{\to}r)&\text{equals}&(p\mathrel{\boldsymbol{\wedge}}\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0ptq)\mathrel{\rightharpoonup}r\\ p\mathrel{\to}(q\mathrel{\to}r)&\text{equals}&(p\mathrel{\boldsymbol{\wedge}}q)\mathrel{\to}r\end{array} All three lines represent distinct truth-tables. Note in particular that p\mathrel{\rightharpoonup}(q\mathrel{\rightharpoonup}r) is not equal to (p\mathrel{\boldsymbol{\wedge}}q)\mathrel{\rightharpoonup}r . 2.3.2 Equivalence \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} Our three-valued domain of truth-values {\mathbf{3}} has rich notions of equivalence, to match its rich notions of implication. We mention three of them: Definition 2.3.6 (Notions of equivalence in {\mathbf{3}} ) . Define \phi\mathbin{\hbox to0.0pt{$\leftarrow$\hss}\hskip-0.86108pt\rightarrow}\phi^{\prime} and \phi\mathbin{\hbox to0.0pt{$\leftharpoonup$\hss}\hskip-0.86108pt\rightharpoonup}\phi^{\prime} and \phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime} by: \begin{array}[]{r@{\ }l}\phi\mathbin{\hbox to0.0pt{$\leftarrow$\hss}\hskip-0.86108pt\rightarrow}\phi^{\prime}=&(\phi\mathrel{\to}\phi^{\prime})\mathrel{\boldsymbol{\wedge}}(\phi^{\prime}\mathrel{\to}\phi)\\ \phi\mathbin{\hbox to0.0pt{$\leftharpoonup$\hss}\hskip-0.86108pt\rightharpoonup}\phi^{\prime}=&(\phi\mathrel{\rightharpoonup}\phi^{\prime})\mathrel{\boldsymbol{\wedge}}(\phi^{\prime}\mathrel{\rightharpoonup}\phi)\\ \phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime}=&(\mathsf{T}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}\mathsf{T}\hskip 0.0pt\phi^{\prime})\mathbin{\boldsymbol{\vee}}(\mathsf{B}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}\mathsf{B}\hskip 0.0pt\phi^{\prime})\mathbin{\boldsymbol{\vee}}(\mathsf{F}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}\mathsf{F}\hskip 0.0pt\phi^{\prime})\end{array} Truth-tables for \mathbin{\hbox to0.0pt{$\leftarrow$\hss}\hskip-0.86108pt\rightarrow} , \mathbin{\hbox to0.0pt{$\leftharpoonup$\hss}\hskip-0.86108pt\rightharpoonup} , and \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} are given in Figure 2 , and we unpack this further in Remark 2.3.7 . Remark 2.3.7 . Figure 2 gives us three notions of equivalence: \mbox{$\mathit{tv}$}\mathbin{\hbox to0.0pt{$\leftarrow$\hss}\hskip-0.86108pt\rightarrow}\mbox{$\mathit{tv}$}^{\prime} , \mbox{$\mathit{tv}$}\mathbin{\hbox to0.0pt{$\leftharpoonup$\hss}\hskip-0.86108pt\rightharpoonup}\mbox{$\mathit{tv}$}^{\prime} , and \mbox{$\mathit{tv}$}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mbox{$\mathit{tv}$}^{\prime} . Of the three, \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} will be most useful to us later. We will consider it in our predicate language in Subsection 4.1 , and (for instance) it will help us to express notions of extensional equivalence in Figure 9 . We will call \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} literal equivalence , and \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} appears in the sugared syntax of Figure 6 . As per the discussion in Remark 2.3.4 , there would be no barrier to including \mathbin{\hbox to0.0pt{$\leftarrow$\hss}\hskip-0.86108pt\rightarrow} or \mathbin{\hbox to0.0pt{$\leftharpoonup$\hss}\hskip-0.86108pt\rightharpoonup} but we do not need to for now. 3 Three-valued Fixpoint Quorum Logic ( {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} ) 3.1 A preliminary: semitopologies Remark 3.1.1 . A semitopology is like a topology, but generalised to not require that intersections of open sets necessarily be opens. The intuition of an open set is an actionable coalition ; a set of participants with the voting power (or other resources) to make updates to their local state. The reader might be familiar with the notion of quorum from literature like [ Lam98 , MR98 , NW94 ] , or the notion of winning coalition in social choice theory (the theory of voting) [ Rik62 , Item 5, page 40] . Semitopologies are similar to this, except that open sets are always closed under arbitrary (possibly empty) unions, whereas • quorums may be closed under arbitrary nonempty unions (in which case the correspondence is precise, except that \varnothing is an open set but is not a quorum), or • quorums may not be closed under arbitrary unions (but usually it is harmless to suppose that they are). 16 16 16 The reader who comes from a distributed systems background might be used to threshold quorum systems, where quorums have the form ‘more than k participants’ for some k . These quorum systems are closed under unions, but they are also up-closed ; if Q is a quorum and Q\subseteq Q^{\prime} then Q^{\prime} is a quorum. This is an important special case, but there are natural systems of actionable coalitions — quorums, in the reader’s language — that are not up-closed. For example, consider a quorum of Tezos nodes T , and a quorum of Ethereum nodes E , and a single bridging node b whose job is to facilitate token transfers between the two. Then T is a quorum, and T\cup\{b\}\cup E is a quorum of the combined system, but T\cup\{b\} and \{b\}\cup E are not quorums because the bridging node requires one quorum from each system to agree to a token transfer before this transfer is considered actionable. To take a more domestic example, consider the situation of sampling a packet of Pringles crisps in a new flavour (UK English; in US English they are called chips). You may be disciplined and have no crisps, or you may eat the top crisp from the packet and not like the flavour — but if you do have that one crisp, and you do like the flavour, then the only possible remaining action is to eat the entire packet. Having (say) three crisps and stopping there is not an option. There is even a word for this: more-ish. We can analyse this situation mathematically as the more-ish semitopology , which is non-up-closed, containing the empty set \varnothing , a singleton set \{x\} (for some x which we call the first element ), and then the whole set of elements. Our presentation of semitopologies will be quite brief — we just define the parts we need to give semantics to the modalities in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} — and the reader who wants to know more is referred to previous work [ Gab24 ] . Definition 3.1.2 . A semitopology is a pair (\mathord{\text{Point}},\mathord{\text{Open}}) where: 1. \mathord{\text{Point}} is a set of points , which following terminology from distributed systems one might also call participants , processes , parties , or nodes . 2. \mathord{\text{Open}}\subseteq\mbox{$\mathit{pow}$}(\mathord{\text{Point}}) is a set of open sets such that: (a) If \mathcal{O}\subseteq\mathord{\text{Open}} then \bigcup\mathcal{O}\in\mathord{\text{Open}} . In words: \mathord{\text{Open}} is closed under arbitrary (possibly empty) unions. (b) \mathord{\text{Point}}\in\mathord{\text{Open}} . We may write \mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} for the set of nonempty open sets, so \mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}=\{O\in\mathord{\text{Open}}\mid O\neq\varnothing\}. Notation 3.1.3 . Call the semitopology (\varnothing,\{\varnothing\}) the empty semitopology . Call a semitopology that is not the empty semitopology, a nonempty semitopology . It is easy to check that a semitopology is nonempty if and only if its set of points is nonempty. Definition 3.1.4 (All-but- f -many semitopology) . 1. Suppose X is a finite set and N\in\mathbb{N}_{\scriptscriptstyle\geq 0} . Define \mbox{$\mathit{pow}$}_{\geq N}(X) to be the set of subsets of X that contain at least N elements. In symbols: \mbox{$\mathit{pow}$}_{\geq N}(X)=\{O\subseteq X\mid\hbox to0.4pt{\vbox to0.4pt{\pgfpicture\makeatletter\hbox{\hskip 0.2pt\lower-0.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@roundcap\lxSVG@begingroup@{stroke-linecap=round} \lx@inpgf@ignorespaces{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0}{fill:none} \lx@inpgf@ignorespaces \lxSVG@closescope {{\lx@inpgf@ignorespaces}{}}{{}}{}{\lx@inpgf@ignorespaces}{{}}{}\lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}O\geq N\}. 2. Suppose N,f\in\mathbb{N}_{\scriptscriptstyle\geq 0} and N\geq f . Define a semitopology \mathsf{AllBut}_{f}(N) by \mathsf{AllBut}_{f}(N)=\bigl(\{0\dots N{\shortminus}1\},\{\varnothing\}\cup\mbox{$\mathit{pow}$}_{\geq N{\shortminus}f}(\{0\dots N{\shortminus}1\}\bigr)\bigr). Thus: points are numbers 0\leq nn}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime},p,O,\varsigma}\\[4.30554pt] \scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\phi=&{\boldsymbol{\neg}}\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt{\boldsymbol{\neg}}\phi&{[\hskip-1.99997pt[\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=&\bigwedge_{n^{\prime}>n}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime},p,O,\varsigma}\\[4.30554pt] \scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt\phi=&\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\,\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt\,\phi&{[\hskip-1.99997pt[\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=&\bigwedge_{n^{\prime}>n}\bigvee_{n^{\prime\prime}>n^{\prime}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime\prime},p,O,\varsigma}\\[4.30554pt] \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi=&\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\,\phi\\ &\hbox to0.0pt{${[\hskip-1.99997pt[\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=\bigvee_{n^{\prime}>n}\bigwedge_{O^{\prime}{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}},\ p^{\prime}\in O^{\prime}}\bigwedge_{n^{\prime\prime}>n^{\prime}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime\prime},p^{\prime},O^{\prime},\varsigma}$\hss}\\[4.30554pt] {\reflectbox{$\mathsf{R}$}}\phi=&\mu\mathsf{X}.\scalebox{0.8}[1.0]{$\mathsf{yesterday}$}\hskip 0.0pt(\phi\mathbin{\boldsymbol{\vee}}\mathsf{X})&{[\hskip-1.99997pt[{\reflectbox{$\mathsf{R}$}}\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=&\bigvee_{0\leq n^{\prime}0.\end{cases} 8. Intuitively, we see that {\boldsymbol{\neg}} is anti-monotone. We note further that it is very special in this respect: it is the only naturally non-monotone operator in the primitive syntax from Figure 3 . Any non-monotonicity in the derived syntax from Figure 6 , comes from {\boldsymbol{\neg}} . This is deliberate and it is the design feature which powers Lemma 3.5.6 . {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} is an expressive language and we will explore it with plenty of exposition. Meaning will always be precise. 3.4 Derived expressions: simple programming in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} Definition 3.4.1 (Derived expressions in Figure 6 ) . The syntax of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} in Figure 3 and Definition 3.2.5 is very expressive. In the left-hand column of Figure 6 we define some derived expressions. We can think of this as syntactic sugar, or as some simple programming in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} . For clarity and convenience we unpack the relevant denotation in the right-hand column. Remark 3.4.2 (On the complexity of the derived expressions) . Figure 6 has a lot in it. However, we do not need to understand it all at once. We can think of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} as the core of an abstract descriptive logic programming language; then Figure 6 collects the useful subroutines (in roughly increasing order of complexity). The reader can read and examine these directly, just like they might dip into the standard libraries of a programming language, or just wait to see how they are used. In principle we could fully unpack our sugar down to the primitive syntax from Figure 3 , but in practice we work directly with Figure 6 because this is more convenient. For reference, further discussions of syntax are in Remarks 3.3.4 and 3.5.1 . Notation 3.4.3 . We take a moment to recall some standard conventions and terminology: 1. Implications \mathrel{\to} and \mathrel{\rightharpoonup} associate to the right, so that \phi\mathrel{\rightharpoonup}\psi\mathrel{\rightharpoonup}\chi means \phi\mathrel{\rightharpoonup}(\psi\mathrel{\rightharpoonup}\chi) . 2. Unary connectives (like {\boldsymbol{\neg}} , \mathsf{T}\hskip 0.0pt , and \Diamond\hskip 0.0pt ) bind more strongly than binary connectives (like \mathrel{\boldsymbol{\wedge}} and \mathrel{\to} ), so that \Diamond\hskip 0.0pt{\boldsymbol{\neg}}\phi\mathrel{\boldsymbol{\wedge}}\psi means (\Diamond\hskip 0.0pt{\boldsymbol{\neg}}\phi)\mathrel{\boldsymbol{\wedge}}\psi . 3. The scope of a quantification like {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a extends as far to the right as possible. Thus {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.\phi\mathrel{\boldsymbol{\wedge}}\psi means {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.(\phi\mathrel{\boldsymbol{\wedge}}\psi) . Note however that \Diamond\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi\mathrel{\boldsymbol{\wedge}}\psi still means (\Diamond\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi))\mathrel{\boldsymbol{\wedge}}\psi , because the \exists quantifier is trapped in the scope of the \Diamond\hskip 0.0pt . 4. All the above said, we will (as is usual) use spacing and some common sense to convey scope. For example {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi\mathbin{\mathrel{\to}}\psi\quad\text{means}\quad{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.(\phi\mathrel{\to}\psi), and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi\ \mathrel{\to}\psi\quad\text{means}\quad({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi)\mathrel{\to}\psi. In practice, meaning will always be clear. Remark 3.4.4 . The reader may not be surprised that quantifier ordering can matter: {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}b.a{\boldsymbol{\text{=}}}b is completely different from {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}b.{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.a{\boldsymbol{\text{=}}}b . Modalities are also (weak) quantifiers, so the reader may not be surprised that \Box\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt (a universal modality followed by an existential one) is different from {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\Box\hskip 0.0pt (existential followed by universal); the interested reader may enjoy unpacking these to check. Less immediately obvious is that modality ordering can matter even between modalities with the same universal/existential polarity, like \Box\hskip 0.0pt and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt . Consider this, for p\in\mathord{\text{Point}} and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} : \begin{array}[]{r@{\ }l}{[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\Box\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=&\bigwedge_{O^{\prime}{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}\bigwedge_{p^{\prime}\in O^{\prime}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p^{\prime},O^{\prime},\varsigma}\\ {[\hskip-1.99997pt[\Box\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=&\bigwedge_{p^{\prime}\in O}\bigwedge_{O^{\prime}{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p^{\prime},O^{\prime},\varsigma}\end{array} In the first case, the quantification is over every O^{\prime}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and every p^{\prime}\in O^{\prime} . In the second case, the quantification is over every O^{\prime}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and every p^{\prime}\in O ; that is a completely different thing. 3.5 The operator \mu\mathsf{X} Remark 3.5.1 . Our operator \mu\mathsf{X}.\phi is a powerful construct. As per Remark 3.3.4 ( 1 ), via \phi such that \mathsf{X} is positive in \phi , \mu inserts the power of recursion / iteration over \phi in the logic, in the following sense: a mention of \mathsf{X} inside \phi in \mu\mathsf{X}.\phi can be thought of as a recursive call back to \phi , and we can think of \mu\mathsf{X}.\phi as encoding an iterative loop that repeatedly executes a computation encoded in \phi , and loops if it encounters \mathsf{X} in \phi . (There is also a useful non-positive use of \mu in our axioms; see Subsection 6.6.3 . But in this Remark we focus on the positive, fixpoint uses.) With this intuition, we can look at some of the derived syntax in Figure 6 that uses \mu : 1. {\reflectbox{$\mathsf{R}$}}\phi=\mu\mathsf{X}.\scalebox{0.8}[1.0]{$\mathsf{yesterday}$}\hskip 0.0pt(\phi\mathbin{\boldsymbol{\vee}}\mathsf{X}) can be imagined as the following loop: (a) Set an accumulator to {\mathbf{f}} . 25 25 25 We mean ‘accumulator’ in the sense of an ‘accumulator variable’ inside a machine that (we imagine) is running this pseudocode. This is not a technical term from logic. (b) If we are at day 0 then terminate and return the value of the accumulator; otherwise go to yesterday. (c) Compute the truth-value of \phi , and \mathbin{\boldsymbol{\vee}} this truth-value with the accumulator. (d) Loop back to step 1b . 2. The difference between {\reflectbox{$\mathsf{R}$}}\phi and {\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}\phi is that {\reflectbox{$\mathsf{R}$}}\phi returns the greatest truth-value that \phi has taken in the past, whereas {\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}\phi returns the greatest truth-value that \phi has taken today or in the past. The notation \mathsf{R} (‘ \mathsf{R} ’, underlined) is a pun 26 26 26 A bad one perhaps, and the reader may or may not find this pun-acceptable. on < and \leq (‘ < ’, underlined). 3. \scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt\phi=\mu\mathsf{X}.\scalebox{0.8}[1.0]{$\mathsf{tomorrow}$}\hskip 0.0pt(\phi\mathbin{\boldsymbol{\vee}}\mathsf{X}) can be viewed as executing the following loop: (a) Set an accumulator to {\mathbf{f}} . (b) Go to tomorrow. (c) Compute the truth-value of \phi and \mathbin{\boldsymbol{\vee}} with the accumulator. (d) Loop back to step 3b . (e) After infinite time (see Remark 3.5.2 about why that makes sense), return the limit value of the accumulator. 4. \scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\phi={\boldsymbol{\neg}}\mu\mathsf{X}.\scalebox{0.8}[1.0]{$\mathsf{tomorrow}$}\hskip 0.0pt({\boldsymbol{\neg}}\phi\mathbin{\boldsymbol{\vee}}\mathsf{X}) can be viewed as the following loop: (a) Set an accumulator to {\mathbf{t}} . (b) Go to tomorrow. (c) Compute the truth-value of \phi , and \mathrel{\boldsymbol{\wedge}} this truth-value with the accumulator. (d) Loop back to step 4b . (e) After infinite time return the limit value of the accumulator. 5. \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi=\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\phi can be understood as follows: it iterates forward in time looking for a time when everywhere (= at every open set O , at every point p\in O ) and forever, \phi holds. 6. The clause \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]=\mu\mathsf{X}.(\scalebox{0.8}[1.0]{$\mathsf{yesterday}$}\hskip 0.0pt(\mathsf{T}\hskip 0.0pt\phi[a{{:}\text{=}}v]\mathbin{\boldsymbol{\vee}}(({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi)\mathrel{\boldsymbol{\wedge}}\mathsf{X}))) looks more imposing, but the idea is simply to • iterate back in time looking for when {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi has truth-value {\mathbf{t}} , i.e. when some value makes \phi(a) be true, and • if we find such a time then we check if at that time \phi[a{{:}\text{=}}v] has truth-value {\mathbf{t}} and • only if both steps above succeed, do we return {\mathbf{t}} . Thus, we return {\mathbf{t}} when v is one of the values that most recently make \phi(a) be true. In detail: (a) If we are at day 0, terminate with value {\mathbf{f}} ; otherwise go to yesterday. (b) If \phi[a{{:}\text{=}}v] has truth-value {\mathbf{t}} then terminate with value {\mathbf{t}} ; otherwise continue to the next step. (c) If {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi has truth-value {\mathbf{t}} then terminate with value {\mathbf{f}} ; otherwise go to step 6a . Remark 3.5.2 (Comment on the omniscient observer) . The programs in Remark 3.5.1 above are executed by an omniscient observer who stands outside of the model’s notion of time and space. This is why (for example) \mathsf{forever} can run an infinite loop --- the omniscient observer can observe it because the observer is looking at the model from outside. 27 27 27 Let’s make this concrete. Consider the natural numbers \mathbb{N}_{\scriptscriptstyle\geq 0} . We can easily observe this and note that n{+}1\gneq n for every n\in\mathbb{N}_{\scriptscriptstyle\geq 0} ; whereas a local observer trapped on the number line and constrained to perceive this line as the passage of time can make a similar observation, but from the point of view of that observer, the calculation involved is never-ending. Note that even if we could speak with this local observer, it would be no good to appeal to it to ‘just realise that it is on the number line’, because in order to check this to a mathematical certainty the observer would have to …traverse all of its local notion of time to check , amongst other things, that n{+}1\gneq n . After all, the observer might be on \mathbb{Z}/p for some astronomically enormous p , i.e. their time might be on a large loop. The reader interested in a branch of mathematics explicitly devoted to studying these questions, and who is willing to possibly end up seriously doubting the nature of their own reality, can start by reading up on nonstandard models of arithmetic. Remark 3.5.3 . The rest of this Subsection will show how our denotation for \mu from Figure 5 does indeed yield a fixpoint operator. The culminating result is Proposition 3.5.7 (which just says that \mu is indeed a fixpoint operator for positive predicates) but the key technical lemma is Lemma 3.5.6 (monotonicity of positive predicates). The reader is welcome to read the rest of this Subsection, but this is all just a standard use of the Knaster-Tarski fixpoint theorem [ DP02 , Theorem 2.35, page 50] . In fact, the real design effort has already happened: we designed the derived syntax of Figure 6 so that it would respect the positivity condition of Definition 3.5.5 , without having to fully expand it out. For instance, we defined \mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\phi to be {\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\boldsymbol{\neg}}\phi (which clearly puts \phi in a positive position) instead of \mathsf{T}\hskip 0.0pt\phi\mathbin{\boldsymbol{\vee}}\mathsf{B}\hskip 0.0pt\phi (which is logically equivalent, but which does not). Remark 3.5.4 . Our denotation {[\hskip-1.99997pt[\text{-}]\hskip-1.99997pt]} from Definition 3.3.2 and Figure 5 maps predicates to functions in {\mathbf{3}}^{\mathsf{Ctx}} . One particular consequence of the order on {\mathbf{3}}^{\mathsf{Ctx}} from Definition 3.3.1 is that (denotations of) predicates are naturally ordered, and we can write {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}\leq{[\hskip-1.99997pt[\psi]\hskip-1.99997pt]}\quad\text{which just means}\quad\forall\mbox{$\mathit{ctx}$}\in\mathsf{Ctx}.{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\leq{[\hskip-1.99997pt[\psi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. We use this fact for example in Lemma 3.5.6 . We can also use this fact, and the complete lattice structure on {\mathbf{3}}^{\mathsf{Ctx}} from Definition 3.3.1 , to simplify the presentation of the clause for \mu\mathsf{X}.\phi in Figure 5 as follows: {[\hskip-1.99997pt[\mu\mathsf{X}.\phi]\hskip-1.99997pt]}=\bigwedge\{\varkappa\in{\mathbf{3}}^{\mathsf{Ctx}}\mid{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]}\leq\varkappa\}. Definition 3.5.5 . Recall the predicate syntax from Figure 3 and suppose \phi is a predicate. Then: 1. Call a free occurrence of \mathsf{X} in \phi • positive when the occurrence appears under an even number (which may be 0 ) of negations {\boldsymbol{\neg}} , and • negative when the occurrence appears under an odd number of negations. For example: all free occurrences of \mathsf{X} are positive in \mathsf{X} and {\boldsymbol{\neg}}{\boldsymbol{\neg}}\mathsf{X} and \mu\mathsf{X}.{\boldsymbol{\neg}}\mathsf{X} and \scalebox{0.8}[1.0]{$\mathsf{yesterday}$}\hskip 0.0pt\mathsf{X} ; and the free occurrence of \mathsf{X} in {\boldsymbol{\neg}}\mathsf{X} is negative. 2. Call a predicate \phi positive when every free occurrence of \mathsf{X} in \phi is positive. Lemma 3.5.6 . Suppose \mu\mathsf{X}.\phi is a closed predicate. Then: 1. If \phi is positive then \varkappa\mapsto{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]} is monotone as a function from {\mathbf{3}}^{\mathsf{Ctx}} with the partial order \leq from Figure 4 , to itself. In symbols, for every \varkappa,\varkappa^{\prime}\in{\mathbf{3}}^{\mathsf{Ctx}} : \varkappa\leq\varkappa^{\prime}\quad\text{implies}\quad{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]}\leq{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa^{\prime}]]\hskip-1.99997pt]}. 2. If {\boldsymbol{\neg}}\phi is positive then \varkappa\mapsto{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]} is antimonotone as a function from {\mathbf{3}}^{\mathsf{Ctx}} with the partial order \leq from Figure 4 , to itself. In symbols, for every \varkappa,\varkappa^{\prime}\in{\mathbf{3}}^{\mathsf{Ctx}} : \varkappa\leq\varkappa^{\prime}\quad\text{implies}\quad{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa^{\prime}]]\hskip-1.99997pt]}\leq{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]}. (The meaning of {[\hskip-1.99997pt[\text{-}]\hskip-1.99997pt]}\leq{[\hskip-1.99997pt[\text{-}]\hskip-1.99997pt]} is unpacked in Remark 3.5.4 .) Proof. Both parts follow by a routine simultaneous induction on the syntax of \phi , using the rules in Figure 5 . ∎ Proposition 3.5.7 . Suppose \mu\mathsf{X}.\phi is a closed predicate and \phi is positive. Then: 1. {[\hskip-1.99997pt[\mu\mathsf{X}.\phi]\hskip-1.99997pt]} is a least fixpoint of the function \varphi:{\mathbf{3}}^{\mathsf{Ctx}}\to{\mathbf{3}}^{\mathsf{Ctx}} given by \varphi(\varkappa)=\lambda\mbox{$\mathit{ctx}$}.{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. 2. If \mathit{ctx} is a context then {[\hskip-1.99997pt[\mu\mathsf{X}.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}{[\hskip-1.99997pt[\mu\mathsf{X}.\phi]\hskip-1.99997pt]}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. Proof. By the Knaster-Tarski fixpoint theorem for {\mathbf{3}}^{\mathsf{Ctx}} as a complete lattice as per Definition 3.3.1 . A concise but exceptionally clear presentation is in [ DP02 , Theorem 2.35, page 50] (a Wikipedia article [ Wik24b ] is also accessible and clear). ∎ 3.6 Validity We defined in Definition 2.2.1 what it means for a truth-value to be valid ; now we extend this notion to predicates-in-context: Definition 3.6.1 (Validity) . Suppose that: • \Sigma is a signature (Definition 3.2.1 ( 3 )). We take \Sigma to be fixed for the rest of this Definition, which means that we do not explicitly include it (e.g. as a subscript) in the notation. • \mathcal{M} is a model (Definition 3.2.3 ). Again, we fix \mathcal{M} as a parameter for the rest of this definition. Suppose further that: • \mbox{$\mathit{ctx}$}=(n,p,O,\varsigma) is a context in \mathsf{Ctx}(\Sigma,\mathcal{M}) , so that by Definition 3.2.4 ( 3 ) n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and \varsigma is a valuation to \mathcal{M} . • \phi is a closed predicate in \Sigma and \mathcal{M} (cf. Remark 3.2.8 ( 2 )). Then we define: 1. \mbox{$\mathit{ctx}$}\vDash\phi means \vDash{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} , which by Definition 2.2.1 ( 3 ) means {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{valid}} , which by Definition 2.2.1 ( 1 ) means {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}}\lor{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} . Because this is a core definition, we sum this up for the reader’s clear reference: \mbox{$\mathit{ctx}$}\vDash\phi\quad\Longleftrightarrow\quad{\vDash{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}}\quad\Longleftrightarrow\quad{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{valid}}\quad\Longleftrightarrow\quad{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}}\lor{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}. We read this as \phi is valid in the context \mathit{ctx} . 2. n,p\vDash_{\varsigma}\phi means \forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.(n,p,O\vDash_{\varsigma}\phi) . 3. n\vDash_{\varsigma}\phi means \forall p\in\mathord{\text{Point}}.\forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.(n,p,O\vDash_{\varsigma}\phi) . 4. \vDash_{\varsigma}\phi means \forall n\in\mathbb{N}_{\scriptscriptstyle\geq 0}.\forall p\in\mathord{\text{Point}}.\forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.(n,p,O\vDash_{\varsigma}\phi) . 5. \vDash\phi means \forall\mbox{$\mathit{ctx}$}\in\mathsf{Ctx}(\Sigma,\mathcal{M}).(\mbox{$\mathit{ctx}$}\vDash\phi) . \begin{array}[]{l@{\quad}l@{\quad}l}n,p,O\vDash_{\varsigma}\phi&\text{means}&{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}\in\{{\mathbf{t}},{\mathbf{b}}\}\\[4.30554pt] \vDash_{\varsigma}\phi&\text{means}&\forall n\in\mathbb{N}_{\scriptscriptstyle\geq 0}.\forall p\in\mathord{\text{Point}}.\forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.(n,p,O\vDash_{\varsigma}\phi)\\[4.30554pt] \vDash_{\varsigma}\Theta&\text{means}&\forall\theta\in\Theta.({\vDash_{\varsigma}\theta})\\[4.30554pt] \Theta\vDash\phi&\text{means}&\forall\varsigma\in\mathord{\text{Valuation}}(\Sigma,\mathcal{M}).({\vDash_{\varsigma}\Theta})\Longrightarrow({\vDash_{\varsigma}\phi})\end{array} Figure 7 : Selected clauses on validity of \phi / validity of \phi in a theory \Theta (Definitions 3.6.1 and 3.6.2 ) Later on, when we start to build declarative axiomatisations of consensus algorithms, we will express these as theories . We include the relevant definition here, since it follows on naturally from Definition 3.6.1 : Definition 3.6.2 (Validity in a theory) . Suppose that: • \Sigma is a signature and \mathcal{M}=(\mathord{\text{Point}},\mathord{\text{Open}},\mathord{\text{Value}}) is a model. • \phi is a closed predicate in \Sigma and \mathcal{M} . • \Theta is a (possibly infinite) set of closed predicates. 28 28 28 It would be unusual for \Theta , which is intended to be a collection of axioms, to mention specific elements v\in\mathord{\text{Value}} or \varkappa\in{\mathbf{3}}^{\mathsf{Ctx}(\Sigma,\mathcal{M})} from a model (cf. Remark 3.2.8 ), but the maths does not seem to mind, so we do not exclude this possibility. Then: 1. A theory is a pair (\Sigma,\Theta) of • a signature \Sigma , and • a set \Theta of axioms , which are closed predicates over \Sigma and \mathcal{M} . 2. Given a valuation \varsigma\in\mathord{\text{Valuation}}(\Sigma,\mathcal{M}) (Definition 3.2.4 ( 2 )), we define \vDash_{\varsigma}\Theta\quad\text{and}\quad\Theta\vDash\phi as per Figure 7 . When \Theta\vDash\phi holds, we say that \phi is valid in the theory \Theta (in \Sigma and \mathcal{M} ). Examples of theories are in Figures 11 and 12 . Remark 3.6.3 . Note the scope of the quantifiers in Definition 3.6.2 . The assertion \Theta\vDash\phi means \textstyle\forall\varsigma.((\bigwedge_{\theta\in\Theta}\vDash_{\varsigma}\theta)\Longrightarrow(\vDash_{\varsigma}\phi)). In words: if every \theta\in\Theta holds everywhere in the model under the valuation \varsigma , then \phi holds everywhere in the model under the valuation \varsigma . Spelling this out further we obtain: \forall\varsigma.\bigl(\forall\theta\in\Theta.\forall n,p,O.\,n,p,O\vDash_{\varsigma}\theta)\Longrightarrow(\forall n,p,O.n,p,O\vDash_{\varsigma}\phi\bigr), where above n\in\mathbb{N}_{\scriptscriptstyle\geq 0} , p\in\mathord{\text{Point}} , and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} . This pattern of quantifiers is what makes \Theta a theory, rather than just a set of assumptions: as a theory, \Theta is a restriction on the valuation \varsigma . Remark 3.6.4 . One final pedant point: in Definition 3.6.2 ( 1 ) we defined a theory to be a pair (\Sigma,\Theta) of a signature and a set of closed predicates over a signature \Sigma and over a model \mathcal{M} . This technical convenience lets us write axioms that directly reference specific values in the model (instead of introducing explicit constant symbols to our signature, and interpreting them as …values in the model). We will exploit this to assume a distinguished ‘undefined’ value \mathsf{undef} in axiom {\mathsf{(PaxPropose?)}} in Figure 11 , as per Definition 6.3.1 ( 2 ). 3.7 Comments on notation: eliding parameters, and functional notation Notation 3.7.1 (Eliding parameters) . It will be quite common that we make validity judgements where it is clear that part of the context is irrelevant. For example the reader can check the denotational semantics in Figure 5 and the definition of validity in Definition 3.6.1 ( 1 ), to see that: 1. \mbox{$\mathit{ctx}$}\vDash{\mathbf{b}} is valid; we do not need to know the values in \mathit{ctx} . 2. The validity of n,p,O\vDash_{\varsigma}\mathsf{P}(v) depends on \varsigma , n , and p — but not on O . 3. The validity of n,p,O\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi depends on n and \varsigma (and of course on \phi ), but it does not depend on the values of p and O . In such cases, we may omit parameters in the context if they do not matter — we may even omit the entire context if appropriate. Thus, we may write \vDash{\mathbf{t}} , \vDash a{\boldsymbol{\text{=}}}a , and n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi . This notation remains within the scope of Definition 3.6.1 — which universally quantifies over any omitted parameter — so omitting parameters in this way is not an abuse of notation. However, if the reader sees us omit a parameter, there may be two reasons for it: 1. It may indicate a universal quantification over all possible values. For example, this is clearly what we intend when we write \vDash_{\varsigma}\phi in Figure 7 (second row). 2. It may indicate that we have elided irrelevant parameters. For example, this is clearly what we intend in the example of \vDash{\mathbf{t}} above. In practice, it will always be clear which is intended and meaning will always be clear. 29 29 29 Actually, meaning will be clearer . In early drafts of this paper, we dutifully included all parameters, whether relevant or not. But this turned out to be just too confusing: the notational overhead of carrying around irrelevant information was burdensome; but furthermore, it was actually easier to understand the sequents once we dropped irrelevant parameters, because this helped us to keep track of which parameters did matter. \begin{array}[]{l@{\quad}l@{\quad}l@{\quad}l@{\quad}l}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\mathsf{write}(a)&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\mathsf{send}(a)&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\mathsf{decide}(a)&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{propose}(a)&(\Diamond\hskip 0.0pt\mathsf{accept}(a))[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]\\[4.30554pt] &\text{may be written as}\\[4.30554pt] {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}\mathsf{write}&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send}&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\mathsf{decide}&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{propose}&(\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v\end{array} Figure 8 : Abbreviations inspired by higher-order logic (Notation 3.7.2 ) Notation 3.7.2 (Functional notation) . We will frequently apply quantifiers (like \exists , \exists_{1} , or \forall ) to unary predicate symbols, possibly with modalities. For example: {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{decide}(a)\quad\text{is}\quad\text{${\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}$ quantifying $a$ in\ $({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{decide})$\ applied to $a$.} For clarity, we may use a functional notation inspired by higher-order logic (HOL) to elide the variable, as illustrated in Figure 8 . Meaning will always be clear. See also Remark 6.3.2 for examples of this notation applied in an axiomatisation. 4 Properties of predicates This Section collects elementary technical results which we will need later. Some of these results, and their proofs, are more technical than others, but they are not necessarily surprising if we look at what they mean in the model. Mostly the statements are simple and it is obvious by common sense that they should work (simple is good, because it means greater productivity and fewer errors). A typical example is Lemma 4.5.2 ( 1 ): once we look at what it actually says about the model, this is that “if \phi is true today, then in the future it will have been true in the past”. For saying this, a mathematician earns a living? — we might think. What is less evident is which elementary properties will be important later, nor is it obvious what definitions and structures make these properties all fit together nicely. So the reader should note that the simplicity of this Section is a design feature, which was only attained in retrospect and after some work. Broadly speaking, we start this Section with the most elementary results, and build complexity from there. The reader is welcome to read this Section now, or to skip it and refer back to its results as they are used in later proofs. 4.1 Equivalence of predicates, and some (de Morgan) equivalences For the rest of this Section we make a fixed but arbitrary choice of signature \Sigma (Definition 3.2.1 ( 3 )) and model \mathcal{M} (Definition 3.2.3 ). All predicates considered will be over \Sigma and \mathcal{M} , unless otherwise stated. We generalise equivalence \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} (Definition 2.3.6 ) from truth-values, to predicates viewed as functions from contexts to truth-values: Definition 4.1.1 (Equivalence of predicates) . Suppose \phi and \phi^{\prime} are closed predicates. Call \phi and \phi^{\prime} extensionally equivalent when {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}={[\hskip-1.99997pt[\phi^{\prime}]\hskip-1.99997pt]}. Unpacking Definition 3.3.2 , this means \forall\mbox{$\mathit{ctx}$}\in\mathsf{Ctx}(\Sigma,\mathcal{M}).({[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi^{\prime}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}). For brevity, we may write ‘extensionally equivalent’ just as ‘equivalent’ henceforth. Lemma 4.1.2 . Suppose \phi and \phi^{\prime} are closed predicates and \mathit{ctx} is a context. Then: 1. \mbox{$\mathit{ctx}$}\vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime} if and only if {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi^{\prime}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} . 2. \vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime} if and only if {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}={[\hskip-1.99997pt[\phi^{\prime}]\hskip-1.99997pt]} (i.e. \phi and \phi^{\prime} are equivalent as per Definition 4.1.1 ). Proof. We consider each part in turn: 1. By Definition 3.6.1 ( 1 ) \mbox{$\mathit{ctx}$}\vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime} means {[\hskip-1.99997pt[\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{valid}} , and by the clause for \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} in Figure 6 this is if and only if {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi^{\prime}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} . 2. By Definition 3.6.1 ( 5 ), \vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime} means precisely \forall\mbox{$\mathit{ctx}$}.\mbox{$\mathit{ctx}$}\vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime} . We use part 1 of this result. ∎ We will see many equivalences in what follows. We start by using Definition 4.1.1 and Lemma 4.1.2 to express some standard equivalences in logic, having to do with implication being expressible using negation and disjunction, and with de Morgan dualities between modalities and connectives: Lemma 4.1.3 . For each of the equivalences \mbox{$\mathit{LHS}$}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mbox{$\mathit{RHS}$} listed in Figure 9 , we have that \mathit{LHS} is extensionally equal to \mathit{RHS} in the sense of Definition 4.1.1 . Proof. By routine calculations using Figures 5 and 6 and facts of the lattice {\mathbf{3}}=({\mathbf{f}}<{\mathbf{b}}<{\mathbf{t}}) . ∎ \begin{array}[]{r@{\ }l@{\quad}r@{\ }l@{\quad}r@{\ }l@{\quad}r@{\ }l}\phi\mathrel{\boldsymbol{\wedge}}\phi^{\prime}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}({\boldsymbol{\neg}}\phi\mathbin{\boldsymbol{\vee}}{\boldsymbol{\neg}}\phi^{\prime})&\phi\mathbin{\boldsymbol{\vee}}\phi^{\prime}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}({\boldsymbol{\neg}}\phi\mathrel{\boldsymbol{\wedge}}{\boldsymbol{\neg}}\phi^{\prime})&{\boldsymbol{\neg}}\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&\phi\mathrel{\rightharpoonup}{\mathbf{f}}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi\mathrel{\to}{\mathbf{f}}\\ \phi\mathrel{\rightharpoonup}\phi^{\prime}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&\phi\mathrel{\to}\mathsf{T}\hskip 0.0pt\phi^{\prime}&\phi\mathrel{\to}\phi^{\prime}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\phi\mathbin{\boldsymbol{\vee}}\phi^{\prime}\\ \Box\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\Diamond\hskip 0.0pt{\boldsymbol{\neg}}\phi&\Diamond\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\Box\hskip 0.0pt{\boldsymbol{\neg}}\phi\\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt{\boldsymbol{\neg}}\phi&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt{\boldsymbol{\neg}}\phi\\ \scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt{\boldsymbol{\neg}}\phi&\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt{\boldsymbol{\neg}}\phi\\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.{\boldsymbol{\neg}}\phi&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.{\boldsymbol{\neg}}\phi&\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&\mathsf{T}\hskip 0.0pt\phi\mathbin{\boldsymbol{\vee}}\mathsf{T}\hskip 0.0pt{\boldsymbol{\neg}}\phi\\ \mathsf{B}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\phi&\mathsf{T}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\mathsf{F}\hskip-1.5pt\mathsf{B}\hskip 0.0pt\phi&\mathsf{F}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}&{\boldsymbol{\neg}}\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\phi\end{array} Figure 9 : Some easy equivalences 4.2 Two commutation lemmas We note some simple commutation lemmas. These results are all easy facts of our model, but it only takes a few lines to spell them out: Lemma 4.2.1 (Commuting connectives) . Suppose \phi and \phi^{\prime} are closed predicates and suppose \bullet\in\{\mathbin{\boldsymbol{\vee}},\mathrel{\boldsymbol{\wedge}}\}\ \ \text{and}\ \ \mathsf{M}\in\{\mathsf{T}\hskip 0.0pt,\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\}. Then \vDash\mathsf{M}(\phi\bullet\phi^{\prime})\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}(\mathsf{M}\phi\bullet\mathsf{M}\phi^{\prime}). Proof. Routine from Lemma 4.1.2 ( 2 ) and Figures 5 and 6 , and facts of {\mathbf{3}} as a lattice. ∎ Lemma 4.2.2 (Commuting modalities) . Suppose \mathsf{Q}\phi is a closed predicate for \textstyle\mathsf{Q}\in\{\Diamond\hskip 0.0pt,\Box\hskip 0.0pt,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt,{\reflectbox{$\mathsf{R}$}},{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}},\scalebox{0.8}[1.0]{$\mathsf{yesterday}$}\hskip 0.0pt,\scalebox{0.8}[1.0]{$\mathsf{tomorrow}$}\hskip 0.0pt,\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt,\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt,\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt,\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\}\cup\bigcup_{x\in\mathsf{VarSymb}}\{{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}x,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}x\}. Then \vDash\mathsf{Q}\mathsf{T}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt\mathsf{Q}\phi\quad\text{and}\quad\vDash\mathsf{Q}\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt\mathsf{Q}\phi. Proof. Routine from Lemma 4.1.2 ( 2 ) and Figures 5 and 6 , and facts of {\mathbf{3}} as a lattice. ∎ 4.3 Lattice inequalities Corollary 4.3.2 is in the same spirit as Lemmas 4.2.1 and 4.2.2 . In practice we usually just use it as a direct fact of the model, but we spell it out anyway. It relies on this simple fact about lattices: Lemma 4.3.1 . Suppose (\mathcal{L},\mathrel{\boldsymbol{\wedge}},\mathbin{\boldsymbol{\vee}}) is a complete lattice and X and Y are sets and f:(X\times Y)\to\mathcal{L} is any function. Then: 1. \bigvee_{x}\bigwedge_{y}f(x,y)\leq\bigwedge_{y}\bigvee_{x}f(x,y) , 2. It is not in general the case that \bigwedge_{y}\bigvee_{x}f(x,y)\leq\bigvee_{x}\bigwedge_{y}f(x,y) . 3. \bigvee_{x}\bigvee_{y}f(x,y)=\bigvee_{y}\bigvee_{x}f(x,y) . Proof. By easy lattice calculations. ∎ Corollary 4.3.2 . Suppose \mathsf{Q}\phi is a closed predicate, where \mathsf{Q}\in\{{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a\mid a{\in}\mathsf{VarSymb}\}\cup\{\Diamond\hskip 0.0pt,\Box\hskip 0.0pt,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\}, and suppose \mathit{ctx} is a context. Then: 1. {[\hskip-1.99997pt[{\reflectbox{$\mathsf{R}$}}\mathsf{Q}\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\leq{[\hskip-1.99997pt[\mathsf{Q}{\reflectbox{$\mathsf{R}$}}\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} . 2. {[\hskip-1.99997pt[\mathsf{Q}{\reflectbox{$\mathsf{R}$}}\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\leq{[\hskip-1.99997pt[{\reflectbox{$\mathsf{R}$}}\mathsf{Q}\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} for \mathsf{Q}\in\{{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a\mid a{\in}\mathsf{VarSymb}\}\cup\{\Diamond\hskip 0.0pt,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\} . 3. It need not be the case that {[\hskip-1.99997pt[\mathsf{Q}{\reflectbox{$\mathsf{R}$}}\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\leq{[\hskip-1.99997pt[{\reflectbox{$\mathsf{R}$}}\mathsf{Q}\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} for \mathsf{Q}\in\{{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a\mid a{\in}\mathsf{VarSymb}\}\cup\{\Box\hskip 0.0pt,{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\} . Proof. Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and \varsigma is a valuation. We freely use strong modus ponens (Proposition 2.3.3 ( 2 )). 1. We consider \mathsf{Q}={\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt . We use the clauses for \mathsf{R} and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt in Figure 6 , and then Lemma 4.3.1 ( 1 ): \bigvee_{0{\leq}n^{\prime}{<}n}\bigwedge_{O^{\prime}{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime},p,O^{\prime},\varsigma}\stackrel{{\scriptstyle L\ref{lemm.quantifier.swap}(\ref{item.quantifier.swap.1})}}{{\leq}}\bigwedge_{O^{\prime}{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}\bigvee_{0{\leq}n^{\prime}{<}n}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime},p,O^{\prime},\varsigma}. Now we consider \mathsf{Q}={\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a : \bigvee_{0{\leq}n^{\prime}{<}n}\bigwedge_{v{\in}\mathord{\text{Value}}}{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{n^{\prime},p,O,\varsigma}\stackrel{{\scriptstyle L\ref{lemm.quantifier.swap}(\ref{item.quantifier.swap.1})}}{{\leq}}\bigwedge_{v{\in}\mathord{\text{Value}}}\bigvee_{0{\leq}n^{\prime}{<}n}{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{n^{\prime},p,O,\varsigma}. The other cases are precisely similar. 2. We consider just \mathsf{Q}=\Diamond\hskip 0.0pt ; the other cases are precisely similar. We just use Lemma 4.3.1 ( 3 ): \bigvee_{p^{\prime}{\in}O}\bigvee_{0{\leq}n^{\prime}{<}n}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime},p^{\prime},O,\varsigma}\stackrel{{\scriptstyle L\ref{lemm.quantifier.swap}(\ref{item.quantifier.swap.2})}}{{=}}\bigvee_{0{\leq}n^{\prime}{<}n}\bigvee_{p^{\prime}{\in}O}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n^{\prime},p^{\prime},O,\varsigma}. 3. We consider just \mathsf{Q}={\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a ; the other cases are precisely similar. We note by Lemma 4.3.1 ( 2 ) that \bigwedge_{v{\in}\mathord{\text{Value}}}\bigvee_{0{\leq}n^{\prime}_{v}{<}n}{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{n^{\prime}_{v},p,O,\varsigma}\leq\bigvee_{0{\leq}n^{\prime}{<}n}\bigwedge_{v\in\mathord{\text{Value}}}{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{n^{\prime},p,O,\varsigma}\ \ \ \text{does not hold in general}. ∎ 4.4 The compound modalities {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt , and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt Remark 4.4.1 . We will make much use of the modalities {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt , and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt . We call these four combinations compound modalities , because they are built out of {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt (which quantify over open sets) and \Diamond\hskip 0.0pt and \Box\hskip 0.0pt (which quantify over points in an open set). In this Subsection we study some of their properties. Lemma 4.4.2 just unpacks definitions, where \between is notation from [ Gab25 , Gab24 ] meaning ‘has nonempty intersection with’: Lemma 4.4.2 . Suppose \phi is a closed predicate and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and \varsigma is a valuation. Then: 1. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\phi if and only if \exists O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\} . 2. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi if and only if \forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\} . 3. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi if and only if \exists O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\} . 4. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi if and only if \forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\} . Proof. We consider each part in turn: 1. We reason as follows: \begin{array}[]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\phi\Longleftrightarrow&\exists O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.\exists p{\in}O.n,p,O\vDash_{\varsigma}\phi&\text{Figure~\ref{fig.3.derived}}\\ \Longleftrightarrow&\exists O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\}&\text{Fact}\end{array} 2. We reason as follows: \begin{array}[]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi\Longleftrightarrow&\forall O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.\forall p{\in}O.n,p,O\vDash_{\varsigma}\phi&\text{Figure~\ref{fig.3.derived}}\\ \Longleftrightarrow&\forall O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\}&\text{Fact}\end{array} 3. We reason as follows: \begin{array}[]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\Longleftrightarrow&\exists O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.\forall p{\in}O.n,p,O\vDash_{\varsigma}\phi&\text{Figure~\ref{fig.3.derived}}\\ \Longleftrightarrow&\exists O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\}&\text{Fact}\end{array} 4. We reason as follows: \begin{array}[b]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi\Longleftrightarrow&\forall O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.\exists p{\in}O.n,p,O\vDash_{\varsigma}\phi&\text{Figure~\ref{fig.3.derived}}\\ \Longleftrightarrow&\forall O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between\{p\in\mathord{\text{Point}}\mid n,p,O\vDash_{\varsigma}\phi\}&\text{Fact}\end{array}\qed Proposition 4.4.3 packages up some simple corollaries of Lemma 4.4.2 , in forms that will be useful for our later proofs: Proposition 4.4.3 . Suppose \phi and \psi are closed predicates and \mathit{ctx} is a context. Then: 1. \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\psi\Longrightarrow\mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\phi\mathrel{\boldsymbol{\wedge}}\psi) . 2. \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\psi\Longrightarrow\mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt(\phi\mathrel{\boldsymbol{\wedge}}\psi) . 3. \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\psi)\Longrightarrow\mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\phi\mathrel{\boldsymbol{\wedge}}\psi) , and \mbox{$\mathit{ctx}$}\vDash({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\psi)\mathrel{\rightharpoonup}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\phi\mathrel{\boldsymbol{\wedge}}\psi) . 4. \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\Longrightarrow\mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\phi . 5. \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi\Longrightarrow\mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\phi . Proof. We consider each part in turn: 1. Routine from Lemma 4.4.2 ( 3 & 4 ). 2. Routine from Lemma 4.4.2 ( 3 & 2 ). 3. From part 1 of this result taking \mathsf{T}\hskip 0.0pt\phi and \mathsf{T}\hskip 0.0pt\psi and the commutation Lemmas 4.2.2 and 4.2.1 . Then we use strong modus ponens (Proposition 2.3.3 ( 2 )). 4. From part 3 of this result, taking \psi={\mathbf{t}} . 5. From part 3 of this result, taking \phi={\mathbf{t}} . ∎ 4.5 Some comments on time Remark 4.5.1 . This Subsection notes Lemmas 4.5.2 and 4.5.3 . They both have to do with time, and underneath all their complicated-looking symbols they are both straightforward: • Lemma 4.5.2 reflects a fact that if something holds now, then in the future it will have held. • Lemma 4.5.3 reflects the fact that something repeats forever if and only if it happens infinitely often. Lemma 4.5.2 . Suppose \mbox{$\mathit{ctx}$}=(n,p,O,\varsigma) is a context and \phi is a closed predicate. Then: 1. n,p,O\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt\phi implies \forall n^{\prime}{\gneq}n.\,n^{\prime},p,O\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}\phi . 2. n,p,O\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}\phi implies \forall n^{\prime}{\geq}n.\,n^{\prime},p,O\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}\phi . 3. As corollaries, \mbox{$\mathit{ctx}$}\vDash\phi\mathrel{\rightharpoonup}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}\phi\quad\text{and}\quad\mbox{$\mathit{ctx}$}\vDash{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}\phi\mathrel{\rightharpoonup}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}\phi. Proof. This is just from the clauses for \mathsf{R} and \mathsf{R} in Figure 6 . The corollaries follow using strong modus ponens (Proposition 2.3.3 ( 2 )). ∎ \scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt=\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt has a characterisation as ‘infinitely often’, with the convenient feature that its denotation is independent of the stage at which it is evaluated (called n^{\prime} in the statement of the Lemma below): Lemma 4.5.3 . Suppose \phi is a closed predicate and p\in\mathord{\text{Point}} and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and \varsigma is a valuation. Suppose further that n^{\prime}\in\mathbb{N}_{\scriptscriptstyle\geq 0} and \mbox{$\mathit{tvs}$}\in\{{\mathbf{3}}_{\scalebox{0.6}{true}},{\mathbf{3}}_{\scalebox{0.6}{valid}}\} . Then we have {[\hskip-1.99997pt[\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n^{\prime},p,O,\varsigma}\in\mbox{$\mathit{tvs}$}\quad\Longleftrightarrow\quad\{n\in\mathbb{N}_{\scriptscriptstyle\geq 0}\mid{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}\in\mbox{$\mathit{tvs}$}\}\text{ is infinite}. Proof. By routine arguments from the clause for \mathsf{infinitely} in Figure 6 . ∎ 4.6 Unique existence and affine existence in three-valued logic 4.6.1 The definition, and main result Remark 4.6.1 . Distributed algorithms often require an implementation to make (at most) one choice from (zero or more) possibilities. In our axioms, we model this using unique existence and affine existence: • Unique existence means ‘there exists precisely one’; we write this \exists_{1} , for uniformity with affine existence, defined in the next item. (The standard symbol is \exists! .) 30 30 30 There is another reason to not write \exists! for unique existence: to avoid a mild notation clash with our forward rules, which will have names mentioning ! (for ‘forward’) and 01 (for affine), and ‘Uniq’ (for uniqueness). In context, writing \exists_{1} and \exists_{01} seems the cleaner and more systematic option. • Affine existence means ‘there exist zero or one’; we write this \exists_{01} . (We are not aware of a standard symbol for affine existence.) See for example {\mathsf{(PaxPropose01)}} and {\mathsf{(PaxWrite01)}} in Figure 11 (a discussion of which is in Remark 6.5.1 ( 5 )). So we need to think about what \exists_{1} and \exists_{01} even mean in a three-valued setting. This turns out to be not completely straightforward, because we have a third truth-value that is neither true nor false. For concreteness, suppose \phi is a predicate with one free variable a , and suppose \mathit{ctx} is a context, and suppose that {[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} for all v\in\mathord{\text{Value}} . Then what truth-values should {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} and {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} have? Now suppose v,v^{\prime},v^{\prime\prime}\in\mathord{\text{Value}} , and suppose that {[\hskip-1.99997pt[\phi[a{{:}\text{=}}v^{\prime\prime\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{f}} for all v^{\prime\prime\prime}\in\mathord{\text{Value}}\setminus\{v,v^{\prime},v^{\prime\prime}\} and {[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}}\quad\land\quad{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v^{\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}\quad\land\quad{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v^{\prime\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}. Then what truth-values should {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} and {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} have? Now suppose that {[\hskip-1.99997pt[\phi[a{{:}\text{=}}v^{\prime\prime\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{f}} for all v^{\prime\prime\prime}\in\mathord{\text{Value}}\setminus\{v\} and {[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}. Then what truth-values should {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} and {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} have? The answer is not completely automatic: it is a real design decision that we have to make. Definition 4.6.2 . Suppose \phi is a predicate. Define affine existence {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi and unique existence {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi by: \begin{array}[]{r@{\ }l}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi=&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a,a^{\prime}.(\phi\mathrel{\boldsymbol{\wedge}}\phi[a{{:}\text{=}}a^{\prime}])\mathrel{\to}a{\boldsymbol{\text{=}}}a^{\prime}\\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi=&({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi)\mathrel{\boldsymbol{\wedge}}({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi)\end{array} Above, a^{\prime}\in\mathsf{VarSymb} is a variable symbol chosen fresh for \phi , and [a{{:}\text{=}}a^{\prime}] denotes the replacement of every instance of a\in\mathsf{VarSymb} with a^{\prime} . 31 31 31 Secretly, [a{{:}\text{=}}a^{\prime}] is a nominal swapping permutation (a^{\prime}\ a) [ GP02 ] . Remark 4.6.3 . Suppose {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi is a closed predicate (i.e. a\in\mathsf{VarSymb} and \phi is a predicate with free variable symbols at most \{a\} ), and suppose \mathit{ctx} is a context. We unpack the denotations of \exists_{1} and \exists_{01} from Definition 4.6.2 : 1. If \exists v,v^{\prime}\in\mathord{\text{Value}}.v\neq v^{\prime}\land{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi[a{{:}\text{=}}v^{\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} , then {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{f}}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. 2. If \exists_{1}v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} and \forall v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in\{{\mathbf{t}},{\mathbf{f}}\} , then {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. 3. If \exists_{1}v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} and \exists v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} , then {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. 4. If \neg\exists v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} and \exists_{1}v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} , then {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}}\quad\text{and}\quad{[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}. 5. If \neg\exists v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} and \exists v,v^{\prime}\in\mathord{\text{Value}}.v\neq v^{\prime}\land{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi[a{{:}\text{=}}v^{\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} , then {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}. 6. If \forall v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{f}} , then {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}}\quad\text{and}\quad{[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{f}}. Remark 4.6.4 . We make two elementary observations on Remark 4.6.3 : 1. The equality = in our logic is two-valued: {[\hskip-1.99997pt[v{\boldsymbol{\text{=}}}v^{\prime}]\hskip-1.99997pt]} returns {\mathbf{t}} or {\mathbf{f}} , and never {\mathbf{b}} . 32 32 32 In the terminology of Definition 4.8.2 ( 1 ) below, equality predicates are always correct . 2. Two notions of ‘unique existence’ are in play in this discussion: • ‘ \exists_{1}v\in\mathord{\text{Value}} ’ refers to the actual unique existence quantifier in the real world (whatever that is). This computes actual truth-values ‘true’ and ‘false’ and returns true when there actually exists a unique value. • ‘ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a ’ is part of the (derived) syntax of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , and is defined in Definition 4.6.2 . Its denotation computes elements of {\mathbf{3}}=\{{\mathbf{f}},{\mathbf{b}},{\mathbf{t}}\} . As is standard (though confusingly) we also call elements of {\mathbf{3}} truth-values; but they are truth-values of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , rather than actual truth-values in the real world (whatever that is). So: \exists_{1} and \exists_{1} are both unique existence operators, but they live at different levels and they are not the same thing. 33 33 33 This kind of thing is far from unusual. A book on formal logic might use a notion of implication and existence in its proofs, which is related to but distinct from implication and existential predicate-formers in the formal logic under consideration. Nor is this limited to logic: a programming language may have multiple versions of the number 1 (8-bit, floating point, 64-bit, and infinite precision) all of which are called ‘one’, but all of which are different from each other, and also different from the actual 1\in\mathbb{N} (whatever that is). We will use unique/affine existence in our proofs via Lemma 4.6.5 : Lemma 4.6.5 . Suppose \mathit{ctx} is a context and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi is a closed predicate and v,v^{\prime}\in\mathord{\text{Value}} are values. Then: 1. \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi if and only if \exists_{01}v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} . 2. \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi if and only if \exists v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{valid}}\land\exists_{01}v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} . 3. If \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\phi and \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt\phi[a{{:}\text{=}}v] and \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt\phi[a{{:}\text{=}}v^{\prime}] , then v=v^{\prime} . 4. If \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\phi and \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt\phi[a{{:}\text{=}}v] and \mbox{$\mathit{ctx}$}\vDash\mathsf{T}\hskip 0.0pt\phi[a{{:}\text{=}}v^{\prime}] , then v=v^{\prime} . Proof. We unpack Definition 3.6.1 ( 1 ) and check the possibilities in Remark 4.6.3 . ∎ 4.6.2 Comments on an edge case Lemma 4.6.6 notes a (perhaps surprising, at first glance) fact about our denotation, that if a unary predicate symbol \mathsf{P} takes truth-value {\mathbf{b}} when applied to all values (as would model a participant that has entirely crashed), then {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}\mathsf{P} and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}\mathsf{P} are valid — even though \mathsf{P}(v) is valid on every value. This reflects the common side-condition in the literature ‘if the participant is correct, then stuff ’, which is trivially true if the participant is not correct: Lemma 4.6.6 . Suppose \mathit{ctx} is a context and \mathsf{P} is a unary predicate symbol. 34 34 34 There is nothing mathematically special about using a unary predicate symbol here, but in practice this is the case that we will use. Then \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{B}\hskip 0.0pt\mathsf{P}\Longrightarrow(\mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}\mathsf{P}\land\mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}\mathsf{P}). The above statement uses Notation 3.7.2 . Unpacking this, we obtain: \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.\mathsf{B}\hskip 0.0pt\mathsf{P}(a)\Longrightarrow(\mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}a.\mathsf{P}(a)\land\mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}a.\mathsf{P}(a)). Proof. Suppose \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{B}\hskip 0.0pt\mathsf{P} . Unpacking Definition 3.6.1 ( 1 ) this means {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{B}\hskip 0.0pt\mathsf{P}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{valid}} , and by Figure 6 it follows that \forall v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\mathsf{P}(v)]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} . By Remark 4.6.3 ( 4 ) (if \mathord{\text{Value}}=\{v\} for some v ) or Remark 4.6.3 ( 5 ) (if there exist v\neq v^{\prime}\in\mathord{\text{Value}} ) it follows that {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}\mathsf{P}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} and {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}\mathsf{P}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}} , or {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}\mathsf{P}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{b}}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}\mathsf{P}]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} , respectively. Both {\mathbf{t}} and {\mathbf{b}} are valid by Definition 3.6.1 ( 1 ), and thus \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}\mathsf{P} and \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{1}$}}\hskip 0.2pt}}}\mathsf{P} as required. ∎ 4.7 Pointwise predicates (a well-behavedness property) For this subsection we fix a signature \Sigma and a model \mathcal{M}=(\mathord{\text{Point}},\mathord{\text{Open}},\mathord{\text{Value}}) . 4.7.1 The definition, and basic properties Remark 4.7.1 . Being pointwise is a well-behavedness property on predicates, that their denotation in a context \mbox{$\mathit{ctx}$}=(n,p,O,\varsigma) does not depend on the open set parameter O of the context. Many important syntactic classes of predicates are naturally pointwise, including any predicate of the form \mathsf{P}(v_{1},\dots,v_{n}) (Lemma 4.7.7 ). Being pointwise is desirable for us because it simplifies denotation to holding ‘at a point’; 35 35 35 Actually: at a stage, point, and valuation, but intuitively we tend to view the stage and valuation as fixed, and the point p and open set O as varying. and also because several nice properties depend on this (see for example Proposition 4.7.14 ); and finally also because there is an easy syntactic condition (given in Lemma 4.7.7 ( 2 )) that guarantees that a predicate is pointwise. Definition 4.7.2 (Pointwise predicates) . Suppose \phi is a closed predicate. 1. If n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and \varsigma\in\mathord{\text{Valuation}}(\Sigma,\mathcal{M}) is a valuation then call \phi pointwise in (n,\varsigma) when \forall p\in\mathord{\text{Point}}.\forall O,O^{\prime}{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}={[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O^{\prime},\varsigma}. In words, \phi is pointwise in (n,\varsigma) when at every point p\in\mathord{\text{Point}} , the open set parameter O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} does not affect the value of the denotation {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma} . 2. Call \phi absolutely pointwise when it is pointwise for every n and \varsigma . Definition 4.7.3 . Suppose \phi is closed, and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and \varsigma is a valuation. Then define {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,\varsigma} by {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,\varsigma}=\bigwedge_{O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}. In a manner of speaking we have already seen {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,\varsigma} from Definition 4.7.3 in our logic: Lemma 4.7.4 . Suppose \phi is closed and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and \varsigma is a valuation. Then {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,\varsigma}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}. Proof. Direct from the clause for {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt from Figure 6 . ∎ Lemma 4.7.5 . Suppose \phi is a closed predicate and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and \varsigma is a valuation. Then \phi is pointwise in (n,\varsigma) in the sense of Definition 4.7.2 if and only if \forall p\in\mathord{\text{Point}}.\forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}={[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,\varsigma}. Proof. By a routine calculation from Definitions 4.7.2 and 4.7.3 . ∎ Corollary 4.7.6 . Suppose \phi is a closed predicate and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and \varsigma is a valuation. Suppose \phi is pointwise in (n,\varsigma) . Then \forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.n,p,O\vDash_{\varsigma}\phi\Longleftrightarrow n,p\vDash_{\varsigma}\phi. Proof. Routine from Definition 3.6.1 and Lemma 4.7.5 . ∎ Being pointwise is particularly nice because of two simple syntactic criteria that guarantee it: Lemma 4.7.7 (Conditions for being pointwise) . Suppose \phi is a closed predicate. Then: 1. If \phi is atomic (Notation 3.2.2 ( 3 ); having the form \mathsf{P}(v_{1},\dots,v_{n}) or {\boldsymbol{\neg}}\mathsf{P}(v_{1},\dots,v_{n}) ) then it is absolutely pointwise (Definition 4.7.2 ). 2. If \phi does not mention \Diamond\hskip 0.0pt or \Box\hskip 0.0pt or \varkappa or \mu except within the scope of a {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt or {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt modality, then \phi is absolutely pointwise. 36 36 36 In particular, \Diamond\hskip 0.0pt and \Box\hskip 0.0pt are within the scope of {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt in the compound modalities {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt , and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt . Proof. For part 1 , we just unpack the definition of {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]} in Figure 5 and note that the ‘ \varsigma(\mathsf{P})_{n,p} ’ used in the clause for a predicate symbol \mathsf{P} depends just on the values of n , p , and \varsigma , but not on the open sets O and O^{\prime} . Part 2 follows by a routine induction on predicate syntax, using part 1 as the base case. 37 37 37 This result could be generalised to permit \mu not in the scope of {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt or {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt , subject to suitable positivity conditions (Definition 3.5.5 ). But we will not need the generality so we do not bother. ∎ 4.7.2 Pointwise, as a modality in our logic In fact, we can express the property of being pointwise within our logic: Definition 4.7.8 . Suppose \phi is a predicate. Then define a predicate \mathsf{pointwise}[\phi] by \mathsf{pointwise}[\phi]\ =\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi). Lemma 4.7.9 . Suppose \phi is a closed predicate and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and \varsigma is a valuation. Then n,p\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\quad\text{if and only if}\quad\bigvee_{O^{\prime}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O^{\prime},\varsigma}=\bigwedge_{O^{\prime}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O^{\prime},\varsigma}. (The predicate {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi itself satisfies the conditions for being pointwise from Lemma 4.7.7 ( 2 ), so we can sensibly write n,p\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\phi above.) Proof. From Lemma 4.1.2 ( 1 ) and the clauses for {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt in Figure 5 , and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt from Figure 6 (or Lemma 4.7.4 ). ∎ Lemma 4.7.10 . Suppose \phi is a closed predicate and n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and \varsigma is a valuation. Then \phi is pointwise in (n,\varsigma) if and only if n,p\vDash_{\varsigma}\mathsf{pointwise}[\phi] . Proof. By routine calculations using Lemma 4.7.9 , and the clause for {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt} in Figure 6 , noting the elementary fact that for every O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} , \bigwedge_{O^{\prime}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O^{\prime},\varsigma}\leq{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}\leq\bigvee_{O^{\prime}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}}{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O^{\prime},\varsigma}. ∎ 4.7.3 An interlude: dense sets, and sets with a nonempty open interior We recall a pair of standard topological definitions which will turn up repeatedly later, most notably in the context of pointwise predicates as in Proposition 4.7.14 immediately below, and again later in Lemma 5.2.1 : Definition 4.7.11 (Dense subset) . Suppose (\mathord{\text{Point}},\mathord{\text{Open}}) is a semitopology and suppose P\subseteq\mathord{\text{Point}} is a (not necessarily open) set of points. 1. Say that P is dense when \forall O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between P . 2. Say that P has a nonempty open interior when \exists O{\in}\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq P . 3. Write \mbox{$\mathit{dense}$}(P) when P is dense, and \mbox{$\mathit{noi}$}(P) when P has a nonempty open interior. Lemma 4.7.12 . Suppose (\mathord{\text{Point}},\mathord{\text{Open}}) is a semitopology and P,P^{\prime}\subseteq\mathord{\text{Point}} . Then: 1. If P\subseteq P^{\prime} then \mbox{$\mathit{dense}$}(P)\Longrightarrow\mbox{$\mathit{dense}$}(P^{\prime}) (being dense is up-closed ). 2. If P\subseteq P^{\prime} then \mbox{$\mathit{noi}$}(P)\Longrightarrow\mbox{$\mathit{noi}$}(P^{\prime}) (having a nonempty open interior is up-closed ). 3. If P\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} then \mbox{$\mathit{noi}$}(P) (a nonempty open set has a nonempty open interior). Proof. By routine set calculations from Definition 4.7.11 . ∎ Lemma 4.7.13 . Suppose (\mathord{\text{Point}},\mathord{\text{Open}}) is a semitopology and P\subseteq\mathord{\text{Point}} . Then \mbox{$\mathit{dense}$}(P)\Longleftrightarrow\neg\mbox{$\mathit{noi}$}(\mathord{\text{Point}}\setminus P)\quad\text{and}\quad\mbox{$\mathit{noi}$}(P)\Longleftrightarrow\neg\mbox{$\mathit{dense}$}(\mathord{\text{Point}}\setminus P). In this sense, \mathit{noi} and \mathit{dense} form a de Morgan dual pair of operators — just as \forall=\neg\exists\neg (as noted in Figure 9 ) and \exists={\boldsymbol{\neg}}\forall{\boldsymbol{\neg}} . Proof. We sketch the (easy) argument: • Suppose P is not dense; by Definition 4.7.11 this means that there exists O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} such that P\cap O=\varnothing , thus O\subseteq\mathord{\text{Point}}\setminus P , thus \mathord{\text{Point}}\setminus P has a nonempty open interior. • Suppose \mathord{\text{Point}}\setminus P has a nonempty open interior \varnothing\neq O\subseteq\mathord{\text{Point}}\setminus P . Then clearly P is not dense. ∎ More on how ‘being dense’ works in semitopologies is in [ Gab24 , Chapter 11] . The notion behaves somewhat differently than it does in topologies, but not in ways that will affect us here. 4.7.4 Application to pointwise predicates Technically, Proposition 4.7.14 is a corollary of Lemma 4.4.2 and Corollary 4.7.6 . The result links the four logical modalities {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt} , {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt , and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt to elementary topological properties of the sets of points at which these modalities are valid — being nonempty, being full, having a nonempty open interior, and being dense. We will use Proposition 4.7.14 , both directly and via other lemmas that depend on it. The most important use-case of Proposition 4.7.14 will be when \phi is atomic (Notation 3.2.2 ( 3 )) — having the form \mathsf{P}(v_{1},\dots,v_{n})\quad\text{or}\quad{\boldsymbol{\neg}}\mathsf{P}(v_{1},\dots,v_{n}) — since then by Lemma 4.7.7 \phi is automatically pointwise: Proposition 4.7.14 . Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and \varsigma is a valuation and \phi is a closed predicate that is pointwise in (n,\varsigma) (Definition 4.7.2 ). Then: 1. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\phi if and only if \varnothing\neq\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\} . 2. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi if and only if \mathord{\text{Point}}=\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\} . 3. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi if and only if \mbox{$\mathit{noi}$}(\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}) . 4. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi if and only if \mbox{$\mathit{dense}$}(\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}) . Recall that: • \mathit{dense} and \mathit{noi} are from Definition 4.7.11 . • The notations n,p\vDash_{\varsigma}\phi and n\vDash_{\varsigma}\phi are from Definition 3.6.1 . Proof. If \phi is pointwise then by Corollary 4.7.6 n,p,O\vDash_{\varsigma}\phi if and only if n,p\vDash_{\varsigma}\phi , for any O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} , and we just simplify parts 1 to 4 of Lemma 4.4.2 : 1. We reason as follows: \begin{array}[]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\phi\Longleftrightarrow&\exists O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}&\text{Lemma~\ref{lemm.dense.char}(\ref{item.dense.char.someoneAll})}\\ \Longleftrightarrow&\mathord{\text{Point}}\between\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}&\text{Fact}\\ \Longleftrightarrow&\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}\neq\varnothing&\text{Fact}\end{array} 2. We reason as follows: \begin{array}[]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi\Longleftrightarrow&\forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}&\text{Lemma~\ref{lemm.dense.char}(\ref{item.dense.char.everyoneAll})}\\ \Longleftrightarrow&\mathord{\text{Point}}\subseteq\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}&\text{Fact}\\ \Longleftrightarrow&\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}=\mathord{\text{Point}}&\text{Fact}\end{array} 3. We reason as follows: \begin{array}[]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi\Longleftrightarrow&\exists O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\subseteq\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}&\text{Lemma~\ref{lemm.dense.char}(\ref{item.dense.char.QuorumBox})}\\ \Longleftrightarrow&\mbox{$\mathit{noi}$}(\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\})&\text{Definition~\ref{defn.dense.subset}}\end{array} 4. We reason as follows: \begin{array}[b]{r@{\ }l@{\quad}l}n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi\Longleftrightarrow&\forall O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.O\between\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\}&\text{Lemma~\ref{lemm.dense.char}(\ref{item.dense.char.CoquorumDiamond})}\\ \Longleftrightarrow&\mbox{$\mathit{dense}$}(\{p\in\mathord{\text{Point}}\mid n,p\vDash_{\varsigma}\phi\})&\text{Definition~\ref{defn.dense.subset}}\end{array}\qed See also Lemma 5.3.1 , which instantiates Proposition 4.7.14 ( 3 & 4 ) to a special case familiar from the literature on distributed systems. 4.8 Correct predicates (another well-behavedness property) Remark 4.8.1 . We defined {\mathbf{3}}_{\scalebox{0.6}{correct}}=\{{\mathbf{t}},{\mathbf{f}}\} in Definition 2.2.1 ( 1 ) and a corresponding modality \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt in Figure 1 (which returns {\mathbf{t}} when its argument is in {\mathbf{3}}_{\scalebox{0.6}{correct}} and {\mathbf{f}} otherwise), and we studied some of their properties, most notably in Lemma 2.2.8 . We now extend this to notions of correctness on predicates \phi and predicate symbols \mathsf{P} . Correctness turns out to be highly relevant to how we will use our logic. Partly this is because when a predicate is correct, we are returned to the familiar two-valued world of Boolean logic — but more subtly, correctness is interesting because of how this concept interacts with the predicate and modal parts of our logic; in certain circumstances we can use a combination of correctness somewhere and validity everywhere to deduce information about truth (see Remark 4.8.10 ) and this turns out to be a good logical model for how reasoning on distributed algorithms is often done in practice. We start with the definition and some basic lemmas, and develop from there: Definition 4.8.2 (Correctness) . Suppose \phi is a predicate and a\in\mathsf{VarSymb} is a variable symbol. Then: 1. Consistent with the definition of {\mathbf{3}}_{\scalebox{0.6}{correct}}=\{{\mathbf{t}},{\mathbf{f}}\} from Definition 2.2.1 ( 1 ), we define \mathsf{correct}[\phi] , read \phi is correct , by \mathsf{correct}[\phi]=\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\phi. Note that \phi being correct does not mean that \phi returns {\mathbf{t}} ; it means that \phi returns {\mathbf{t}} or {\mathbf{f}} and in particular it does not return {\mathbf{b}} . 2. Suppose \mathsf{P}\in\mathord{\text{PredSymb}} is a unary predicate symbol. Define a predicate \mathsf{correct}[\mathsf{P}] by \mathsf{correct}[\mathsf{P}]\ =\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.\mathsf{correct}[\mathsf{P}(a)]\ \stackrel{{\scriptstyle N\ref{nttn.hos}}}{{=}}\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{P}. 3. If \mathsf{P}_{1},\dots,\mathsf{P}_{n} are unary predicate symbols then we may write \mathsf{correct}[\mathsf{P}_{1},\dots,\mathsf{P}_{n}]\quad\text{for}\quad\mathsf{correct}[\mathsf{P}_{1}]\mathrel{\boldsymbol{\wedge}}\dots\mathrel{\boldsymbol{\wedge}}\mathsf{correct}[\mathsf{P}_{n}]. (See for example axiom {\mathsf{(LdrCorrect)}} in Figure 11 .) 4. Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and p\in\mathord{\text{Point}} and \varsigma is a valuation, and suppose \mathsf{P} is a unary predicate symbol. Then when n,p\vDash_{\varsigma}\mathsf{correct}[\mathsf{P}] we may call p \mathsf{P} -correct . Lemma 4.8.3 . Suppose \mathit{ctx} is a context and \phi is a closed predicate. Then \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\phi]\quad\text{if and only if}\quad{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{correct}}. Proof. This just re-states Lemma 2.2.7 ( 5 ). ∎ Remark 4.8.4 . Definition 4.8.2 ( 1 ) gives us two synonyms for the modality expressing that the truth-value returned by a predicate \phi is either {\mathbf{t}} or {\mathbf{f}} (not {\mathbf{b}} ): \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt and \mathsf{correct} . Although these are synonymous, there is a difference in emphasis: • \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt is a logical modality and just means ‘true or false’. • The literature on distributed systems uses a term ‘correctness’, which indicates that a process succeeds and returns a correct value. In our logical model this corresponds to returning {\mathbf{t}} or {\mathbf{f}} — and thus not returning {\mathbf{b}} . So when we write \mathsf{correct} , the emphasis is on ‘not {\mathbf{b}} ’ with emphasis on a process ‘not failing’. We use whichever notation seems most natural in context. For example, in Figure 11 : 1. In {\mathsf{(LdrCorrect)}} we write \mathsf{correct}[\mathsf{propose},\mathsf{write},\mathsf{decide}] because intuitively we are asserting that at a particular time the leader does not crash when proposing, writing, or deciding. 2. In {\mathsf{(LdrExist)}} we write \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{leader} , because \mathsf{leader} is a predicate that identifies whether a participant is the leader at a particular time, and this is either true or false. 38 38 38 In practice determining who the leader is requires a participant to compute a function, but the computation is not distributed, in the sense that prior agreement amongst participants is assumed on what the function is and what seed data it uses, and each participant computes it locally to get (the same) definitive yes/no answer. If the reader prefers, they can safely read \mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt every time they see \mathsf{correct} , and they will be precisely correct (pun intended). Many predicates of interest are correct, including correctness itself, our truth-modalities, and equality and equivalence: Lemma 4.8.5 . Suppose \mathit{ctx} is a context and \phi and \phi^{\prime} are closed predicates and v,v^{\prime}\in\mathord{\text{Value}} . Then: 1. {[\hskip-1.99997pt[\mathsf{correct}[\mathsf{correct}[\phi]]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} . We can (perhaps cheekily) read this as ‘correctness is correct’. 2. {[\hskip-1.99997pt[\mathsf{correct}[\mathsf{Q}\phi]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} for \mathsf{Q}\in\{\mathsf{T}\hskip 0.0pt,\mathsf{F}\hskip 0.0pt,\mathsf{B}\hskip 0.0pt,\mathsf{T}\hskip-2.5pt\mathsf{B}\hskip 0.0pt,\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt,\mathsf{F}\hskip-1.5pt\mathsf{B}\hskip 0.0pt\} . 3. {[\hskip-1.99997pt[\mathsf{correct}[v{\boldsymbol{\text{=}}}v^{\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} . In words: equality is correct. 4. {[\hskip-1.99997pt[\mathsf{correct}[\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\phi^{\prime}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={\mathbf{t}} . In words: equivalence is correct. Proof. By routine checking from Figures 1 , 5 , 6 , and (for equivalence \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}} ) 2 . ∎ Lemma 4.8.6 and Corollary 4.8.7 are straightforward, but we spell it out: Lemma 4.8.6 . Suppose \mathsf{P}\in\mathord{\text{PredSymb}} is a unary predicate symbol and \mathit{ctx} is a context. Then 1. {[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}=\bigwedge_{v{\in}\mathord{\text{Value}}}{[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}(v)]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} and 2. {[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\leq{[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}(v)]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} for every value v\in\mathord{\text{Value}} . Proof. By Definition 4.8.2 ( 2 ) and Figure 6 {[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}a.\mathsf{correct}[\mathsf{P}(a)]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}=\bigwedge_{v{\in}\mathord{\text{Value}}}{[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}(v)]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\leq{[\hskip-1.99997pt[\mathsf{correct}[\mathsf{P}(v)]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}.\qed Corollary 4.8.7 . Suppose \mathit{ctx} is a context and \mathsf{P}\in\mathord{\text{PredSymb}} is a unary predicate symbol and a\in\mathsf{VarSymb} is a variable symbol. Then \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\mathsf{P}]\quad\text{implies}\quad\mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{P}]\ \land\ \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{P}]. Proof. Suppose \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\mathsf{P}] . By Lemma 4.8.6 we see that \forall v\in\mathord{\text{Value}}.\mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\mathsf{P}(v)] . By Lemma 4.8.3 \forall v\in\mathord{\text{Value}}.{[\hskip-1.99997pt[\mathsf{P}(v)]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\in{\mathbf{3}}_{\scalebox{0.6}{correct}} . Now the clauses for \exists in Figure 5 and \forall in Figure 6 take a supremum and infimum respectively of \{{[\hskip-1.99997pt[\mathsf{P}(v)]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}\mid v\in\mathord{\text{Value}}\}\subseteq{\mathbf{3}}_{\scalebox{0.6}{correct}}=\{{\mathbf{t}},{\mathbf{f}}\} , and this supremum or infimum is also clearly in {\mathbf{3}}_{\scalebox{0.6}{correct}}=\{{\mathbf{t}},{\mathbf{f}}\} . We just use Lemma 4.8.3 . ∎ Proposition 4.8.8 ( 1 ) is a wrapper for Lemma 2.2.8 . This deceptively simple equivalence turns out to be a key way that correctness can be usefully applied: Proposition 4.8.8 . Suppose \phi is a closed predicate and \mathsf{P} is a unary predicate symbol and \mathit{ctx} is a context. Then: 1. \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\phi] if and only if \mbox{$\mathit{ctx}$}\vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt\phi . In words: \phi is correct precisely when ‘ \phi is valid’ is equivalent to ‘ \phi is true’. 2. \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\mathsf{P}] if and only if \forall v\in\mathord{\text{Value}}.(\mbox{$\mathit{ctx}$}\vDash\mathsf{P}(v)\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt\mathsf{P}(v)) . 3. \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\mathsf{P}] implies \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{P}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{P} and \mbox{$\mathit{ctx}$}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{P}\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{P} . Proof. We consider each part in turn: 1. Suppose \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\phi] . By Lemma 2.2.8 \mathsf{T}\hskip 0.0pt{[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}}={[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} . By Lemma 4.1.2 ( 1 ) and the clause for \mathsf{T}\hskip 0.0pt in Figure 5 , \mbox{$\mathit{ctx}$}\vDash\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt\phi . The reverse implication just reverses the same reasoning. 2. We combine Lemma 4.8.6 with part 1 of this result for \phi=\mathsf{P}(v) for every v\in\mathord{\text{Value}} . 3. From Corollary 4.8.7 and Proposition 4.8.8 ( 1 ). ∎ Proposition 4.8.9 explores how correctness interacts with our compound modalities from Subsection 4.4 . Proposition 4.8.9 . Suppose \phi is a closed predicate and \mathsf{P}\in\mathord{\text{PredSymb}} is a unary predicate symbol. Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and \varsigma is a valuation. Then: 1. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\phi]\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi implies n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi . 39 39 39 Alert: note that we write {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi in the right-hand conjunct, not {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi . 2. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\mathsf{P}]\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{P} implies n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{P} . Proof. We consider each part in turn: 1. Suppose n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\phi]\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi . By Proposition 4.4.3 ( 2 ) n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt(\mathsf{correct}[\phi]\mathrel{\boldsymbol{\wedge}}\phi) . By Proposition 4.8.8 ( 1 ) and Lemma 4.2.2 (for {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt ) we have n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi as required. 2. We combine part 1 of this result with Corollary 4.8.7 . ∎ Remark 4.8.10 (Why this is interesting) . The statement of Proposition 4.8.9 is quite heavy on the symbols. For clarity, let us re-read it, but let us replace \vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct} with the phrase ‘mostly correct’, and \vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt} with the phrase ‘everywhere valid’, and \exists with the phrase ‘for some value’. Then we get: 1. If \phi is mostly correct and everywhere valid , then it is mostly true . 2. If \mathsf{P} is mostly correct and everywhere valid for some value, then it is mostly true for some value. So what we see is that we can promote weak statements about validity everywhere, with stronger but more limited statements about correctness, to obtain limited statements about truth. The reader familiar with how distributed algorithms work may recognise this style of reasoning. So: here it is beginning to appear in our logic. 4.9 \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] : a most recent v that makes \phi[a{{:}\text{=}}v] true Remark 4.9.1 . We see from Figure 6 and Remark 3.5.1 ( 6 ) that \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] looks back into the past, searching for a most recent time when {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi]\hskip-1.99997pt]}={\mathbf{t}} , and checks if at that most recent time, {[\hskip-1.99997pt[\phi[a{{:}\text{=}}v]]\hskip-1.99997pt]}={\mathbf{t}} . \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] returns {\mathbf{t}} if this search succeeds, and {\mathbf{f}} if this fails. It never returns {\mathbf{b}} . In words: \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] checks whether v is a value that has most recently made \phi true. We need \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] for our axiomatisation of Paxos in Figure 11 , where • in {\mathsf{(PaxSend?)}} we write \mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v (short for (\mathsf{accept}(a))[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] , as per Figure 8 ), and • in {\mathsf{(PaxWrite?)}} we write (\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v (short for (\Diamond\hskip 0.0pt\mathsf{accept}(a))[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] ). We read \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] as v is a value that most recently makes \phi[a{{:}\text{=}}v] true . In the common case that \phi=\mathsf{P}(a) for some unary predicate symbol \mathsf{P} , then we might just say v is a value that most recently makes \mathsf{P} true . In this Subsection we study the properties of this construct in more detail. Lemma 4.9.2 . Suppose {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi is a closed predicate and v\in\mathord{\text{Value}} and \mathit{ctx} is a context. Then: 1. \mbox{$\mathit{ctx}$}\vDash\mathsf{correct}[\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]] . 2. \mbox{$\mathit{ctx}$}\vDash\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] . Proof. We consider each part in turn: 1. By Definition 4.8.2 ( 1 ) \mathsf{correct}[\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]]=\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] , and this means that \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] always returns {\mathbf{t}} or {\mathbf{f}} (but not {\mathbf{b}} ). We just check the relevant clause in Figure 6 and see that this is so. 2. We just use part 1 of this result and Proposition 4.8.8 ( 1 ). ∎ Remark 4.9.3 . 1. Lemma 4.9.2 (2) notes that \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] and \mathsf{T}\hskip 0.0pt(\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]) are extensionally equivalent (Definition 4.1.1 ). We may write one or the other, depending on what seems most clear in a proof. In particular, if we are using strong modus ponens (Proposition 2.3.3 ( 2 )) then we might retain a \mathsf{T}\hskip 0.0pt modality for clarity. 2. We try to head off an easy error: note that \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] is not equivalent to \mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}\phi[a{{:}\text{=}}v] , nor the (by Lemma 4.2.2 ) equivalent form {\reflectbox{$\mathsf{R}$}}\mathsf{T}\hskip 0.0pt\phi[a{{:}\text{=}}v] . • \mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}\phi[a{{:}\text{=}}v] returns {\mathbf{t}} when \phi[a{{:}\text{=}}v] has returned {\mathbf{t}} at some stage in the past. • \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] (‘ v is a value that most recently makes \phi[a{{:}\text{=}}v] true’) returns {\mathbf{t}} when \phi[a{{:}\text{=}}v] has returned {\mathbf{t}} in the most recent stage such that {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi returned {\mathbf{t}} (i.e. such that \phi[a{{:}\text{=}}v^{\prime}] returned {\mathbf{t}} for some v^{\prime} ). These are not the same thing. Remark 4.9.3 notes that \phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v] is different from \mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}\phi[a{{:}\text{=}}v] . That said, there is a close link between them, which will turn out to be important for understanding our axiomatisation of Paxos (see Lemma 6.6.2 and surrounding discussion): Lemma 4.9.4 . Suppose {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi is a closed predicate and \mbox{$\mathit{ctx}$}=(n,p,O,\varsigma) is a context. Then \mbox{$\mathit{ctx}$}\vDash({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v])\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi. Proof. First, note from Lemma 4.2.2 that \vDash\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\mathsf{T}\hskip 0.0pt\phi . And, note that {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}a.\phi and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\phi[a{{:}\text{=}}v] denote the same syntax, as per Remark 3.2.8 ( 3 ). We unpack the meaning of {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\phi[a\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v]]\hskip-1.99997pt]}_{\mbox{$\mathit{ctx}$}} in Figure 6 and note that it returns {\mathbf{t}} when there exist v\in\mathord{\text{Value}} and 0\leq n^{\prime}n*f if and only if \mathsf{AllBut}_{f}(N) is n -twined. 2. \mbox{$\mathit{noi}$}(P) (and equivalently P\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} ) if and only if \hbox to0.4pt{\vbox to0.4pt{\pgfpicture\makeatletter\hbox{\hskip 0.2pt\lower-0.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@roundcap\lxSVG@begingroup@{stroke-linecap=round} \lx@inpgf@ignorespaces{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0}{fill:none} \lx@inpgf@ignorespaces \lxSVG@closescope {{\lx@inpgf@ignorespaces}{}}{{}}{}{\lx@inpgf@ignorespaces}{{}}{}\lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}P\geq N{\shortminus}f . 43 43 43 In general semitopologies, \mbox{$\mathit{noi}$}(P) ( P having a nonempty open interior) is not the same as P\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} ( P being a nonempty open set); but in the case of \mathsf{AllBut}_{f}(N) , these two properties happen to be equal. 3. \mbox{$\mathit{dense}$}(P) if and only if \hbox to0.4pt{\vbox to0.4pt{\pgfpicture\makeatletter\hbox{\hskip 0.2pt\lower-0.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@roundcap\lxSVG@begingroup@{stroke-linecap=round} \lx@inpgf@ignorespaces{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0}{fill:none} \lx@inpgf@ignorespaces \lxSVG@closescope {{\lx@inpgf@ignorespaces}{}}{{}}{}{\lx@inpgf@ignorespaces}{{}}{}\lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}P\geq f{+}1 . Proof. We consider each part in turn: 1. Suppose N>n*f and suppose O_{1},\dots,O_{n}\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} are nonempty open sets in \mathsf{AllBut}_{f}(N) . From Definition 3.1.4 this means that they each contain all but f elements of \{0\dots N{\shortminus}1\} . It follows that O_{1}\cap\dots\cap O_{n} contains (at least) all but n*f elements of \{0\dots N{\shortminus}1\} . Since N\gneq n*f , this intersection is nonempty. Conversely, if N\leq n*f then it is routine to partition \{0\dots N{\shortminus}1\} into n sets, each of which has at most f elements. Then their complements are a set of n open sets whose intersection is empty. 2. By routine counting arguments. 3. By routine counting arguments. ∎ Remark 5.2.4 . Being 2 -twined corresponds to the quorum intersection property of [ Lam98 , Section 2.1, Condition B2] , which requires that any two quorums intersect. Being 3 -twined also corresponds to a quorum intersection property with a stronger requirement that (assuming there is a quorum of honest participants) any two quorums must intersect in a participant that is honest [ MR98 , Definition 5.1] . These intersection properties are closely tied to necessary conditions for some consensus protocols (and other distributed algorithms) to function correctly. Specifically for the case of the semitopology \mathsf{AllBut}_{f}(N) from Definition 3.1.4 ( 2 ), requiring nonempty quorum intersection is equivalent to the condition N>2f , where f denotes the number of processes that may crash during the protocol’s execution. This condition is often referred to as Q^{2} [ DDFN07 , Theorem 1] . Similarly, being 3 -twined corresponds to the condition N>3f , commonly referred to as Q^{3} [ ACTZ24 , Definition 2] . A more generalised version of Q^{3} exists, known as B^{3} [ DDFN07 , Theorem 2] [ ACTZ24 , Definition 5] , which accounts for greater heterogeneity. Specifically, Q^{3} applies to distributed systems where failures are homogeneous, meaning they are globally known and agreed upon by all participants. For example, all participants understand that up to f processes may fail. In contrast, in a heterogeneous setting, participants may have differing beliefs about who might fail, leading to a more nuanced description of trust assumptions. In this context, B^{3} generalises Q^{3} by incorporating these variations in trust and failure assumptions. Readers interested in exploring this topic further can consult [ DDFN07 , ACTZ24 ] . 5.3 The canonical properties For this subsection we fix a signature \Sigma and a model \mathcal{M}=(\mathord{\text{Point}},\mathord{\text{Open}},\mathord{\text{Value}}) . We now prove results to express how the underlying semitopology of this model (\mathord{\text{Point}},\mathord{\text{Open}}) being 2 -twined or 3 -twined manifests itself in the logic, in ways that will be relevant in our later proofs. In Subsection 5.3.1 we concretely unpack what some relevant modalities mean, then in Subsection 5.3.2 we prove the promised results about them. 5.3.1 Unpacking some modalities Lemma 5.3.1 unpacks concretely what {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi — which are the subject of many results including Propositions 5.3.2 and 5.4.2 — mean in the semitopology \mathsf{AllBut}_{f}(N) from Definition 3.1.4 ( 2 ), which has N points, and has open sets being either the empty set, or any set with at least N{\shortminus}f elements: 1. {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\phi means ‘for at least N{\shortminus}f elements’; and 2. {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\phi means ‘for at least f{+}1 elements’. This special case is particularly relevant because (as the reader may know) \mathsf{AllBut}_{f}(N) is commonly used in the literature on distributed algorithms. Lemma 5.3.1 . Suppose that • 0\leq f2*f ; by Proposition 5.2.3 ( 1 ) this is 2 -twined, and then we can use Proposition 5.3.2 ( 1a ) to obtain {\mathsf{(Pax2Twined)}} . We choose here to express as an axiom precisely the property that our proofs require (we use {\mathsf{(Pax2Twined)}} just once, in the Agreement property Proposition 7.3.5 ). This is concise, general, and yields clean proofs. Insisting on a 2 -twined semitopology, or specifically on the semitopology \mathsf{AllBut}_{f}(N) for N>2*f , would also make sense — but the axiom is very precise, allowing us to pinpoint what logical property is required and where. Remark 6.5.2 . We discuss the axioms for the backward rules : 1. {\mathsf{(PaxPropose?)}} : If we propose some value v then (a) we are the leader and (b) v is not the undefined value \mathsf{undef} . 2. {\mathsf{(PaxSend?)}} : If we send some value v then (a) somebody must have proposed some value and (b) i. either v is the value we have most recently accepted, ii. or we never accepted any value and v is the undefined value. 3. {\mathsf{(PaxWrite?)}} : If we write some value v then (a) we are a leader, and (b) there exists an open set of points (= participants) that have all sent us values, and (c) i. either some point in that open set has most recently accepted v , ii. or v is the value that we proposed, and no point in that open set has ever accepted any value. 4. {\mathsf{(PaxAccept?)}} : If we accept v then somebody somewhere must have written v . 5. {\mathsf{(PaxDecideL?)}} : If a leader decides v then an open set of points must have all accepted v . 6. {\mathsf{(PaxDecide{{\boldsymbol{\neg}}}L?)}} : If we are not a leader and we decide v , then some leader somewhere must have decided v . Remark 6.5.3 . We discuss the axioms for the forward rules . We noted in Remark 6.4.3 our design methodology of deriving the forward rules from the backward rules; forward rules are rules for making progress, so they are existentially quantified over the variable v and they use the weak implication \mathrel{\to} to emulate possible crashes. The other subtlety is the \mathsf{ultimately} modality wrapping all of the forward rules, except for {\mathsf{(PaxPropose!)}} . • What \mathsf{ultimately} does for us in most of the forward rules. It models possible network failure, and eventual network synchrony. As touched on in Remark 6.3.2 ( 4 ), the \mathsf{ultimately} modality reflects the possibility that the network might be down for a while, but eventually — ‘finally’ — the network stabilises and messages arrive. Predicates in our logic are not messages, but we get the effect of eventual network synchrony in our logic (even though messages are not explicitly present) by wrapping the implications in our forward rules in the \mathsf{ultimately} modality. More on this when we introduce the notion of global stabilisation of logical time in Subsection 7.4.1 . • Why \mathsf{ultimately} is absent from {\mathsf{(PaxPropose!)}} . Because this rule models a property of the implementation that involves no network communication. The leader does not need to communicate with any other participant to pick a value to propose. It is true that the leader’s propose message might not arrive if the network is down — but this is reflected by the use of \mathsf{ultimately} in the {\mathsf{(PaxSend!)}} rule. 6.6 Some fiddly observations 6.6.1 An aside on {\mathsf{(PaxWrite?)}} {\mathsf{(PaxWrite?)}} from Figure 11 contains this predicate: (\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v. Unpacking what this means (cf. Remark 4.9.1 ), this looks into the past to check whether v is a value that was most recently accepted by some participant. Note that this slightly differently scoped predicate would be wrong : \Diamond\hskip 0.0pt(\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v). This finds some participant such that v is a value that was most recently accepted by that participant (but there might be another participant who more recently accepted some other value). The reader with a background in logic will know all about how important scoping can be (e.g. \forall x.\exists y.\phi vs. \exists x.\forall y.\phi , and \exists x.(\phi\land\phi^{\prime}) vs. \exists x.\phi\land\exists x.\phi^{\prime} ), but perhaps the point bears repeating. 6.6.2 An aside on the backward and forward rules for \mathsf{send} and \mathsf{write} Remark 6.6.1 . In Remark 6.4.3 we proposed a recipe for deriving a forward rule from a backward one: a backward rule of the form {\mathsf{(Rule?)}}\qquad{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\ \chi\mathrel{\rightharpoonup}\psi[a{{:}\text{=}}v]\mathrel{\rightharpoonup}\phi[a{{:}\text{=}}v] generates a forward rule (possibly wrapped in an \mathsf{ultimately} modality) of the form {\mathsf{(Rule!)}}\qquad({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\,\chi\mathrel{\boldsymbol{\wedge}}\phi)\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\psi. We noted in Remark 6.4.3 that the recipe works cleanly for some rules — but it was less clear how it can be applied to derive {\mathsf{(PaxSend!)}} from {\mathsf{(PaxSend?)}} , and {\mathsf{(PaxWrite!)}} from {\mathsf{(PaxWrite?)}} . In these cases, the left-hand sides of {\mathsf{(PaxSend!)}} and {\mathsf{(PaxWrite!)}} seem much simpler than the right-hand sides of {\mathsf{(PaxSend?)}} and {\mathsf{(PaxWrite?)}} respectively. We now show why, in fact, {\mathsf{(PaxSend!)}} and {\mathsf{(PaxWrite!)}} are correct and make sense in the context of our recipe, culminating with Corollary 6.6.3 . Lemma 6.6.2 . We have: 1. \vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\bigl((\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\ \mathbin{\boldsymbol{\vee}}({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept}\mathrel{\boldsymbol{\wedge}}v{\boldsymbol{\text{=}}}\mathsf{undef})\bigr)\ \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\ {\mathbf{t}} . 2. \vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.\bigl(\ ((\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\ \mathbin{\boldsymbol{\vee}}\ ({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}\mathrel{\boldsymbol{\wedge}}\mathsf{propose}(v))\ \bigr)\ \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\ (\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\boldsymbol{\vee}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} . Note that: • The notation {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept} and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} and {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept} is from Notation 3.7.2 . • We do not restrict to contexts and valuations that satisfy TyPax ; the meaning of the \vDash symbol above is as in Definition 3.6.1 ( 5 ). Proof. We consider each part in turn: 1. We distribute the {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v through the \mathbin{\boldsymbol{\vee}} , and then through the \mathrel{\boldsymbol{\wedge}} on the right-hand side (we can do this because v is not free in the left-hand conjunct) and we see that it suffices to show \vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.(\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\ \mathbin{\boldsymbol{\vee}}\ ({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.v{\boldsymbol{\text{=}}}\mathsf{undef})\ \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\ {\mathbf{t}} Using Lemma 4.9.4 this simplifies to just \vDash\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept}\ \mathbin{\boldsymbol{\vee}}\ ({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.v{\boldsymbol{\text{=}}}\mathsf{undef})\ \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\ {\mathbf{t}}. This clearly holds, just taking v{\boldsymbol{\text{=}}}\mathsf{undef} . 2. We distribute {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v into the predicate as we did for the proof of part 1 . We see that it suffices to show \vDash\bigl(\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.((\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\ \mathbin{\boldsymbol{\vee}}\ ({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose})\ \bigr)\ \mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\ \mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}\ \mathbin{\boldsymbol{\vee}}\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}. We obtain this by simplifying the left-hand side using Lemma 4.9.4 . ∎ We can now justify the left-hand sides of {\mathsf{(PaxSend!)}} and {\mathsf{(PaxWrite!)}} as being consistent with our recipe as discussed above in Remark 6.6.1 : Corollary 6.6.3 . Suppose \varsigma is a valuation such that \vDash_{\varsigma}\Theta_{\text{TyPax}} . Then we have: 1. \begin{array}[t]{r@{\ }l}\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.&\bigl({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}\ \mathrel{\boldsymbol{\wedge}}\bigl((\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\ \mathbin{\boldsymbol{\vee}}({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept}\mathrel{\boldsymbol{\wedge}}v{\boldsymbol{\text{=}}}\mathsf{undef})\bigr)\bigr)\\ &\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}\end{array} 2. \begin{array}[t]{r@{\ }l}\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v.&\bigl(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt(\Box{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send}\mathrel{\boldsymbol{\wedge}}\bigl(((\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\mathbin{\boldsymbol{\vee}}({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}\mathrel{\boldsymbol{\wedge}}\mathsf{propose}(v))\bigr))\bigr)\\ &\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{leader}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt\bigl(\Box\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send}\mathrel{\boldsymbol{\wedge}}(\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}\mathbin{\boldsymbol{\vee}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose})\bigr)\\ &\mathbin{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\equiv$}}\hskip 0.2pt}}\mathsf{leader}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}\end{array} Proof. For both parts, the first equivalence follows by elementary predicate manipulations, distributing the {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}v quantifier down into the predicate and using Lemma 6.6.2 . In the second part, the second equivalence follows by routine reasoning using the other rules of TyPax and in particular {\mathsf{(PaxSend?)}} . By {\mathsf{(PaxSend?)}} and {\mathsf{(PaxPropose?)}} and the other rules, if someone {\mathbf{t}} -sent a value then some (possibly distinct) value must be {\mathbf{t}} -proposed by the unique leader, so we can drop the \mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept} disjunct. The rest of the argument is routine from truth-tables. ∎ 6.6.3 Axiom {\mathsf{(LdrUniq)}} : uniqueness of the leader Recall axiom {\mathsf{(LdrUniq)}} from TyPax in Figure 11 : {\mathsf{(LdrUniq)}}\quad\Diamond\hskip 0.0pt\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X}). Note that \mathsf{X} is not positive in {\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X}) , because \mathsf{X} occurs under a negation {\boldsymbol{\neg}} . Thus, the \mu is still taking an intersection, but that intersection does not necessarily determine a fixpoint. This is fine mathematically. We just are now outside the bounds of fixpoint logic, and in a larger design space. In Remark 6.5.1 ( 2 ) we claimed that {\mathsf{(LdrUniq)}} expresses that there are zero or one leaders. We now show how this works, culminating with Corollary 6.6.7 . Definition 6.6.4 . Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} and \varsigma is a valuation and \varkappa\in{\mathbf{3}}^{\mathsf{Ctx}} . We define: 1. \mbox{$\mathit{leaders}$}_{n,\varsigma}=\{p\in\mathord{\text{Point}}\mid\varsigma(\mathsf{leader})_{n,p}={\mathbf{t}}\} . Call this the set of n,\varsigma -leaders , or if n and \varsigma are understood, just the set of leaders . 2. z_{n,O,\varsigma,\varkappa}={[\hskip-1.99997pt[\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\varkappa)]\hskip-1.99997pt]}_{n,p,O,\varsigma}=\bigvee_{p\in O}(\varsigma(\mathsf{leader})_{n,p}\mathrel{\boldsymbol{\wedge}}\varkappa(n,p,O,\varsigma)) . 3. Say that \varkappa\in{\mathbf{3}}^{\mathsf{Ctx}} is admissible when either of the two following equivalent conditions holds: • {\boldsymbol{\neg}}z_{n^{\prime},O^{\prime},\varsigma^{\prime},\varkappa}\leq\varkappa(n^{\prime},p^{\prime},O^{\prime},\varsigma^{\prime}) for every n^{\prime},p^{\prime},O^{\prime},\varsigma^{\prime} , or equivalently • {\boldsymbol{\neg}}\varkappa(n^{\prime},p^{\prime},O^{\prime},\varsigma^{\prime})\leq z_{n^{\prime},O^{\prime},\varsigma^{\prime},\varkappa} for every n^{\prime},p^{\prime},O^{\prime},\varsigma^{\prime} . 4. Define \begin{array}[]{r@{\ }c@{\ }l}M(n,p,O,\varsigma)&=&{[\hskip-1.99997pt[\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X})]\hskip-1.99997pt]}_{n,p,O,\varsigma}\\ &\stackrel{{\scriptstyle\text{Fig.~\ref{fig.3.phi.f}}}}{{=}}&\bigl(\bigwedge\{\varkappa\in{\mathbf{3}}^{\mathsf{Ctx}}\mid{[\hskip-1.99997pt[{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\varkappa)]\hskip-1.99997pt]}\leq\varkappa\}\bigr)(n,p,O,\varsigma)\\ &=&\bigwedge\{\varkappa\in{\mathbf{3}}^{\mathsf{Ctx}}\mid\varkappa\ \text{ admissible}\}\,(n,p,O,\varsigma)\\ &=&\bigwedge\{\varkappa(n,p,O,\varsigma)\mid\varkappa\in{\mathbf{3}}^{\mathsf{Ctx}}\ \text{ admissible}\}.\end{array} In words: {[\hskip-1.99997pt[\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X})]\hskip-1.99997pt]} as a context valuation is equal to the meet (in {\mathbf{3}}^{\mathsf{Ctx}} the set of all context valuations) of all the admissible \varkappa . Remark 6.6.5 . The proofs below are quite detailed, so we first offer an intuitive sketch of why in some sense Proposition 6.6.6 and Corollary 6.6.7 should work. Note below that a key construction is to take an intersection over all \varkappa such that (in simplified form) {[\hskip-1.99997pt[{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\varkappa)]\hskip-1.99997pt]}\leq\varkappa . This condition is monotone, by which we mean that if \varkappa satisfies it and \varkappa\leq\varkappa^{\prime} then so does \varkappa^{\prime} . Thus the intersection is in some sense ‘created’ by minimal \varkappa . Now note that a \varkappa that identifies one leader (by being non-false at that leader and false everywhere else), satisfies the condition. Therefore, if there is just one leader to identify, then the intersection of all suitable \varkappa is just the unique least identifying \varkappa ; but if there are two leaders then the intersection of all suitable \varkappa will include an intersection of two minimal identification functions identifying two distinct leaders, whose intersection identifies no elements. Proposition 6.6.6 . Suppose that (n,p,O,\varsigma) is a context, so that n\in\mathbb{N}_{\scriptscriptstyle\geq 0} is a stage, O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} is a nonempty open set, and \varsigma is a valuation. Suppose further that n\vDash_{\varsigma}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{leader} . Then using the notation and terminology from Definition 6.6.4 , we have that M(n,p,O,\varsigma) takes the following values on (n,p,O,\varsigma) : • If O contains no leaders then M(n,q,O,\varsigma)={\mathbf{t}} for every q\in\mathord{\text{Point}} . • If O contains precisely one leader p\in\mathord{\text{Point}} then M(n,p,O,\varsigma)={\mathbf{b}} and M(n,q,O,\varsigma)={\mathbf{f}} for every q\in\mathord{\text{Point}}\setminus\{p\} . • If O contains two or more leaders then M(n,q,O,\varsigma)={\mathbf{f}} for every q\in\mathord{\text{Point}} . Proof. Note that since we assumed n\vDash_{\varsigma}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{leader} , we know that \mathsf{leader} is two-valued (returns {\mathbf{t}} or {\mathbf{f}} , but not {\mathbf{b}} ); so a point either is a leader or is not a leader. We are interested in determining the value of M , and this value is a meet (greatest lower bound) of admissible context valuations \varkappa\in{\mathbf{3}}^{\mathsf{Ctx}} . Fix some arbitrary \leq -minimal admissible context valuation \varkappa\in{\mathbf{3}}^{\mathsf{Ctx}} (if any such exists). We now consider the possible values of \lambda p\in\mathord{\text{Point}}.\varkappa(n,p,O,\varsigma) , and from this we will deduce what values M must take: 1. Suppose \mbox{$\mathit{leaders}$}_{n,\varsigma}\cap O=\varnothing . In words: there are no leaders in O . By Definition 6.6.4 ( 2 ) z_{n,O,\varsigma,\varkappa}={\mathbf{f}} (regardless of \varkappa ) and {\boldsymbol{\neg}}z_{n,O,\varsigma,\varkappa}={\mathbf{t}} . We assumed that \varkappa is admissible so by Definition 6.6.4 ( 3 ) \varkappa(n,q,O,\varsigma)={\mathbf{t}} for every q\in\mathord{\text{Point}} , and thus M(n,q,O,\varsigma)={\mathbf{t}} for every q\in\mathord{\text{Point}} . 2. Suppose \mbox{$\mathit{leaders}$}_{n,\varsigma}\cap O=\{p\} for some p\in\mathord{\text{Point}} . In words: there is precisely one leader p in O . By Definition 6.6.4 ( 2 ) z_{n,O,\varsigma,\varkappa}=\varkappa(n,p,O,\varsigma) and {\boldsymbol{\neg}}z_{n,O,\varsigma,\varkappa}={\boldsymbol{\neg}}\varkappa(n,p,O,\varsigma) . We assumed that \varkappa is admissible, so by Definition 6.6.4 ( 3 ) {\boldsymbol{\neg}}\varkappa(n,p,O,\varsigma)\leq\varkappa(n,q,O,\varsigma) for every q\in\mathord{\text{Point}} . In particular, {\boldsymbol{\neg}}\varkappa(n,p,O,\varsigma)\leq\varkappa(n,p,O,\varsigma) , so that we have two subcases: that \varkappa(n,p,O,\varsigma)={\mathbf{b}} or \varkappa(n,p,O,\varsigma)={\mathbf{t}} . We consider each in turn: • Suppose z_{n,O,\varsigma,\varkappa}=\varkappa(n,p,O,\varsigma)={\mathbf{b}} . Then {\boldsymbol{\neg}}{\mathbf{b}}={\mathbf{b}}\leq\varkappa(n,q,O,\varsigma) for all q\in\mathord{\text{Point}} . • Suppose z_{n,O,\varsigma,\varkappa}=\varkappa(n,p,O,\varsigma)={\mathbf{t}} . Then {\boldsymbol{\neg}}{\mathbf{t}}={\mathbf{f}}\leq\varkappa(n,q,O,\varsigma) for all q\in\mathord{\text{Point}} . This condition is vacuous. It follows that for q\in\mathord{\text{Point}} , M(n,q,O,\varsigma)=\begin{cases}{\mathbf{b}}&q=p\\ {\mathbf{f}}&q\neq p\end{cases} 3. Suppose p\neq p^{\prime}\in\mbox{$\mathit{leaders}$}_{n,\varsigma}\cap O for two distinct p\neq p^{\prime}\in\mathord{\text{Point}} . In words: there is more than one leader in O . By Definition 6.6.4 ( 2 ) z_{n,O,\varsigma,\varkappa}=\bigvee_{p\in O\cap\mbox{$\mathit{leaders}$}_{n,\varsigma}}\varkappa(n,p,O,\varsigma). We just require \varkappa to be admissible, and unpacking this requirement, we require that \forall q\in\mathord{\text{Point}}.\ {\boldsymbol{\neg}}\varkappa(n,q,O,\varsigma)\leq\bigvee_{p\in O\cap\mbox{$\mathit{leaders}$}_{n,\varsigma}}\varkappa(n,p,O,\varsigma). We see that possible values for \varkappa include the following: • \varkappa(n,p,O,\varsigma)={\mathbf{t}} and \varkappa(n,q,O,\varsigma)={\mathbf{f}} for every q\in\mathord{\text{Point}}\setminus\{p\} , or • \varkappa(n,p^{\prime},O,\varsigma)={\mathbf{t}} and \varkappa(n,q,O,\varsigma)={\mathbf{f}} for every q\in\mathord{\text{Point}}\setminus\{p^{\prime}\} . M(n,q,O,\varsigma) is the meet of all admissible \varkappa , and it follows that M(n,q,O,\varsigma)={\mathbf{f}} for every q\in\mathord{\text{Point}} . ∎ Corollary 6.6.7 . Suppose (n,p,O,\varsigma) is a context, so that n\in\mathbb{N}_{\scriptscriptstyle\geq 0} is a stage, O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} is a nonempty open set, and \varsigma is a valuation such that n\vDash_{\varsigma}\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{leader} . Write L_{n}=\{p\in\mathord{\text{Point}}\mid p\text{ is an $n,\varsigma$ leader}\}. Then: • If \hbox to0.4pt{\vbox to0.4pt{\pgfpicture\makeatletter\hbox{\hskip 0.2pt\lower-0.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@roundcap\lxSVG@begingroup@{stroke-linecap=round} \lx@inpgf@ignorespaces{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0}{fill:none} \lx@inpgf@ignorespaces \lxSVG@closescope {{\lx@inpgf@ignorespaces}{}}{{}}{}{\lx@inpgf@ignorespaces}{{}}{}\lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}(L_{n}\cap O)=0 then {[\hskip-1.99997pt[\Diamond\hskip 0.0pt\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X})]\hskip-1.99997pt]}_{n,p,O,\varsigma}={\mathbf{t}} . • If \hbox to0.4pt{\vbox to0.4pt{\pgfpicture\makeatletter\hbox{\hskip 0.2pt\lower-0.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@roundcap\lxSVG@begingroup@{stroke-linecap=round} \lx@inpgf@ignorespaces{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0}{fill:none} \lx@inpgf@ignorespaces \lxSVG@closescope {{\lx@inpgf@ignorespaces}{}}{{}}{}{\lx@inpgf@ignorespaces}{{}}{}\lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}(L_{n}\cap O)=1 then {[\hskip-1.99997pt[\Diamond\hskip 0.0pt\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X})]\hskip-1.99997pt]}_{n,p,O,\varsigma}={\mathbf{b}} . • If \hbox to0.4pt{\vbox to0.4pt{\pgfpicture\makeatletter\hbox{\hskip 0.2pt\lower-0.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {{{\lx@inpgf@ignorespaces}{}}{}}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}{{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@roundcap\lxSVG@begingroup@{stroke-linecap=round} \lx@inpgf@ignorespaces{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0 M 0 0 L 0 0}{fill:none} \lx@inpgf@ignorespaces \lxSVG@closescope {{\lx@inpgf@ignorespaces}{}}{{}}{}{\lx@inpgf@ignorespaces}{{}}{}\lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}(L_{n}\cap O)\geq 2 then {[\hskip-1.99997pt[\Diamond\hskip 0.0pt\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X})]\hskip-1.99997pt]}_{n,p,O,\varsigma}={\mathbf{f}} . As corollaries: 1. n,p,O\vDash_{\varsigma}\Diamond\hskip 0.0pt\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X}) precisely when n,q,O\vDash_{\varsigma}\mathsf{leader} for at most one q\in O . 2. n\vDash_{\varsigma}\Diamond\hskip 0.0pt\mu\mathsf{X}.{\boldsymbol{\neg}}\Diamond\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{X}) precisely when there exists at most one leader at stage n . 3. If \vDash_{\varsigma}\text{TyPax} then there exists precisely one leader at each stage n . Proof. We consider each part in turn: 1. By elementary reasoning from Proposition 6.6.6 , using the definition of n,p,O\vDash_{\varsigma}\psi from Definition 3.6.1 ( 1 ) (for arbitrary \psi ) and the clause for \Diamond\hskip 0.0pt\phi in Figure 5 (for arbitrary \phi ). 2. By the definition of n\vDash_{\varsigma}\psi from Definition 3.6.1 ( 3 ). 3. Combining the above with {\mathsf{(LdrExist)}} . ∎ Remark 6.6.8 . We are not aware of the precise technical construction from Definition 6.6.4 appearing in the literature — but arguably it echoes an idea used in Kit Fine’s PhD thesis [ Fin69 ] (see Chapter 3) which (paraphrasing slightly) implements a ‘there exist zero or one points satisfying p ’ modality as \forall q.(\Box(p\to q)\vee\Box(p\to{\boldsymbol{\neg}}q)) — where here the impredicative \forall q plays the role of our \mu\mathsf{X} as applied to a non-monotone argument. We originally introduced \mu\mathsf{X} to model iteration, which is a programming construct. But the comparison above suggests that \mu\mathsf{X} might also be useful as a logical construct, namely as an impredicative universal quantification over all \varkappa . Therefore, a tempting generalisation of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} is simply to replace \mu\mathsf{X} with an explicit and full-blooded \forall\mathsf{X} , such that {[\hskip-1.99997pt[{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}\mathsf{X}.\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}=\bigwedge_{\varkappa\in{\mathbf{3}}^{\mathsf{Ctx}}}{[\hskip-1.99997pt[\phi[\mathsf{X}{{:}\text{=}}\varkappa]]\hskip-1.99997pt]}_{n,p,O,\varsigma}. There would be no mathematical barrier to doing this if it turns out to be useful, but the example of Paxos does not require such power so we do not include it for now. 7 Correctness properties 7.1 Summary of the properties Remark 7.1.1 . We will derive the following standard correctness properties for Paxos (as laid out in [ Cac11 , Subsection 2.2.1] ) from the theory TyPax in Figure 11 : 1. Validity: If a participant decides some value v , then v was proposed by some participant. A formal statement and proof is in Theorem 7.2.3 . 2. Agreement: If two participants decide values, then those values are equal. A formal statement and proof is in Theorem 7.3.6 . 3. Termination: Every correct participant eventually decides some value. A formal statement and proof is in Theorem 7.4.7 . 4. Integrity: Every correct (non-crashing) participant decides at most once. Our logic abstracts away from a direct notion of execution, by design, but this property is represented indirectly in how Theorem 7.4.7 is expressed. See Remark 7.1.2 below. Remark 7.1.2 (On integrity) . In implementations of Paxos, once a participant has decided, it stops. But in our logic, ‘stop’ is not even a concept. There is no abstract machine to stop; there are just predicates, with denotations. Nevertheless, the integrity property is echoed in our maths, as the infinite repetition in Theorem 7.4.7 . Once a predicate \mathsf{decide}(v) returns {\mathbf{t}} , it will do so again and again — and because of Agreement, it can never decide any other value. A predicate eventually repeatedly returning the same result, and never returning any other result, is a model of an abstract machine that has computed its result — and then just sits there forever, displaying that same result, unchanged, every time we look. 7.2 Validity Remark 7.2.1 . Validity is expressed in English as: If a participant decides some value v , then v was proposed by some participant. We render this in our logic in Theorem 7.2.3 as \text{TyPax}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.(\mathsf{decide}(v)\mathrel{\rightharpoonup}{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{propose}(v))). In words we can read this as: If someone decides v now, then at some stage now or in the past a leader of that stage proposed v . We will now set about proving this property from our axioms, culminating with Theorem 7.2.3 . Lemma 7.2.2 . Suppose \varsigma is a valuation such that \vDash_{\varsigma}\text{TyPax} ( \vDash_{\varsigma}\text{TyPax} is from Figure 7 ). Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and v\in\mathord{\text{Value}} . Then: 1. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v)\mathrel{\rightharpoonup}{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{propose}(v) . 2. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v)\mathrel{\rightharpoonup}{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{propose}(v) . Proof. We prove both parts by a simultaneous induction on n . We freely use strong modus ponens (Proposition 2.3.3 ( 2 )): 1. Suppose n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v) . Then using {\mathsf{(PaxWrite?)}} n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt(\Diamond\hskip 0.0pt\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\quad\text{or}\quad n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{propose}(v). We consider the two cases: • If n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{propose}(v) , then n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{propose}(v) follows immediately from the clause for \mathsf{R} in Figure 6 . • If n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt(\Diamond\hskip 0.0pt\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v) , then by Lemma 4.9.7 ( 2 ) n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v) , so that by Figure 6 n^{\prime}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v) for some n^{\prime}n that for every v^{\prime}\in\mathord{\text{Value}} , \begin{array}[]{r@{\ }l}n^{\prime}\vDash_{\varsigma}&\mathsf{T}\hskip 0.0pt(({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v^{\prime}\mathrel{\rightharpoonup}v^{\prime}{\boldsymbol{\text{=}}}v)\quad\text{and}\\ n^{\prime}\vDash_{\varsigma}&\mathsf{T}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v^{\prime})\mathrel{\rightharpoonup}v^{\prime}{\boldsymbol{\text{=}}}v)\end{array} Clearly, by strong modus ponens (Proposition 2.3.3 ( 2 )) the \mathsf{write} part of the inductive hypothesis is enough to prove part 2 of this result. For the \mathsf{accept} part of the inductive hypothesis, we see that this implies part 1 of this result either by a routine argument using {\mathsf{(PaxAccept?)}} and part 2 of this result — or using Corollary 4.9.6 ( 1 ) (for a.\phi=a.{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(a) in that result). We consider cases: • The base case for \mathsf{accept} , where n^{\prime}=n+1 . Suppose n^{\prime}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v^{\prime}) . We assumed in equation ( 1 ) that n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}(v) , so by Proposition 4.4.3 ( 4 ) also n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v) , and by Corollary 4.9.6 ( 1 ) n^{\prime}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt(({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v) . By Lemma 7.3.2 ( 3 ) v^{\prime}=v . • The inductive step for \mathsf{accept} , where n^{\prime}>n+1 . Suppose n^{\prime}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v^{\prime}) . By Corollary 4.9.6 ( 2 ) either n^{\prime}{\shortminus}1\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v^{\prime}) or n^{\prime}{\shortminus}1\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v^{\prime}) . In the former case, using {\mathsf{(PaxAccept?)}} n^{\prime}{\shortminus}1\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v^{\prime}) , and by the \mathsf{write} part of the inductive hypothesis, v^{\prime}=v . In the latter case, we just use the \mathsf{accept} part of the inductive hypothesis. • The case of \mathsf{write} . Suppose p\in\mathord{\text{Point}} and n^{\prime},p\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt\mathsf{write}(v^{\prime}) . Using {\mathsf{(PaxWrite?)}} , there exists an O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}} such that n^{\prime},p,O\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt\bigl((\Diamond\hskip 0.0pt\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v^{\prime})\ \mathbin{\boldsymbol{\vee}}({\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}\mathrel{\boldsymbol{\wedge}}\mathsf{propose}(v^{\prime}))\bigr), from which it follows using Lemmas 4.2.1 and 2.2.4 and some basic reasoning on truth-values that \text{either}\quad n^{\prime},O\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt\Diamond\hskip 0.0pt\mathsf{accept}\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v^{\prime}\quad\text{or}\quad n^{\prime},O\vDash_{\varsigma}{\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept}. Now nn and every O^{\prime}\in\mathord{\text{Open}} and every p^{\prime}\in O^{\prime} . Subtlety alert: This is not quite the same thing as just n^{\prime}\vDash_{\varsigma}\phi for every n^{\prime}>n . The reader might like to think about why. (Hint: p\in O .) That is: \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi\ \ \text{ is synchronous at $n$ in $\varsigma$}\quad\text{when}\quad n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\phi. In words, \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi is synchronous when the ‘ \mathsf{ultimately} ’ becomes ‘at every O , at every p\in O , at every future time’. 2. Suppose the valuation \varsigma is such that \vDash_{\varsigma}\text{TyPax} ( \vDash_{\varsigma} is from Figure 7 and TyPax is from Figure 11 ). Then define \mbox{$\mathit{GSLT}$}(\varsigma)\in\mathbb{N}_{\scriptscriptstyle\geq 0} to be the least stage n such that all of the rules in Figure 11 that start with \mathsf{ultimately} — namely, the forward rules {\mathsf{(PaxSend!)}} , {\mathsf{(PaxWrite!)}} , {\mathsf{(PaxAccept!)}} , {\mathsf{(PaxDecideL!)}} , and {\mathsf{(PaxDecide{\boldsymbol{\neg}}L!)}} — are synchronous at n in the valuation \varsigma . We call \mbox{$\mathit{GSLT}$}(\varsigma) the Global Stabilisation of Logical Time in \varsigma . Remark 7.4.3 . We make some observations about Definition 7.4.2 . Suppose \phi is a closed predicate. Then: 1. Unpacking Definition 7.4.2 ( 1 ) using the clause for \mathsf{forever} in Figure 6 , \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi\text{ is synchronous at $n$ in $\varsigma$}\quad\Longleftrightarrow\quad n\vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi and \mbox{$\mathit{GSLT}$}(\varsigma) is least such that \mbox{$\mathit{GSLT}$}(\varsigma)\vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send}) , and \mbox{$\mathit{GSLT}$}(\varsigma)\vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt\bigl((\mathsf{leader}\mathrel{\boldsymbol{\wedge}}({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send})\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose})\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write}\bigr) , and so on. 2. If \phi is absolutely pointwise — meaning by Definition 4.7.2 that {[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O,\varsigma}={[\hskip-1.99997pt[\phi]\hskip-1.99997pt]}_{n,p,O^{\prime},\varsigma} always, so that the truth-value of \phi does not depend on the open set argument O — then we can simplify further: \begin{array}[]{r@{\ }l}\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi\text{ is synchronous at $n$ in $\varsigma$}\quad\Longleftrightarrow&n\vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\phi\\ \quad\Longleftrightarrow&\forall n^{\prime}{>}n.(n^{\prime}\vDash_{\varsigma}\phi).\end{array} The reader can easily check that the forward rules {\mathsf{(PaxSend!)}} , {\mathsf{(PaxWrite!)}} , {\mathsf{(PaxAccept!)}} , {\mathsf{(PaxDecideL!)}} , and {\mathsf{(PaxDecide{\boldsymbol{\neg}}L!)}} from TyPax in Figure 11 are all of the form \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi for absolutely pointwise \phi . 3. \mathit{GSLT} is well-defined in Definition 7.4.2 ( 2 ) because there are finitely many \mathsf{ultimately} -axioms in TyPax , mentioning finitely many \mathsf{ultimately} modalities, and a finite set of natural numbers has a finite least upper bound n^{\prime} . It is clear by construction that if \scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt\phi is synchronous at n then it is synchronous at every n^{\prime\prime}>n , so in particular all the \mathsf{ultimately} -axioms are synchronous at n^{\prime\prime}=n^{\prime} . 54 54 54 It is important that \phi be closed for this argument to work. For instance, if we had written {\mathsf{(PaxAccept!)}} as {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v)\mathrel{\to}\mathsf{accept}(v)) — which is a distinct assertion from that used in Figure 11 — then \mathit{GSLT} might not be defined. Also the fine design of the \mathsf{ultimately} modality, matters. For instance, if we had defined \mathsf{ultimately} to be {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt\,\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt rather than \scalebox{0.8}[1.0]{$\mathsf{sometime}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}\scalebox{0.8}[1.0]{$\mathsf{forever}$}\hskip 0.0pt , then the arguments might fail (consider the case of \mathord{\text{Point}} infinite). Lemma 7.4.4 . Suppose \varsigma is a valuation such that \vDash_{\varsigma}\text{TyPax} . Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and n>\mbox{$\mathit{GSLT}$}(\varsigma) and v\in\mathord{\text{Value}} . Then n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v)\quad\Longleftrightarrow\quad n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}(v)\quad\Longleftrightarrow\quad n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v). Proof. We prove a cycle of implications, freely using weak and strong modus ponens (Proposition 2.3.3 ( 1 & 2 )). • Suppose n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v) . By {\mathsf{(PaxAccept!)}} (since n>\mbox{$\mathit{GSLT}$}(\varsigma) ), \forall p\in\mathord{\text{Point}},O\in\mathord{\text{Open}}_{\hskip-0.5pt\scalebox{0.6}{\pdfliteral${\neq}\varnothing$\pdfliteral}}.n,p,O\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept} . Restricting to p\in O in the quantification, we have that n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept} . By Proposition 4.8.9 ( 2 ) and {\mathsf{(PaxPCorrect)}} (for \mathsf{accept} ), n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept} . Unpacking the existential {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept} and using {\mathsf{(PaxAccept?)}} and Lemma 7.3.2 ( 1 ), we conclude that n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}(v) . • Suppose n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}(v) . By Proposition 4.4.3 ( 4 ) n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v) . • Suppose n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{accept}(v) . By {\mathsf{(PaxAccept?)}} n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v) . ∎ Lemma 7.4.5 . Suppose \varsigma is a valuation such that \vDash_{\varsigma}\text{TyPax} . Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and n>\mbox{$\mathit{GSLT}$}(\varsigma) . Then: 1. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} . 2. n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose}\mathrel{\rightharpoonup}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} . Proof. We consider each part in turn: 1. We use weak modus ponens (Proposition 2.3.3 ( 1 )). Suppose n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} . By {\mathsf{(PaxSend!)}} (since n>\mbox{$\mathit{GSLT}$}(\varsigma) ) \forall p\in\mathord{\text{Point}}.n,p\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send}. By Lemma 4.7.7 ( 2 ) {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} is pointwise, so by Proposition 4.7.14 ( 2 ) n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} as required. 2. We use strong modus ponens (Proposition 2.3.3 ( 2 )). Suppose n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} . By part 1 of this result and weak modus ponens (Proposition 2.3.3 ( 1 )), n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} . By {\mathsf{(PaxPCorrect)}} (for \mathsf{send} ) n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\mathsf{send}] , so by Proposition 4.8.9 ( 2 ) n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} as required. ∎ 7.4.2 GSLT implies termination Recall from Definition 4.8.2 ( 2 ) that \mathsf{correct}[\mathsf{decide}]={\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{decide}(v) . Lemma 7.4.6 . Suppose \varsigma is a valuation such that \vDash_{\varsigma}\text{TyPax} . Suppose n\in\mathbb{N}_{\scriptscriptstyle\geq 0} and n>\mbox{$\mathit{GSLT}$}(\varsigma) , and p\in\mathord{\text{Point}} . Then: 1. If n,p\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} and n,p\vDash_{\varsigma}\mathsf{correct}[\mathsf{write}] then n,p\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write}) . 2. \vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{correct}[\mathsf{decide}]\mathrel{\boldsymbol{\wedge}}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write}) . 3. \vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{correct}[\mathsf{decide}])\mathrel{\boldsymbol{\wedge}}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}) . Proof. We consider each part in turn: 1. Suppose n,p\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} . By {\mathsf{(PaxPropose?)}} and strong modus ponens (Proposition 2.3.3 ( 2 )) n,p\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt\mathsf{leader} . By Lemma 7.4.5 ( 2 ) and strong modus ponens n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} . Using weak modus ponens (Proposition 2.3.3 ( 1 )) and {\mathsf{(PaxWrite!)}} (since n>\mbox{$\mathit{GSLT}$}(\varsigma) ) n,p\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write} . By Proposition 4.8.8 ( 3 ) (since n,p\vDash_{\varsigma}\mathsf{correct}[\mathsf{write}] ) n,p\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write} . 2. By {\mathsf{(LdrExist)}} , and {\mathsf{(LdrCorrect)}} with Lemma 4.5.3 (for \mbox{$\mathit{tvs}$}=\{{\mathbf{t}}\} in that Lemma), and strong modus ponens (Proposition 2.3.3 ( 2 )), for infinitely many n>\mbox{$\mathit{GSLT}$}(\varsigma) there exists l_{n}\in\mathord{\text{Point}} such that n,l_{n}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{correct}[\mathsf{propose},\mathsf{write},\mathsf{decide}]. (We can equivalently write \mathsf{T}\hskip 0.0pt\mathsf{leader} or just \mathsf{leader} above, because {\mathsf{(LdrExist)}} insists that \mathsf{leader} is two-valued.) So for each n and l_{n} we have n,l_{n}\vDash_{\varsigma}\mathsf{correct}[\mathsf{decide}] . We will now check that n,l_{n}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write} . We reason as follows: • By {\mathsf{(PaxPropose!)}} (since n>\mbox{$\mathit{GSLT}$}(\varsigma) ) and weak modus ponens (Proposition 2.3.3 ( 1 )) we have that n,l_{n}\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} . • By Proposition 4.8.8 ( 3 ) (since n,l_{n}\vDash_{\varsigma}\mathsf{correct}[\mathsf{propose}] and n,l_{n}\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} ) n,l_{n}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{propose} . • By part 1 of this result (since n,l_{n}\vDash_{\varsigma}\mathsf{correct}[\mathsf{write}] ) n,l_{n}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write} . 3. We just combine part 2 of this result with Lemma 7.4.4 . ∎ Recall that Theorem 7.4.7 expresses termination (as the name suggests) but also, taken together with Agreement, it expresses an abstracted form of the Integrity correctness property by virtue of the use of the \mathsf{infinitely} modality, as per Remark 7.1.2 : Theorem 7.4.7 (Termination) . We have: \text{TyPax}\vDash\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide}. Proof. Suppose \varsigma is a valuation and \vDash_{\varsigma}\text{TyPax} . By Lemmas 7.4.6 ( 3 ) and 4.5.3 (for \mbox{$\mathit{tvs}$}=\{{\mathbf{t}}\} in that Lemma), for infinitely many n\in\mathbb{N}_{\scriptscriptstyle\geq 0} there exists an l_{n}\in\mathord{\text{Point}} such that 1. n,l_{n}\vDash_{\varsigma}\mathsf{leader} , 2. n,l_{n}\vDash_{\varsigma}\mathsf{correct}[\mathsf{decide}] (Definition 4.8.2 ( 2 )), and 3. n\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept} . By {\mathsf{(PaxDecideL!)}} (since n>\mbox{$\mathit{GSLT}$}(\varsigma) ) and weak modus ponens (Proposition 2.3.3 ( 1 )) n,l_{n}\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} . By Proposition 4.8.8 ( 3 ) (since n,l_{n}\vDash_{\varsigma}\mathsf{correct}[\mathsf{decide}] and n,l_{n}\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} ) n,l_{n}\vDash_{\varsigma}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} . It follows using {\mathsf{(PaxDecide{\boldsymbol{\neg}}L!)}} and weak modus ponens (Proposition 2.3.3 ( 1 )) that n,p\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} for non-leader p\in\mathord{\text{Point}} and thus for every p\in\mathord{\text{Point}} , and so by (Lemma 4.7.7 ( 2 ) and) Proposition 4.7.14 ( 2 ) that n\vDash_{\varsigma}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} . The above holds for infinitely many n\in\mathbb{N}_{\scriptscriptstyle\geq 0} , so by Lemma 4.5.3 (for \mbox{$\mathit{tvs}$}=\{{\mathbf{t}},{\mathbf{b}}\} in that Lemma) we have that \vDash_{\varsigma}\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} as required. ∎ Remark 7.4.8 . Theorem 7.4.7 proves that \text{TyPax}\vDash\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} holds. Note that {\mathbf{b}} (the truth-value associated to a crashed process) is a valid truth-value, so n\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} can hold in the trivial case that everyone is crashed. Thus, what Theorem 7.4.7 asserts in English is that infinitely often, everyone who is not crashed, decides (but it might be that everyone is crashed) — from which it obviously follows that if a participant never crashes then eventually it decides a value, as per Remark 7.1.1 . But in fact, we can prove a bit more: \text{TyPax}\vDash\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} In words: infinitely often, there exists a quorum of uncrashed participants , who decide. This follows from Theorem 7.4.7 by easy reasoning using {\mathsf{(PaxPCorrect)}} , {\mathsf{(PaxDecide{\boldsymbol{\neg}}L!)}} , and Proposition 7.3.3 ; we leave this to the reader to check. 8 Simpler Declarative Paxos Logic is useful for simplification and abstraction in many ways. In particular, we can axiomatise something, prove some properties — and then look at what we actually needed from the axioms to make the proofs work. This can feed back to suggest refinements and generalisations of the original axioms. (For example: many properties of natural numbers are actually properties of fields, or rings, or integral domains, and so on.) We can do something similar here, and look for the most elementary set of axioms that are actually required for our correctness proofs as written: 8.1 What we used in the correctness proofs for TyPax Remark 8.1.1 . We note a curious thing about our correctness proofs in Section 7 , that we never used axioms {\mathsf{(PaxSend?)}} or {\mathsf{(PaxPropose01)}} . How can this be? Is this an error? No. This is an opportunity to further simplify the Declarative Paxos from Figure 11 to the Simpler Declarative Paxos in Figure 12 . To understand how and why this works, we need to highlight some details about how the Paxos algorithm works. Remark 8.1.2 (Why we did not use {\mathsf{(PaxSend?)}} ) . Recall from Remark 6.2.1 our high-level view of the Paxos algorithm, and recall that TyPax in Figure 11 is a declarative version of that algorithm (obtained by abstracting away explicit message-passing and algorithmic time, as per Remark 6.2.2 ). Note of the algorithm that • in step 1 of Remark 6.2.1 , the leader broadcasts a ‘propose’ message; and • in step 2 , a participant p that receives that ‘propose’ message, replies with a ‘send’ message carrying as its payload a value v_{p} , which is p ’s most recently accepted value (if any); and • in step 3 , the leader gathers the v_{p} values from these responses and, if it has a quorum (nonempty open set) of responses, it selects a most recent value to use in its write step. In the algorithm, the only way that the leader l can know of a participant p ’s value of v_{p} , is if l receives a send message from p with payload v_{p} . If l receives no such message, then it does not know the value of v_{p} . In contrast, predicates of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} are not assigned truth-values by participants in an algorithm; they are assigned truth-values as if by an omniscient observer who is standing outside of the model and who has full (omniscient) access to it. This is reflected in {\mathsf{(PaxWrite?)}} , where we write (\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v . This directly examines the model to find the most recently accepted value. No reference here is required to the payload of the quorum of \mathsf{send} messages. {\mathsf{(PaxWrite?)}} still insists that such a quorum exists, as per the \Box\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{send} that appears in {\mathsf{(PaxWrite?)}} , so in this case the value (\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v is computable by the leader, and we could specify a more complex predicate that checks the set of v_{p} payloads in the send messages of that quorum to select a most recently accepted value. In the implementation, this is necessary because the leader l is not omniscient. But in the logic we have no reason to go to this trouble, because we can just read the information directly from the model using (\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v . 55 55 55 For example: if we want to compute 100! in the real world, we have to build a computer to do this for us, which involves many practical details including the construction of a semiconductor industry, compiler design and so on. In logic, however, we can just say that it is \prod_{i=1}^{100}i , because that is what 100! is . So our axioms are just doing their job, which is to be a declarative abstraction of the implementation. But since we do not use {\mathsf{(PaxSend?)}} , this is evidence that we may treat the \mathsf{send} step as an implementational detail having to do with how information moves around the network, and elide it. Remark 8.1.3 (Why we did not use {\mathsf{(PaxPropose01)}} ) . This is due to another particularity of how the Paxos algorithm works. The leader chooses one value in the propose step (or no value, if the leader has crashed), but it only uses that value in the case that it finds a quorum of participants who have never previously accepted any value (this is the right-hand disjunct in {\mathsf{(PaxWrite?)}} ). Just in this case, it writes the value that it chose in the propose step. So what really matters is that the leader only writes one value . If the leader had proposed two values, this would be fine — provided that it only writes one of them. Leaders in the Paxos algorithm do not bother with multiple values in the propose step, because this would be a waste of time; they know they will only ever need at most one. Thus, {\mathsf{(PaxPropose01)}} is right to reflect a true fact of the algorithm that it does not propose any more than the value that it will need, but this is an algorithmic efficiency not a logical necessity. Likewise, the logic is right to point this out to us by not requiring {\mathsf{(PaxPropose01)}} in the proofs: so long as at most one value gets written — which is handled by {\mathsf{(PaxWrite01)}} — none of our correctness properties are affected. Remark 8.1.4 . By examining the proofs further, some further possible simplifications are revealed: 1. We can combine rules {\mathsf{(PaxWrite01)}} and {\mathsf{(LdrUniq)}} , as per the discussion in Subsection 7.3.2 , to obtain an elegantly concise rule {\mathsf{(SPaxWrite01)}} . 2. We used {\mathsf{(PaxPCorrect)}} in our proofs to obtain {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\mathsf{P}] only twice: • in Lemma 7.4.4 for \mathsf{P}=\mathsf{accept} , and • in Lemma 7.4.5 for \mathsf{P}=\mathsf{send} . We have elided the send step in \Theta_{\text{TySPax}} , so we only need to consider \mathsf{accept} . Accordingly we take {\mathsf{(SPaxPCorrect)}} to be just {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\mathsf{accept}] . Remark 8.1.5 . In conclusion, we see that the proofs in Section 7 are not only correctness proofs, but can also be read as an active commentary on the axioms. Our logic has done what logic does, and has separated what is logically necessary from what is implementationally required or implementationally convenient. This shows us how to simplify the axiomatisation (if we wish) further away from the implementation, and closer towards what is logically essential: 8.2 The definition \begin{array}[]{l@{\quad}r@{\ }l}\text{\hbox to0.0pt{\lx@text@underline{\emph{Backward rules, for backward inference}}\hss}}\\[4.30554pt] {\mathsf{(SPaxPropose?)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\ \mathsf{propose}(v)\mathrel{\rightharpoonup}\mathsf{leader}\\[4.30554pt] {\mathsf{(SPaxWrite?)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\ \mathsf{write}(v)\mathrel{\rightharpoonup}\begin{array}[t]{l}\mathsf{leader}\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}\hskip 0.0pt(\\ \quad\bigl(((\Diamond\hskip 0.0pt\mathsf{accept})\mathbin{\hbox to0.0pt{\scalebox{0.73}{${\reflectbox{$\mathsf{R}$}}$}\hss}\hskip-2.0pt\rightarrow}v)\mathbin{\boldsymbol{\vee}}(\mathsf{propose}(v)\mathrel{\boldsymbol{\wedge}}{\boldsymbol{\neg}}\mathsf{T}\hskip 0.0pt{\reflectbox{$\mathsf{R}$}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\Diamond\hskip 0.0pt\mathsf{accept})\bigr))\end{array}\\[4.30554pt] {\mathsf{(SPaxAccept?)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\ \mathsf{accept}(v)\mathrel{\rightharpoonup}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}(v)\\[4.30554pt] {\mathsf{(SPaxDecide?)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\ \mathsf{decide}(v)\mathrel{\rightharpoonup}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}(v)\\[4.30554pt] \\[4.30554pt] \text{\hbox to0.0pt{\lx@text@underline{\emph{Forward rules, for making progress}}\hss}}\\[4.30554pt] {\mathsf{(SPaxWrite!)}}&&\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt(\mathsf{leader}\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{write})\\[4.30554pt] {\mathsf{(SPaxAccept!)}}&&\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{accept})\\[4.30554pt] {\mathsf{(SPaxDecide!)}}&&\scalebox{0.8}[1.0]{$\mathsf{ultimately}$}\hskip 0.0pt({\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}\mathrel{\to}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide})\\[4.30554pt] \\[4.30554pt] \text{\hbox to0.0pt{\lx@text@underline{\emph{Other rules, for correctness \& liveness}}\hss}}\\[4.30554pt] {\mathsf{(SLdrExist)}}&&\mathsf{T}\hskip-2.5pt\mathsf{F}\hskip 0.0pt\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{T}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{leader}\\[4.30554pt] {\mathsf{(SLdrCorrect)}}&&\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{correct}[\mathsf{propose},\mathsf{write},\mathsf{decide}])\\[4.30554pt] {\mathsf{(SPaxPCorrect)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{correct}[\mathsf{accept}]\\[4.30554pt] {\mathsf{(SPaxWrite01)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists_{01}$}}\hskip 0.2pt}}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{write}\\[4.30554pt] {\mathsf{(SPax2Twined)}}&&{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.\ {\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\Box}\hskip 0.0pt\mathsf{accept}(v)\mathrel{\rightharpoonup}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip-1.0pt\Diamond}\hskip 0.0pt\mathsf{accept}(v)\end{array} Figure 12 : Simpler Declarative Paxos (Definition 8.2.1 ) Definition 8.2.1 . We define Simpler Declarative Paxos to be the logical theory \text{TySPax}=(\Sigma_{\text{TySPax}},\Theta_{\text{TySPax}}), where: 1. the signature \Sigma_{\text{TySPax}} is \Sigma_{\text{TySPax}}=[\mathsf{leader}:0;\ \mathsf{propose},\mathsf{write},\mathsf{accept},\mathsf{decide}:1], as per the notation in Definition 3.2.1 ( 4 ), and 2. the axioms \Theta_{\text{TySPax}} are as written in Figure 12 . The same validity properties hold of TySPax from Figure 12 as hold for TyPax from Figure 11 , namely: Validity (Theorem 7.2.3 ), Agreement (Theorem 7.3.6 ), and Termination and Integrity (Theorem 7.4.7 ): Theorem 8.2.2 . Suppose \Sigma is a signature that includes \Sigma_{\text{TySPax}} , and suppose \mathcal{M} is a model. Then we have: 1. \text{TySPax}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v.(\mathsf{decide}(v)\mathrel{\rightharpoonup}{\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}(\mathsf{leader}\mathrel{\boldsymbol{\wedge}}\mathsf{propose}(v))) . 2. \text{TySPax}\vDash{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}v,v^{\prime}.({\hbox{\hskip 3.22917pt\hskip-3.22917pt\hbox{${\reflectbox{$\mathsf{R}$}}$}\hskip-3.22917pt\hskip-0.25pt\raisebox{-0.6pt}{\hbox{\rule{4.30554pt}{0.77496pt}\hskip 0.5pt}}\hskip-0.25pt\hskip 3.22917pt}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{decide}(v)\mathrel{\boldsymbol{\wedge}}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}^{\hskip-0.6pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Diamond\hskip 0.0pt}\mathsf{decide}(v^{\prime}))\mathrel{\rightharpoonup}v^{\prime}{\boldsymbol{\text{=}}}v . 3. \text{TySPax}\vDash\scalebox{0.8}[1.0]{$\mathsf{infinitely}$}\hskip 0.0pt{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\forall$}}\hskip 0.2pt}}}^{\hskip-0.3pt\mathord{\mathchoice{\scalebox{0.65}{\pdfliteral$\displaystyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\textstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptstyle\mathgeo{Q}$\pdfliteral}}{\scalebox{0.65}{\pdfliteral$\scriptscriptstyle\mathgeo{Q}$\pdfliteral}}}}_{\hskip 0.0pt\Box\hskip 0.0pt}{\boldsymbol{{\hskip 0.8pt\raisebox{0.5pt}{\scalebox{.85}{$\exists$}}\hskip 0.2pt}}}\mathsf{decide} . Proof. This is by construction: from the discussion in Subsection 8.1 , the theory TySPax consists of just those parts of TyPax that are actually required in the correctness proofs. ∎ Thus, Theorem 8.2.2 just notes that Simpler Declarative Paxos extracts from the proofs in Section 7 the logical essence of Figure 11 , as applied to the standard correctness properties of Paxos. There is no right or wrong about whether we prefer TyPax or TySPax ; it depends on what level of abstraction we want to work with at any particular moment. But, implicit in the formal mathematics of Theorem 8.2.2 is an intuitive observation that TySPax is minimal , in the sense that we put into it only that which we know we need to make some specific correctness proofs work. 9 Conclusions and future work 9.1 Conclusions We have introduced {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , a three-valued modal fixed-point logic for the declarative specification of distributed algorithms, and demonstrated its use by considering Paxos — a canonical and nontrivial consensus protocol which tolerates benign failures of participants. This case study shows how our approach can capture the essential logical structure of distributed protocols in a concise and principled way. High points include the use of a third truth-value to handle the case of incorrect participants without requiring explicit ‘for a correct participant’ side-conditions (Remark 2.2.2 ), the syntax and semantics of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} itself as a core language (Figures 3 and 5 ), the Declarative Paxos and Simpler Declarative Paxos axiomatisations (Figures 11 and 12 ), how we capture 2-twined and 3-twined quorum intersection in clean logical form (Propositions 5.3.2 and 5.4.2 ; see also Remark 5.1.3 ), and an illustration of the (non-evidently) rich expressive power of our framework that we can even identify unique leaders (Subsection 6.6.3 ). While we have not developed full axiomatisations of more complex consensus algorithms in this paper, preliminary investigations suggest that our framework extends naturally to these settings. This indicates that {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} has the potential to serve as a general logical foundation for specifying and reasoning about distributed consensus, paving the way for more systematic analysis, clearer communication of protocol designs, and ultimately, stronger guarantees of correctness. This paper is aimed at • logicians, who might be interested in exploring a logic with a new and unusual combination of features inspired by strong practical motivations, and • researchers in distributed systems, who might consider (and benefit from) adopting such a framework. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} offers benefits that could make it a useful addition to the toolkit of anyone working in distributed systems: 1. Much of what we have presented reflects reasoning patterns that practitioners already employ informally. For instance, the third truth-value ( {\mathbf{b}} ) in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} corresponds to familiar side conditions such as “for every correct participant,” and the backward axioms capture the reverse inferences that system designers routinely rely on. What is new here is making these implicit practices explicit, systematic, and mathematically precise. By crystallising these patterns into a single logical framework, {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} provides more than just a tidy formalisation: it offers a common language in which both logicians and distributed-systems researchers can communicate, verify, and extend consensus protocols. This not only clarifies existing algorithms but also creates a principled foundation for analysing new ones, reducing ambiguity and opening the door to mechanical verification. In this way, {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} turns tacit reasoning into a tool for systematic design, bridging the gap between informal intuition and formal correctness. 2. Logic is a concise, powerful, and unambiguous language. It distils paragraphs of English prose into a single line of precise symbols, enabling clear and rigorous reasoning. While explanatory English is helpful for accessibility and context, formal logic excels at working through the details of complex algorithms. It ensures precision and eliminates the ambiguities that often arise in informal descriptions. 3. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} operates at a new (and higher) level of abstraction, which complements existing logic-based techniques. TLA+ [ Lam94 ] provides a state-based view of distributed algorithms, whereas {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} abstracts lower-level implementation details while retaining the essential behaviours and properties of the algorithms. This abstraction does not obscure the logic of the system; on the contrary we have found that it clarifies it, making the underlying mechanisms and invariants more apparent. 4. One strength of logic is its ability to abstract away what is irrelevant while maintaining precision about what is important. In {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , constructs like strong and weak implications ( \mathrel{\rightharpoonup} and \mathrel{\to} ) exemplify this principle, capturing subtle distinctions in meaning with precise formal symbols. These constructs distil complex ideas into simple yet powerful tools that can be manipulated symbolically and reasoned about systematically. While mastering these constructs requires some initial effort, the benefits of precision and clarity justify the investment. 5. Learning {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} requires some effort, and axiomatisations in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} are subtle, this is the opposite of gratuitous: it reflects the inherent nature of the distributed systems they are designed to model. By formalising these complexities, {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} captures their structure and reveals and addresses the challenges that are already present in the underlying algorithms. This transparency makes it a powerful tool for understanding and reasoning about distributed protocols. 56 56 56 Certainly, the first author (who has a background in logic) has found this study invaluable for gaining a better understanding of consensus algorithms. It seems likely that other readers might benefit similarly from using {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} . 6. Distributed algorithms — and consensus protocols in particular — are foundational to the operation of blockchain systems and other critical infrastructures. Yet these algorithms are notoriously difficult to design and implement correctly, and ambiguities or informal specifications can leave room for vulnerabilities and failures. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} addresses this challenge by bridging the gap between declarative specification of invariants and practical verification. It provides researchers with a rigorous framework for clarifying, reasoning about, and verifying the essential properties of distributed protocols. This contribution is especially relevant to blockchain systems, where unambiguous and trustworthy specifications are not merely desirable but indispensable. In summary, {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} turns implicit reasoning patterns into an explicit and principled logic, opening the door to new kinds of specification, reasoning, analysis, and ultimately we hope to more reliable distributed systems. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} unites the abstraction of declarative reasoning with the rigour of logical precision. It makes reasoning patterns explicit, and offers a common language in which correctness can be articulated, communicated, and ultimately assured. 9.2 Related and future work 9.2.1 Applications of Paxos and logic Paxos is a foundational distributed protocol, variants and elaborations of which are very much of practical interest to this day: a Paxos-based production distributed storage system called Megastore [ BBC+11 ] was used by Google; another distributed storage system PaxosStore [ ZLX+17 ] was used by WeChat and was partially inspired by Megastore (so far as we know it is still in use at time of writing); Google now uses Spanner [ TA25 , Goo26 ] , which is also Paxos-based. The Chubby distributed lock system [ Bur06 ] is Paxos-based and is still in use today [ CGR07 , LCD+24 ] . A modern example of a Paxos formalisation in TLA+ is documented in [ CLS16 ] ; a relevant theory file is in [ LMD ] . Constructing TLA+ theories and proofs has historically not been cheap, 57 57 57 The rise of AI-generated code, which occurred after this paper was prepared and after the literature cited was published, might change things to some extent — but at time of writing the precise impact and how this will play out specifically for distributed protocols, has not yet become clear. so attempts have been made to automate proofs; a recent example is [ GS21 ] . Another approach is to use a logic for which a practical decision procedure exists, such as Effectively Propositional Logic (EPR), which is decidable and has a small model property (which roughly says that if a formula is satisfiable in some model, then it is satisfiable in a model that is not too large relative to the size of the formula). This means that if a protocol and its correctness properties can be expressed in EPR, then they stand a good chance of being automatically checkable in reasonable time — this is not actually a mathematical guarantee, but empirically this tends to be a good place to start looking. An example of a suitable Paxos formalisation is in [ PLSS17 ] . This is not TLA+, but it is still very much a transition system. What these approaches all have in common is that they describe transition systems based on message-passing . {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} , with its declarative style, follows a distinct philosophy: it encourages us to axiomatise protocols such that there is no transition system, no state-machine, no explicit message-passing, and no algorithmic time (i.e. no notion of events in an explicit sequence). 58 58 58 Round numbers are part of the logical structure of Paxos, and as such they are retained. It might seem extraordinary that protocols could be so represented, given that the very essence of their implementation consists precisely of message-passing state machines embedded in algorithmic time! However, this paper shows that it can be done, and on reflection that is no more remarkable than the fact that declarative paradigms such as the \lambda -calculus or logic clauses can be used to program, even though they may be compiled down to concrete state-transitions of a CPU. This structural difference in understanding of what a protocol is , is distinctive to the approach proposed in this paper. 9.2.2 Impossibility results via logic A rich literature exists studying classes of protocols using logical axiomatisations, especially to prove impossibility or consistency guarantees from relatively weak assumptions. Examples (non-exhaustive list) include [ Tau91 ] (an axiomatic impossibility proof for asynchronous resilient consensus), [ GB17 ] (a consistency result for global sequencing of operations), [ CEM23 ] , and [ AFAG+25 ] (another impossibility result). This literature studies classes of protocols rather than specific protocols, so that the theories and models that arise tend to be more abstract than those arising when specifying specific protocols. 59 59 59 This is not to be read as a claim that no other authors have ever studied specific protocols. They have and we cite examples elsewhere (non-exhaustive list: [ CEM23 , CLS16 , PLSS17 ] ). That is just not the part of the literature that we are discussing in this paragraph. For example, Taubenfeld in [ Tau91 ] writes that a protocol is a set of runs and a run is a finite sequence of events, and the analysis proceeds at this level of abstraction. In contrast, in this paper we have presented {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} as an environment within which to specify specific protocols (and, by extension, extensions of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} if necessary to specify specifically extended protocols). Another equally fundamental distinction is that the four papers cited above, and others in a similar spirit, are still about events happening in order , as the quote from Taubenfeld illustrates: a protocol is a set of runs, and a run is a finite sequence of events . This is a general model, dispensing with all details of specific protocols, but it does retain one thing: precisely algorithmic time ; a finite sequence of events. This retained abstraction is fundamentally a different thing from the logical time in which {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} exists. 9.2.3 Logics of knowledge and belief A rich field of research exists studying knowledge and collaboration in multi-agent systems, especially using modal epistemic logics. Foundational works in this field include [ HM90 , FHMV04 ] . Unfortunately confusion can now arise via the following chain of thought: distributed systems consist of multiple agents, therefore distributed systems are a subfield of multi-agent systems, therefore distributed protocol design is a subfield of multi-agent systems, therefore a modal logic for distributed protocols must be some flavour of (or admit a presentation in terms of) modal epistemic logic. Even the reader who recognises this reasoning as somewhat reductive might still find it colouring ideas about what {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} should be, because (like epistemic logics) {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} is a modal logic for specifying and reasoning about distributed protocols. But this is no more valid for {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} than it is for TLA+ — this is also a modal logic, and also about specifying and reasoning about distributed protocols, but the TLA+ modalities have nothing to do with belief. The difference is that participants in a specific protocol need not themselves care about coordination, knowledge, or belief, even as they follow the protocol. This is touched on explicitly in Section 9 of [ HM90 ] , ‘A paradox?’ , which essentially notes that a system can have useful notions of coordination that are weaker than a full simultaneous coordination requiring full common knowledge. For example: do a group of ants moving a leaf know they are part of an ant colony, and does a group of neurons identifying an edge in a retina know they are part of a brain (and, perhaps, looking at a mathematical symbol)? No. Their jobs are to be groups of ants or neurons. And, does an entire ant colony or an entire brain ever even get together for a global council and synchronisation step before every action by its parts? No, of course not. From the point of view of Paxos, coordination is an emergent property of participants in that system following the rules; coordination is not an explicit goal of individual participants, and parts of the system may progress at different rates. The analysis of knowledge in distributed systems is valuable for understanding the design space of emergent properties arising from classes of protocols, but in this paper we use {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} as a language for positively specifying and reasoning about the behaviour of individual participants following specific protocols, which is a different goal. 60 60 60 There would be no barrier to adding knowledge modalities to {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} . That would be an extension of the logic, but it would serve no purpose here, because Paxos does not require it. 9.3 Coalition Logic (CL) and Alternating-time Temporal Logic (ATL) Coalition logic includes a modality [C]\phi indicating that a coalition C can act jointly to ensure that \phi holds in the next state (no matter what other participants may do) [ Pau02 ] . {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} and CL share an interest in quorums/coalitions and multi-participant computation, but as logics they are quite distinct: 1. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} abstracts away algorithmic time and so by design lacks any explicit notion of ‘next state’ in the sense intended by CL (see Remark 6.2.2 ( 2 )). 2. A model in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} represents a single run of a protocol. A model in CL is a game representing all possible moves, and thus containing all possible protocol runs — just follow the ‘next step’ accessibility relation. In CL, the model is typically assumed as an abstract structure, not axiomatised as a specific structure representing a particular protocol (though in principle it might be). 3. The {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} modalities are existential and universal ‘for some quorum’ and ‘for all quorums’. It is impossible to explicitly name some particular quorum C as in CL; conversely, CL lacks explicit modalities for quantifying over coalitions. 4. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} is optimised to be a natural logic for specifying valid runs of some specific distributed protocol. CL is optimised to be a modal logic for discussing possible strategies of coalitions within some Kripke-frame-style abstract space of possible runs (Pauly calls these game frames ). We are not aware of any specification of Paxos in Coalition Logic, nor in ATL (mentioned below). This might be possible in principle — but even if this were done, Coalition Logic’s structural commitment to algorithmic time and the lack of other {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} structure (such as explicit modalities quantifying over quorums) means that such an axiomatisation would be a different structure that does not relate to the core concern in {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} of declarative axiomatisation of distributed protocols, and especially fault-tolerant broadcast and agreement protocols and their generalisations. 61 61 61 This focus extends to the CL-like literature. We are aware of no explicit axiomatisations of any fault-tolerant broadcast or agreement protocols. Where such things are even mentioned, as in a mention in item 2 of Remark 2 of [ Gor01 ] , it is only as a source of frames over which to reason; no explicit axiomatisation is considered. This really is a distinct literature using distinct tools for distinct purposes. {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} and CL are overlapping in the sense that they are both modal logics for reasoning about coalitions in distributed systems, but within that design space the goals and technical details are very different. ATL has broadly similar goals to CL, but has a somewhat richer language of modalities, e.g. \langle\langle C\rangle\rangle\phi\mathsf{U}\psi means that coalition C can ensure that \psi holds eventually and \phi holds up to that point [ AHK02 ] . A comparison of ATL and CL is in [ GJ04 ] . For the purposes of this paper, ATL compares with {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} just as CL does. 62 62 62 Unfortunately, an early version of this paper called the logic in this paper ‘Coalition Logic’. This was an error by the first author, who (with apologies to Pauly) had missed the prior art. The reader can disregard and not mention the previous naming of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} as irrelevant and likely to confuse — we only mention it here to address any confusion generated. 9.4 Future work In this paper, our focus has been to lay the foundational theory and framework of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} and to demonstrate its application to one of the most well-known consensus protocols, Paxos [ Lam98 ] . This is a natural starting point: Paxos is a cornerstone of distributed systems and remains one of the most widely studied and deployed consensus protocols. At the same time, Paxos is relatively straightforward by modern standards. In particular, Paxos addresses only crash failures, and is therefore suited to environments that assume benign faults rather than adversarial behaviour. A natural direction for future work involves extending our framework to handle more complex and realistic fault models, such as Byzantine faults, where participants can deviate arbitrarily from the algorithm. Consensus protocols that address Byzantine faults, such as Practical Byzantine Fault Tolerance (PBFT) [ CL99 ] and HotStuff [ YMR+19 ] , provide robust mechanisms for fault tolerance and serve as the foundation for many modern blockchain systems. Tendermint ( https://tendermint.com ) [ BKM18 ] is another BFT consensus protocol. Applying {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to these protocols would show how it handles the complexity introduced by arbitrary faults, which is necessary to model and verify more sophisticated algorithms. On precisely this topic, in a shorter sister paper [ Gab26b ] to this paper the first author gives a declarative study of Bracha Broadcast and Crusader Agreement. The logic used there is deliberately smaller and simpler (as the protocols are smaller and simpler than Paxos) but in one respect that paper does substantively extend this one, because its notion of failure (again, consistent with the protocols) is full Byzantine failure. The three-valued logic framework handles this extremely well, with absolutely no complaint or friction: it is in fact quite remarkable how flexible this framework turns out to be. Fundamentally, this just serves to illustrate the unreasonable effectiveness of logic (apologies to Wigner and then Hamming). We would urge the reader who may be used to a more imperative style of specification of distributed protocols to not assume that because ‘imperative’ is how they may have been educated, ‘imperative’ is the one and only viable way to go. It is not. Recent research has explored DAG-based consensus protocols, which deviate from the traditional linear blockchain structure. In these protocols, transactions are organised into a directed acyclic graph (DAG), enabling greater parallelism and scalability. Protocols such as DAG-Rider [ KKKNS21 ] , Narwhal (a DAG-based dissemination protocol) and Tusk (an asynchronous consensus protocol built on top of it) [ DKKSS22 ] , and Bullshark [ SGSKK22 ] represent cutting-edge advancements in this domain. Extending {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to analyse DAG-based protocols would be another advance, as these systems often involve more intricate interactions between components and require reasoning about concurrent and asynchronous behaviour at a much higher level of complexity. Another promising avenue for future research involves leveraging the modularity and expressiveness of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to study hybrid protocols [ NTT21 ] that combine elements of classical consensus with newer techniques, such as Gasper [ BHK+20 ] and others [ DZ24 , DSTZ24 ] . It would be helpful in future work to develop automated tools for {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} : the tools developed for TLA+ [ Lam02 ] could show the way. TLA+ is a formal specification language and framework designed to model, specify and verify properties of complex systems, including distributed algorithms. Its TLC model checker [ YML99 ] provides exhaustive state exploration to verify properties such as safety and liveness, and the PlusCal translator simplifies specification by offering a high-level pseudocode-like interface. Additionally, the TLA+ Toolbox [ KLR19 ] integrates these capabilities into a development environment, supporting workflows that are valuable in both research and industrial applications. Adapting similar tools to {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} could enable automated verification of correctness properties for consensus protocols, including invariants and liveness guarantees. For example: a higher-level language akin to PlusCal could simplify the specification of protocols using the axiomatic foundations of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} . Furthermore, leveraging techniques such as the symbolic model checking enhancements presented by Otoni et al. [ OKK+23 ] or integrating modular proof systems like TLAPS [ CDL+12 ] could further enhance the usability and robustness of the framework. Such tools would streamline the application of {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} to real-world systems, and also make it accessible to a broader audience of researchers and practitioners. This direction represents an exciting convergence of theoretical advancements and practical tool development, providing a robust framework for analysing both classical and emerging consensus protocols. As mentioned in the Introduction, we have made a start in this direction by creating a proof-of-concept model-checker [ Gab26a ] , which the reader can load and play with online now by going to https://bellissimogiorno.github.io/3muQL-model-checker/ . Adopting {\mathbf{3}}\hskip-0.5pt\upmu\mathsf{QL} requires some investment in time and effort, but the benefits in clarity, correctness, and reliability may be worthwhile. Consensus algorithms are known to be particularly challenging, so our relatively high-level declarative approach could help to manage (and debug) the complexity of these algorithms. We hope this work will inspire readers to explore and adopt this new perspective, contributing to more robust and trustworthy distributed protocols in the future.