Manuscript Offprint
arXiv:2611.08916On the Incompleteness of do-calculus for Universal Identifiability
Abstract
We study the problem of causal effect identification from an arbitrary set of observational and/or interventional distributions, which we call Universal Identifiability (uID). The uID problem generalizes existing classical identifiability (ID) and general identifiability (gID) problems, which considered the identification problem from either mere observational distributions or a specific type of interventional distributions. Prior research has established graphical criteria to determine when a causal effect is identifiable in ID and gID problems. Moreover, algorithms that leverage do-calculus and basic probability manipulations have been proposed to compute these effects. Consequently, it has been shown that do-calculus is both sound and complete in these problems. Despite these well-established results, a formal definition of what it means for the do-calculus to be complete does not exist. We propose a rigorous formalization for the completeness of the do-calculus and show that the completeness results in previous work remain valid. However, for more general problems, such as uID, the rules of do-calculus are no longer complete. This is perhaps the reason why the uID problem has remained open thus far.
1 Introduction
Estimating the causal effect of one set of random variables on another is a fundamental challenge in various fields, including artificial intelligence, social sciences, healthcare, and economics. To solve this problem, researchers collect observational and experimental data and harness the independencies among the variables of interest (often encoded in a directed acyclic graph (DAG) [Pearl, 1995]). When all the variables in the causal DAG are observed, then the causal effect can be calculated uniquely from the observational distribution [Geiger and Pearl, 1990]. However, if some variables are not observed, then the causal effect may not be identifiable (i.e., it cannot be computed uniquely). Thus, understanding the conditions under which is identifiable is widely studied in the literature.
In his seminal work, Pearl [1995] introduced do-calculus rules that allow one to manipulate probability functions containing interventions . To this day, do-calculus rules are the backbone of all causal effect identification algorithms in DAGs. Sufficient conditions for identifiability were proposed in [Pearl, 1995, Pearl and Robins, 1995, Kuroki and Miyakawa, 1999, Spirtes et al., 2000, Tian and Pearl, 2002, 2003, Tian, 2004]. These works later culminated in the well-known classical identifiability (ID) result of Shpitser and Pearl [2006a] and Huang and Valtorta [2006a]. Specifically, they proposed a necessary and sufficient criterion to determine whether is identifiable in a given causal DAG from an observational distribution . Furthermore, they proposed a procedure to compute the causal effect of interest from and, based on it, concluded that the rules of the do-calculus are sound and complete for this problem. In addition, Shpitser and Pearl [2006b], Bareinboim and Pearl [2012], Lee et al. [2019, 2020], Correa et al. [2021], Kivva et al. [2022,
Preprint.
2023] extend the results of the ID problem by targeting a conditional causal effect and/or incorporating multiple observational distributions with a specific structure. Similarly, they provided necessary and sufficient conditions under which the target causal effect is identifiable, along with an algorithm to compute it. As a result, they concluded that do-calculus rules remain sound and complete for the problem they studied. The identifiability problem has been studied in the presence of side information of different types. For example, Tikka et al. [2021] considered the case where the observations consist of multiple incomplete data sources, and Abouei et al. [2024a,b] studied the problem under selection bias.
The issue with the treatment of completeness in the previous work is that the completeness of do-calculus is proved by proposing a specific sound and complete algorithm. This algorithm can compute the causal effect as long as it is identifiable by a sequence of applications of do-calculus rules and standard probabilistic manipulations. That is, if the effect is identifiable, the algorithm returns a valid formula to compute, and if no formula is returned, then the effect must have been unidentifiable. Therefore, the limitation of this approach is that it can only be used to prove completeness of do-calculus rules through first identifying a specific sound and complete algorithm, and in the absence of such an algorithm, we cannot establish whether the rules of do-calculus are complete or not.
In this work, we address the conjecture that the do-calculus is complete in the sense that if a causal effect is identifiable, then it can be computed from a sequence of applying the do-calculus rules. We do so by providing a formal definition of completeness of do-calculus for any arbitrary identifiability problem. Remarkably, to the best of our knowledge, no explicit formal definition of completeness for a general setting exists in the literature. As we shall see, our definition is consistent with the notions of completeness in the previously studied problems such as classical identifiability (ID) and general identifiability (gID). We consider an extension of the general identifiability (gID) where the restrictions on the graphical structure of observed distributions are relaxed. We show that in this extension problem, called universal identifiability (uID), the rules of do-calculus are no longer complete.
2.1 Notation
Throughout the paper, we use capital letters (e.g. ) to denote random variables and their corresponding lowercase letters (e.g. ) for realizations. Similarly, we use bold capital letters (e.g. ) to represent a set of random variables (and their multivariate distribution) and bold lowercase letters (e.g. ) for a specific realization of their multivariate distribution. Additionally, we denote by the entries in that correspond to the variables in , i.e. the realization of the variables . Furthermore, we use for the domain of random variable and consequently for the domain of the random vector which is equal to the Cartesian product .
This study assumes that the available data is generated by some probabilistic structural causal model (SCM) . The structural causal model consists of the following three main elements.
- Causal graph is a directed acyclic graph (DAG) on a set of vertices with the set of edges . The set of vertices consists of the set of all random variables in the system, where is the set of observed random variables and is a set of latent variables. The set of edges represents the causal dependencies between the vertices. For each edge , we say that is a parent of or, equivalently, is a child of . For arbitrary , the vertex is an ancestor of and is a descendant of if there is a directed path from to in graph . Note that both and are ancestors and descendants of themselves. Let , denote the set of parents and children of vertex , respectively. With a slight abuse of notation, let and denote the set of ancestors and descendants of that belong to in graph . The aforementioned definitions can be extended to sets of vertices via a union operation, e.g. . For two disjoint subsets , let denote the subgraph of obtained by removing all incoming edges into and all outgoing edges from . Also, disjoint sets and are -separated by in if all paths between and are blocked by , which is denoted by . Given the global Markov property, implies .
See definition in Pearl [2009].
We further assume that the graph corresponding to SCM is semi-Markovian, which means that any vertex has exactly two children and zero parents. This assumption is common in the literature, since any SCM has a semi-Markovian projection [Verma, 1993] that preserves all causal relationships among the observed variables. Note that our results would be valid for general SCM models. Furthermore, let denote the induced subgraph of by a set of variables and unobserved variables with both children in . We say that is an ancestral set in , if .
-
In SCM the exogenous noises are mutually independent random variables, and each random variable corresponds to the exogenous noise of a random variable .
-
The set of functions defines the relationship between the random variables in the causal graph through the structural equation for any . In a causal probabilistic model, the post-interventional distribution is defined by -operation. Let and , then the intervention transforms to a new SCM in which all the structural equations of are replaced by and graph is replaced by .
For the sake of simplicity, we further assume that all random variables are discrete. Under such an assumption, a probabilistic model may be equivalently defined by the causal graph and by the set of conditional distributions instead of and . By the Markov factorization property, this set of conditional distributions induces a joint distribution over the random variables as follows . For notational simplicity, we use instead of to denote an intervention, e.g. .
Finally, we use to denote the set of all possible SCMs with causal graph such that for any and arbitrary realization . This is known as the positivity assumption which is crucial in the identifiability literature [Kivva et al., 2022].
2.2 Universal identifiability problem
Before presenting a formal definition of completeness, we define a general form of identifiability problem.
Definition 1. Let a query specify a causal graph and a family , where is a triple of disjoint subsets of . For , write for the corresponding available distributions evaluated in . Given disjoint sets , the causal effect is identifiable from if any two arbitrary models with satisfy for every realization.
Definition 2 (Universal Identifiability Problem (uID)). Let be a given causal graph, and query is given such that , where and for . Then, for disjoint sets , the causal effect is universally identifiable (uID) from if is uniquely recoverable from , in the sense of Definition 1, in arbitrary causal model .
Note that classical ID or gID are special cases of uID problem, where query equals for ID problem and for gID problem. We shall prove that -calculus is not complete for uID after first providing a definition of completeness for the aforementioned general form of identification problem.
2.3 Formal definition of completeness
In this section, we provide a formal definition for the completeness of -calculus rules for the identifiability problem that is in the general form of Definition 1. Note that classical ID, gID, conditional gID (c-gID) [Kivva et al., 2023], and uID problems are specific forms of Definition 1, so our definition of completeness applies to those problems as well. Before introducing our formal definition, we need to review some preliminaries.
The rules of -calculus were introduced by Pearl [1995] and defined as follows. Assume and are disjoint subsets of .
DR1. Insertion/deletion of observations. If :
DR2. Action/observation exchange. If :
DR3. Insertion/deletion of actions. If ,
where is the subset of nodes in that are not ancestors of any node in in .
In general, for the identification of the causal effect, there may exist some function that may compute the target causal effect given the corresponding input, but there is no guarantee that this function can be "well expressed". A classical example is the Abel–Ruffini theorem [Abel, 1824]: there is no general formula in radicals for the roots of a polynomial of degree five or higher. Similarly, there may be no guarantees that the do-calculus is enough in terms of identifying the function .
Intuitively, the statement "do-calculus is complete" means that these rules provide a complete set of inference rules that suffice to identify an identifiable target causal effect, i.e. they generate all possible algebraic transformations needed to express identifiable causal effects. Therefore, we would only fail to find an expression for a causal effect in terms of available distributions via do-calculus rules when the effect is unidentifiable.
We will allow the use of the standard probability manipulations defined below along with the "do-calculus" rules.
Standard probability manipulation rules. Suppose and are disjoint subsets of .
PR1. Complement rule. .
PR2. Marginalization. .
PR3. Chain rule. .
PR4. Conditioning. .
Note that the first rule of do-calculus is an extension of the independence rule (i.e. ) of standard probability manipulation, that is why we do not include the independence rule in the list above.
Remark. As a consequence of PR2, we have .
From here on, we call the standard probability manipulation rules together with the rules of do-calculus: the do-inference rules. We are now ready to propose a formal definition for the completeness of do-calculus.
Definition 3. Suppose are three disjoint sets. The interventional probability is do-identifiable given the query if there is a sequence of do-inference rules that transforms into an expression involving only distributions in .
Definition 4 (Completeness of do-calculus). Do-calculus is complete for a specific identifiability problem if every causal effect that is identifiable for this identifiability problem in terms of Definition 1 is also do-identifiable.
Remark. In addition to do-inference rules, we allow the use of standard arithmetic manipulations such as associativity, the distributive law, and factoring out common terms.
3 Do-calculus is complete in ID, gID and c-gID problems
The problem of identifiability has been extensively studied in the literature under various assumptions. In this section, we focus on the classic line of identifiability problems initiated by Tian and Pearl [2003] and continued by Shpitser and Pearl [2006a,b], Huang and Valtorta [2006a, 2008], Lee et al. [2019], Kivva et al. [2022, 2023]. All aforementioned identifiability results rely on a graphical criterion based on the notion of c-component, the definition of which can be found in Appendix A.1. Note that these works are special cases of c-gID problem studied in Kivva et al. [2023].
See Definition 1.
Note that we do not allow operations that introduce new quantities into the expression at any stage and just allow for sequential application of do-inference rules to the terms in the existing expression.
More specifically, Shpitser and Pearl [2006a] proposed a graphical criterion to solve the ID problem, that is, the conditions under which the causal effect of interest can be recovered uniquely given the causal graph and the observational distribution . When the conditions are satisfied, the authors provided an algorithm that computes based on do-calculus rules and probability manipulations; otherwise, the causal effect cannot be recovered uniquely. As a corollary, they concluded that the rules of do-calculus together with standard probability manipulations are sound and complete for the classical ID problem. With a similar procedure, this result was extended for the problems of gID and c-gID [Lee et al., 2019, Kivva et al., 2022, 2023]. It should be noted that these completeness results are restricted by the contexts of ID, gID, and c-gID problems and the specific algorithms proposed there.
Although for the aforementioned problems, the completeness of the do-calculus through analysis of a specific algorithm has been established, to the best of our knowledge, no formal definition for the completeness of do-calculus rules prior to this work has been proposed in the literature. Therefore, it is important to verify that our definition of completeness of do-calculus (Definition 4) is well aligned with the previous results [Shpitser and Pearl, 2006a,b, Lee et al., 2019, Kivva et al., 2022, 2023] as summarized in the following theorem. The proof of the theorem is in Appendix A.1.
Theorem 1. Do-calculus is complete in terms of Definition 4 for the ID, gID and c-gID problems studied in [Shpitser and Pearl, 2006a], [Kivva et al., 2022], and [Kivva et al., 2023], respectively.
4 Main Result: do-calculus is not complete for uID
In this section, we show that do-calculus is not complete for the uID problem, defined in Definition 2. We do so by providing an instance of uID, where a causal effect can be uniquely identified (see Definition 2) but not through application of do-inference rules as required by Definition 3.

