1 Introduction
In this paper, we introduce logics based on team semantics for characterizing elementary (or first-order) team properties, and we also study the axiomatization problem of these logics.
Team semantics is a semantical framework originally introduced by Hodges [Reference Hodges27], and later systematically developed by Väänänen with the introduction of dependence logic [Reference Väänänen39], which extends first-order logic with dependence atoms. Other notable logics based on team semantics include independence logic introduced by Grädel and Väänänen [Reference Grädel and Väänänen21] (which is first-order logic extended with independence atoms), and inclusion logic introduced by Galliani [Reference Galliani15] (which is first-order logic extended with inclusion atoms). In team semantics formulas are evaluated in a model over sets of assignments for the free variables (called teams) rather than single assignments as in the usual first-order logic. Teams X with the domain $\{v_1,\dots ,v_k\}$ are essentially k-ary relations $rel(X)=\{(s(v_1),\dots ,s(v_k))\mid s\in X\}$ , and thus open formulas define team properties. In general, knowing the expressive power of a logic for sentences (with no free variables) does not automatically give a characterization for the expressive power of open formulas of the same logic. Such a peculiar phenomenon has sparked several studies on the expressive power of logics based on team semantics. In particular, while it follows straightforwardly from the earlier known results of Henkin, Enderton, Walkoe, and Hodges [Reference Enderton11, Reference Henkin26, Reference Hodges, Mycielski, Rozenberg and Salomaa28, Reference Walkoe40] that dependence logic (D) and independence logic (Ind) are both equivalent to existential second-order logic ( $\mathbf {ESO} $ ) on the level of sentences, it turns out that open formulas of D have different expressive power from open formulas of Ind: The latter characterize all $\mathbf {ESO} $ team properties [Reference Galliani15], whereas the former characterize only downward closed $\mathbf {ESO} $ team properties [Reference Kontinen and Väänänen33]. Along the same line, a later breakthrough showed that inclusion logic corresponds, over sentences, to positive greatest fixed-point logic [Reference Galliani and Hella19], which is strictly more expressive than first-order logic as well. In this paper we define a team-based logic, called $\mathbf {FOT} $ , whose expressive power coincides with first-order logic ( $\mathbf {FO} $ ) both on the level of sentences and open formulas, in the sense that $\mathbf {FOT} $ -formulas characterize (modulo the empty team) exactly team properties definable by first-order sentences with an extra relation symbol R. To the best of the authors’ knowledge, no such logic has been defined previously.
In related previous work, it was shown in [Reference Galliani14, Reference Galliani, Abramsky, Kontinen, Väänänen and Vollmer17, Reference Lück36] that first-order logic extended with constancy atoms $\mathop {=\!} (x)$ and $\mathbf {FO} $ extended with classical negation $\sim $ are both equivalent to $\mathbf {FO} $ over sentences, whereas on the level of formulas they are both strictly less expressive than $\mathbf {FO} $ , and thus fail to capture all elementary (or first-order) team properties. It was also illustrated in [Reference Kontinen30] that a certain simple disjunction of dependence atoms already defines an NP-complete team property. Therefore, any logic based on team semantics having the disjunction $\vee $ lifted from first-order logic and in which dependence atoms are expressible will be able to express NP-complete team properties, indicating that $\vee $ is a too expressive connective to be added to $\mathbf {FOT} $ . The logic $\mathbf {FOT} $ we define in this paper has weaker version of disjunction and classical negation $\mathop {\dot \sim } $ as well as weaker quantifiers $\forall ^1 ,\exists ^1 $ . We prove, in Section 3, that our logic $\mathbf {FOT} $ captures elementary team properties (modulo the empty team) and we also show, as by applying Lyndon’s Interpolation Theorem of first-order logic, that a sublogic of $\mathbf {FOT} $ , denoted by $\mathbf {FOT}^{\downarrow } $ , captures exactly downward closed elementary team properties (modulo the empty team).
From these results it follows immediately that $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ are compact with respect to sentences (with no free variables). In fact, it also follows from [Reference Väänänen39, Theorem 6.4] that any team-based first-order logic that is expressively less than or equal to ESO is compact with respect to sentences. In Theorem 3.8 of Section 3 we provide a detailed proof of the compactness of such logics with respect to arbitrary (possibly open) formulas, which is missing in the literature. For team-based first-order logics the compactness with respect to formulas is not a trivial consequence of the compactness with respect to sentences, as free variables in team-based logics are interpreted over teams, which are essentially relations instead of single values. Our proof assumes that the set of all free variables occurring in the formulas in question is countable. It is unclear how to treat the uncountable case.
In the second part of this paper we study the axiomatization problem of our logics $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ . In Section 4 we introduce a sound and complete system of natural deduction for $\mathbf {FOT} $ that on one hand behaves like the system of $\mathbf {FO} $ to a certain extent (in the sense of Lemma 4.9), while on the other hand incorporates natural and interesting rules for inclusion atoms and their interaction with the weak logical constants. It is also worth mentioning that inquisitive first-order logic (InqBQ) [Reference Ciardelli8] adopts a similar (though technically different) type of team semantics. Our weak quantifiers $\forall ^1 $ and $\exists ^1 $ are essentially the same as the quantifiers in InqBQ, and our rules for these quantifiers are also closely related to those ones in the deduction system of InqBQ, which is shown in [Reference Grilletti22] to be complete for the classical antecedent fragment of InqBQ.
In Section 5, we apply our results to the problem of finding axiomatizations for larger and larger fragments of dependence logic and its variants by extending the known partial axiomatization of dependence logic to $\mathbf {D} $ enriched with the logical constants in $\mathbf {FOT}^{\downarrow } $ (denoted as $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ ), which, by our result in the first part of this paper, is expressively equivalent to D. While D is not effectively axiomatizable (for it is equivalent to ESO), a complete axiomatization for first-order consequences of D-sentences has been given in [Reference Kontinen and Väänänen34]. More precisely, a system of natural deduction for dependence logic was introduced in [Reference Kontinen and Väänänen34] for which the completeness theorem
holds whenever $\Gamma $ is a set of D-sentences (with no free variables) and $\theta $ is an $\mathbf {FO} $ -sentence (with no free variables). This result has been, subsequently, generalized to, e.g., allow also open formulas [Reference Kontinen, Villaveces, Kossak and Hirvonen31], independence logic [Reference Hannula23] and inclusion logic [Reference Yang42], and extensions of dependence logic by generalized quantifiers [Reference Engström, Kontinen and Väänänen12]. A recent new generalization given in [Reference Yang41] extends the known systems for D and Ind to cover the case when $\theta $ in (1) is not necessarily an $\mathbf {FO} $ -formula but merely a formula defining a first-order team property. However, since the problem of whether a D- or Ind-formula defines a first-order team property is undecidable, the extension of [Reference Yang41] is not effectively represented. Motivated by [Reference Yang41], we give an effective extension of (1), in which $\Gamma \cup \{\theta \}$ is a set of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formulas and $\theta $ belongs to certain compositionally defined fragment of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ . We also conclude, as a corollary, that the system for D introduced in [Reference Kontinen and Väänänen34] is also already complete with respect to first-order consequences over arbitrary (possibly open) formulas. This answers an open problem in [Reference Kontinen and Väänänen34] in the affirmative, which is contrary to the folklore belief that the system of [Reference Kontinen and Väänänen34] is too weak to be complete over arbitrary formulas and additional rules have to be added (as done in, e.g., [Reference Kontinen, Villaveces, Kossak and Hirvonen31, Reference Yang41]).
Apart from theoretical significance, our results also provide new logical tools for applications of team-based logics in other related areas; such applications have been studied in recent years, e.g., in database theory [Reference Hannula and Kontinen25], formal semantics of natural language [Reference Ciardelli, Abramsky, Kontinen, Väänänen and Vollmer7, Reference Ciardelli, Iemhoff and Yang9], Bayesian statistics [Reference Corander, Hyttinen, Kontinen, Pensar and Väänänen10, Reference Hannula, Hirvonen, Kontinen, Kulikov, Virtema, Calimeri, Leone and Manna24], social choice [Reference Pacuit, Yang, Vollmer, Abramsky, Kontinen and Väänänen38], and quantum information theory [Reference Hyttinen, Paolini and Väänänen29]. In Section 6, we show some applications of our systems for $\mathbf {FOT} $ and $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ , including derivations of Armstrong’s Axioms [Reference Armstrong2] from database theory, and certain dependency interactions involved in Arrow’s Theorem [Reference Arrow3] in social choice.
An earlier version of this paper has already appeared as [Reference Kontinen and Yang35].
2 Preliminaries
We consider first-order vocabularies $\mathcal {L} $ with the equality symbol $=$ . Fix an infinite set Var of first-order variables, and denote its elements by $u,v,x,y,z,\dots $ (with or without subscripts). An $\mathcal {L} $ -term t is defined inductively as usual, and well-formed formulas of First-order Logic ( $\mathbf {FO} $ ) are defined by the grammar:
Throughout the paper, we reserve the first Greek letters $\alpha ,\beta ,\gamma ,\dots $ for first-order formulas. As usual, define $\alpha \to \beta :=\neg \alpha \vee \beta $ , $\top :=\forall x(x=x)$ , and $\bot := \exists x(x\neq x)$ . We use the letters $\mathsf {v},\mathsf {x},\mathsf {y},\mathsf {z},\dots $ in sans-serif face to stand for sequences of variables (of certain length), and sequences of terms are denoted as $\mathsf {t},\mathsf {t}',\dots $ . A block of universal quantifiers $\forall x_1\dots \forall x_n$ is sometimes abbreviated as $\forall \mathsf {x}$ ; similarly for $\exists \mathsf {x}$ . We write $\textsf {Fv}(\alpha )$ for the set of free variables of $\alpha $ . Write $\alpha (\mathsf {x})$ to indicate that the free variables of $\alpha $ are among $\mathsf {x}=\langle x_1,\dots ,x_n\rangle $ . A formula with no free variables is called a sentence. We write $\alpha (\mathsf {t}/\mathsf {x})$ for the formula obtained by substituting uniformly a sequence $\mathsf {t}$ of terms for $\mathsf {x}$ in $\alpha $ , where we always assume that each $t_i$ is free for $x_i$ .
For any $\mathcal {L} $ -model M, we use the same notation M also to denote its domain, which is assumed to always have at least two elements. We write $\mathcal {L} (R)$ for the vocabulary expanded from $\mathcal {L} $ by adding a fresh relation symbol R, and write $(M,R^M)$ for the $\mathcal {L} (R)$ -expansion of M in which the k-ary relation symbol R is interpreted as $R^M\subseteq M^k$ . We sometimes write $\alpha (R)$ to emphasize that the formula $\alpha $ is in the vocabulary $\mathcal {L} (R)$ for some $\mathcal {L} $ .
An assignment of an $\mathcal {L} $ -model M for a set $V\subseteq \textsf {Var}$ of variables is a function $s:V\to M$ . For any element $a\in M$ , $s(a/x)$ is the assignment defined as $s(a/x)(y)=a$ if $y=x$ , and $s(a/x)(y)=s(y)$ otherwise. We also write $s(\mathsf {a}/\mathsf {x})$ for $s(a_1/x_1)\dots (a_n/x_n)$ . The interpretation of an $\mathcal {L} \text {-term }t$ under an assignment s of M, denoted by $s(t^M)$ , is defined as usual. For a sequence $\mathsf {t}=\langle t_1,\dots ,t_n\rangle $ of terms, we write $s(\mathsf {t}^M)$ for $\langle s(t_1^M),\dots ,s(t_n^M)\rangle $ ; similarly for $s(\mathsf {x})$ when $\mathsf {x}$ is a sequence of variables.
We assume that the reader is familiar with the usual Tarskian semantics of first-order logic. In this paper, we consider logics with team semantics. A team X of M over a set V of variables is a set of assignments $s:V\to M$ , where V is called the domain of X, denoted $\textsf {dom}(X)$ . In particular, the empty set $\emptyset $ is a team, and the singleton $\{\emptyset \}$ of the empty assignment $\emptyset $ is a team. Given a first-order formula $\alpha $ , any $\mathcal {L} $ -model M, and team X over $V\supseteq \textsf {Fv}(\alpha )$ , the satisfaction relation $M\models _X\alpha $ is defined inductively as follows:
-
• $M\models _X \lambda $ for $\lambda $ a first-order atom iff for all $s\in X$ , $M\models _s\lambda $ in the usual sense.
-
• $M\models _X \neg \alpha $ iff for all $s\in X$ , $M\not \models _{\{s\}}\alpha $ .
-
• $M\models _X\alpha \wedge \beta $ iff $M\models _X\alpha $ and $M\models _X\beta $ .
-
• $M\models _X\alpha \vee \beta $ iff there are $Y,Z\subseteq X$ such that $X=Y\cup Z$ , $M\models _Y\alpha $ and $M\models _Z\beta $ .
-
• $M\models _X\exists x\alpha $ iff $M\models _{X(F/x)}\alpha $ for some $F:X\to \wp ^+ (M)$ , where $\wp ^+(M)=\wp (M)\setminus \{\emptyset \}$ and $X(F/x)=\{s(a/x)\mid s\in X,~a\in F(s)\}.$
-
• $M\models _X\forall x\alpha $ iff $M\models _{X(M/x)}\alpha $ , where $X(M/x)=\{s(a/x)\mid s\in X,~a\in M\}.$
If $\phi $ is a sentence, we write $M\models \phi $ if $M\models _{\{\emptyset \}}\phi $ , where (and hereafter) we always assume that M is in the appropriate vocabulary. For any set $\Gamma $ of formulas, we write $M\models _X\Gamma $ if $M\models _X\phi $ holds for all $\phi \in \Gamma $ , where (and hereafter) we always assume that the team X over M has domain $\textsf {dom}(X)\supseteq \textsf {Fv}(\phi )$ . We write $\Gamma \models \phi $ if for all models M and teams X, $M\models _X\Gamma $ implies $M\models _X\phi $ . If $\emptyset \models \phi $ , we write $\models \phi $ and say that $\phi $ is valid. Write simply $\phi \models \psi $ for $\{\phi \}\models \psi $ . If both $\phi \models \psi $ and $\psi \models \phi $ , write $\phi \equiv \psi $ and say that $\phi $ and $\psi $ are (semantically or logically) equivalent.
It is easy to verify that first-order formulas have the following properties: Let M be a model, $X,Y$ teams of M, $\{X_i\mid i\in I\}$ a nonempty collection of teams of M, and $X\upharpoonright V:=\{s\upharpoonright V\mid s\in X\}$ for any $V\subseteq \textsf {dom}(X)$ .
Locality: If $X\upharpoonright \textsf {Fv}(\phi )=Y\upharpoonright \textsf {Fv}(\phi )$ , then $M\models _X\phi \iff M\models _Y\phi .$
Empty team property: $M\models _{\emptyset } \phi $ .
Downward closure: $[\,M\models _X\phi \text { and }Y\subseteq X\,]\Longrightarrow M\models _Y\phi .$
Union closure: $M\models _{X_i}\phi \text { for all }i\in I\Longrightarrow M\models _{\bigcup _{i\in I}X_i}\phi .$
The empty team property, downward closure property, and union closure property together are equivalent to
Flatness property: $M\models _X\phi \iff M\models _{\{s\}}\phi $ for all $s\in X$ .
Most prominent team-based logics obtained by extending first-order logic with atoms of dependencies do not have the flatness property. In particular, dependence atoms $\mathop {=\!} (t_1\dots t_n,t_1'\dots t_m')$ and exclusion atoms $t_1\dots t_n\mid t_1'\dots t_n'$ are downward closed but not flat, inclusion atoms $t_1,\dots ,t_n\subseteq t_1',\dots ,t_n'$ are closed under unions but not flat, and independence atoms $t_1,\dots ,t_n\perp t_1',\dots ,t_m'$ are neither downward nor union closed. We now recall the semantics of these atoms of dependencies, for which free variables are defined as free variables in the terms occurring in the atoms:
-
• $M\models _X\mathop {=\!} (\mathsf {t},\mathsf {t}')$ iff for all $s,s'\in X$ , $s(\mathsf {t}^M)=s'(\mathsf {t}^M)$ implies $s({\mathsf {t}'}^M)=s'({\mathsf {t}'}^M)$ .
-
• $M\models _X\mathsf {t}\mid \mathsf {t}'$ iff for all $s,s'\in X$ , $s(\mathsf {t}^M)\neq s'({\mathsf {t}'}^M)$ .
-
• $M\models _X \mathsf {t}\subseteq \mathsf {t}'$ iff for all $s\in X$ , there is $s'\in X$ such that $s(\mathsf {t}^M)=s'({\mathsf {t}'}^M)$ .
-
• $M\models _X\mathsf {t}\perp \mathsf {t}'$ iff for all $s,s'\in X$ , there exists $s''\in X$ such that $s''(\mathsf {t}^M)=s(\mathsf {t}^M)$ and $s''({\mathsf {t}'}^M)=s'({\mathsf {t}'}^M)$ .
Clearly, $\mathop {=\!} (\mathsf {t},t^{\prime }_1\dots t^{\prime }_n)\equiv \mathop {=\!} (\mathsf {t},t^{\prime }_1)\wedge \cdots \wedge \mathop {=\!} (\mathsf {t},t^{\prime }_n)$ . The dependence atom $\mathop {=\!} (\langle \,\rangle ,\mathsf {t})$ with the first argument being the empty sequence $\langle \,\rangle $ is abbreviated as $\mathop {=\!} (\mathsf {t})$ . Such an atom is called the constancy atom, and its semantics reduces to
-
• $M\models _X\mathop {=\!} (\mathsf {t})$ iff for all $s,s'\in X$ , $s(\mathsf {t}^M)=s'(\mathsf {t}^M)$ .
In this paper, we study two (non-flat) logics based on team semantics, called $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ , whose formulas are built from a different (yet similar) set of connectives and quantifiers than those in (the team-based) first-order logic as follows:
where $\lambda $ is an arbitrary first-order atomic formula, $\mathsf {x}$ and $\mathsf {y}$ are two sequences of variables of the same length, and $\delta $ is a quantifier-free and disjunction-free formula (i.e., $\delta ::=\lambda \mid \neg \delta \mid \delta \wedge \delta $ ). We call the logical constants weak classical negation, weak disjunction, weak existential quantifier, and weak universal quantifier, respectively. They were introduced earlier in [Reference Abramsky and Väänänen1, Reference Kontinen and Väänänen33, Reference Yang41] with the team semantics:
-
• $M\models _X\mathop {\dot \sim } \phi $ iff $X=\emptyset $ or $M\not \models _X\phi $ .
-
• iff $M\models _X\phi $ or $M\models _X\psi $ .
-
• $M\models _X\exists ^1 x\phi $ iff $M\models _{X(a/x)}\phi $ for some $a\in M$ , where $X(a/x)\!=\!\{s(a/x)\mid s\!\in \! X\}.$
-
• $M\models _X\forall ^1 x\phi $ iff $M\models _{X(a/x)}\phi $ for all $a\in M$ .
The logical constants have essentially first-order expressive power (in the sense of Theorem 3.1), and are thus weaker than the corresponding usual ones $\vee ,\exists ,\forall $ (which have essentially existential second-order expressive power, in the sense of [Reference Väänänen39, Theorem 6.2]). The weak classical negation is considered weaker in comparison to the (strong) classical negation $\sim $ in the literature, defined as $M\models _X\,\sim \!\phi $ iff $M\not \models _X\phi $ . It is easy to verify that formulas of the logics $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ have the locality property and the empty team property, and $\mathbf {FOT}^{\downarrow } $ -formulas are, in addition, downward closed.
In $\mathbf {FOT} $ we write, as usual, for , and for . The weak classical negation $\mathop {\dot \sim } $ admits the law of excluded middle and the double negation elimination law, namely, and are both valid formulas. Analogously to first-order logic, in $\mathbf {FOT} $ conjunction and weak disjunction are inter-definable, so do the two weak quantifiers, that is, , $\forall ^1 x\phi \equiv \mathop {\dot \sim } \exists ^1 x\mathop {\dot \sim } \phi $ , etc.
While the weak connectives and quantifiers are clearly different from the corresponding (strong) ones in $\mathbf {FO} $ , the two sets of logical constants are closely related. For instance, $\exists ^1 $ and
are definable in terms of $\exists $ and $\vee $ together with constancy atoms (assuming that every model has at least two elements):
where $x,y$ are fresh variables (see Proposition 5.4). For any $\mathbf {FO} $ -formula $\alpha $ , we write $\alpha ^{\ast }$ for the $\mathbf {FOT} $ -formula obtained from $\alpha $ by replacing the first-order logical constants by their weak versions, namely, replacing $\neg $ by $\mathop {\dot \sim } $ , $\vee $ by
, $\exists $ by $\exists ^1 $ , and $\forall $ by $\forall ^1 $ . The $\mathbf {FO} $ -formula $\alpha $ and its $\mathbf {FOT} $ -counterpart $\alpha ^{\ast }$ behave similarly over singleton teams or single assignments, as we show in the next lemma.
Lemma 2.1. $M\models _{\{s\}}\alpha \iff M\models _{s}\alpha \iff M\models _{\{s\}}\alpha ^{\ast }$ .
Proof The second “ $\iff $ ” follows from a straightforward inductive argument that uses directly the similarity of the team semantics of $\mathbf {FOT} $ -connectives and quantifiers and the Tarskian semantics of their counterparts in $\mathbf {FO} $ . We now prove the first “ $\iff $ ” by induction on $\alpha $ . We only give the detailed proof for the non-trivial cases.
If $\alpha =\beta \vee \gamma $ , then
If $\alpha =\forall x\beta $ , then
If $\alpha =\exists x\beta $ , then
We end this section by showing that first-order formulas and dependency atoms (with variables as arguments) are all definable in $\mathbf {FOT} $ .
Lemma 2.2. Let $\mathsf {u},\mathsf {v},\mathsf {w},\mathsf {x},\mathsf {y}$ be sequences of variables of certain lengths, and variables in $\mathsf {u}, \mathsf {v}, \mathsf {w}$ do not occur in $\mathsf {x},\mathsf {y}$ .
-
(i)
-
(ii) ;
-
(iii) $\mathop {=\!} (\mathsf {t})\equiv \exists ^1 \mathsf {v}(\mathsf {v}=\mathsf {t})$ , where variables in $\mathsf {v}$ do not occur in the terms in $\mathsf {t}$ ;
-
(iv) ;
-
(v) .
Proof We only give the detailed proof for item (i). We have that
3 Characterizing elementary team properties
In this section, we prove that (modulo the empty team) $\mathbf {FOT} $ -formulas characterize elementary (or first-order) team properties, and $\mathbf {FOT}^{\downarrow } $ -formulas characterize downward closed elementary team properties. As a corollary of these expressiveness results, we obtain the compactness theorem of the logics $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ with respect to sentences (with no free variables). We provide in this section also a proof of compactness theorem for the two logics with respect to arbitrary (possibly open) formulas, which, in the team semantics setting, cannot be derived as a trivial corollary of the compactness with respect to sentences. The compactness theorem will be used in the next sections.
Let us first define formally the relevant notions. A team X of an $\mathcal {L} $ -model M over a domain $\{v_1,\dots ,v_k\}$ can also be viewed as a k-ary relation $rel(X)\subseteq M^k$ defined as
We call a collection $\mathcal {P}_M\subseteq \wp (M^k)$ of k-ary relations (or teams) of an $\mathcal {L} $ -model M a local team property, and a (global) team property is a class $\mathcal {P}$ of local team properties $\mathcal {P}_M$ for all $\mathcal {L} $ -models M. A formula $\phi (\mathsf {v})$ of a logic based on team semantics clearly defines a team property $\mathcal {P}^{\phi (\mathsf {v})}$ (or simply $\mathcal {P}^{\phi }$ ) such that for all M,
The team properties $\mathcal {P}^{\phi }$ defined by $\mathbf {FOT}^{\downarrow } $ -formulas $\phi (\mathsf {v})$ are clearly downward closed, that is, $A\subseteq B\in \mathcal {P}_M^{\phi }$ implies $A\in \mathcal {P}_M^{\phi }$ for any M. A team property $\mathcal {P}$ is said to be closed under unions if $A,B\in \mathcal {P}_M$ implies $A\cup B\in \mathcal {P}_M$ for any M. The team properties $\mathcal {P}^{\alpha }$ defined by first-order formulas $\alpha $ are clearly both downward closed and union closed, and contain the empty relation $\emptyset $ .
We call a team property $\mathcal {P}$ elementary or first-order if there is a first-order $\mathcal {L} (R)$ -sentence $\alpha (R)$ that defines $\mathcal {P}$ , in the sense that
for all M and all nonempty relations A. It is worth noting that we are using the terminology “definability” in two different semantic settings: Even though every elementary team property $\mathcal {P}$ is (trivially) definable by some first-order $\mathcal {L} (R)$ -sentence $\alpha (R)$ with an extra relation symbol R (in the sense of (2) with respect to the usual semantics of first-order logic), it does not necessarily follow that each such first-order team property $\mathcal {P}$ is definable by some first-order $\mathcal {L} $ -formula $\beta (\mathsf {v})$ without additional symbols in the team semantics sense (i.e., $\mathcal {P}_M=\mathcal {P}^{\beta }_M$ for all M). As an illustration, consider the following two simple team properties of the empty vocabulary $\mathcal {L}_0$ :
Neither of these two properties can be defined by any first-order formula $\beta (\mathsf {v})$ of the empty vocabulary $\mathcal {L}_0$ , because $\mathcal {P}^{\beta }$ is closed both under unions and downward, whereas $\mathcal {P}_{\leq 1}$ is not closed under unions and $\mathcal {P}_{\geq 1}$ is not closed downward.
In the rest of the section, we show that every formula $\phi $ of $\mathbf {FOT} $ defines an elementary team property $\mathcal {P}^{\phi }$ , and conversely, every elementary team property $\mathcal {P}$ with the empty relation $\emptyset $ contained in each local property $\mathcal {P}_M$ can be defined by a formula $\phi $ of $\mathbf {FOT} $ (i.e., $\mathcal {P}_M=\mathcal {P}^{\phi }_M$ for all M). In this sense, we say that $\mathbf {FOT} $ -formulas characterize elementary team properties (modulo the empty team). By generalizing this proof, we also show that $\mathbf {FOT}^{\downarrow } $ -formulas characterize downward closed elementary team properties (modulo the empty team), in a similar sense.
Note that in these characterization results, we confine ourselves only to those team properties $\mathcal {P}$ with the empty relation $\emptyset $ contained in each local property $\mathcal {P}_M$ , because all team-based logics considered in this paper have the empty team property (thus $\emptyset $ is in $\mathcal {P}^{\phi }_M$ for all $\phi $ ). In fact, it is easy to verify by induction (or it is observed essentially already in [Reference Kontinen and Nurmi32]) that team-based first-order logics with the known logical constants (such as ) enjoy a certain dichotomy with regard to the empty team, that is, for any formula $\phi $ , either $\emptyset \in \mathcal {P}^{\phi }_M$ holds for all M, or $\emptyset \notin \mathcal {P}^{\phi }_M$ holds for all M. For this reason, it does not seem to be possible to find a team-based logic that would characterize all (downward closed) elementary team properties, at least not with the known logical constants in team semantics. The logics $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ we introduce in this paper provide reasonably close approximations to such full characterizations.
Now, we show that the team properties defined by formulas of $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ are elementary.
Theorem 3.1. For any $\mathcal {L} $ -formula $\phi (v_1,\dots ,v_k)$ of $\mathbf {FOT} $ or $\mathbf {FOT}^{\downarrow } $ , there exists a first-order $\mathcal {L} (R)$ -sentence $\gamma _{\phi }(R)$ with a fresh k-ary relation symbol R such that for any $\mathcal {L} $ -model M and any team X over $\{v_1,\dots ,v_k\}$ ,
In addition, if $\phi $ is a formula of $\mathbf {FOT}^{\downarrow } $ , R occurs only negatively in $\gamma _{\phi }(R)$ (i.e., every occurrence of R is in the scope of an odd number of nested negation symbols).
Proof We prove the theorem by proving a slightly more general claim: For any subformula $\theta (\mathsf {v},\mathsf {x})$ of $\phi (\mathsf {v})$ , there exists a first-order $\mathcal {L} (R)$ -formula $\gamma _{\theta }(R,\mathsf {x})$ such that for all $\mathcal {L} $ -models M, teams X, and sequences $\mathsf {a}$ of elements in M,
Define the formula $\gamma _{\theta }$ (found essentially in, e.g., [Reference Galliani15, Reference Yang41]) inductively as follows:
-
• If $\theta (\mathsf {v},\mathsf {x})=\lambda (\mathsf {v},\mathsf {x})$ is a first-order atom, let $\gamma _{\theta }(R,\mathsf {x})=\forall \mathsf {v}(R\mathsf {v}\to \lambda (\mathsf {v},\mathsf {x}))$ .
-
• If $\theta (\mathsf {v},\mathsf {x})=\neg \delta (\mathsf {v},\mathsf {x})$ for some quantifier-free and disjunction-free first-order formula $\delta $ , let $\gamma _{\theta }(R,\mathsf {x})=\forall \mathsf {v}(R\mathsf {v}\to \neg \delta (\mathsf {v},\mathsf {x}))$ .
-
• If $\theta (\mathsf {v},\mathsf {x})=\rho (\mathsf {vx})\subseteq \sigma (\mathsf {vx})$ , where $\rho (\mathsf {vx})$ and $\sigma (\mathsf {vx})$ are two sequences of variables from $\mathsf {vx}$ , let $\gamma _{\theta }(R,\mathsf {x})=\forall \mathsf {u}\exists \mathsf {w}\big (R\mathsf {u}\to ( R\mathsf {w}\wedge \rho (\mathsf {ux})=\sigma (\mathsf {wx}))\big )$ , where $\mathsf {u}$ and $\mathsf {w}$ are two sequences of fresh variables.
-
• If $\theta (\mathsf {v},\mathsf {x})=\theta _0(\mathsf {v},\mathsf {x})\wedge \theta _1(\mathsf {v},\mathsf {x})$ , let $\gamma _{\theta }(R,\mathsf {x})=\gamma _{\theta _0}(R,\mathsf {x})\wedge \gamma _{\theta _1}(R,\mathsf {x})$ .
-
• If , let $\gamma _{\theta }(R,\mathsf {x})=\gamma _{\theta _0}(R,\mathsf {x})\vee \gamma _{\theta _1}(R,\mathsf {x})$ .
-
• If $\theta (\mathsf {v},\mathsf {x})=\mathop {\dot \sim } \theta _0(\mathsf {v},\mathsf {x})$ , let $\gamma _{\theta }(R,\mathsf {x})= \forall \mathsf {v}\neg R\mathsf {v}\vee \neg \gamma _{\theta _0}(R,\mathsf {x})$ .
-
• If $\theta (\mathsf {v},\mathsf {x})=\exists ^1 y\theta _0(\mathsf {v},\mathsf {x}y)$ , let $\gamma _{\theta }(R,\mathsf {x})=\exists y\gamma _{\theta _0}(R,\mathsf {x}y)$ .
-
• If $\theta (\mathsf {v},\mathsf {x})=\forall ^1 y\theta _0(\mathsf {v},\mathsf {x}y)$ , let $\gamma _{\theta }(R,\mathsf {x})=\forall y\gamma _{\theta _0}(R,\mathsf {x}y)$ .
We only give the detailed proof of (4) for some nontrivial cases. If $\theta (\mathsf {v},\mathsf {x})=\lambda (\mathsf {v},\mathsf {x})$ is a first-order atom, then we have that
If $\theta =\mathop {\dot \sim } \theta _0$ , then we have that
If $\phi =\exists ^1 y\theta _0(\mathsf {v},\mathsf {x}y)$ , then we have that
Next we prove the converse direction of Theorem 3.1, from which we can conclude that $\mathbf {FOT} $ formulas characterize exactly elementary team properties (modulo the empty team).
Theorem 3.2. For any first-order $\mathcal {L} (R)$ -sentence $\gamma (R)$ with a k-ary relation symbol R, there exists an $\mathcal {L} $ -formula $\phi _{\gamma }(v_1,\dots ,v_k)$ of $\mathbf {FOT} $ such that for any $\mathcal {L} $ -model M and any nonempty team X over $\{v_1,\dots ,v_k\}$ ,
Moreover, if R occurs only negatively in $\gamma (R)$ , $\phi _{\gamma }$ can also be chosen in $\mathbf {FOT}^{\downarrow } $ .
Proof We may assume w.l.o.g. that the first-order sentence $\gamma (R)$ is in prenex normal form $Q_1x_1\dots Q_nx_n\alpha (\mathsf {x})$ , where $Q_i\in \{\forall ,\exists \}$ , $\alpha $ is quantifier-free and in negation normal form (i.e., negation occurs only in front of atomic formulas), and every occurrence of R is of the form $R\mathsf {x}_i$ for some sequence $\mathsf {x}_i$ of bound variables (for $R\mathsf {t}\equiv \exists \mathsf {y}(\mathsf {y}=\mathsf {t}\wedge R\mathsf {y})$ ). Define the translation $\phi _{\gamma }(\mathsf {v}):=Q_1^1x_1\dots Q_n^1x_n\phi _{\alpha }(\mathsf {x},\mathsf {v})$ , where $Q_i^1=\forall ^1 $ if $Q_i=\forall $ , $Q_i^1=\exists ^1 $ if $Q_i=\exists $ , and $\phi _{\alpha }(\mathsf {x},\mathsf {v})$ is obtained from $\alpha (\mathsf {x})$ by first taking the corresponding formula $\alpha ^{\ast }(\mathsf {x})$ in $\mathbf {FOT} $ and then replacing every first-order atom of the form $R\mathsf {x}_i$ by $\mathsf {x}_i\subseteq \mathsf {v}$ . We show by induction that for any quantifier-free formula $\alpha (\mathsf {x})$ , any nonempty team X over $\{v_1,\dots ,v_k\}$ and $a_1,\dots ,a_n\in M$ ,
We only give the detailed proof for the nontrivial cases. If $\alpha =\lambda (\mathsf {x})$ is an atomic formula in which R does not occur, then $\phi _{\lambda }=\lambda (\mathsf {x})$ and
If $\alpha =R\mathsf {x}_{i}$ , then $\phi _{\alpha }=\mathsf {x}_i\subseteq \mathsf {v}$ and
If $\alpha =\neg \lambda (\mathsf {x})$ , then $\phi _{\alpha } = \mathop {\dot \sim } \phi _{\lambda }(\mathsf {x},\mathsf {v})$ and
Finally, we have that
This completes the proof for the translation into $\mathbf {FOT} $ . Now, if R occurs only negatively in $\gamma $ (thus also in $\alpha $ ), we can define alternatively the translation into $\mathbf {FOT}^{\downarrow } $ by redefining the following two cases:
If $\alpha =\neg R\mathsf {x}_{i}$ , define alternatively $\phi _{\alpha }:=\mathsf {x}_{i}\neq \mathsf {v}$ (which is defined as $\neg \bigwedge _{j\in J}\,x_{ij}=v_j)$ , and we have that
If $\alpha :=\delta (\mathsf {x})$ is a literal (atomic or negated atomic formula) that does not contain R, define alternatively $\phi _{\alpha }=\delta (\mathsf {x})$ . It is easy to verify that (5) still holds.
Corollary 3.3. $\mathbf {FOT} $ -formulas characterize elementary team properties (modulo the empty team).
Remark 3.4. Similarly, the logic defined by the following syntax with exclusion atoms also characterizes elementary team properties (modulo the empty team):
where $\lambda $ is an arbitrary first-order atomic formula. To see why, note that for any exclusion atom $\rho (\mathsf {vx})\mid \sigma (\mathsf {vx})$ , its translation for the equivalence (4) can be defined as
For the converse direction, in equivalence (5), it is easy to see that the translation for the case $\alpha =\neg R\mathsf {x}_i$ can also be defined as $\phi _{\alpha }=\mathsf {x}_{i}\mid \mathsf {v}$ , and the translation for the case $\alpha =R\mathsf {x}_i$ can thus be defined alternatively as $\phi _{R\mathsf {x}_i}=\phi _{\neg (\neg R\mathsf {x}_i)}=\mathop {\dot \sim } \mathsf {x}_{i}\mid \mathsf {v}$ .
To conclude from the above theorems that $\mathbf {FOT}^{\downarrow } $ formulas characterize downward closed elementary team properties (modulo the empty team), we now prove a characterization theorem for first-order sentences $\alpha (R)$ that define downward closed team properties, by applying Lyndon’s Interpolation Theorem of first-order logic, which we recall below.
Theorem 3.5 (Lyndon’s Interpolation [Reference Lyndon37])
Let $\alpha $ be a first-order $\mathcal {L} _0$ -formula and $\beta $ a first-order $\mathcal {L} _1$ -formula. If $\alpha \models \beta $ , then there is a first-order $\mathcal {L} _0\cap \mathcal {L} _1$ -formula $\delta $ such that $\alpha \models \delta $ and $\delta \models \beta $ , and moreover a predicate symbol has a positive (resp. negative) occurrence in $\delta $ only if it has a positive (resp. negative) occurrence in both $\alpha $ and $\beta $ .
Proposition 3.6. A first-order $\mathcal {L} (R)$ -sentence $\alpha (R)$ defines a downward closed team property with respect to R if and only if there is a first-order $\mathcal {L} (R)$ -sentence $\beta (R)$ such that $\alpha \equiv \beta $ and R occurs only negatively in $\beta $ .
Proof “ $\Longleftarrow $ ”: Suppose $\alpha $ is a first-order $\mathcal {L} (R)$ -sentence in which the k-ary predicate R occurs only negatively, and we assume w.l.o.g. that $\alpha $ is in negation normal form. We can show by induction that $\alpha $ is downward closed with respect to R. The only nontrivial case is when $\alpha =\neg R\mathsf {t}$ . In this case, for any model M, any $A\subseteq B\subseteq M^k$ , and any assignment s,
“ $\Longrightarrow $ ”: Suppose that $\alpha $ is a first-order $\mathcal {L} (R)$ -sentence that is downward closed with respect to R. It is easy to see that $\alpha \equiv \exists S(\alpha (S/R)\wedge \forall \mathsf {x}(R\mathsf {x}\to S\mathsf {x})),$ where $\alpha (S/R)$ is obtained from $\alpha $ by replacing every occurrence of R by S. Put $\gamma =\alpha (S/R)\wedge \forall \mathsf {x}(R\mathsf {x}\to S\mathsf {x})$ , and note that R occurs only negatively in $\gamma $ . Then $\gamma \models \alpha $ . Now, by Lyndon’s Interpolation Theorem, there is a first-order $\mathcal {L} (R)$ -sentence $\beta (R)$ such that $\gamma (R,S)\models \beta (R)$ and $\beta (R)\models \alpha (R)$ , and moreover, R occurs only negatively in $\beta $ . It remains to show $\alpha \models \beta $ . For any $\mathcal {L} (R)$ -model $(M,A)$ such that $(M,A)\models \alpha (R)$ , the $\mathcal {L} (R,S)$ -model $(M,A,A)$ clearly satisfies $(M,A,A)\models \alpha (S/R)\wedge \forall \mathsf {x}(R\mathsf {x}\to S\mathsf {x})$ , i.e., $(M,A,A)\models \gamma (R,S)$ . Since $\gamma \models \beta $ , we conclude $(M,A,A)\models \beta (R)$ , thereby $(M,A)\models \beta (R)$ .
Corollary 3.7. For any $\mathcal {L} $ -formula $\phi (\mathsf {v})$ of $\mathbf {FOT}^{\downarrow } $ , there exists a first-order $\mathcal {L} (R)$ -sentence $\gamma _{\phi }(R)$ with R occurring only negatively such that (3) holds, and vice versa. In particular, $\mathbf {FOT}^{\downarrow } $ -formulas characterize downward closed elementary team properties (modulo the empty team).
Another corollary of the expressive power result for $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ is that the two logics are compact with respect to sentences (with no free variables), i.e., for any set $\Gamma $ of sentences in the logics, if every finite subset of $\Gamma $ has a model, then $\Gamma $ itself has a model. In the sequel we will use the compactness of $\mathbf {FOT} $ and dependence logic (D) with respect to arbitrary (possibly open) formulas in the completeness proofs. For the usual (single-assignment based) first-order logic or existential second-order logic (ESO), compactness over arbitrary (possibly open) formulas is an immediate corollary of compactness over sentences, as one can encode every free variable with a fresh constant symbol in the expanded vocabulary. For team-based logics, however, free variables are interpreted over teams, which correspond to relations instead of single values. Relation symbols always have fixed finite arities, whereas a set of formulas may well contain infinitely many free variables. For this reason, compactness for formulas of team-based logics does not follow immediately from a similar argument to the usual case.
We now prove the compactness theorem for arbitrary formulas of team-based logics whose translations in the sense of (3) are sentences of $\mathbf {ESO} $ (including $\mathbf {FOT} $ and $\mathbf { FOT}^{\downarrow } $ ), given the assumption that the formulas in question contain only countably many free variables. Our argument builds on the one in [Reference Väänänen39] where D is shown to be compact with respect to sentences, by using essentially the compactness of first-order logic. It is not clear how to adapt our argument to cover also the uncountable case.
We say that a set $\Gamma $ of formulas of a team-based logic is satisfiable if $M\models _X\Gamma $ for some model M and some nonempty team X of M with $\mathsf {dom}(X)\supseteq \mathsf {Fv}(\Gamma )=\bigcup _{\phi \in \Gamma }\mathsf {Fv}(\phi )$ . That is, $\Gamma $ is satisfiable iff $\Gamma \not \models \bot $ .
Theorem 3.8 (Compactness)
Let $\Gamma $ be a set of formulas in a team-based logic whose translations are $\mathbf {ESO} $ -sentences, and suppose that the set of free variables occurring in $\Gamma $ is countable. If every finite subset $\Gamma _0$ of $\Gamma $ is satisfiable, then $\Gamma $ is satisfiable. In particular, $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ are compact (with respect to formulas).
Proof Let $\mathcal {L} $ be the vocabulary of $\Gamma $ and $\mathsf {Fv}(\Gamma )=\{v_n\mid n\in \mathbb {N}\}$ . By assumption, for every $\phi \in \Gamma $ , there is an $\mathcal {L} (R_{\phi })$ -sentence $\gamma _{\phi }(R_{\phi })$ in $\mathbf {ESO} $ with a fresh $|\mathsf {Fv}(\phi )|$ -ary relation symbol $R_{\phi }$ such that for every $\mathcal {L} $ -model M and team X over the domain $\mathsf {Fv}(\phi )$ ,
We may assume that the $\mathbf {ESO} $ -sentence $\gamma _{\phi }(R_{\phi })$ is of the form $\exists R_{\phi }^1\dots \exists R_{\phi }^{m_{\phi }}\alpha _{\phi }$ , where $\alpha _{\phi }$ is a first-order sentence with the relation symbol $R_{\phi }$ , and each relation symbol $R_{\phi }^i$ is fresh. For every $n\in \mathbb {N}$ , let
be the set of formulas in $\Gamma $ whose free variables are among $v_1,\dots ,v_n$ , and introduce a $|\textsf {Fv}(\Gamma _n)|$ -ary fresh relation symbol $S_n$ . Clearly, $\Gamma _n\subseteq \Gamma _{n+1}$ and $\Gamma =\bigcup _{n\in \mathbb {N}}\Gamma _n$ . Consider the set $\Gamma '=\{\alpha _{\phi }\mid \phi \in \Gamma \}\cup \Delta $ of first-order sentences, where $\alpha _{\phi }(R_{\phi },R_{\phi }^1,\dots , R_{\phi }^{m_{\phi }})$ is the first-order part of the $\mathbf {ESO} $ -translation of the formula $\phi $ ,
lists the free variables in $\phi (\mathsf {v})$ , and we assume w.l.o.g. the variables are ordered as shown. Intuitively, the theory $\Delta $ ensures that the relation $S_n$ encodes the team over the domain $\textsf {Fv}(\Gamma _n)$ that glues all relations $R_{\phi }$ with $\phi \in \Gamma _n$ .
We now show that every finite subset $\Gamma _0'\subseteq \Gamma '$ has a model. Consider the corresponding finite subset $\Gamma _0=\{\psi \in \Gamma \mid \alpha _{\psi }\in \Gamma _0'\}$ of $\Gamma $ . By assumption, there is an $\mathcal {L} $ -model N and nonempty team Y such that $N\models _{Y} \Gamma _0$ , where, by locality, we assume that $\textsf {dom}(Y)=\textsf {Fv}(\Gamma )$ . For every $\psi \in \Gamma _0$ , we have that $N\models _{Y_{\psi }}\psi $ by the locality property, where $Y_{\psi }=Y\upharpoonright \mathsf {Fv}(\psi )$ is the restriction of Y over the free variables in $\psi $ . Thus, by (6) we know that $(N,rel(Y_{\psi }))$ is an $\mathcal {L} (R_{\psi })$ -model of $\gamma _{\psi }(R_{\psi })=\exists R_{\psi }^1\dots \exists R_{\psi }^{m_{\psi }}\alpha _{\psi }$ . It follows that some expansion $(N,rel(Y_{\psi }),\mathcal {R}_{\psi }^N)$ of the model $(N,rel(Y_{\psi }))$ in the vocabulary $\mathcal {L} _{\psi }=\mathcal {L} (R_{\psi },R_{\psi }^1\dots R_{\psi }^{m_{\psi }})$ is a model of the first-order sentence $\alpha _{\psi }$ , where $\mathcal {R}_{\psi }^N=\langle (R_{\psi }^1)^N,\dots ,(R_{\psi }^{m_{\psi }})^N\rangle .$ Consider the model $N'=(N,\langle R_{\phi }^{N}\rangle _{\phi \in \Gamma },\langle \mathcal {R}_{\psi }^N\rangle _{\psi \in \Gamma _0},\langle S_n^N\rangle _{n\in \mathbb {N}})$ in the vocabulary $\{R_{\phi }\mid \phi \in \Gamma \}\cup (\bigcup _{\psi \in \Gamma _0}\mathcal {L} _{\psi })\cup \{S_n\mid n\in \mathbb {N}\}$ , where $R_{\phi }^{N}=rel(Y\upharpoonright \textsf {Fv}(\phi ))$ for every $\phi \in \Gamma $ , and $S_n^N=rel(Y\upharpoonright \textsf {Fv}(\Gamma _n))$ . It is not hard to verify that $N'\models \Delta $ (as $S_n$ ’s and $R_{\phi }$ ’s are interpreted according to the nonempty team Y). On the other hand, since $N'$ is an expansion of $(N,rel(Y_{\psi }),\mathcal {R}_{\psi }^N)$ for every $\psi \in \Gamma _0$ , we have that $N'\models \{\alpha _{\psi }\mid \psi \in \Gamma _0\}$ . Hence $N'\models \Gamma _0'$ .
Now, by compactness of first-order logic, $\Gamma '$ has a model $M'$ in the vocabulary $\mathcal {L} '=\bigcup _{\psi \in \Gamma }\mathcal {L} _{\psi }\cup \{S_n\mid n\in \mathbb {N}\}$ . For every $\phi \in \Gamma $ , let $(M,R_{\phi }^M)$ be the reduct of $M'$ to the vocabulary $\mathcal {L} (R_{\phi })$ . Since $M'\models \alpha _{\phi }$ , we have that $(M,R_{\phi }^M)\models \gamma _{\phi }(R_{\phi })$ , which by (6) implies that $M\models _{X_{\phi }}\phi $ for the team $X_{\phi }=\{s:\mathsf {Fv}(\phi )\to M\mid s(\mathsf {v})\in R_{\phi }^M\}$ of M over the finite domain $\mathsf {Fv}(\phi )$ , where $\mathsf {v}$ lists $\mathsf {Fv}(\phi )$ . Since $M'\models \exists \mathsf {v}R_{\phi }\mathsf {v}$ , we know that $X_{\phi }\neq \emptyset $ . Consider the team X over $\mathsf {Fv}(\Gamma )$ , defined as
We claim that for every $\phi \in \Gamma $ , $X\upharpoonright \mathsf {Fv}(\phi )=X_{\phi }$ , which would then imply that $X\neq \emptyset $ and that $M\models _X\Gamma $ by locality, i.e., $\Gamma $ is satisfiable.
By definition, it suffices to show that $X_{\phi }\subseteq X\upharpoonright \mathsf {Fv}(\phi )$ . Let $s\in X_{\phi }$ . For every $n\in \mathbb {N}$ , put $X_{n}=\{t:\textsf {Fv}(\Gamma _n)\to M\mid t(\mathsf {v})\in S_n^{M'}\}$ , where $\mathsf {v}$ lists $\textsf {Fv}(\Gamma _n)$ ; that is, $X_n$ is the team associated with the relation $S_n^{M'}$ . Let $k\in \mathbb {N}$ be (the least number) such that $\phi \in \Gamma _k$ . For every $n\geq k$ , we find inductively an extension $s_n\in X_{n}$ of s over the domain $\textsf {Fv}(\Gamma _n)$ such that $s_n$ extends $s_{m}$ for all $k\leq m\leq n$ . This would then imply that $s_n\upharpoonright \textsf {Fv}(\psi )\in X_{\psi }$ for all $\psi \in \Gamma _n$ , since $M'\models \forall \mathsf {v}\big (S_{n}\mathsf {v}\to R_{\psi }\sigma _{\psi }(\mathsf {v})\big ).$ Therefore the assignment $\hat {s}=\bigcup _{n\geq k}s_n$ is in the team X, thereby $s\in X\upharpoonright \mathsf {Fv}(\phi )$ .
Now, since $M'\models \forall \mathsf {v}(R_{\phi }\mathsf {v}\to \exists \mathsf {u}S_k\mathsf {vu})$ , there exists an $s_k\in X_k$ over the domain $\textsf {Fv}(\Gamma _k)$ such that $s_k\upharpoonright \textsf {Fv}(\phi )=s\upharpoonright \textsf {Fv}(\phi )$ . Suppose $s_n\in X_n$ over $\textsf {Fv}(\Gamma _n)$ for $n\geq k$ has already been defined. Then, since $M'\models \forall \mathsf {v}(S_n\mathsf {v}\to \exists \mathsf {u}S_{n+1}\mathsf {vu}),$ there exists an $s_{n+1}\in X_{n+1}$ over $\textsf {Fv}(\Gamma _{n+1})$ such that $s_{n+1}\upharpoonright \textsf {Fv}(\Gamma _n)=s_n\upharpoonright \textsf {Fv}(\Gamma _n)$ .
Let us remark again that the assumption that $\mathsf {Fv}(\Gamma )$ is countable seems to be crucial for the above proof. How to generalize the result to the uncountable case is left as future work.
4 An axiomatization of $\mathbf {FOT} $
In this section, we introduce a system of natural deduction for $\mathbf {FOT} $ , and prove the soundness and completeness theorem.
For the convenience of our proofs, we present our system of natural deduction in sequent style.
Definition 4.1. The system of natural deduction for $\mathbf {FOT} $ consists of the rules in Tables 1 and 2, where letters in sans-serif face (such as $\mathsf {x},\mathsf {y}$ ) stand for sequences of variables, c is a constant symbol, $\mathop {=\!} (\mathsf {t})$ is short for $\exists ^1 \mathsf {x}(\mathsf {x}=t)$ , and an inclusion atom such as $c\mathsf {x}\subseteq v\mathsf {y}$ is short for $\exists ^1 u(u=c\wedge u\mathsf {x}\subseteq v\mathsf {y})$ , where $\mathsf {x}$ and u are fresh (sequences of) variables.
We write $\Gamma \vdash _{\mathbf {FOT} }\phi $ or simply $\Gamma \vdash \phi $ , if the sequent $\Gamma \vdash \phi $ is derivable in the system. Write $\phi \dashv \vdash \psi $ if $\phi \vdash \psi $ and $\psi \vdash \phi $ .
The weak disjunction admits the usual introduction and elimination rule, whereas the usual elimination rule is not sound for $\vee $ . The soundness of the introduction and elimination rule for $\exists ^1 $ follows from the equivalence $\exists ^1 x\phi \equiv \exists x(\mathop {=\!} (x)\wedge \phi )$ . The introduction and elimination rule for $\forall ^1 $ have a similar flavor. When applying these introduction and elimination rules for the two weak quantifiers $\exists ^1 $ and $\forall ^1 $ (e.g., in Proposition 4.6 (ii) and (v)), we will often introduce fresh constant symbols c, which we assume to be always available. Our $\forall ^1 $ -introduction and $\exists ^1 $ -elimination rules both have a variable version and a constant version. It is possible that one version is actually derivable from the other; we leave it as future work to determine whether this is the case. The weak classical negation $\mathop {\dot \sim } $ admits the classical rules. The constancy atom introduction rule $\mathsf {con}\textsf {I} $ characterizes the fact that constants or terms formed by constants have constant values. The rules $\subseteq \!\textsf {Id} , \subseteq \!\textsf {Pro} , \subseteq \!\textsf {Tr} $ , and $\subseteq \!\textsf {Cmp} $ for inclusion atoms were first introduced in [Reference Hannula23] for first-order independence logic, where the first three rules (i.e., identity, projection, and transitivity) are known to axiomatize completely the implication problem of inclusion dependencies in database theory [Reference Casanova, Fagin and Papadimitriou6]. The last rule $\subseteq \!\textsf {Cmp} $ , inclusion atom compression rule, which applies to formulas $\alpha $ without any occurrence of $\mathop {\dot \sim } $ and inclusion atom only, describes essentially the flatness of such formulas through their interaction with inclusion atoms. The two weakening rules $\subseteq \!\textsf {W}_{\textsf {con}} $ and $\subseteq \!\textsf {W}_{\exists ^1 } $ for inclusion atoms extend the length of an inclusion atom. These rules for inclusion atoms are also sound if constants are allowed to occur as arguments in inclusion atoms (i.e., to allow inclusion atoms, e.g., of the form $c\mathsf {x}\subseteq v\mathsf {y}$ ). Such more general rules for inclusion atoms are easily derivable in our system, using the fact $\vdash \exists ^1 x(x=c)$ (which follows from $\mathsf {con}\textsf {I} $ and $\exists ^1 $ I) and the rules for identity. The elimination rules $\subseteq \textsf {E} $ and $\lambda \textsf {E} $ describe the meanings of a negated inclusion atom $\mathop {\dot \sim } \mathsf {x}\subseteq \mathsf {y}$ and a negated first-order atom $\lambda (\mathsf {x})$ by providing a witness $\mathsf {c}$ for the failure of the atoms. These two rules are designed for deriving Proposition 4.6 (ii) and (v) (which are key for the normal form lemma, Lemma 4.8). The rule $\subseteq \!\textsf {wI}_R $ simulates the transformation in Theorem 3.2, which will be crucial for the proof of the completeness theorem (Theorem 4.10).
Let us also mention that closely related to $\mathbf {FOT} $ is the inquisitive first-order logic (InqBQ) [Reference Ciardelli8], which adopts a similar type of team semantics in a different setting. The disjunction and quantifiers in InqBQ have also essentially the same semantics as our weak disjunction and weak quantifiers $\forall ^1 $ and $\exists ^1 $ . A sound system of natural deduction for InqBQ was introduced in [Reference Ciardelli8], and it was shown in [Reference Grilletti22] to be complete for the classical antecedent fragment of InqBQ. The introduction and elimination rules for the quantifiers in this system correspond exactly to the introduction and elimination rules for $\forall ^1 $ and $\exists ^1 $ in our system for $\mathbf {FOT} $ , as the so-called rigid terms in InqBQ can be interpreted in our setting as terms of constant values.
Over constant values, our system can actually be viewed, in the sense of Theorem 4.9, as an extension of the standard system of first-order logic. These two systems are bridged via the rule $\subseteq \!\textsf {wI}_R $ in a way to be presented in the proof of the completeness theorem (Theorem 4.10). The additional relation symbol R in the rule $\subseteq \!\textsf {wI}_R $ is introduced for the purpose of proving the completeness theorem; a similar trick of introducing additional relation symbol in a deduction system for a team-based logic was used also in [Reference Kontinen, Villaveces, Kossak and Hirvonen31]. Most derivations in our system (see illustrations in Section 6), however, do not involve the use of the additional symbol R or the rule $\subseteq \!\textsf {wI}_R $ . How to simplify the rule $\subseteq \!\textsf {wI}_R $ is left as future work.
Theorem 4.2 (Soundness)
$\Gamma \vdash _{\mathbf {FOT}} \phi \Longrightarrow \Gamma \models \phi $ .
Proof We only give detailed proof for the soundness of the nontrivial rules.
$\subseteq \!\textsf {Cmp} $ : It suffices to show that $\mathsf {x}\subseteq \mathsf {y},\alpha (\mathsf {y}/\mathsf {z})\models \alpha (\mathsf {x}/\mathsf {z})$ . Suppose that $M\models _X\mathsf {x}\subseteq \mathsf {y}$ and $M\models _X\alpha (\mathsf {y}/\mathsf {z})$ . Put $X[\mathsf {x}]=\{s(\mathsf {x})\mid s\in X\}$ . Consider $X_0=\{s\in X\mid s(\mathsf {y})\in X[\mathsf {x}]\}\subseteq X.$ Since $M\models _X\mathsf {x}\subseteq \mathsf {y}$ , it is easy to verify that $X[\mathsf {x}]=X_0[\mathsf {y}]$ . Now, since $\alpha $ is downward closed, we have that $M\models _{X_0}\alpha (\mathsf {y}/\mathsf {z})$ , which then implies that $M\models _X\alpha (\mathsf {x}/\mathsf {z})$ by locality (as free variables in the formula $\alpha (\mathsf {z})$ are among $\mathsf {z}$ ).
$\subseteq \!\textsf {W}_{\textsf {con}} $ : It suffices to show that $\mathop {=\!} (\mathsf {x}),\mathsf {y}\subseteq \mathsf {z}\models \mathsf {xy}\subseteq \mathsf {xz}$ . Suppose that $M\models _X\mathop {=\!} (\mathsf {x})$ and $M\models _X\mathsf {y}\subseteq \mathsf {z}$ . The latter implies that for any $s\in X$ , there exists $s'\in X$ such that
$s(\mathsf {y})=s'(\mathsf {z})$ . But since $M\models _X\mathop {=\!} (\mathsf {x})$ , we also have $s(\mathsf {x})=s'(\mathsf {x})$ . Thus $s(\mathsf {xy})= s'(\mathsf {xz})$ , thereby $M\models _X\mathsf {xy}\subseteq \mathsf {xz}$ .
$\subseteq \!\textsf {W}_{\exists ^1 } $ : It suffices to show that $\mathop {=\!} (\mathsf {x}),\mathsf {x}\subseteq \mathsf {y}\models \exists ^1 \mathsf {z}(\mathsf {zx}\subseteq \mathsf {wy})$ . Suppose that $M\models _X\mathop {=\!} (\mathsf {x})$ and $M\models _X\mathsf {x}\subseteq \mathsf {y}$ . Pick $s_0\in X$ . Then there exists $s^{\prime }_0\in X$ such that $s_0(\mathsf {x})=s^{\prime }_0(\mathsf {y})$ . Let $\mathsf {a}=s_0'(\mathsf {w})$ . We show that $M\models _{X(\mathsf {a}/\mathsf {z})}\mathsf {zx}\subseteq \mathsf {wy}$ . For any $s\in X(\mathsf {a}/\mathsf {z})$ , clearly $s^{\prime }_0(\mathsf {a}/\mathsf {z})\in X(\mathsf {a}/\mathsf {z})$ . Since $M\models _X\mathop {=\!} (\mathsf {x})$ , we have that $s(\mathsf {x})=s_0(\mathsf {x})$ . Thus $s(\mathsf {zx})=\mathsf {a}s_0(\mathsf {x})=s^{\prime }_0(\mathsf {w})s_0'(\mathsf {y})=s^{\prime }_0(\mathsf {a}/\mathsf {z})(\mathsf {wy}).$
$\subseteq \textsf {E} $ : Suppose $\Gamma \models \mathop {\dot \sim } \mathsf {x}\subseteq \mathsf {y}$ and $\Gamma ,\mathsf {c}\subseteq \mathsf {x},\mathop {\dot \sim } \mathsf {c}\subseteq \mathsf {y}\models \phi $ , and suppose that for some $\mathcal {L} $ -model M and nonempty team X, $M\models _X\Gamma $ . Then we have that $M\models _X\mathop {\dot \sim } \mathsf {x}\subseteq \mathsf {y}$ , which implies that there exists $s\in X$ such that for the $\mathcal {L} (\mathsf {c})$ -model $(M,s(\mathsf {x}))$ , we have $(M,s(\mathsf {x}))\models _X\mathsf {c}\subseteq \mathsf {x}\wedge \mathop {\dot \sim } \mathsf {c}\subseteq \mathsf {y}$ . Thus, by the assumption, $(M,s(\mathsf {x}))\models _X\phi $ , which gives $M\models _X\phi $ since constant symbols in $\mathsf {c}$ do not occur in $\phi $ .
$\lambda \textsf {E} $ : Suppose $\Gamma \models \mathop {\dot \sim } \lambda (\mathsf {x})$ and $\Gamma ,\mathsf {c}\subseteq \mathsf {x},\mathop {\dot \sim } \lambda (\mathsf {c})\models \phi $ , and suppose that for some $\mathcal {L} $ -model M and nonempty team X, $M\models _X\Gamma $ . Then we have that $M\models _X\mathop {\dot \sim } \lambda (\mathsf {x})$ , which implies that $M\not \models _X\lambda (\mathsf {x})$ . Since $\lambda (\mathsf {x})$ is flat, this means that there exists $s\in X$ such that for the $\mathcal {L} (\mathsf {c})$ -model $(M,s(\mathsf {x}))$ , $(M,s(\mathsf {x}))\not \models _X\lambda (\mathsf {c})$ , or $(M,s(\mathsf {x}))\models _X\mathop {\dot \sim } \lambda (\mathsf {c})$ . Clearly, we also have that $(M,s(\mathsf {x}))\models _X\mathsf {c}\subseteq \mathsf {x}$ . Hence, by assumption we conclude that $(M,s(\mathsf {x}))\models _X\phi $ , which gives $M\models _X\phi $ since $\mathsf {c}$ do not occur in $\phi $ .
$\subseteq \!\textsf {wI}_R $ : Suppose $\Gamma ,\phi (\mathsf {v})\not \models \bot $ , where the formulas in $\Gamma \cup \{\phi \}$ are in the vocabulary $\mathcal {L}$ with $R\notin \mathcal {L}$ . We may w.l.o.g. assume that $\phi (\mathsf {v})$ is in prenex and negation normal form (cf. Corollary 4.4). Then there exist an $\mathcal {L}$ -model M and a nonempty team X such that $M\models _X\Gamma $ and $M\models _X\phi (\mathsf {v})$ . Consider the $\mathbf {FO} $ -sentence $\phi _{\ast }(R)$ obtained from the inclusion atom-free $\mathbf {FOT} $ -sentence $\phi (R)$ by replacing every logical constant in $\mathbf {FOT} $ by its counterpart in FO, i.e., by replacing $\mathop {\dot \sim } $ by $\neg $ , by $\vee $ , $\forall ^1 $ by $\forall $ , and $\exists ^1 $ by $\exists $ . Now, by (the proof of) Theorem 3.2, we have $(M,rel(X))\models \phi _{\ast }(R)$ in $\mathbf {FO} $ . By Lemma 2.1, $(M,rel(X))\models _{\{\emptyset \}}\phi (R)$ in $\mathbf {FOT} $ follows. Since $\Gamma $ is a set of sentences in which R does not occur, we also have $(M,rel(X))\models _{\{\emptyset \}}\Gamma $ . Also, since $X\neq \emptyset $ , $(M,rel(X))\models \exists ^1 \mathsf {z}R\mathsf {z}$ . Hence, we conclude $\Gamma ,\exists ^1 \mathsf {z}R\mathsf {z},\phi (R)\not \models \bot $ .
We list some basic facts concerning the logical constants in $\mathbf {FOT} $ in the following proposition.
Proposition 4.3.
-
(i) $\Gamma ,\forall ^1 x\phi \vdash \phi (c/x)$ and $\Gamma ,\phi (c/x)\vdash \exists ^1 x\phi $ .
-
(ii) Let $Q^1\in \{\forall ^1 , \exists ^1 \}$ . Then $Q^1 x\phi \wedge \psi \dashv \vdash Q^1 x(\phi \wedge \psi )$ and , whenever $x\notin \textsf {Fv}(\psi )$ .
-
(iii) , $\mathop {\dot \sim } \mathop {\dot \sim } \phi \vdash \phi $ , and $\Gamma ,\phi \vdash \psi \iff \Gamma ,\mathop {\dot \sim } \psi \vdash \mathop {\dot \sim } \phi $ .
-
(iv) $\mathop {\dot \sim } \forall ^1 x\phi \dashv \vdash \exists ^1 x\mathop {\dot \sim } \phi $ and $\mathop {\dot \sim } \exists ^1 x\phi \dashv \vdash \forall ^1 x\mathop {\dot \sim } \phi $ .
-
(v) and .
Proof Item (i) follows easily from $\mathsf {con}\textsf {I} $ (the fact $\vdash \mathop {=\!} (c)$ in particular), $\forall ^1 $ E and $\exists ^1 $ I. The proofs for the other items are routine and thus left to the reader.
In the sequel, we often abbreviate a sequence $Q^1_1x_1\dots Q^1_nx_n$ of quantifications (with each $Q^1_i\in \{\forall ^1 ,\exists ^1 \}$ ) as $Q^1\mathsf {x}$ . We say that a formula is in prenex and negation normal form if it is of the form $Q^1\mathsf {x}\theta $ , where $\theta $ is a quantifier-free formula with negation $\mathop {\dot \sim } $ occurring only in front of atomic formulas.
Corollary 4.4. Every $\mathbf {FOT} $ -formula $\phi $ is provably equivalent to a formula $Q^1\mathsf {x}\theta $ in prenex and negation normal form.
Corollary 4.5.
-
(i) Replacement Lemma: $\theta \dashv \vdash \chi \Longrightarrow \phi \dashv \vdash \phi (\chi /\theta )$ , where the formula $\phi (\chi /\theta )$ is obtained from $\phi $ by replacing an occurrence of $\theta $ in $\phi $ by $\chi $ .
-
(ii) Deduction Theorem:
Proof Item (i) is proved by a routine inductive argument that uses Proposition 4.3 (i) in the cases for the quantifiers $\forall ^1 $ and $\exists ^1 $ . Item (ii) is proved easily by using Proposition 4.3 (iii).
In the following proposition, we list some derivable technical clauses that will be used in the proof of the completeness theorem.
Proposition 4.6. Let $\xi $ and $\eta $ be two sequences of variables of the same length.
-
(i) .
-
(ii) , where variables in $\mathsf {x}$ are fresh.
-
(iii) .
-
(iv) , where variables in $\mathsf {y}$ are fresh.
-
(v) If $\lambda (\mathsf {z})$ is a first-order atom, then , where variables in $\mathsf {w}$ are fresh.
Proof Item (i): For the right to left direction, we first derive by applying the rule $\subseteq \!\textsf {Pro} $ (which can be applied to add repeated arguments to an inclusion atom). Then, we apply the rules of identity to obtain .
For the left to right direction, follows from $\subseteq \!\textsf {Pro} $ . Next, by $\subseteq \!\textsf {Pro} $ and rules of identity, we have . Finally, viewing formula $\mathsf {v}=\mathsf {v}$ as $(\mathsf {x}=\mathsf {y})(\mathsf {vv}/\mathsf {xy})$ , we applying $\subseteq \!\textsf {Cmp} $ to conclude $\mathsf {x}\mathsf {y}\subseteq \mathsf {v}\mathsf {v},\mathsf {v}=\mathsf {v}\vdash \mathsf {x}=\mathsf {y}$ .
Item (ii): For the right to left direction, by Proposition 4.3 (iii) and (iv), it suffices to show the contrapositive $\mathop {\dot \sim } \xi \subseteq \eta \vdash \exists ^1 \mathsf {x}(\mathsf {x}\subseteq \xi \wedge \mathop {\dot \sim } \mathsf {x}\subseteq \eta )$ . For any sequence $\mathsf {c}$ of fresh constant symbols, we have $ \mathsf {c}\subseteq \xi ,\mathop {\dot \sim } \mathsf {c}\subseteq \eta \vdash \exists ^1 \mathsf {x}(\mathsf {x}\subseteq \xi \wedge \mathop {\dot \sim } \mathsf {x}\subseteq \eta )$ by Proposition 4.3 (i). Then the desired clause follows from $\subseteq \textsf {E} $ . For the other direction, by $\forall ^1 $ I, it suffices to show that for $\mathsf {c}$ a sequence of fresh constant symbols, which is further reduced to showing that $\xi \subseteq \eta , \mathsf {c}\subseteq \xi \vdash \mathsf {c}\subseteq \eta $ . But this follows from $\subseteq \!\textsf {Tr} $ .
Item (iii): We first show , which is equivalent to $\mathop {\mathop {=\!} } (\mathsf {z}),\mathsf {w}\xi \subseteq \mathsf {z}\eta \vdash \mathsf {w}=\mathsf {z}\wedge \xi \subseteq \eta $ . By $\subseteq \!\textsf {W}_{\textsf {con}} $ and $\subseteq \!\textsf {Pro} $ we have $\mathop {\mathop {=\!} } (\mathsf {z}),\mathsf {w}\subseteq \mathsf {z}\vdash \mathsf {w}\mathsf {z}\subseteq \mathsf {z}\mathsf {z}$ . By item (i), $\mathsf {w}\mathsf {z}\subseteq \mathsf {z}\mathsf {z}\vdash \mathsf {w}=\mathsf {z}$ . Hence, by $\subseteq \!\textsf {Pro} $ the desired clause follows. Next, we show $\mathop {\mathop {=\!} } (\mathsf {z}),\mathsf {w}=\mathsf {z}, \xi \subseteq \eta \vdash \mathsf {w}\xi \subseteq \mathsf {z}\eta $ . Again by $\subseteq \!\textsf {W}_{\textsf {con}} $ we have that $\xi \subseteq \eta ,\mathop {\mathop {=\!} } (\mathsf {z})\vdash \mathsf {z}\xi \subseteq \mathsf {z}\eta $ , and thus the desired clause follows from rules of identity.
Item (iv): The direction $\mathop {\mathop {=\!} } (\mathsf {x}),\mathsf {x}\subseteq \mathsf {v}\vdash \exists ^1 \mathsf {y}(\mathsf {x}\mathsf {y}\subseteq \mathsf {v}\mathsf {u})$ is given by $\subseteq \!\textsf {W}_{\exists ^1 }$ , and the other direction $\mathop {\mathop {=\!} } (\mathsf {x}),\exists ^1 \mathsf {y}(\mathsf {x}\mathsf {y}\subseteq \mathsf {v}\mathsf {u})\vdash \mathsf {x}\subseteq \mathsf {v}$ follows easily from $\subseteq \!\textsf {Pro} $ .
Item (v): We first show the left to right direction, which, by $\forall ^1 $ I, is reduced to for $\mathsf {c}$ a sequence of fresh constant symbols. But this follows from $\subseteq \!\textsf {Cmp} $ . Conversely, we show the contrapositive $\mathop {\dot \sim } \lambda (\mathsf {z})\vdash \exists ^1 \mathsf {w}(\mathsf {w}\subseteq \mathsf {z}\wedge \mathop {\dot \sim } \lambda (\mathsf {w}))$ . For any sequence $\mathsf {c}$ of fresh constant symbols, we have $ \mathsf {c}\subseteq \mathsf {z},\mathop {\dot \sim } \lambda (\mathsf {c})\vdash \exists ^1 \mathsf {w}(\mathsf {w}\subseteq \mathsf {z}\wedge \mathop {\dot \sim } \lambda (\mathsf {w}))$ by Proposition 4.3 (i). Then the desired clause follows from $\lambda \textsf {E} $ .
Note that in the above proof, in items (ii) and (v), when Proposition 4.3 (i) (or the rule $\exists ^1 $ I) and the rule $\forall ^1 $ I are applied, we have introduced fresh constant symbols c, which, as commented already, we assume to be always available. The reader can compare these derivations with similar derivations in the system of the usual first-order logic that involve the use of the standard introduction rules for the standard first-order quantifiers $\exists $ and $\forall $ instead. In those cases, one often applies similar tricks and introduces fresh first-order variables x, which are taken from some fixed infinite set $\mathsf {Var}$ of first-order variables. In the present setting, we essentially assumes (in a similar manner) an infinite set $\mathbf {Var}$ of second-order variables that contains infinitely many function variables of every arity (with constant variables identified as $0$ -ary function variables) and infinitely many relation variables of every arity.
To prove the completeness theorem we also need the following three lemmas. The first lemma emphasizes the fact that all variables quantified by the weak quantifiers have constant values, the second one proves a normal form for $\mathbf {FOT} $ -formulas, and the last one shows that derivations in the system of $\mathbf {FO} $ can be simulated in the system of $\mathbf {FOT} $ .
Lemma 4.7. Let $\phi (\mathsf {v})=Q^1\mathsf {x}\theta (\mathsf {x},\mathsf {v})$ be a formula in prenex and negation normal form. Then $\phi \dashv \vdash \phi _{\mathsf {con}}$ , where $\phi _{\mathsf {con}}$ is the formula obtained from $\phi $ by replacing every (first-order or inclusion) literal $\mu (\mathsf {x},\mathsf {v})$ (i.e., an atom or negated atom) by $\mu \wedge \mathop {\mathop {=\!} } (\mathsf {x})$ .
Proof By Proposition 4.3 (ii), $Q^1\textsf {I}$ , and $Q^1\textsf {E}$ , it is easy to prove that $Q^1 \mathsf {x}\theta (\mathsf {x},\mathsf {v})\dashv \vdash Q^1 \mathsf {x}(\theta (\mathsf {x},\mathsf {v})\wedge \mathop {\mathop {=\!} } (\mathsf {x})).$ We then push the formula $\mathop {\mathop {=\!} } (\mathsf {x})$ inside the quantifier-free formula $\theta $ in negation normal form all the way to the front of literals by using Replacement Lemma (Corollary 4.5(i)) and the (standard) equivalences $(\theta _0\wedge \theta _1)\wedge \mathop {\mathop {=\!} } (\mathsf {x})\dashv \vdash (\theta _0\wedge \mathop {\mathop {=\!} } (\mathsf {x}))\wedge (\theta _1\wedge \mathop {\mathop {=\!} } (\mathsf {x}))$
Lemma 4.8. For every $\mathbf {FOT} $ -formula $\phi $ , we have $\phi (\mathsf {v})\dashv \vdash Q^1\mathsf {x}\theta (\mathsf {x},\mathsf {v})$ , where $\theta (\mathsf {x},\mathsf {v})$ is a quantifier-free formula in negation normal form in which first-order atoms are of the form $\lambda (\mathsf {x})$ , and inclusion atoms are of the form $\mathsf {x}_{i}\subseteq \mathsf {v}$ for some variables $\mathsf {x_i} $ from $\mathsf {x}$ .
Proof By Corollary 4.4, we may assume that $\phi (\mathsf {v})$ is in prenex and negation normal form. Assume that the bound variables of $\phi (\mathsf {v})$ are among $\mathsf {x}$ . By Lemma 4.7 we may also assume that every literal $\mu (\mathsf {x},\mathsf {v})$ in $\phi $ is replaced by $\mu (\mathsf {x},\mathsf {v})\wedge \mathop {\mathop {=\!} } (\mathsf {x})$ (call such a formula a formula in constant normal form). Observe that now in $\phi (\mathsf {v})$ a generic first-order atom is of the form $\lambda (\mathsf {x},\mathsf {v})$ , and a generic inclusion atom is of the form $\eta \xi \rho \sigma \subseteq \eta '\xi '\rho '\sigma '$ (modulo permutation by $\subseteq \!\textsf {Pro} $ ), where $|\eta |=|\eta '|\geq 0$ , $|\xi |=|\xi '|\geq 0$ , $|\rho |=|\rho '|\geq 0$ , and $|\sigma |=|\sigma '|\geq 0$ :
-
• $(\eta ,\eta ')=(\mathsf {x}_i,\mathsf {x}_j)$ for some bound variables $\mathsf {x}_i,\mathsf {x}_j$ from $\mathsf {x}$ ;
-
• $(\xi ,\xi ')=(\mathsf {x}_i,\mathsf {v}_i)$ for some bound variables $\mathsf {x}_i$ from $\mathsf {x}$ , and free variables $\mathsf {v}_i$ from $\mathsf {v}$ ;
-
• $(\rho ,\rho ')=(\mathsf {v}_i,\mathsf {x}_i)$ for some free variables $\mathsf {v}_i$ from $\mathsf {v}$ , and bound variables $\mathsf {x}_i$ from $\mathsf {x}$ ;
-
• $(\sigma ,\sigma ')=(\mathsf {v}_i,\mathsf {v}_j)$ for some free variables $\mathsf {v}_i,\mathsf {v}_j$ from $\mathsf {v}$ .
To obtain the required normal form we have to transform every (first-order or inclusion) atom in $\phi $ to the required form. We achieve this in several steps.
In Step 1 of our transformation, we replace in $\phi (\mathsf {v})$ every inclusion atom of the form $\eta \xi \mathsf {v}_i\sigma \subseteq \eta '\xi '\mathsf {x}_i\sigma '$ by $\mathsf {v}_i=\mathsf {x}_i\wedge \eta \xi \sigma \subseteq \eta '\xi '\sigma '$ . Note that by Proposition 4.6 (iii), we have
Hence, by Replacement Lemma (Corollary 4.5(i)), the resulting formula $\phi _1(\mathsf {v})$ is provably equivalent to $\phi $ . We further assume (here and also in the other steps) that $\phi _1(\mathsf {v})$ is turned into prenex, negation, and constant normal form by applying Corollary 4.4 and Lemma 4.7.
In Step 2, we replace in $\phi _1(\mathsf {v})$ every first-order atom $\lambda (\mathsf {x},\mathsf {v})$ by By Proposition 4.6 (v), the resulting formula $\phi _2(\mathsf {v})$ is provably equivalent to $\phi _1(\mathsf {v})$ . Up to now, every first-order atom in the formula is transformed to the required form. The steps afterwards will not generate first-order atoms not in normal form.
In Step 3, we apply Proposition 4.6 (ii) to replace in $\phi _2(\mathsf {v})$ every inclusion atom $\eta \xi \mathsf {v}_i\subseteq \eta '\xi '\mathsf {v}_j$ by and denote the resulting formula by $\phi _3(\mathsf {v})$ . In Step 4, we apply Proposition 4.6 (iii) to replace in $\phi _3(\mathsf {v})$ every inclusion atom $\mathsf {x}_i\mathsf {x}_k\subseteq \mathsf {x}_j\mathsf {v}_k$ by $\mathsf {x}_i=\mathsf {x}_j\wedge \mathsf {x}_k\subseteq \mathsf {v}_k$ , and denote the resulting formula by $\phi _4(\mathsf {v})$ . Up to now every inclusion atom in the formula is transformed to the form $\mathsf {x}_i\subseteq \mathsf {v}_i$ , where $\mathsf {x}_i$ are bound variables and $\mathsf {v}_i$ are free variables in $\phi _4(\mathsf {v})$ . Yet, $\mathsf {v}_i$ may contain repetitions, and it may be only a subsequence of $\mathsf {v}$ . Handling these requires two additional steps.
In Step 5, we remove repetitions on the right side of the inclusion atoms, by applying Proposition 4.6 (i) to replace in $\phi _4(\mathsf {v})$ every inclusion atom of the form $\mathsf {x}_i\mathsf {x}_j\mathsf {x}_k\subseteq \mathsf {v}_i\mathsf {v}_i\mathsf {v}_j$ by $\mathsf {x}_i=\mathsf {x}_j\wedge \mathsf {x}_i\mathsf {x}_k\subseteq \mathsf {v}_i\mathsf {v}_j$ . Denote the resulting formula by $\phi _5(\mathsf {v})$ . In Step 6, we extend the length of those shorter inclusion atoms. Assuming $\mathsf {v}=\mathsf {v}_i\mathsf {v}_j$ , we apply Proposition 4.6 (iv) to replace in $\phi _5(\mathsf {v})$ every inclusion atom of the form $\mathsf {x}_i\subseteq \mathsf {v}_i$ by $\exists ^1 \mathsf {y}(\mathsf {x}_i\mathsf {y}\subseteq \mathsf {v}_i\mathsf {v}_j)$ . Denote the resulting formula by $\phi _6(\mathsf {v})$ .
As before we assume that $\phi _6(\mathsf {v})$ is turned into prenex and negation normal form, but now we shall apply Lemma 4.7 in a reverse manner to remove the added constancy atoms for each literal in $\phi _6$ . Finally, the resulting provably equivalent formula is in the required normal form. Note that our transformation clearly terminates, because we have performed the steps of the transformation in such an order that each step will not generate new formulas for which the transformations in the previous steps apply.
Lemma 4.9. Let $\Delta \cup \{\delta \}$ be a set of $\mathbf {FO} $ -formulas whose free variables are among $\mathsf {x}$ . If $\Delta \vdash _{\mathbf {FO}} \delta $ , then $\Delta ^{\ast }(\mathsf {c}/\mathsf {x})\vdash _{\mathbf { FOT}} \delta ^{\ast }(\mathsf {c}/\mathsf {x})$ , where $\Delta ^{\ast }=\{\alpha ^{\ast }\mid \alpha \in \Delta \}$ , $(\cdot )^{\ast }$ is the operation that replaces every logical constant in $\mathbf {FO} $ by its counterpart in $\mathbf {FOT} $ , and $\mathsf {c}$ is a sequence of fresh constant symbols. In particular, if $\Delta \cup \{\delta \}$ is a set of $\mathbf {FO} $ -sentences, then $\Delta \vdash _{\mathbf {FO}} \delta $ implies $\Delta ^{\ast }\vdash _{\mathbf {FOT}} \delta ^{\ast }$ .
Proof We prove that $\Delta \vdash _{\mathbf {FO}} \delta $ implies $\Delta ^{\ast }(\mathsf {c}/\mathsf {x})\vdash _{\mathbf {FOT}} \delta ^{\ast }(\mathsf {c}/\mathsf {x})$ by induction on the depth of the proof tree of $\Delta \vdash _{\mathbf {FO}} \delta $ . If the proof tree has depth 1, then either $\delta \in \Delta $ or $\delta $ is the identity axiom $t=t$ . In both cases $\Delta ^{\ast }(\mathsf {c}/\mathsf {x})\vdash _{\mathbf {FOT}} \delta ^{\ast }(\mathsf {c}/\mathsf {x})$ trivially holds.
If the proof tree has depth $>1$ , and the last step of the derivation of $\Delta \vdash _{\mathbf {FO}} \delta $ is an application of a rule for $\neg $ or $\wedge $ or $\vee $ in $\mathbf {FO} $ , then we derive $\Delta ^{\ast }(\mathsf {c}/\mathsf {x})\vdash _{\mathbf {FOT}} \delta ^{\ast }(\mathsf {c}/\mathsf {x})$ by directly applying the induction hypothesis and the corresponding (classical) rules for $\mathop {\dot \sim } $ or $\wedge $ or in our system for $\mathbf {FOT} $ .
If the last step of the derivation of $\Delta \vdash _{\mathbf {FO}} \delta $ is an application of the $\exists \textsf {I}$ rule:
where the free variables occurring in $\Delta (\mathsf {y})$ and $\exists x\alpha (x,\mathsf {y})$ are among $\mathsf {y}$ , and the variables and constant symbols occurring in the term t are, respectively, among $\mathsf {v}\mathsf {y}$ and $\mathsf {d}$ (denoted by $t(\mathsf {v}\mathsf {y},\mathsf {d})$ ), then the corresponding derivation in $\mathbf {FOT} $ is
where $\pi ^{\ast }$ is, by induction hypothesis, the derivation in $\mathbf {FOT} $ that corresponds to $\pi $ .
If the last step of the derivation of $\Delta \vdash _{\mathbf {FO}} \delta $ is an application of the $\exists \textsf {E}$ rule:
where $ v\notin \textsf {Fv}(\Delta \cup \{\alpha ,\delta \})$ and the free variables occurring in $\Delta ,\exists x\alpha ,\delta $ are among $\mathsf {y}$ , then the corresponding derivation in $\mathbf {FOT} $ is
where $\pi _1^{\ast },\pi _2^{\ast }$ are, by induction hypothesis, the derivations that correspond to $\pi _1,\pi _2$ in $\mathbf {FOT} $ respectively, and d is a fresh constant symbol.
If the last step of the derivation of $\Delta \vdash _{\mathbf {FO}} \delta $ is an application of the $\forall \textsf {I}$ rule:
where $ v\notin \textsf {Fv}(\Delta \cup \{\alpha \})$ and the free variables occurring in $\Delta ,\forall x\alpha $ are among $\mathsf {y}$ , then the corresponding derivation in $\mathbf {FOT} $ is
where d is a fresh constant symbol.
If the last step of the derivation of $\Delta \vdash _{\mathbf {FO}} \delta $ is an application of the $\forall \textsf {E}$ rule:
where the free variables occurring in $\Delta ,\forall x\alpha $ are among $\mathsf {y}$ and $t=t(\mathsf {vy},\mathsf {d})$ for some sequence $\mathsf {d}$ of constant symbols, then the corresponding derivation in FOT is
Finally, we are in a position to prove the completeness theorem of our system. We first prove the weak completeness, and then derive the strong completeness as a consequence of the weak one and the compactness theorem (Theorem 3.8) we proved in Section 3. Finding a direct proof of the strong completeness is left for future work.
Theorem 4.10 (Weak completeness)
$\models \phi \iff \vdash _{\mathbf {FOT}} \phi $ .
Proof Suppose that $\nvdash _{\mathbf {FOT}} \phi $ . By RAA we derive $\mathop {\dot \sim } \phi \nvdash _{\mathbf {FOT}} \bot $ , which is equivalent to $\psi (\mathsf {v})\nvdash _{\mathbf {FOT}} \bot $ , where $\psi (\mathsf {v})=Q^1\mathsf {x}\theta (\mathsf {x},\mathsf {v})$ is the formula $\mathop {\dot \sim } \phi $ in the normal form given by Lemma 4.8. Let R be a fresh relation symbol (which is assumed to be always available), and let $\psi (R)$ be the inclusion atom-free sentence obtained from $\psi (\mathsf {v})$ by replacing every inclusion atom $\mathsf {x}_i\subseteq \mathsf {v}$ by $R\mathsf {x}_i$ . By $\subseteq \!\textsf {wI}_R $ we have $\exists ^1 \mathsf {z}R\mathsf {z}, \psi (R)\nvdash _{\mathbf {FOT}} \bot $ . Consider the $\mathbf {FO} $ -formula $\psi _{\ast }(R)$ obtained from the $\mathbf {FOT} $ -formula $\psi (R)$ by replacing every logical constant in $\mathbf {FOT} $ by its counterpart in $\mathbf {FO} $ . It follows from Lemma 4.9 that $\exists \mathsf {z}R\mathsf {z},\psi _{\ast }(R)\nvdash _{\mathbf {FO}} \bot $ . Now, by the completeness theorem of $\mathbf {FO} $ , there exists a model $(M,R^M)$ such that $R^M\neq \emptyset $ and $(M,R^M)\models \psi _{\ast }(R)$ . It then follows from (the proof of) Theorem 3.2 that $M\models _{X_R}\psi (\mathsf {v})$ , where $X_R=\{s:\{v_1,\dots ,v_k\}\to M\mid s(\mathsf {v})\in R^M\}$ is the (nonempty) team associated with R. Hence $\mathop {\dot \sim } \phi \not \models \bot $ , thereby $\not \models \phi $ .
Corollary 4.11 (Strong completeness)
For any set $\Gamma \cup \{\phi \}$ of $\mathbf {FOT} $ -formulas that contains countably many free variables, we have that $\Gamma \models \phi \iff \Gamma \vdash _{\mathbf {FOT}} \phi $ .
Proof Suppose $\Gamma \models \phi $ . Since $\Gamma ,\mathop {\dot \sim } \phi \models \bot $ and $\Gamma \cup \{\phi \}$ contains countably many free variables, by compactness of $\mathbf {FOT} $ (Theorem 3.8) we may assume that $\Gamma $ is a finite set. Now, we have that . Thus, by the weak completeness, we obtain , which, by E and $\mathop {\dot \sim } \mathsf {E}$ , implies $\Gamma \vdash _{\mathbf { FOT}} \phi $ .
5 Partial axiomatization of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $
Having axiomatized completely the logic $\mathbf {FOT} $ , in this section we turn to the weaker logic $\mathbf {FOT}^{\downarrow } $ that captures downward closed elementary team properties (Corollary 3.7). Recall that the stronger downward closed logic dependence logic (D) is the extension of first-order logic with dependence atoms. More precisely, D-formulas are defined as
where $\lambda $ is a first-order atom, $\mathsf {t},\mathsf {t}'$ are sequences of terms, and $\alpha $ is a first-order formula.Footnote 1 We now consider an extension $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ of D obtained by enriching the syntax of D with the weak connectives and quantifiers
from $\mathbf {FOT}^{\downarrow } $ :
where $\lambda $ , $\mathsf {t},\mathsf {t}'$ , and $\alpha $ are as before (in particular, a first-order formula $\alpha $ cannot contain
, or $\forall ^1 $ ). Since D is known to already capture all downward closed existential second-order team properties [Reference Kontinen and Väänänen33, Reference Väänänen39], and the logical constants
preserve downward closure and have essentially only first-order expressive power (as shown in Theorem 3.1), the logic $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ with the enriched syntax is actually expressively equivalent to D. We give a sketch of this proof below.
Theorem 5.1. For every formula $\phi $ in $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ , there is a formula $\psi $ in $\mathbf {D} $ such that $\phi \equiv \psi $ , and vice versa. In other words, $\mathbf {D} \oplus \mathbf { FOT}^{\downarrow } $ is equi-expressive with D.
Proof The “vice versa” direction is trivial. For the non-trivial direction, we show that for every $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formula $\phi (v_1,\dots ,v_k)$ in some vocabulary $\mathcal {L}$ , there exists an $\mathcal {L}(R)$ -sentence $\gamma _{\phi }(R)$ with a fresh k-ary relation symbol R occurring only negatively such that equivalence (3) from Theorem 3.1 holds for any $\mathcal {L}$ -model M and nonempty team X. This would then suffice for the following reasons: We know by [Reference Kontinen and Väänänen33, Theorem 4.9] that for every such existential second-order sentence $\gamma _{\phi }(R)$ , there exists an $\mathcal {L}$ -formula $\psi (v_1,\dots ,v_k)$ in $\mathbf {D} $ such that equivalence (3) from Theorem 3.1 with respect to $\psi $ holds for any $\mathcal {L}$ -model M and nonempty team X. This then implies that $\phi $ and $\psi $ are equivalent over arbitrary models and nonempty teams. Over the empty team, on the other hand, both $\phi $ and $\psi $ are satisfied (by the empty team property of the logics). Putting all these together, we would be able to conclude that $\phi \equiv \psi $ .
Now, to give the translation from $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ into existential second-order logic, we combine our translation from $\mathbf {FOT}^{\downarrow } $ into first-order logic as given in Theorem 3.1, and the translation from $\mathbf {D} $ into existential second-order logic as given in [Reference Väänänen39, Theorem 6.2]. If the $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formula $\phi (\mathsf {v})$ is a dependence atom, or if its main connective or quantifier is one from $\mathbf {D} $ , we define $\gamma _{\phi }(R)$ in the same way as in [Reference Väänänen39, Theorem 6.2]. For example, $\gamma _{\theta _0\vee \theta _1}(R,\mathsf {x})=\exists S_1\exists S_2(\forall \mathsf {u}(R\mathsf {u}\to S_1\mathsf {u}\vee S_2\mathsf {u})\wedge \gamma _{\theta _0}(S_1,\mathsf {x})\wedge \gamma _{\theta _1}(S_2,\mathsf {x}))$ , etc. If $\phi (\mathsf {v})$ is a first-order (negated) formula, or if its main connective or quantifier is or $\exists ^1 $ , we define $\gamma _{\phi }(R)$ in the same way as in Theorem 3.1. The formula $\gamma _{\phi }(R)$ is clearly existential second-order and it also satisfies equivalence (3) from Theorem 3.1.
Denote by $\mathbf {FO}(\forall ^1 ) $ the extension of $\mathbf {FO} $ by the weak universal quantifier $\forall ^1 $ . We say that a $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formula $\theta $ is pseudo-flat if the universal quantifiers $\forall $ in $\theta $ quantify over $\mathbf {FO}(\forall ^1 ) $ -formulas only. For instance, the formula is pseudo-flat, and all $\mathbf { FO}(\forall ^1 ) $ -formulas are clearly pseudo-flat. A typical D-formula $\forall x\exists y(\mathop {=\!} (x,y)\wedge \phi )$ is not pseudo-flat, whereas $\forall ^1 x\exists y(\mathop {=\!} (x,y)\wedge (x\neq y\vee y=0))$ is pseudo-flat.
In this section, we introduce a system of natural deduction for the logic $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ by extending the systems of [Reference Kontinen and Väänänen34, Reference Yang41] for D so that this new system is sound and complete for certain pseudo-flat consequences, in the sense that
holds whenever $\Gamma $ is a set of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formulas, and $\theta $ is an $\mathbf {FO}(\forall ^1 ) $ -formula or a pseudo-flat $\mathbf {D} \oplus \mathbf { FOT}^{\downarrow } $ -sentence. Recall that the system of D given in [Reference Kontinen and Väänänen34] is complete for first-order consequences in the sense that (7) holds for $\Gamma $ being a set of D-sentences and $\theta $ being an $\mathbf {FO} $ -sentence. In our completeness proof, we will generalize the argument in [Reference Kontinen and Väänänen34], and also apply and generalize a trick developed in [Reference Yang41] which extends the completeness result in [Reference Kontinen and Väänänen34] to allow the formula $\theta $ to be in any language that is closed under the weak classical negation $\mathop {\dot \sim } $ , for which the reductio ad absurdum (RAA) rule is sound. In our argument, we make use of the fact that $\mathbf {FO}(\forall ^1 ) $ formulas and pseudo-flat $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -sentences also admit certain RAA rule (see Lemma 5.3). As a corollary of our result, we will also be able to conclude that the original system for D as introduced in [Reference Kontinen and Väänänen34] is already complete with respect to first-order consequences over arbitrary formulas (under the assumption that the set of free variables occurring in the formulas in question is countable). This answers an open problem in [Reference Kontinen and Väänänen34] in the affirmative.
Let us start by observing that $\mathbf {FO}(\forall ^1 ) $ -formulas are all flat.
Fact 5.2. $\mathbf {FO}(\forall ^1 ) $ -formulas are flat.
Proof Formulas $\phi $ of $\mathbf {FO}(\forall ^1 ) $ are clearly downward closed and satisfy the empty team property. It is then sufficient to show, by induction, that $\phi $ is closed under unions. For the only non-trivial case $\phi =\forall ^1 x\psi $ , suppose that $M\models _{X_i}\forall ^1 x\psi $ for any $i\in I\neq \emptyset $ . For any $a\in M$ , we have that $M\models _{X_i(a/x)}\psi $ . Thus, by induction hypothesis, $M\models _{X(a/x)}\psi $ for $X=\bigcup _{i\in I}X_i$ . Hence we conclude $M\models _{X}\forall ^1 x\psi $ .
For any $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formula $\theta $ , denote by $\theta _{\ast }$ the first-order formula obtained from $\theta $ by replacing every dependence atom $\mathop {=\!} (\mathsf {t},\mathsf {t}')$ by $\top $ , every weak logical constant by its counterpart in $\mathbf {FO} $ , i.e., by replacing by $\vee $ , $\exists ^1 $ by $\exists $ , and $\forall ^1 $ by $\forall $ . We now show that $\theta $ and $\neg \theta _{\ast }$ are contradictory to each other in case $\theta $ is a pseudo-flat sentence or a (possibly open) formula in $\mathbf {FO}(\forall ^1 ) $ (which is also pseudo-flat).
Lemma 5.3. Let $\theta $ be a $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formula.
-
(i) If $\theta $ is pseudo-flat, then $M\models _{\{s\}}\theta \iff M\models _{\{s\}}\theta _{\ast }$ .
-
(ii) If $\theta $ is a pseudo-flat sentence or an $\mathbf {FO}(\forall ^1 ) $ -formula, then $\Gamma ,\neg \theta _{\ast }\models \bot \iff \Gamma \models \theta .$
Proof (i) This is proved by an inductive argument, for which most cases follow essentially from Lemma 2.1. We only illustrate two non-trivial cases. If $\theta =\mathop {=\!} (\mathsf {t},\mathsf {t}')$ , then both $M\models _{\{s\}}\mathop {=\!} (\mathsf {t},\mathsf {t}')$ and $M\models _{\{s\}}\top $ always hold. If $\theta =\forall x\eta $ where $\eta $ is in $\mathbf {FO}(\forall ^1 ) $ , then $\eta $ is flat (by Fact 5.2), and the rest of the proof is essentially the same as the corresponding case in Lemma 2.1.
(ii) Suppose $\Gamma \models \theta $ , and suppose $M\models _X\Gamma $ and $M\models _X\neg \theta _{\ast }$ . If $X\neq \emptyset $ , then for an arbitrary $s\in X$ , we have that $M\not \models _{\{s\}}\theta _{\ast }$ , which implies $M\not \models _{\{s\}}\theta $ by item (i). Hence, by the downward closure of $\theta $ , we conclude that $M\not \models _X\theta $ , which contradicts the assumption that $\Gamma \models \theta $ . Hence, $X=\emptyset $ and $M\models _X\bot $ .
Conversely, suppose $\Gamma ,\neg \theta _{\ast }\models \bot $ , and suppose $M\models _X\Gamma $ and $M\not \models _X\theta $ . We derive a contradiction. Let us first treat the case when $\theta $ is a pseudo-flat sentence with no free variable. By locality, $M\not \models _X\theta $ implies that $M\not \models _{\{\emptyset \}}\theta $ for the empty assignment $\emptyset $ . Thus, by item (i), we obtain $M\models _{\{\emptyset \}}\neg \theta _{\ast }$ . Observe that $\neg \theta _{\ast }$ is also a sentence with no free variable, thus $M\models _X\neg \theta _{\ast }$ , by locality again. Now, since $M\models _X\Gamma $ , by assumption we are forced to conclude that $M\models _X\bot $ , meaning that $X=\emptyset $ . But in view of the empty team property, this contradicts the assumption that $M\not \models _X\theta $ . Hence we are done.
Next, let us consider the case when $\theta $ is a (possibly open) $\mathbf {FO}(\forall ^1 ) $ -formula. Since now $\theta $ is flat (by Fact 5.2), we have that $M\not \models _{\{s\}}\theta $ for some $s\in X$ . This means, by item (i), that $M\models _{\{s\}}\neg \theta _{\ast }$ . Since formulas in $\Gamma $ are all downward closed, we then have that $M\models _{\{s\}}\Gamma $ . But then, the assumption $\Gamma ,\neg \theta _{\ast }\models \bot $ implies that $M\models _{\{s\}}\bot $ , which is not the case. Hence we are also done.
Before presenting our axiomatization, let us analyze the behavior of the weak quantifiers and connectives and their interaction with the usual logical constants and dependence atoms in the enriched language $\mathbf { D} \oplus \mathbf {FOT}^{\downarrow } $ . By Theorem 5.1, the weak quantifiers and connectives can be eliminated in the logic, as, e.g., for every D-formula $\phi $ , $\forall ^1 x\phi $ is expressible in $\mathbf {D} $ . Furthermore, the weak existential quantifier $\exists ^1 $ and disjunction are actually both definable in $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ in terms of the constancy atoms and the standard existential quantifier and disjunction, under the assumption that every model has at least two elements (which we postulate throughout the paper).
Proposition 5.4.
-
(i) $\exists ^1 x\phi \equiv \exists x(\mathop {=\!} (x)\wedge \phi )$ .
-
(ii) , where $x,y$ are fresh.
Proof Item (i) is easy to prove. We only give detailed proof for item (ii). Suppose . Then either $M\models _X\phi $ or $M\models _X\psi $ . Pick distinct $a,b\in M$ . Define functions $F:X\to \wp ^+(M)$ and $G:X(F/x)\to \wp ^+(M)$ as $F(s)=\{a\}$ , and $G(s)=\{a\}$ if $M\models _X\phi $ and $G(s)=\{b\}$ if $M\models _X\psi $ . Put $Y=X(F/x)(G/y)$ . It is easy to see that $M\models _Y\mathop {=\!} (x)\wedge \mathop {=\!} (y)$ , and $M\models _Yx=y\wedge \phi $ in case $M\models _X\phi $ , and $M\models _Yx\neq y\wedge \psi $ in case $M\models _X\psi $ .
Conversely, suppose there are suitable functions $F,G$ such that for the team $Y=X(F/x)(G/y)$ , $M\models _Y\mathop {=\!} (x)\wedge \mathop {=\!} (y)$ and $M\models _Y(x=y\wedge \phi )\vee (x\neq y\wedge \psi )$ . Since $x,y$ have constant values in Y, it must be that either $M\models _Yx=y\wedge \phi $ or $M\models _Yx\neq y\wedge \psi $ . Hence we conclude that . Since $x,y\notin \textsf {Fv}(\phi )\cup \textsf {Fv}(\psi )$ , we have by the locality property that .
The weak universal quantifier $\forall ^1 $ , however, cannot be defined uniformly in terms of the other logical constants in $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ , for otherwise (by Proposition 5.4) it would also be uniformly definable in D, which contradicts the results in [Reference Galliani16]. We characterize the interaction between $\forall ^1 $ and the standard quantifiers in the next lemma.
Lemma 5.5. For any two distinct variables x and y, we have that $\exists x\forall ^1 y\phi (x,y,\mathsf {z})\equiv \forall ^1 y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \phi )$ and $\forall x\forall ^1 y\phi \equiv \forall ^1 y\forall x\phi $ .
Proof The second equivalence is clear. We only verify the first equivalence. Suppose $M\models _X\exists x\forall ^1 y\phi (x,y,\mathsf {z})$ , and we may w.l.o.g. assume also that $\textsf {dom}(X)=\mathsf {z}$ . Then there exists a function $F:X\to \wp ^+(M)$ such that for all $a\in M$ , $M\models _{X(F/x)(a/y)}\phi (x,y,\mathsf {z})$ . Since $\phi $ is downward closed, we may w.l.o.g. assume that $F(s)$ is a singleton for each $s\in X$ . Let $a\in M$ be arbitrary. We define a function $F':X(a/y)\to \wp ^+(M)$ as $F'(s)=F(s\upharpoonright \textsf {dom}(X)).$ Clearly, $M\models _{X(a/y)(F'/x)}\mathop {=\!} (\mathsf {z},x)$ . Observe that $X(a/y)(F'/x)=X(F/x)(a/y)$ . Thus $M\models _{X(a/y)(F'/x)}\phi $ , as required.
Conversely, suppose $M\models _X\forall ^1 y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \phi )$ . Pick $a\in M$ . By assumption, there exists a function $F_a:X(a/y)\to \wp ^+(M)$ such that $M\models _{X(a/y)(F_a/x)}\mathop {=\!} (\mathsf {z},x)\wedge \phi $ . Define a function $F':X\to \wp ^+(M)$ as $F'(s)=F_a(s(a/y))$ . For any $b\in M$ , it suffices to show that $M\models _{X(F'/x)(b/y)}\phi $ . Now, since $M\models _{X(b/y)(F_b/x)}\mathop {=\!} (\mathsf {z},x)$ , we have that for all $s_0\in X$ , $F_b(s_0(b/y))=F_a(s_0(a/y))$ is a singleton. We claim that $X(b/y)(F_b/x)=X(F'/x)(b/y)$ , which would then imply $M\models _{X(F'/x)(b/y)}\phi $ , since we have $M\models _{X(b/y)(F_b/x)}\phi $ by assumption. Indeed, if $s\in X(F'/x)(b/y)$ , then
which implies that $s\in X(b/y)(F_b/x)$ . The converse direction is symmetric.
Let us now define the system for $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ .
Definition 5.6. The system of natural deduction for $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ consists of all rules of the system of D defined in [Reference Kontinen and Väänänen34] (including particularly those rules in Table 3), all rules in Table 1 from Section 4 where dependence atoms $\mathop {=\!} (t)$ are now read as atomic formulas (instead of shorthands), and the rules in Table 4, where letters in sans-serif face stand for sequences of variables, and $\alpha $ ranges over first-order formulas only.
The axiom Dom stipulates that the domain of a model has at least two elements, which we assume throughout the paper (and especially in this section). This domain assumption is often postulated in the literature for first-order models, as models with singleton domains is considered trivial in many respects. For dependence logic in particular, over models with single elements in the domain, all dependence atoms become trivially true, since for a fixed set of variables, there is only one assignment over such domains. In the present section, the axiom Dom or the corresponding domain assumption is also required for the fact that the weak disjunction is definable in terms of $\vee $ in D (see Propositions 5.4(ii) and 5.8 (viii)), and the soundness of the rule $\forall ^1 $ Ext. Finding a deduction system for the same logic $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ without this domain assumption is left as future work. The standard introduction rule $\neg $ I and elimination rule $\neg $ E for negation apply only to negation in front of first-order formulas. The rule $\textsf {RAA}_{\ast }$ is crucial for our completeness proof when applying a trick developed in [Reference Yang41], where a similar rule was formulated originally in terms of the weak classical negation $\mathop {\dot \sim } $ instead. The soundness of $\textsf {RAA}_{\ast }$ follows from Lemma 5.3 (ii). The falsum-disjunction elimination rule $\bot \vee $ E and the universal quantifiers transition rule $\forall ^1 \forall $ Trs are self-explanatory. The invertible rule $\forall ^1 $ Ext is an adaption of a similar rule in the system of D in [Reference Kontinen and Väänänen34]. It is also inspired by a similar equivalence given in [Reference Galliani, Hannula and Kontinen18]. The weak introduction $\mathsf {DepWI}$ and elimination rule $\mathsf {DepWE}$ for dependence atoms were first introduced in [Reference Yang and Väänänen43] in the context of propositional dependence logic. These two rules characterize the equivalence $\mathop {=\!} (\mathsf {x},\mathsf {y})\equiv \mathop {=\!} (\mathsf {x})\to \mathop {=\!} (\mathsf {y})$ , which was first identified in [Reference Abramsky and Väänänen1], and later discussed also in the context of inquisitive logic in [Reference Ciardelli, Abramsky, Kontinen, Väänänen and Vollmer7]. The constancy atom extension and weakening rules $\mathsf {conExt}$ and $\mathsf {conW}$ characterize the fact that $\mathop {=\!} (\mathsf {xy})\equiv \mathop {=\!} (\mathsf {x})\wedge \mathop {=\!} (\mathsf {y})$ . These two rules for dependence atoms were not included in the original system of D in [Reference Kontinen and Väänänen34], where dependence atoms $\mathop {=\!} (\mathsf {t},t')$ have in the second component only single terms $t'$ instead of sequences of terms. The constancy atom transition rule $\mathsf {conTrs}$ characterizes the entailment . We will show in Proposition 5.8 (vii) that this semantic entailment is also syntactically derivable in the system.
Theorem 5.7 (Soundness)
$\Gamma \vdash \phi \Longrightarrow \Gamma \models \phi $ .
Proof We only give detailed proof for the soundness of the nontrivial rules.
$\forall ^1 \forall $ Trs: It suffices to show that $\forall ^1 x\alpha \models \forall x\alpha $ . Suppose $M\models _X\forall ^1 x\alpha $ . Then for all $a\in M$ , $M\models _{X(a/x)}\alpha $ . Observe that $X(M/x)=\bigcup _{a\in M}X(a/x)$ . Since $\alpha $ is closed under unions, we then conclude that $M\models _{X(M/x)}\alpha $ , thus $M\models _X\forall x\alpha $ .
$\forall ^1 $ Ext: It suffices to show that $\forall ^1 x\phi \vee \psi \equiv \exists yz\forall ^1 x((y=z\wedge \phi )\vee (y\neq z\wedge \psi ))$ . For the left to right direction, suppose $M\models _X\forall ^1 x\phi \vee \psi $ , and we may w.l.o.g. also assume that $x,y,z\notin \textsf {dom}(X)$ . Then there exist $Y,Z\subseteq X$ such that $X=Y\cup Z$ , $M\models _Y\forall ^1 x\phi $ and $M\models _Z\psi $ . Since $\forall ^1 x\phi $ and $\psi $ are downward closed, we may w.l.o.g. assume that Y and Z are disjoint. Let $a,b$ be two distinct elements in M (which is assumed to have at least two elements). Define $F:X\to \wp ^+(M)$ as $F(s)=\{a\}$ , and define $G:X(F/y)\to \wp ^+(M)$ by taking $G(s)=\{a\}$ if $s\upharpoonright \textsf {dom}(X)\in Y$ , and $G(s)=\{b\}$ if $s\upharpoonright \textsf {dom}(X)\in Z$ . Putting $X'=X(F/y)(G/z)$ we show that $M\models _{X'(c/x)}(y=z\wedge \phi )\vee (y\neq z\wedge \psi )$ for arbitrary $c\in M$ . Define $Y'=\{s\in X'(c/x)\mid s(z)=a\}$ and $Z'=X'(c/x)\setminus Y'$ . Clearly, $Y'\cup Z'=X'(c/x)$ , $M\models _{Y'}y=z$ and $M\models _{Z'}y\neq z$ . Since $M\models _Z\psi $ and $x,y,z\notin \textsf {dom}(Z)$ , we have $M\models _{Z'}\psi $ . Also, since $M\models _Y\forall ^1 x\phi $ , we have $M\models _{Y(c/x)}\phi $ . Since $\textsf {dom}(X)\cup \{x\}\subseteq \textsf {Fv}(\phi )$ and $Y(c/x)\upharpoonright (\textsf {dom}(X)\cup \{x\})=Y'\upharpoonright (\textsf {dom}(X)\cup \{x\})$ , we conclude that $M\models _{Y'}\phi $ .
For the right to left direction, suppose $M\models _X\exists yz\forall ^1 x((y=z\wedge \phi )\vee (y\neq z\wedge \psi ))$ and $x,y,z\not \in \textsf {dom}(X)$ . Then there exist appropriate functions $F,G$ such that for any $a\in M$ , there exists $Y_a\subseteq X(F/y)(G/z)(a/x)=X'(a/x)$ such that $M\models _{Y_a}y=z\wedge \phi $ and $M\models _{X'(a/x)\setminus Y_a}y\neq z\wedge \psi $ . We claim that for any $a,b\in M$ , $Y_a\upharpoonright \textsf {dom}(X)=Y_b\upharpoonright \textsf {dom}(X)$ . Indeed, for any $s\in Y_a\upharpoonright \textsf {dom}(X)$ , there exists an extension $\hat {s}$ of s in $Y_a$ . Since $M\models _{Y_a}y=z$ , we have $\hat {s}(y)=\hat {s}(z)$ . Let $t=\hat {s}(b/x)\in X'(b/x)\supseteq Y_b$ . Since $t(y)=\hat {s}(y)=\hat {s}(z)=t(z)$ and $M\models _{X'(b/x)\setminus Y_b}y\neq z$ , we must have that $t\in Y_b$ , and thus $s=\hat {s}\upharpoonright \textsf {dom}(X)=t\upharpoonright \textsf {dom}(X)\in Y_b\upharpoonright \textsf {dom}(X)$ . This shows that $Y_a\upharpoonright \textsf {dom}(X)\subseteq Y_b\upharpoonright \textsf {dom}(X)$ . The other inclusion is proved similarly.
Now, to show $M\models _X\forall ^1 x\phi \vee \psi $ , let $Y=Y_a\upharpoonright \textsf {dom}(X)$ and $Z=X\setminus Y$ for any $a\in M$ . Since $M\models _{X'(a/x)\setminus Y_a}\psi $ and $Z=X\setminus (Y_a\upharpoonright \textsf {dom}(X))=(X'(a/x)\setminus Y_a)\upharpoonright \textsf {dom}(X),$ we obtain $M\models _Z\psi $ by locality. Meanwhile, for any $b\in M$ , we have $Y=Y_a\upharpoonright \textsf {dom}(X)=Y_b\upharpoonright \textsf {dom}(X)$ . Since $M\models _{Y_b}\phi $ and $Y_b\upharpoonright (\textsf {dom}(X)\cup \{x\})=Y(b/x)$ , we obtain $M\models _{Y(b/x)}\phi $ .
$\mathsf {DepWI}$ : Suppose $\Gamma ,\mathop {=\!} (\mathsf {x})\models \mathop {=\!} (\mathsf {y})$ and suppose $M\models _X\Gamma $ . For any $s,s'\in X$ , if $s(\mathsf {x})=s'(\mathsf {x})$ , then $M\models _{\{s,s'\}}\mathop {=\!} (\mathsf {x})$ . Since $\Gamma $ is downward closed, we have that $M\models _{\{s,s'\}}\Gamma $ . Thus, by assumption we obtain $M\models _{\{s,s'\}}\mathop {=\!} (\mathsf {y})$ , hence $s(\mathsf {y})=s'(\mathsf {y})$ .
In the following proposition we list some derivable clauses that will be used in our proof of the completeness theorem. In addition, the clauses in Proposition 4.3 (i) and (ii) are still derivable in the system of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ by the same derivations (where $\vdash \mathop {=\!} (c)$ is given by item (iii) below).
Proposition 5.8.
-
(i) $\mathop {=\!} (\mathsf {t},\mathsf {t}')\dashv \vdash \exists \mathsf {x}\mathsf {y}(\mathop {=\!} (\mathsf {x},\mathsf {y})\wedge \mathsf {x}=\mathsf {t}\wedge \mathsf {y}=\mathsf {t}')$ , where the variables in $\mathsf {x}\mathsf {y}$ do not occur in the sequences $\mathsf {t}, \mathsf {t}'$ of terms.
-
(ii) $\mathop {=\!} (\mathsf {x},\mathsf {yz})\dashv \vdash \mathop {=\!} (\mathsf {x},\mathsf {y})\wedge \mathop {=\!} (\mathsf {x},\mathsf {z})$ .
-
(iii) $\vdash \mathop {=\!} (\mathsf {x},c)$ , and in particular $\vdash \mathop {=\!} (c)$ for any constant symbol c.
-
(iv) $\mathop {=\!} (c\mathsf {x},\mathsf {y})\dashv \vdash \mathop {=\!} (\mathsf {x},\mathsf {y})$ for any constant symbol c.
-
(v) $\forall ^1 vQ\mathsf {u}(\phi \wedge \mathop {=\!} (v\mathsf {x},\mathsf {y}))\dashv \vdash \forall ^1 vQ\mathsf {u}(\phi \wedge \mathop {=\!} (\mathsf {x},\mathsf {y}))$ and $\forall ^1 v Q\mathsf {u}(\phi \wedge \mathop {=\!} (\mathsf {x},v))\dashv \vdash \forall ^1 vQ\mathsf {u}\phi $ .
-
(vi) $\exists ^1 x\phi \dashv \vdash \exists x(\mathop {=\!} (x)\wedge \phi )$ .
-
(vii) .
-
(viii) , where $x,y\notin \mathsf {Fv}(\{\phi ,\psi \})$ .
-
(ix) $\exists x\forall ^1 y\phi (x,y,\mathsf {z})\vdash \forall ^1 y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \phi )$ and $\forall x\forall ^1 y\phi \dashv \vdash \forall ^1 y\forall x\phi $ .
Proof Item (i): A routine derivation using rules for identity and $\exists $ .
Item (ii): For the left to right direction, we only give the detailed derivation of $\mathop {=\!} (\mathsf {x},\mathsf {yz})\vdash \mathop {=\!} (\mathsf {x},\mathsf {y})$ . First, we derive that $\mathop {=\!} (\mathsf {x},\mathsf {yz}),\mathop {=\!} (\mathsf {x})\vdash \mathop {=\!} (\mathsf {yz})\vdash \mathop {=\!} (\mathsf {y})$ by applying $\mathsf {DepWE}$ and $\mathsf {conW}$ . Thus, $\mathop {=\!} (\mathsf {x},\mathsf {yz})\vdash \mathop {=\!} (\mathsf {x},\mathsf {y})$ follows by applying $\mathsf {DepWI}$ .
Conversely, we have by $\mathsf {DepWE}$ that $\mathop {=\!} (\mathsf {x},\mathsf {y}),\mathop {=\!} (\mathsf {x})\vdash \mathop {=\!} (\mathsf {y})$ and $\mathop {=\!} (\mathsf {x},\mathsf {z}),\mathop {=\!} (\mathsf {x})\vdash \mathop {=\!} (\mathsf {z})$ , which then imply, by $\mathsf {conW}$ , that $\mathop {=\!} (\mathsf {x},\mathsf {y}),\mathop {=\!} (\mathsf {x},\mathsf {z})\mathop {=\!} (\mathsf {x})\vdash \mathop {=\!} (\mathsf {yz})$ . Hence, we conclude by applying $\mathsf {DepWI}$ that $\mathop {=\!} (\mathsf {x},\mathsf {y}),\mathop {=\!} (\mathsf {x},\mathsf {z})\vdash \mathop {=\!} (\mathsf {x},\mathsf {yz})$ .
Item (iii): By $=$ I we have $\vdash c=c\wedge \mathsf {x}=\mathsf {x}$ , which implies $\vdash \exists u\forall v (u=c\wedge \mathsf {x}=\mathsf {x})$ . Now, by DepI we derive $\vdash \forall v\exists u(\mathop {=\!} (\mathsf {x},u)\wedge u=c\wedge \mathsf {x}=\mathsf {x})$ , which yields $\vdash \mathop {=\!} (\mathsf {x},c)$ .
Item (iv): For the direction $\mathop {=\!} (c\mathsf {x},\mathsf {y})\vdash \mathop {=\!} (\mathsf {x},\mathsf {y})$ , by DepWE we have $\mathop {=\!} (c\mathsf {x},\mathsf {y}),\mathop {=\!} (c),\mathop {\mathop {=\!} } (\mathsf {x}) \vdash \mathop {=\!} (\mathsf {y}).$ Since $\vdash \mathop {=\!} (c)$ by item (iii), we conclude that $\mathop {=\!} (c\mathsf {x},\mathsf {y})\vdash \mathop {=\!} (\mathsf {x},\mathsf {y})$ by DepWI. The other direction is derived similarly by applying $\mathsf {DepWE}$ , $\mathsf {conW}$ , and $\mathsf {DepWI}$ .
Item (v): By Proposition 4.3 (i), $\forall ^1 $ I it suffices to show $Q\mathsf {u}(\phi (c/v)\wedge \mathop {=\!} (c\mathsf {x},\mathsf {y}))\dashv \vdash Q\mathsf {u}\phi (c/v)\wedge \mathop {=\!} (\mathsf {x},\mathsf {y})$ and $Q\mathsf {u}(\phi (c/v)\wedge \mathop {=\!} (\mathsf {x},c))\dashv \vdash Q\mathsf {u}\phi (c/v)$ . But these follow from items (iii) and (iv).
Item (vi): The direction $\exists x(\mathop {=\!} (x)\wedge \phi )\vdash \exists ^1 x\phi $ follows easily from $\exists \textsf {E}$ and $\exists ^1 $ I. For the other direction, we first derive $\phi (c/x)\vdash \mathop {=\!} (c)\wedge \phi (c/x)\vdash \exists x(\mathop {=\!} (x)\wedge \phi )$ by $\mathsf {con}\textsf {I} $ and $\exists \textsf {I}$ , where c is a fresh constant symbol. Then, since $\exists ^1 x\phi \vdash \exists ^1 x\phi $ , we conclude $\exists ^1 x\phi \vdash \exists x(\mathop {=\!} (x)\wedge \phi )$ by applying $\exists ^1 $ E.
Item (vii): By , we have and . Thus, we obtain by applying $\mathsf {conTrs}$ .
Item (viii): We first prove the right to left direction. By $\exists \textsf {E}$ it suffices to prove that
. We first derive
by $\mathsf {conExt}$ and item (vii). Next, by applying $\vee \textsf {Mon}$ , $\bot \vee \textsf {E}$ and
I, we derive
and similarly
. Hence, we conclude by
E that
, from which the desired clause follows.
For the left to right direction, by , it suffices to prove that the right formula is derivable from both $\phi $ and $\psi $ . We now first derive the right hand side from $\phi $ . By the rules of identity, $\vdash \exists x\forall z(x=x)$ for some fresh variables $x,z$ . Thus, we conclude by applying $\mathsf {DepI}$ that $\vdash \forall z\exists x(\mathop {=\!} (x)\wedge x=x)$ , which reduces to $\vdash \exists x\mathop {=\!} (x)$ . Next, we derive by rules of identity that $\vdash \exists x(\mathop {=\!} (x)\wedge \exists y(x=y))$ and thus $\vdash \exists x\exists y(\mathop {=\!} (x)\wedge \mathop {=\!} (y)\wedge x=y)$ . Lastly, we conclude by the introduction rule $\vee \mathsf {I}$ that
Similarly, to derive the right hand side from $\psi $ , first note that by Dom we have $\vdash \exists x\exists y(x\neq y)$ for some fresh variables $x,y$ , which then yields $\vdash \exists x\forall z\exists y\forall v(x\neq y)$ by rules for the quantifiers. Then, by a similar argument to the above, we derive by applying $\mathsf {DepI}$ that $\vdash \forall z\exists x(\mathop {=\!} (x)\wedge \exists y\forall v(x\neq y))$ , which reduces to $\vdash \exists x\exists y\forall v(\mathop {=\!} (x)\wedge x\neq y)$ . We now apply $\mathsf {DepI}$ again to obtain $\vdash \exists x\forall v\exists y(\mathop {=\!} (y)\wedge \mathop {=\!} (x)\wedge x\neq y)$ , which simplifies to $\vdash \exists x\exists y(\mathop {=\!} (x)\wedge \mathop {=\!} (y)\wedge x\neq y)$ . Finally, again by $\vee \mathsf {I}$ , we derive
Item (ix): $\forall x\forall ^1 y\phi \dashv \vdash \forall ^1 y\forall x\phi $ follows easily from Proposition 4.3 (i). For the other clause, by $\exists \textsf {E}$ , it suffices to prove $\forall ^1 y\phi (x,y,\mathsf {z})\vdash \forall ^1 y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \phi )$ . We derive by Proposition 4.3 (i) and the rules for $\forall ,\exists $ that $\forall ^1 y\phi (x,y,\mathsf {z})\vdash \phi (x,c,\mathsf {z})\vdash \exists x\forall w\phi (x,c,\mathsf {z})$ for some fresh constant symbol c and variable w. Moreover, by $\mathsf {DepI}$ we derive that
Putting these together and by applying $\forall ^1 \textsf {I}$ we conclude that $\forall ^1 y\phi (x,y,\mathsf {z})\vdash \exists x(\mathop {=\!} (\mathsf {z},x)\wedge \phi (x,c,\mathsf {z}))\vdash \forall ^1 y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \phi ).$
Our proof of the completeness theorem for $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ mainly follows the argument of that for the system of D in [Reference Kontinen and Väänänen34]. In view of Proposition 5.8 (vi) and (viii), we will treat and $\exists ^1 $ as defined logical constants. Moreover, by Proposition 5.8 (i) and (ii), dependence atoms of the form $\mathop {=\!} (\mathsf {t},\mathsf {t}')$ will be interpreted as shorthands for the formula $\exists \mathsf {xy}(\bigwedge _{i}\mathop {=\!} (\mathsf {x},y_i)\wedge \mathsf {x}=\mathsf {t}\wedge \mathsf {y}=\mathsf {t}')$ in the original language of D in [Reference Kontinen and Väänänen34]. It thus remains to handle properly the weak universal quantifier $\forall ^1 $ when going through the argument in [Reference Kontinen and Väänänen34], which actually gives the equivalence (7) for $\theta $ being a first-order sentence. In order to prove the equivalence (7) for $\theta $ being an $\mathbf {FO}(\forall ^1 ) $ -formula or pesudo-flat sentence, we will apply a trick developed in [Reference Yang41] that involves the rule $\textsf {RAA}_{\ast }$ .
Now, recall from [Reference Väänänen39] that every D-formula $\phi (\mathsf {z})$ is semantically equivalent to, and provably implies a formula of the form
where each $\sigma _{\mathsf {xyz}}^i$ is a subsequence of $\mathsf {xyz}$ , each $y_i$ is from $\mathsf {y}$ , and $\alpha $ is first-order. In the next theorem we derive a similar normal form for formulas in $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ .
Theorem 5.9. Every $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formula $\phi (\mathsf {z})$ is semantically equivalent to, and provably implies a formula of the form
where each $\sigma _{\mathsf {xyz}}^i$ is a subsequence of $\mathsf {xyz}$ , each $y_i$ is from $\mathsf {y}$ , and $\alpha $ is first-order.
Proof We adapt the argument for the corresponding proof in [Reference Kontinen and Väänänen34, Proposition 9]. We give the semantic and syntactic proof at the same time, and the semantic equivalence clearly follows from the syntactic equivalence (by soundness theorem) whenever the latter is available in the following steps of the proof. First, rewrite every occurrence of $\mathop {=\!} (\mathsf {t},\mathsf {t}')$ , , and $\exists ^1 x\eta $ in $\phi (\mathsf {z})$ using the equivalent formulas with dependence atoms and logical constants from D given by Proposition 5.8 (i), (ii), (vi), and (viii), and denote the resulting provably equivalent formula by $\phi '$ . Next, turn the formula $\phi '$ into an equivalent formula $Q_1v_1\dots Q_nv_n\theta $ in prenex normal form, where each $Q_i\in \{\forall ,\exists ,\forall ^1 \}$ and $\theta (\mathsf {v},\mathsf {z})$ is quantifier-free. This step is done, as in [Reference Kontinen and Väänänen34, Proposition 9], by induction on the complexity of the formula $\phi '$ , where the base case and induction steps for all the connectives and quantifiers from D are proved exactly as in [Reference Kontinen and Väänänen34, Proposition 9], and the induction steps for $\forall ^1 $ follow from the provable equivalences given by Proposition 4.3 (ii) and the rule $\forall ^1 $ Ext.
Now, observe that $\theta (\mathsf {v},\mathsf {z})$ is a formula of D. We then proceed in the same way as in [Reference Kontinen and Väänänen34, Proposition 9] to turn $\theta $ into a formula of the form $\forall \mathsf {u}\exists \mathsf {w}(\bigwedge _{i\in I} \mathop {=\!} (\sigma ^i_{\mathsf {uwvz}},w_i)\wedge \beta )=\forall \mathsf {u}\exists \mathsf {w}\theta '$ , where the variables in each sequence $\mathsf {u}_i\mathsf {w}_i\mathsf {v}_i\mathsf {z}_i$ are from $\mathsf {uwvz}$ , each $w_i$ is from $\mathsf {w}$ , and $\beta $ is first-order. The formula $\theta $ is semantically equivalent to $\forall \mathsf {u}\exists \mathsf {w}\theta '$ , and in the deduction system of D we can prove (as is done in [Reference Kontinen and Väänänen34, Proposition 9]) that $\theta \vdash \forall \mathsf {u}\exists \mathsf {w}\theta '$ . Thus, altogether we now have $\phi \equiv Q\mathsf {v}\forall \mathsf {u}\exists \mathsf {w}\theta '$ and $\phi \vdash Q\mathsf {v}\forall \mathsf {u}\exists \mathsf {w}\theta '$ .
To turn the formula $Q\mathsf {v}\forall \mathsf {u}\exists \mathsf {w}\theta '$ finally into the required normal form (9), we first swap the order of the existential and universal quantifiers and obtain an equivalent formula of the form $\forall ^1 \mathsf {v}\forall \mathsf {x}\exists \mathsf {y}\big (\bigwedge _{i\in I}\mathop {=\!} (\sigma ^i_{\mathsf {xyzv}},y_i)\wedge \alpha \big )$ , where each $\sigma ^i_{\mathsf {xyzv}}$ is a subsequence of $\mathsf {xyzv}$ , each $y_i$ is from $\mathsf {y}$ , and $\alpha $ is first-order. This is done by exhaustedly applying the rule $\mathsf {DepI}$ and Proposition 5.8 (ix) on the syntactic side, and on the semantic side the equivalences $\exists x\forall y\psi (x,y,\mathsf {z})\equiv \forall y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \psi )$ (see [Reference Kontinen and Väänänen34]), $\exists x\forall ^1 y\psi (x,y,\mathsf {z})\equiv \forall ^1 y\exists x(\mathop {=\!} (\mathsf {z},x)\wedge \psi )\text {, and }\forall x\forall ^1 y\psi \equiv \forall ^1 y\forall x\psi $ (given by Lemma 5.5). To conclude the proof, we apply Proposition 5.8 (v) to remove the variables $\mathsf {v}_i$ quantified by $\forall ^1 $ in the dependence atoms $\mathop {=\!} (\sigma ^i_{\mathsf {xyzv}},y_i)$ .
Recall also from [Reference Kontinen and Väänänen34] that for every D-sentence $\psi $ in normal form (8), there is a first-order sentence $\Psi $ of infinite length (called the game expression of $\psi $ ) such that for any countable model M,
Moreover, the infinitary first-order sentence $\Psi $ can be approximated by some first-order sentences $\Psi _n \ (n \in \mathbb {N})$ of finite length in the sense that for any recursively saturated (or finite) model M,
In the system of D one derives $\psi \vdash _{\mathbf {D}} \Psi _n$ for any $n\in \mathbb {N}$ . We include the technical definitions of $\Psi $ and $\Psi _n$ in the Appendix; the reader is also referred to [Reference Kontinen and Väänänen34, Section 5] for further details. As a simple illustration, the game expression $\Psi _0$ of the D-sentence $\psi _0=\forall \mathsf {x}\exists \mathsf {y}(\mathop {=\!} (x_0,y_0)\wedge \alpha (\mathsf {x},\mathsf {y}))$ with $\mathsf {x}=\langle x_0,\dots ,x_k\rangle $ and $\mathsf {y}=\langle y_0,\dots ,y_m\rangle $ is defined as the infinitary first-order sentence:
Intuitively, the D-sentence $\psi _0$ is satisfied on the team $\{\emptyset \}$ over a countable model M, iff, for some suitable sequence $\mathsf {F}$ of functions, in the team $X_{\mathsf {\forall x\exists y}}=\{\emptyset \}(M/\mathsf {x})(\mathsf {F}/\mathsf {y})=\{s_0,s_1,\dots ,s_n,\dots \}$ generated by the quantifier block $\forall \mathsf {x}\exists \mathsf {y}$ , the dependence atom $\mathop {=\!} (x_0,y_0)$ and the first-order formula $\alpha (\mathsf {x},\mathsf {y})$ are satisfied. One may view each assignment $s_i$ as the history of one round in the infinite evaluation game of the first-order formula $\Psi _0$ on the model M, played between two players $\forall $ and $\exists $ . Now the first n “layers” of the first-order formula $\Psi _0$ (which correspond to the first n rounds in the infinite game) describes exactly the team semantics of the formula $\psi _0$ on the team $\{s_0,\dots ,s_n\}$ , namely, each $s_i$ satisfies $\alpha (\mathsf {x},\mathsf {y})$ or each $\alpha (\mathsf {x}_i,\mathsf {y}_i)$ is true, and any two assignments $s_i,s_j$ agreeing on $x_0$ also agree on $y_0$ or $x_{i0}=x_{j0}\to y_{i0}=y_{j0}$ is true. The n-approximation $(\Psi _0)_n$ of the infinitary formula $\Psi _0$ is its “finite slice” characterizing “the first n rounds of the infinite evaluation game.” To be more precise,
Now, consider a $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -sentence $\phi =\forall ^1 \mathsf {v}\psi (\mathsf {v})$ of the form (9) in some vocabulary $\mathcal {L}$ , where $\psi (\mathsf {v})$ is a D-formula. Let $\mathsf {c}$ be a sequence of fresh constant symbols of the same length as $\mathsf {v}$ . Observe that $\psi (\mathsf {c}/\mathsf {v})$ is a $\mathbf {D} $ -sentence in normal form (8) in the vocabulary $\mathcal {L}(\mathsf {c})$ . Write $\Psi (\mathsf {c})$ and $\Psi _n(\mathsf {c})$ for its game expression and n-approximation, respectively. We then define the game expression $\Phi ^{\ast }$ of $\phi $ as $\forall \mathsf {v}\Psi (\mathsf {v}/\mathsf {c})$ , and the n-approximation $\Phi ^{\ast }_n$ as $\forall \mathsf {v}\Psi _n(\mathsf {v}/\mathsf {c})$ for each $n\in \mathbb {N}$ . We now show that the game expression and its finite approximations for $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ satisfy the same properties as the original ones in $\mathbf {D} $ , in the sense of the following lemma.
Lemma 5.10. Let $\phi $ be a $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -sentence in the normal form (9).
-
(i) For any countable model M, we have that $M\models \phi $ iff $M\models \Phi ^{\ast }$ .
-
(ii) For any recursively saturated (or finite) model M, we have that $M\models \Phi ^{\ast }$ iff $M\models \Phi ^{\ast }_n$ for all $n\in \mathbb {N}$ .
Proof Let $\phi =\forall ^1 \mathsf {v}\psi (\mathsf {v})$ with $\psi (\mathsf {v})$ a D-formula in the normal form (8). Let $\mathcal {L}$ be the vocabulary of $\phi $ and $\mathsf {c}$ a sequence of fresh variables of the same length as $\mathsf {v}$ . To prove item (i), for any countable $\mathcal {L}$ -model M, we have that
For item (ii), for any recursively saturated (or finite) $\mathcal {L}$ -model M, we have that
Next, as in [Reference Kontinen and Väänänen34], we show that every n-approximation $\Phi ^{\ast }_n$ can be derived from $\phi $ .
Theorem 5.11. For any $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -sentence $\phi $ and any $n\in \mathbb {N}$ , $\phi \vdash \Phi _n^{\ast }$ .
Proof By Theorem 5.9, we may, without loss of generality, assume that the $\mathcal {L}$ -sentence $\phi =\forall ^1 \mathsf {v}\psi (\mathsf {v})$ is of the form (9) with $\psi (\mathsf {v})$ a D-sentence. Let $\mathsf {c}$ be a sequence of fresh constant symbols of the same length as the sequence $\mathsf {v}$ . Since the $\mathcal {L}(\mathsf {c})$ -sentence $\psi (\mathsf {c}/\mathsf {v})$ is in the normal form (8) for D-formulas, by the result in [Reference Kontinen and Väänänen34] we have $\psi (\mathsf {c}/\mathsf {v})\vdash \Psi _n(\mathsf {c})$ . Moreover, by Proposition 4.3 (i), we obtain that $\forall ^1 \mathsf {v}\psi (\mathsf {v})\vdash \psi (\mathsf {c}/\mathsf {v})$ . It thus follows that $\forall ^1 \mathsf {v}\psi (\mathsf {v})\vdash \Psi _n(\mathsf {c})$ . Since the constant symbols in $\mathsf {c}$ are fresh, by $\forall ^1 $ I we further derive $\forall ^1 \mathsf {v}\psi (\mathsf {v})\vdash \forall ^1 \mathsf {v}\Psi _n(\mathsf {v}/\mathsf {c})$ . Next, by $\forall ^1 \forall \mathsf {Trs}$ , we conclude that $\forall ^1 \mathsf {v}\psi (\mathsf {v})\vdash \forall \mathsf {v}\Psi _n(\mathsf {v}/\mathsf {c})$ , namely $\phi \vdash \Phi _n^{\ast }$ .
Theorem 5.12 (Completeness)
Let $\Gamma \cup \{\theta \}$ be a set of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -formulas with countably many free variables. If $\theta $ is an $\mathbf {FO}(\forall ^1 ) $ -formula or a pseudo-flat sentence, then $\Gamma \models \theta \Longrightarrow \Gamma \vdash \theta $ .
Proof We only give a sketch of the proof, which combines the arguments in [[Reference Kontinen and Väänänen34], Reference Yang41]. Suppose $\Gamma \models \theta $ . By Lemma 5.3 (ii), we have that $\Gamma ,\neg \theta _{\ast }\models \bot $ . Since $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ has the same expressive power as D (Theorem 5.1), by Theorem 3.8, $\mathbf {D} \oplus \mathbf { FOT}^{\downarrow } $ is compact. We may thus assume that $\Gamma $ is finite. Now, suppose that $\Gamma \nvdash \theta $ . Then by $\textsf {RAA}_{\ast }$ we have $\Gamma ,\neg \theta _{\ast }\nvdash \bot $ . Let $\mathsf {x}$ list all free variables in the finite set $\Gamma $ and in $\neg \theta _{\ast }$ . Put $\phi =\exists \mathsf {x}(\bigwedge \Gamma \wedge \neg \theta _{\ast })$ , which is a sentence. By $\exists \textsf {I}$ we derive $\phi \nvdash \bot $ .
Now, by Theorem 5.11, we have that $\{\Phi _n^{\ast }\mid n\in \mathbb {N}\}\nvdash \bot $ , where each $\Phi _n^{\ast }$ is the n-approximation of the game expression $\Phi ^{\ast }$ of the formula $\phi $ . Since restricted to first-order formulas our extended system (or the system of D as defined in [Reference Kontinen and Väänänen34]) has the same rules as the system of the usual first-order logic, we obtain $\{\Phi _n^{\ast }\mid n\in \mathbb {N}\}\nvdash _{\mathbf {FO} }\bot $ . From this point on we follow exactly the same argument as in [Reference Kontinen and Väänänen34]: By the completeness theorem of first-order logic, the set $\{\Phi _n^{\ast }\mid n\in \mathbb {N}\}$ has a model M. It is known that for every infinite model N, there exists a recursively saturated countable model $N'$ such that N and $N'$ are elementary equivalent (see, e.g., [Reference Barwise and Schlipf5]). We may thus assume w.l.o.g. that M itself is countable and recursively saturated or finite. Now, by Lemma 5.10, we obtain that M is a model for the original $\mathbf {D} \oplus \mathbf { FOT}^{\downarrow } $ -sentence $\phi =\exists \mathsf {x}(\bigwedge \Gamma \wedge \neg \theta _{\ast })$ . Thus, $M\models _X\Gamma $ and $M\models _X\neg \theta _{\ast }$ for some (nonempty) team $X=\{\emptyset \}(\mathsf {F}/\mathsf {x})$ and sequence $\mathsf {F}$ of suitable functions. This contradict the assumption that $\Gamma ,\neg \theta _{\ast }\models \bot $ .
Clearly $\mathbf {FO} $ -formulas are $\mathbf {FO}(\forall ^1 ) $ -formulas. When applied to $\mathbf {FO} $ -formulas $\alpha $ , the $\mathsf {RAA}_{\ast }$ rule is identical to the $\mathsf {RAA}$ rule, which was included in the original system of D in [Reference Kontinen and Väänänen34]. From this we conclude that the system given in [Reference Kontinen and Väänänen34] is complete for first-order consequences of D over (arbitrary) formulas (under the countability assumption).
Corollary 5.13. For any set $\Gamma $ of D-formulas with countably many free variables and $\mathbf {FO} $ -formula $\alpha $ , we have that $\Gamma \models \alpha \Longrightarrow \Gamma \vdash _{\mathbf {D}} \alpha $ , where $\vdash _{\mathbf {D}} $ is the consequence relation induced by the system of D given in [Reference Kontinen and Väänänen34].
Proof We use the same argument as in Theorem 5.12, where for a first-order formula $\alpha $ , we have $\neg \alpha _{\ast }=\neg \alpha $ , and the rule $\mathsf {RAA}_{\ast }$ applied to $\alpha $ and a set $\Gamma $ of D-formulas is now identical to the $\mathsf {RAA}$ rule of the system of D, as given in [Reference Kontinen and Väänänen34] (listed also in Table 3). Also note that the game expression $\Phi ^{\ast }$ and its finite approximations $\Phi ^{\ast }_n$ of the $\mathbf {D} $ -sentence $\phi =\exists \mathsf {x}(\bigwedge \Gamma \wedge \neg \alpha )$ are then identical to the original game expression $\Psi $ and its finite approximations $\Psi _n$ . For these reasons, the proof does not use any other rules than those already in the original system of D, as given in [Reference Kontinen and Väänänen34].
Let us end this section with a remark that the $\textsf {RAA}$ rule with respect to (the usual) negation of first-order formulas $\neg \alpha $ is not in general sound in independence logic (which is $\mathbf {FO} $ extended with independence atoms) or in inclusion logic (which is $\mathbf {FO} $ extended with inclusion atoms). In the systems of these two logics (introduced in [Reference Hannula23, Reference Yang42] the corresponding $\textsf {RAA}$ rule has an extra side condition that all formulas in the context set $\Gamma $ have to be first-order. For this reason, the same argument as in Corollary 5.13 for dependence logic does not go through for the other two logics. Nevertheless, the system of independence logic in [Reference Hannula23] together with the $\textsf {RAA}$ rule with respect to $\mathop {\dot \sim } $ was proved in [Reference Yang41] to be complete (over formulas) for first-order consequences, and the system of inclusion logic in [Reference Yang42] (in which the $\textsf {RAA}$ rule with respect to $\mathop {\dot \sim } $ and classical formula is derivable) is indeed also complete (over formulas) for first-order consequences.
6 Applications
In this section, we illustrate the power of our proof systems for $\mathbf {FOT} $ and $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ by discussing some examples.
We first consider the system of $\mathbf {FOT} $ . Recall that first-order formulas themselves (with respect to team semantics) are expressible in $\mathbf {FOT} $ (Lemma 2.2 (i)). Therefore valid entailments $\Delta \models \alpha $ of the usual first-order logic are all derivable in our system for $\mathbf {FOT} $ (via translations). We now give some examples of derivations of entailments of arbitrary (not necessarily first-order) $\mathbf {FOT} $ -formulas.
Recall from Lemma 2.2 (ii) and (v) that dependence and independence atoms are expressible in $\mathbf {FOT} $ . These atoms correspond, respectively, to functional dependencies [Reference Fagin13] and independencies [Reference Geiger, Paz and Pearl20] in database theory. The implication problem of dependence atoms (i.e., the problem of whether $\Gamma \models \phi $ for a set $\Gamma \cup \{\phi \}$ of dependence atoms) is known to be completely axiomatizable by the set of Armstrong’s Axioms [Reference Armstrong2], and Geiger–Paz–Pearl axioms [Reference Geiger, Paz and Pearl20] are known to axiomatize completely the implication problem of independence atoms. By our completeness theorem, all these axioms are derivable in our system for $\mathbf {FOT} $ . We now demonstrate the derivations of Armstrong’s Axioms.
Example 6.1. The following clauses, known as Armstrong’s Axioms (when written as rules), are derivable in the system of $\mathbf {FOT} $ .
-
(i) $\vdash \mathop {=\!} (\mathsf {x},\mathsf {x});$
-
(ii) $\mathop {=\!} (\mathsf {x}\mathsf {y},\mathsf {z})\vdash \mathop {=\!} (\mathsf {y}\mathsf {x},\mathsf {z});$
-
(iii) $\mathop {=\!} (\mathsf {x}\mathsf {x},\mathsf {y})\vdash \mathop {=\!} (\mathsf {x},\mathsf {y});$
-
(iv) $\mathop {=\!} (\mathsf {y},\mathsf {z})\vdash \mathop {=\!} (\mathsf {x}\mathsf {y},\mathsf {z});$
-
(v) $\mathop {=\!} (\mathsf {x},\mathsf {y}),\mathop {=\!} (\mathsf {y},\mathsf {z})\vdash \mathop {=\!} (\mathsf {x},\mathsf {z}).$
Proof Items (ii)–(iv) follow easily from $\subseteq \!\textsf {Pro} $ . Item (i) is also easy to prove. We only give the detailed proof for item (v). It suffices to derive that
For any sequences $\mathsf {c},\mathsf {e}$ of constant symbols, by $\mathsf {con}\textsf {I} $ and $\subseteq \!\textsf {W}_{\exists ^1 } $ we have that
For any sequences $\mathsf {d},\mathsf {d}',\mathsf {e}'$ of constant symbols, by Proposition 4.3 (i) we have that
Furthermore, we derive that
Putting this and (13) together, by $\exists ^1 $ E and the deduction theorem we obtain that
Next, without going into much detail we point out that the well-known Arrow’s Impossibility Theorem [Reference Arrow3] in social choice can be formulated in $\mathbf {FOT} $ , and thus also has a formal proof in our system of $\mathbf {FOT} $ . A recent work [Reference Pacuit, Yang, Vollmer, Abramsky, Kontinen and Väänänen38] provides in the language of independence logic a formalization of Arrow’s Theorem. The theorem is formulated as the entailment $\Gamma _{\textsf {Arrow}}\models \theta _{\textsf {dictator}}$ , where $\Gamma _{\textsf {Arrow}}$ is a set of assumptions for the aggregation function imposed in Arrow’s Theorem, and $\theta _{\textsf {dictator}}$ is a condition of the form stating that one of the voters among $v_1,\dots ,v_n$ is a dictator. Formulas in $\Gamma _{\textsf {Arrow}}\cup \{\delta (v_1),\dots ,\delta (v_n)\}$ are either first-order or simple formulas formed using dependence, independence, or inclusion atoms. All of these formulas are expressible in $\mathbf {FOT} $ (see Lemma 2.2)). One non-trivial condition that is part of the so-called universal domain condition is characterized by the atom $\mathsf {All}(\mathsf {v})$ with $\mathsf {v}=\langle v_1,\dots ,v_n\rangle $ , defined as
-
• $M\models _X\mathsf {All}(\mathsf {v})\iff X=\emptyset $ or $\{s(\mathsf {v})\mid s\in X\}=M^n$ .
Intuitively, the atom $\mathsf {All}(\mathsf {v})$ expresses that the sequence $\mathsf {v}$ takes all possible values from the Cartesian product of the domain. Clearly, $\mathsf {All}(\mathsf {v})$ can be defined in FOT as $\mathsf {All}(\mathsf {v})\equiv \forall ^1 \mathsf {x}(\mathsf {x}\subseteq \mathsf {v}).$ We illustrate in the next example one type of argument that constitutes an important step in the (formal) proof of Arrow’s Theorem. Intuitively, the example states that if each of the variables $v_1,\dots ,v_n$ satisfies the universal domain condition, and each variable $v_i$ behaves independently of all the other variables, then the sequence $\langle v_1,\dots ,v_n\rangle $ as a whole satisfies the universal domain condition.
Example 6.2. $\displaystyle \mathsf {All}(v_1),\dots ,\mathsf {All}(v_n),\bigwedge _{i=1}^nv_i\perp \langle v_j\rangle _{j\neq i}\vdash \mathsf {All}(v_1,\dots ,v_n).$
Proof We only give the proof for the case $n=3$ . We show that
Let $c,d,e$ be arbitrary constant symbols. We first derive that
Next, for an arbitrary constant symbol $e'$ , we derive that
Furthermore, we derive that
Putting all these three derivations together, by $\exists ^1 $ E we conclude that (15) holds.
Let us now turn to the system of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ . First note that Armstrong’s Axioms (Example 6.1) are also derivable in $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ , from the rules $\mathsf {DepWI}$ and $\mathsf {DepWE}$ . For a second example, consider the $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ -sentence
thatFootnote 2 satisfies $M\models \phi _{\infty }$ iff $|M|$ is infinite. Intuitively, the sentence expresses that there is a function $f(x)=y$ (guaranteed by the team semantics of $\forall x\exists y$ ) on M that is injective (since $\mathop {=\!} (y,x)$ ) but not surjective (since $y\neq z$ ). Consider also the $\mathbf {FOT}^{\downarrow } $ -sentence
Clearly, $M\models \phi _{\geq n}$ iff $|M|\geq n$ .
Example 6.3. $\phi _{\infty }\vdash \phi _{\geq n}$ for all $n\in \mathbb {N}$ .
Proof We only illustrate the proof for $n=3$ . By Proposition 4.3 (i) it suffices to derive that $\phi _{\infty }\vdash c\neq d\wedge d\neq e\wedge c\neq e$ for constant symbols $c,d,e$ , which by $\exists ^1 $ E is reduced to deriving that
which is further equivalent to
Now, by $\mathsf {DepE}$ , we have that
Then, to prove (16) by $\forall \textsf {E}$ , $\exists \textsf {E}$ we need to derive (by instantiating $x_0=c$ , $y_0=d=x_1$ , $y_1=e$ ) that $d\neq c\wedge e\neq c\wedge (d=e\to c=d)\vdash c\neq d\wedge d\neq e\wedge c\neq e.$ But this is clear.
Finally, we derive that the constancy atom $\mathop {=\!} (x)$ is equivalent to $\exists ^1 y(y=x)$ , even though our completeness theorem (Theorem 5.12) actually does not apply to the equivalence, as $\mathop {=\!} (x)$ is not in $\mathbf {FO} (\forall ^1 )$ or a pseudo-flat sentence. Note also that the consequences of many derivable clauses in Section 5 (especially in Proposition 5.8) are not in $\mathbf {FO} (\forall ^1 )$ or pseudo-flat sentences either. These illustrate that our deduction system can actually derive more (sound) consequences than what is guaranteed by Theorem 5.12.
Example 6.4. $\mathop {=\!} (x)\dashv \vdash \exists ^1 y(y=x)$ .
Proof By $\exists ^1 $ I, we have $x=x,\mathop {=\!} (x)\vdash \exists ^1 y(y=x)$ . Since $\vdash x=x$ by $=$ I, we conclude that $\mathop {=\!} (x)\vdash \exists ^1 y(y=x)$ . Conversely, we have $y=x,\mathop {=\!} (y)\vdash \mathop {=\!} (x)$ by $=$ Sub. Thus, by $\exists ^1 $ E we conclude that $\exists ^1 y(y=x)\vdash \mathop {=\!} (x)$ .
7 Conclusion and open problems
In this paper, we have defined a team-based logic $\mathbf {FOT} $ that characterizes exactly the elementary (or first-order) team properties. This expressivity result implies that the essentially first-order logic $\mathbf {FOT} $ can be axiomatized completely. We then introduced a sound and complete system of natural deduction for $\mathbf {FOT} $ . Syntactically $\mathbf {FOT} $ is first-order logic with a set of weaker connectives and quantifiers extended with inclusion atoms. We have illustrated that a number of interesting first-order properties can be expressed naturally in $\mathbf {FOT} $ , including different atoms of dependencies. We have given as examples formal derivations of Armstrong’s Axioms, as well as certain interaction between different dependency notions in the context of Arrow’s Theorem. Logics based on team semantics are usually so strong in expressive power that complete axiomatizations are not possible to obtain (e.g., dependence logic is expressively equivalent to existential second-order logic and thus not effectively axiomatizable, etc.). Finding sufficiently expressive language with good computational properties is one of the main challenges for team-based logics. It is our hope that the logic $\mathbf {FOT} $ defined in this paper will lead to fruitful further developments in this direction. In a different setting that uses partly the idea of team semantics, a recent work [Reference Baltag and van Benthem4] by Baltag and van Benthem also proposed a weak logic of dependence with a complete axiomatization.
We have also defined a logic that characterizes exactly the downward closed elementary (or first-order) team properties, the fragment of $\mathbf {FOT} $ that we call $\mathbf {FOT}^{\downarrow } $ . We studied the axiomatization problem of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ , dependence logic D enriched with the weak connectives and quantifiers in $\mathbf {FOT}^{\downarrow } $ . On the basis of the known partial axiomatization of dependence logic, we have defined a system of natural deduction for $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ that is complete for a certain class of pseudo-flat consequences. First-order formulas belong to this class, and thus our result also implies that the system of dependence logic in [Reference Kontinen and Väänänen34] is complete for first-order consequences (over formulas), resolving an open problem in [Reference Kontinen and Väänänen34] in the affirmative. Generalizing the axiomatization of $\mathbf {D} \oplus \mathbf {FOT}^{\downarrow } $ we obtained in this paper to a larger fragment is left as future work. Also, finding similar partial axiomatizations of independence logic enriched with inclusion atoms and logical constants in $\mathbf {FOT} $ would be an interesting addition to this line of research.
In the proofs of the (strong) completeness theorem of the above systems, we made use of the compactness of the logics with respect to formulas (Theorem 3.8). The proof we gave for compactness has an extra assumption that the set $\Gamma $ of formulas has countably many free variables, and the argument does not directly work for $\Gamma $ having uncountably many free variables. How to prove compactness for formulas in general is unclear.
Having identified the logics $\mathbf {FOT} $ and $\mathbf {FOT}^{\downarrow } $ that characterize exactly all first-order and all downward closed elementary team properties, respectively, it is natural to ask what is a logic that characterize exactly all union closed elementary team properties. There does not seem to be an obvious candidate for such a logic, since the usual disjunction $\vee $ and quantifiers $\forall ,\exists $ appear to be too strong (in expressive power) to be allowed in such a logic, whereas the weak disjunction and weak existential quantifier $\exists ^1 $ do not preserve union closure. It was proved in [Reference Galliani and Hella19] that every first-order union closed team property can be defined by a so-called myopic $\mathbf {FO} $ -sentence, which is further equivalent to a formula in inclusion logic. By using this result, it may be possible to identify a fragment of $\mathbf {FOT} $ that characterizes union close elementary team properties. We leave this for future work.
8 Appendix
Let $\psi =\forall \mathsf {x}\exists \mathsf {y}\big (\bigwedge _{i\in I}\mathop {=\!} (\sigma ^i_{\mathsf {xy}},y_i)\wedge \alpha (\mathsf {x},\mathsf {y})\big )$ be a $\mathbf {D} $ -sentence in the normal form (8) given in [Reference Väänänen39], where each $\sigma _{\mathsf {xy}}^i$ is a subsequence of $\mathsf {xy}$ , each $y_i$ is from $\mathsf {y}$ , and $\alpha $ is first-order. The game expression $\Psi $ of $\psi $ is the following infinitary sentence:
where each $\mathsf {x}_{\xi }=\langle x_{\xi 1},\dots ,x_{\xi m}\rangle $ , $\mathsf {y}_{\xi }=\langle y_{\xi 1},\dots ,y_{\xi k}\rangle $ , and
For every $n\in \mathbb {N}$ , the n-approximation $\Psi _n$ of $\Psi $ is the finite first-order sentence:
Acknowledgements
The authors would like to thank Aleksi Anttila, Noora Etholén, Miika Hannula, Tapani Hyttinen, and Jouko Väänänen for interesting discussions on topics related to the paper.
Funding
Both authors were supported by grant 308712 of the Academy of Finland, and the second author was supported also by grant 330525 of the Academy of Finland and Research Funds of the University of Helsinki.