Figure 1: DAG with and .
Prob_uID: (An instance of uID problem) Consider the causal graph in Figure 1 and let query
be such that and . We would like to know whether is uID from for in any causal model .
In other words, we would like to know whether in Figure 1, can be uniquely computed from the distributions: , and , in any causal model .
4.1 Identifiability of Prob_uID
In this section, we show that in Figure 1, is uID, that is, given the distributions , and , it takes a unique value.
Theorem 2. In Prob_uID, is uID given the query .
Proof. Let be two SCMs with , and fix an arbitrary realization . We show that .
Recall that we assumed that all random variables are discrete. Hence for and the fixed we have
We can then define matrix and vectors whose respective entries are defined above. Note that the matrices and vectors are known from query and are equal for SCMs and . For ease of notation, we will drop the superscripts denoting SCM when there is no ambiguity. Then, . In (*) we used the independence relation since and are d-separated by in . A similar equation can be obtained for due to the symmetry of the graph . Note that these equations can be written in the matrix form as and corresponding to and respectively. On the other hand, , where holds because . Equivalently, in the matrix form, we have . Thus, we have
where (*) is based on the equality and (**) is based on the equality . This implies that . Since was arbitrary, is uID given .
As we saw, in order to identify the causal effect , we had to find a solution of the linear equation (a solution always exists, namely the true ) and use it to compute through equality . Note that the linear equation with parameter may have infinitely many solutions, but for the purpose of the proposed identification procedure, it does not matter which solutions we choose. The takeaway lesson from this example is that there is no meaningful interpretation in terms of probability manipulations for the process of finding . This suggests that do-calculus rules may not be complete for the uID.
To have a complete picture of the problem in Figure 1, we show the following non-identifiability result, proof of which can be found in Appendix A.2.
Proposition 1. In the causal effects , and are not identifiable from Q in terms of Definition 1.
4.2 Do-calculus is not complete
In this section, we show that do-calculus rules are not complete for uID problem. We do so using our example problem, . As established in Theorem 2, is , but as we shall prove it is not do-identifiable from Q as defined in Definition 3.
To prove it we will consider a specific setup of for which we prove the following theorem.
Theorem 3. Consider the causal graph of Figure 1 with binary observed variables , and let denote the set of positive SCMs compatible with . Fix any . There is no rational function such that, for every , is well defined at and
where each distribution is viewed as the vector of its four probabilities.
Proof. Let have alphabet and let have alphabet , with elements written . Without loss of generality we will prove the statement of the theorem for the and .
Define the SCM via the set of conditional probabilities:
(1)
where , and . Note that all these conditional probabilities are positive and sum to 1 over all realizations. Therefore, they define a valid SCM which satisfies a positivity assumption.
Recall that in the context of our example , we mean that is uniquely computable from the query .
From the Markov factorization property, we have the following:
Consequently, from the joint , we can obtain by marginalization:
Denote and . Since , for each realization the observed probabilities , and are affine (in particular, polynomial) functions of .
Suppose, for contradiction, that a rational function exists for each . Let denote the vector of observed probabilities , , , whose entries are affine in . Since a rational function of affine functions is again rational, there exist multi-variable polynomials , such that
Every in the nonempty open set
corresponds to a model in (1) (take and , so that ). Moreover, the point corresponds to the models with . Since is well defined at every model, we have on and .
By (5), , and for we have . Hence, on ,
Multiplying both sides by , which is nonzero on , gives
Both sides of (6) are polynomials. Two polynomials that agree on a nonempty open set are identical, so (6) holds for all . Setting gives
Since this holds for all with , the polynomial vanishes on a nonempty open set and is therefore the zero polynomial. In particular , contradicting .
Corollary 1. Do-calculus is not complete for uID problem.
Proof. Suppose, for contradiction, that do-calculus is complete for uID, and consider with binary as in Theorem 3. By Theorem 2, is uID from . By completeness, there is then a finite sequence of do-calculus rules and standard probability manipulations that transforms into an expression involving only the distributions in .
Such a derivation depends only on and , not on the particular model . Moreover, each step uses only addition, subtraction, multiplication and division, where marginalization is a finite sum because the observed variables are binary. Hence, for each , the resulting expression is a single rational function of the entries of , and . Under positivity, this single rational function should be well-defined and equal to for every . This contradicts Theorem 3.
5 Conclusion
We gave a formal, standalone definition of completeness of the do-calculus for an identifiability problem, one that does not require first finding a sound and complete identification algorithm for that problem, and showed that it agrees with the existing completeness results for ID, gID and c-gID. Our main result is that, for the uID problem, a natural extension of gID, the do-calculus is no longer complete: there are causal effects that are uniquely identifiable from the available distributions but cannot be obtained by any sequence of do-calculus rules and probability manipulations. This shows a fundamental limitation of the do-calculus in more general identification settings, and suggests that closing the remaining gaps in the literature will require identification tools beyond these rule-based symbolic derivations.
References
Niels Henrik Abel. Mémoire sur les équations algébriques, où l'on démontre l'impossibilité de la résolution de l'équation générale du cinquième degré. Gröndahl, Christiania, 1824.
Amir Mohammad Abouei, Ehsan Mokhtarian, and Negar Kiyavash. s-id: Causal effect identification in a sub-population. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 20302–20310, 2024a.
Amir Mohammad Abouei, Ehsan Mokhtarian, Negar Kiyavash, and Matthias Grossglauser. Causal effect identification in a sub-population with latent variables. In Advances in Neural Information Processing Systems, volume 37, 2024b.
Elias Bareinboim and Judea Pearl. Causal inference by surrogate experiments: Z-identifiability. In Proceedings of the Twenty-Eighth Conference on Uncertainty in Artificial Intelligence, pages 113–120, Arlington, Virginia, USA, 2012. AUAI Press.
Juan Correa, Sanghack Lee, and Elias Bareinboim. Nested counterfactual identification from arbitrary surrogate experiments. Advances in Neural Information Processing Systems, 34:6856–6867, 2021.
Dan Geiger and Judea Pearl. On the logic of causal models. In Machine intelligence and pattern recognition, volume 9, pages 3–14. Elsevier, 1990.
Yimin Huang and Marco Valtorta. Identifiability in causal Bayesian networks: A sound and complete algorithm. In AAAI, pages 1149–1154, 2006a.
Yimin Huang and Marco Valtorta. Pearl's calculus of intervention is complete. In Proceedings of the Twenty-Second Conference on Uncertainty in Artificial Intelligence, UAI'06, pages 217–224, Arlington, Virginia, USA, 2006b. AUAI Press.
Yimin Huang and Marco Valtorta. On the completeness of an identifiability algorithm for semi-Markovian models. Annals of Mathematics and Artificial Intelligence, 54(4):363–408, 2008.
Yaroslav Kivva, Ehsan Mokhtarian, Jalal Etesami, and Negar Kiyavash. Revisiting the general identifiability problem. In Proceedings of the Thirty-Eighth Conference on Uncertainty in Artificial Intelligence, volume 180 of Proceedings of Machine Learning Research, pages 1022–1030, 2022.
Yaroslav Kivva, Jalal Etesami, and Negar Kiyavash. On identifiability of conditional causal effects. In Proceedings of the Thirty-Ninth Conference on Uncertainty in Artificial Intelligence, pages 1078–1086. PMLR, 2023.
Manabu Kuroki and Masami Miyakawa. Identifiability criteria for causal effects of joint interventions. Journal of the Japan Statistical Society, 29(2):105–117, 1999.
Sanghack Lee, Juan D Correa, and Elias Bareinboim. General identifiability with arbitrary surrogate experiments. In Proceedings of the Thirty-Fifth Conference on Uncertainty in Artificial Intelligence, pages 389–398. PMLR, 2019.
Sanghack Lee, Juan Correa, and Elias Bareinboim. General transportability–synthesizing observations and experiments from heterogeneous domains. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 10210–10217, 2020.
Judea Pearl. Causal diagrams for empirical research. Biometrika, 82(4):669–688, 1995.
Judea Pearl. Causality. Cambridge University Press, 2009.
Judea Pearl and James M Robins. Probabilistic evaluation of sequential plans from causal models with hidden variables. In Proceedings of the Eleventh Conference on Uncertainty in Artificial Intelligence, pages 444–453. Citeseer, 1995.
Ilya Shpitser and Judea Pearl. Identification of joint interventional distributions in recursive semi-Markovian causal models. In Proceedings of the National Conference on Artificial Intelligence, volume 21, pages 1219–1226, 2006a.
Ilya Shpitser and Judea Pearl. Identification of conditional interventional distributions. In Proceedings of the Twenty-Second Conference on Uncertainty in Artificial Intelligence, 2006b.
Peter Spirtes, Clark Glymour, and Richard Scheines. Causation, prediction, and search. MIT Press, 2000.
Jin Tian. Identifying conditional causal effects. In Proceedings of the Twentieth Conference on Uncertainty in Artificial Intelligence, pages 561–568, 2004.
Jin Tian and Judea Pearl. On the testable implications of causal models with hidden variables. In Proceedings of the Eighteenth Conference on Uncertainty in Artificial Intelligence, pages 519–527. Morgan Kaufmann, 2002.
Jin Tian and Judea Pearl. On the identification of causal effects. Technical Report R-290-L, Department of Computer Science, University of California, Los Angeles, 2003.
Santtu Tikka, Antti Hyttinen, and Juha Karvanen. Causal effect identification from multiple incomplete data sources: A general search-based approach. Journal of Statistical Software, 99(5):1–40, 2021.
Thomas Verma. Graphical aspects of causal models. Technical Report R-191, Department of Computer Science, University of California, Los Angeles, 1993.
A Appendix
A.1 Proofs of section 3
Let us first provide a formal definition of c-component, which is essential for understanding Lemmas 1 and 2.
Definition 5 (c-component). Two variables are said to be connected via a bidirected edge in a semi-Markovian causal graph if there exists variable such that . Then a nonempty set forms a single confounded component (c-component) in if its vertices are connected by bidirected paths. The c-components of a graph are the maximal sets with this property.
Another important notion is the function . For a given and :
The following lemmas define two key manipulations of , which form the backbone of the computational steps in the existing algorithms in the identification literature.
Lemma 1 ([Tian and Pearl, 2002]). Let and . If is an ancestral set in , then for any :
Lemma 2 ([Tian and Pearl, 2002]). Let , and let be c-components in the induced graph . Then for any ,
-
-
Each is computable from .
Further, we establish the connection between these Lemmas and do-inference rules akin to [Huang and Valtorta, 2008].
Lemma 3. Under the assumptions in Lemma 1, there exists a sequence of do-inference rules that transform into and vice versa.
Proof. We prove the Lemma by explicitly showing that the right-hand side of (8) can be transformed into the left-hand side by a sequence of steps, where every step is either a rule of do-calculus or a standard probability manipulation defined in Section 2.3.
Akin to the proof of Lemma 5 in [Huang and Valtorta, 2006b], we start by assuming that and is an ancestral set in ; and then generalize it to an arbitrary by applying the lemma iteratively to vertices of in the topological order in . Denote the complement of by . We prove that the following identity can be achieved for any realization with do-inference rules
Following [Huang and Valtorta, 2006b] we have,
(9)
Note that the equality in (9) is a standard arithmetic operation. The last transformation, i.e. DR3, is possible due to the proof presented in [Huang and Valtorta, 2006b]. This presents an explicit transformation of into by application of do-inference rules. Since each transformation has an inverse, this concludes the proof of Lemma 3.
Lemma 4. Under the assumptions of Lemma 2, there is a sequence of do-inference rules which transform:
-
into and vice versa;
-
into the expression depending only on .
Proof. Similar to the proof of Lemma 3, we will prove both statements 1 and 2 by presenting an explicit sequence of do-inference rules for each of the statements 1 and 2 in the lemma specifically. We will follow the proof steps of Lemma 6 [Huang and Valtorta, 2006b].
Proof of statement 1 Similar to the proof in [Huang and Valtorta, 2006b], we will prove statement 1 by induction on (size of set ), which is increased by adding a new variable to the set according to the topological order. Define set , where has the highest topological order in . Additionally, let denote the c-components in graph and index such that together with form a single c-component in (if forms a c-component by itself, then ). Let denote the set of variables comprised of . We denote the complement of by , i.e., .
Base of induction. E consists of just a single vertex, hence statement 1 holds trivially.
Induction step. By the induction hypothesis, we assume that there exists a sequence of do-inference rules that transform into whenever the size of the set is less than . Consequently, we will prove the statement of induction for the new set . More specifically, we have to prove that for any the following equation holds,
From the proof of Lemma 6 [Huang and Valtorta, 2006b] we have
(10)
where the last transformation DR3 holds according to the Equation (30) in [Huang and Valtorta, 2006b]. Note that we can apply the assumption of induction to the right-hand side of the last equation in (10). This implies,
Now we can apply once again the induction step but this time to the middle term
From Equation (33) in Huang and Valtorta [2006b], we can delete the action in the middle term, i.e., apply to it the third rule of do-calculus
By Equation (34) in [Huang and Valtorta, 2006b], we can apply the second rule of do-calculus to the left hand side term and get
And we finish up by applying the chain rule
These transformations form a sequence of do-inference rules that transforms into . Since each transformation has an inverse, this concludes the proof of the induction step and the proof of the statement 1 of the lemma.
Proof of statement 2. To prove statement 2, we will utilize the proof of Lemma 6 [Huang and Valtorta, 2006b] and show that there exists a sequence of do-inference rules that transforms into the expression that depends only on . Let consist of vertices ordered in the topological order in , i.e., if there is an edge from to then , and let be a variable set . Denote by , the complement of . Tian and Pearl [2003] proved that for any realization
and
Consider Equation (12), since the vertices in H are ordered in the topological order, the set
is ancestral in . Hence, applying Lemma 3 to Equation (12), implies that there exists a sequence of do-calculus rules that transform one side of the equation into the other. Let us now show that the same holds for the equation (11). By the definitions, we have
Let denote the set of indices of the variables in , i.e., . Denote by the variable set consisting of , . From the chain rule Equation (13) can be rewritten as
where is the realization of in n. We can continue applying the chain rule to the right hand side term, and we get the following product
where is an empty set. Now let us show that the following identity holds for any j
We can split up into two variable sets and , such that consists of the variables of with higher topological orders in than and, respectively, consists of the variables of with lower topological orders. Note that in , that
Where is defined similar to in the definition of DR3.
is there are no nodes in that are ancestors of any node in in . Indeed, since all incoming edges of are deleted in it means that there exists a node in , which is an ancestor of a node in in . This contradicts the topological order of vertices in .
We can show that the following independence holds:
This is because if there is a d-connected path from to a node in in , then it cannot pass through any node of or . Let be adjacent on this path to . It is observable, since there are no incoming edges to both and in . Note that cannot be in as there are no edges between the vertices in . It cannot be in either since it violates the topological order. Therefore, and the edge is oriented from to . On the other hand, the topological order requires that the first edge of the path goes out from . Therefore, the path contains a collider given that a middle vertex is in . But we have
which means that the path we considered from to Z remains d-separated. The independence in (16), allows us to apply the third rule of do-calculus to the left hand side of (15) and get
Just as before, we also have the following d-separation
Indeed, let us assume a contradiction, namely that there is a d-connected path from to in , then it clearly cannot pass through . We can also assume that this path has the shortest length. Let be the nearest node to on that path, note that we have an edge going from to as there are no outgoing edges in . The node cannot be in as there are no edges in between vertices in and it cannot be as it violates the topological order. So, we get that either or . Firstly, we assume that is a latent variable. Since is a c-component, any node adjacent to in lies either in or . If the adjacent node to on the path, denote it by , lies in , then it contradicts the assumption that the path is of minimal length. Thus, we obtain either or . As before, due to the topological order, the path contains a collider which is in . We have
that concludes the proof of the d-separation given in (18). From the independence (18), it follows that we can apply the second rule of do-calculus to (17) and get that
where the last equality follows from the definition of the variable set . This proves the statement in (15).
Finally, we show that the following identity holds for any r, in particular when r is of the form
From the conditioning rule, we have that
Algorithm 1 ID_Single: identification of from
Input: with a single c-component,
1:
2: c-component in that contains
3:
4: while and do
5:
6:
7: c-component in that contains
8: end while
9: if then
10: Return: False
11: end if
12: Return: True
Apply the marginalization rule to both numerator and denominator to get
Applying (12) to both numerator and denominator results in (19).
Combining everything together, we obtained the following sequence of do-inference rules that computes in terms of
Suppose is a subset of and forms a single c-component in . Next, we introduce Algorithm 1 that determines whether distribution is identifiable from query . This simple algorithm is developed based on the aforementioned lemmas, where can be computed from in line 6 according to Lemma 1, and can be computed from in line 7 according to the Lemma 2. In fact, Algorithm 1 is a crucial subroutine of existing algorithms in the classical literature on identifiability problems, such as [Shpitser and Pearl, 2006a, Huang and Valtorta, 2006a, Kivva et al., 2022].
Lemma 5. If Algorithm 1 returns True, then is do-identifiable from query .
Proof. Let us define functions as follows:
-
is a function that uses the sequence of do-inference rules to transform the right-hand side of the equation given by Lemma 1 into the left-hand side;
-
is a function that uses the sequence of do-inference rules to transform into the formula that only depends on given by Lemma 4.
Suppose is a sequence of sets generated by Alg 1. Note that and from Lemma 2 we have . Additionally, note that is expressed only by terms of form . Based on Lemma 1, each term can be expressed as . Similarly, can be expressed by the terms . Consequently, we may continue this procedure until is expressed by the terms , i.e. . Recall that each function and corresponds to some sequence of do-inference rules. This implies that we can start with and via composition of functions and (i.e. do-inference rules) reach an expression that is written in terms of . That concludes the proof.
It is well-known that Algorithm 1 is sound and complete [Huang and Valtorta, 2006a, Kivva et al., 2022]. Hence, do-calculus rules are complete for the identifiability problem solved by Algorithm 1. Furthermore, we demonstrate that this result extends to the entire classical line of research on the identifiability problem.
Definition 6 (ID Shpitser and Pearl [2006a]). Suppose and are disjoint subsets of . The causal effect is said to be identifiable (ID) in if for any , the causal effect is uniquely computable from in any causal model .
Definition 7 (gID Kivva et al. [2022]). Suppose and are disjoint subsets of , be a collection of subsets of and let be a given causal graph corresponding to the set of variables . The causal effect is said to be g-identifiable from in if is uniquely computable from interventional distributions in any causal model .
Definition 8 (c-gID Kivva et al. [2023]). Suppose , and are disjoint subsets of , let be a collection of subsets of and let be a given causal graph on the set of variables . The causal effect is c-gID from in if is uniquely computable from interventional distributions in any causal model .
Theorem 1. Do-calculus is complete in terms of Definition 4 for the ID, gID and c-gID problems studied in [Shpitser and Pearl, 2006a], [Kivva et al., 2022], and [Kivva et al., 2023], respectively.
Proof. Let us prove the completeness of do-calculus for c-gID problem. Suppose are disjoint subsets of variables in and is a collection of subsets in in a given . Then in terms of c-gID problem query is defined as . To show that do-calculus is complete for c-gID, we show that when the causal effect is identifiable from query , then it is do-identifiable from query . In Kivva et al. [2023] it was proved that Alg. 2, provided below, is sound and complete for c-gID.
Algorithm 2 c-gID of from
Input:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
If Alg. 2 returns True, then is gID from in , where is returned by MaxBI. By the action/observation exchanges defining , followed by conditioning and marginalization,
The denominator is positive under our positivity assumption. Thus, a do-inference expression for the joint effect on the right yields one for the conditional target, so it suffices to prove completeness for gID.
In Kivva et al. [2022] it is proved that the Alg. 3 that determines whether the causal effect is identifiable from query is sound and complete.
Algorithm 3 gID of from
Input:
1:
2: c-components of
3: for from 1 to do
4: if then
5: Return: False
6: end if
7: end for
8: Return: True
1: Function
2: for from 0 to do
3: if and then
4: Return: True
5: end if
6: end for
7: Return: False
Note that is a function given by Alg. 1 which determines the identification of from query .
Suppose Alg. 3 returns True, namely that the causal effect of is identifiable from query . Alg. 3 implies that returns True for every c-component of . Or equivalently, for every , the causal effect is identifiable from query for some , i.e. Alg 1 returns True. From Lemma 5 it follows that for every the causal effect is do-identifiable from query .
Following Kivva et al. [2022], is derived as follows. Firstly, we apply the marginalization rule
Since is an ancestral set in , from Lemma 3, there exist do-inference rules that transform (20) into
where the last equation is just rewriting the definition. Finally, from Lemma 4, there exists the sequence of do-inference rules with which we obtain
Since for every the causal effect is do-identifiable from query , consequently is also do-identifiable from query . It finishes the proof that do-calculus is complete for gID problem and thus do-calculus is complete for c-gID problem as well. Since ID is a particular instance of gID this finishes the proof that do-calculus is complete for ID, gID, and c-gID problems.
A.2 Proofs of section 4.1
Proposition 1. In the causal effects , and are not identifiable from in terms of Definition 1.
Proof. To prove the proposition, it is enough, for each target, to construct two positive SCMs such that while the target distributions differ. Let and be a positive distribution in such that , see Remark 1 for the existence. Fix two distinct realizations of .
In the new model , we retain and as in . Also for any realization of outside we define
for any realization . We change only the vectors and . By the factorization induced by the graph, we obtain
Therefore, positive perturbed vectors whose sum is unchanged give a well-defined conditional distribution and a positive joint distribution for the model . For this we introduce the following claim.
Claim 1. Let be a linear operator such that , and let have positive entries. Then there exist positive vectors and satisfying
Apply Claim 1 to and set and . Equation (23) preserves positivity and normalization of and ensures that . Since and are unchanged, is also unchanged, so . At the same time, for some realization , which also implies based on equation (22). This finishes the proof that is not identifiable from the observed distributions. Symmetrically, using and two outcomes of , a separate pair of models shows that is not identifiable; for this we start with a distribution satisfying .
Remark 1. Let us construct an example of possible matrix such that , and (or ). In other words, can be viewed as a linear operator for some integer numbers . Let with all positive entries then we define matrix as follows
where are positive scalars chosen in a way that . Thus, we obtain that
This gives a family of matrices that satisfies the condition , and . Symmetrically, we obtain the family of matrices for the condition . Every such is realizable by a graph-compatible SCM: let the latent variable have distribution , let be its coordinate projections, and generate from any positive conditional distributions using independent noise. The resulting joint distribution is positive and satisfies equation (22).
Proof of Claim 1. Choose a non-zero vector and a scalar such that
Define and . Both vectors are positive and differ from the original vectors. Since , they satisfy equation (23).