How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
PC algorithm and Markov-equivalence structure learning
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Central Limit Theorems
- Characteristic Functions Inversion and Continuity
- Compactness
- Compactness in Metric Spaces
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Complex Lp Spaces and Test-Function Conventions
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Cyclic Groups and Direct Products
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Direct Matrix Factorisations: LU, Cholesky and QR
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fourier Transform Convolution and Approximate Identities
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hausdorff via the Diagonal
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Markov Kernels and Markov Chains
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed effects and longitudinal models
- Mixed Partials, Taylor Formulae, and Extrema
- Modes of Convergence Egorov and Lusin
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Partitions of Unity and Paracompactness
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Radon Measures and the Riesz Markov Kakutani Theorem
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- SCM, DAGs, adjustment
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Maximal Function and Lebesgue Differentiation
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Urysohn's Lemma and the Tietze Extension Theorem
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
2 · Logical flowchart
3 · Definitions, theorems and proofs
Causally sufficient perfect-oracle discovery regime
Definition
Let be a finite set of observed vertices, let be a directed acyclic graph on , and let be the endogenous variables of a finite recursive structural causal model whose observed set is all of and whose latent set is empty. The model is Markovian: its exogenous random elements are mutually independent. Require that the full-joint law of has a topological probability-kernel factorization: for a topological order , its joint law is formed by composing probability kernels that depend only on the parents of . Also require that is faithful to , meaning its conditional independences among vertex subvectors are exactly the d-separations in . Assume AC for these probability interfaces.
A perfect conditional-independence oracle for this regime accepts any pairwise disjoint and returns “independent” exactly when and are conditionally independent given . The causally sufficient perfect-oracle regime consists of the finite observed DAG, its Markovian recursive model and full-joint law, the faithfulness condition, and this exact oracle. No latent vertex is omitted from the graph supplied to the oracle.
Definition references
Recursive structural causal models on finite DAGs
The product sigma-algebra and its finite iterates
Measure kernel and probability kernel
DAG factorization implies the global Markov property
Faithfulness of a law to a DAG
Conditional independence given a sigma-algebra
DAG Markov equivalence, patterns, and CPDAGs
Definition
Fix a finite vertex set . For a DAG on , its skeleton is the undirected graph with edge exactly when contains or . An unshielded triple is a triple of distinct vertices with edges and in the skeleton and no edge between and . It is an unshielded collider (also called a v-structure) when its arrows are . Two DAGs on are Markov equivalent when they induce the same d-separation relations: for every pairwise disjoint , and are d-separated by in one DAG exactly when they are d-separated by in the other. The equivalence class of is denoted .
A partially directed acyclic graph (PDAG) on is a simple mixed graph whose directed edges contain no directed cycle. A consistent DAG extension of a PDAG preserves every directed edge, orients every undirected edge, is acyclic, and creates no unshielded collider absent from the PDAG. For an equivalence class with a common skeleton, its completed pattern directs an edge exactly when that orientation occurs in every DAG of the class and leaves the edge undirected when both orientations occur. A completed partially directed acyclic graph (CPDAG) for is this unique completed pattern when its consistent DAG extensions are exactly . Thus its directed edges are compelled, while each undirected edge occurs in both directions among its consistent extensions.
Definition references
DAG adjacency is equivalent to having no separating set
Statement
Let be a finite DAG on . For distinct vertices , the pair is an edge of the skeleton of if and only if there is no that d-separates and in .
Statement references
Facts & Assumptions
Given: A finite DAG and distinct vertices .
In a finite DAG, a path is active given when each internal noncollider is outside and each collider has a descendant in , with membership in counted as being its own descendant. Paths, active paths, and d-separation in a finite DAG
Proof
If and are adjacent, the one-edge path between them has no internal vertices, so it is active given every by [F1]. Hence no such d-separates them.
Suppose and are nonadjacent. Acyclicity implies that at least one of is not a descendant of the other; after interchanging labels, assume is not a descendant of . Since are nonadjacent, is a non-descendant non-parent of . Put . Then excludes both endpoints. Consider any path . If its first arrow points into , then and the occurrence of is a noncollider, because the arrow has its tail at ; the path is blocked. If the first arrow points out of , follow arrows that point forward along the path until the first arrow that points backward. Such a reversal must occur because is not a descendant of . At the reversal vertex , both incident arrows point into , so it is a collider and the initial segment is a directed path . If had a descendant , then would be a directed cycle. Thus this collider has no descendant in , and the path is blocked by [F1]. Every path is blocked, so d-separates and .
The adjacent and nonadjacent cases prove both implications.
Covered edge reversal preserves d-separation
Statement
Let be a finite DAG and let be a covered arrow, meaning . Replacing by gives a DAG with exactly the same d-separation relations as .
Statement references
Facts & Assumptions
Given: A finite DAG , a covered arrow , and obtained by reversing that arrow.
D-separation is equivalent to undirected separation by in the moral graph induced on the ancestors of the endpoints and . D-separation is separation in the ancestral moral graph
The ancestral moral graph keeps the skeleton on the ancestral set and joins distinct parents of each common child in that set. The ancestral moral graph of a DAG
Proof
Put , so . If reversing the arrow created a directed cycle, that cycle would use the new arrow , and the remaining part would be a directed path in with . Then , so is also in , making the directed cycle in , a contradiction. Thus is acyclic.
The full moral graphs of and coincide. Their skeletons coincide. The only changed parent sets are , and , . Any pair newly married at in or at in already belongs to the clique on : pairs involving or are skeleton edges, and pairs in are married at both and . All other parent sets are unchanged, so the moral edge sets are identical.
Fix pairwise disjoint query sets and put . The ancestor sets of in and differ, if at all, only by or . Indeed, a directed path whose existence changes must use the reversed edge. A path in that uses and starts at enters from some ; in replace by the unchanged arrow . Therefore only can cease to be an ancestor. Symmetrically, a path in using and starting at enters from ; in replace by . Therefore only can become an ancestor. If is lost, belongs to both ancestor sets; if is gained, belongs to both.
If the ancestor sets are equal, step 1.2 shows the induced ancestral moral graphs are equal. Suppose instead that is an ancestor only in . Then and is a common ancestor of . In the moral graph induced on , every neighbor of is in : its parents lie in ; among its children only can be ancestral, since any other child has an unchanged arrow from and would make an ancestor in ; and a marriage through a child other than would have the same consequence, while a marriage through uses another parent in . The vertices in form a clique because they are parents of in . Hence is simplicial in the ancestral moral graph. The case that is gained only in is symmetric, with its neighbors contained in the clique .
Removing an unconditioned simplicial vertex does not change separation between and after deleting : the vertex is not in , and any path through it can be shortened by replacing its two incident edges with the edge joining its neighbors, which exists because the neighborhood is a clique. Conversely, every path in the smaller graph remains in the larger graph. Thus the two ancestral moral graphs separate and by in exactly the same cases. By [F1], and have the same d-separation relations.
Edges of finite chordal graphs admit both collider-free orientations
Statement
An undirected graph is chordal when it has no induced cycle of length at least four. A vertex is simplicial when all of its neighbors are pairwise adjacent. A perfect elimination order is a total order in which the later neighbors of each vertex form a clique. For every finite chordal undirected graph and every edge of , there are acyclic orientations of all edges of with no unshielded collider with nonadjacent, one having and another having .
Statement references
Facts & Assumptions
Given: A finite chordal undirected graph and an edge .
Chordality means that every induced cycle in has length at most three; all subgraphs used below are finite.
Proof
We first show by induction on the number of vertices that a connected noncomplete chordal graph has two nonadjacent simplicial vertices. Choose nonadjacent vertices and an inclusion-minimal separator whose removal disconnects them. Let be the components of containing . For every , minimality gives a path from to after restoring only , so has a neighbor in each of . If were nonadjacent, shortest paths from to with internal vertices in and in would form an induced cycle of length at least four: each path is chordless by shortestness, there are no edges between the two components, and are nonadjacent. This contradicts chordality, so is a clique. The induced graphs on and are smaller connected chordal graphs. By induction, each is either complete, in which case any vertex in its nonempty component or is simplicial, or noncomplete, in which case it has two nonadjacent simplicial vertices and at least one lies outside the clique . Such a vertex has no neighbors outside its component together with , so it is simplicial in . The chosen vertices from and are nonadjacent. Complete connected graphs have every vertex simplicial, and disconnected graphs have a simplicial vertex in each component. Therefore every nonempty finite chordal graph has a simplicial vertex.
Repeatedly remove a simplicial vertex. Each induced subgraph remains chordal, so step 1.1 supplies a simplicial vertex until the graph is empty. The removal order is a perfect elimination order because the neighbors of that remain at its removal are pairwise adjacent.
For each , let , where is the set of neighbors of later in the elimination order. Each is a clique by step 2.1. If is nonempty, let be its earliest vertex and join the clique node to . The index strictly increases along parent edges, so these edges form a forest. Since is a clique, every vertex of other than is a later neighbor of ; hence . If a vertex belongs to with , then and this membership propagates to the parent node, eventually to . Thus the clique nodes containing any fixed vertex form a connected subtree. Every graph edge lies in some by taking its earlier endpoint. This is a clique forest with the running-intersection property.
Root every tree of this forest and concatenate their postorders into one order of the clique nodes. Each vertex belongs to a connected subtree of clique nodes in one rooted tree, so there is a unique root-nearest node containing it. List the vertices owned by each node in any order within that node's block. For any neighbor of , a clique node contains both. The nodes lie in the connected subtrees of cliques containing and , so are comparable along the root-to- path in the same tree. If is an ancestor of , the running-intersection property gives ; if it is a strict descendant of , its block is earlier in postorder; and if it is , both vertices are in the same clique block. Thus any neighbor later than belongs to the clique . All later neighbors of therefore lie in the clique , so this order is a perfect elimination order.
Direct every edge from its later endpoint in this order to its earlier endpoint. The orientation is acyclic because every arrow decreases the order. The parents of any vertex are among its later neighbors, which form a clique by step 4.1; hence there is no unshielded collider.
Since is an edge, some clique node contains both. Root its clique tree at . Then is the root-nearest node containing each of , so both are owned by its vertex block. List before in that block; step 5.1 directs . Reversing their order directs . The remaining vertices in the block may retain any order, and other trees may be rooted and ordered independently. Both resulting orientations are acyclic and collider-free by steps 4.1–5.1.
Gaussian partial correlation
Definition
Assume AC. Let have a nondegenerate multivariate-normal law with mean and positive-definite covariance matrix . For distinct indices and , define the conditional covariance block
with . Whenever the diagonal entries of this block are positive, the partial correlation is
The nondegenerate Gaussian case makes the conditioning covariance block invertible; the following theorem proves that is positive definite, so this definition applies to every such .
Definition references
A separating set identifies an unshielded collider
Statement
Let be an unshielded triple in a finite DAG and let d-separate and . Then the triple is a v-structure if and only if .
Statement references
Facts & Assumptions
Given: A finite DAG, an unshielded triple , and a separating set for its endpoints.
A path is active given when its internal noncolliders are outside and each collider has a descendant in . Paths, active paths, and d-separation in a finite DAG
An unshielded triple and a v-structure have the meanings stated in the CPDAG interface. DAG Markov equivalence, patterns, and CPDAGs
Proof
If , then is a collider on the length-two path from to . If , it is its own conditioned descendant, so this path is active by [F1], contradicting that separates the endpoints. Therefore .
If the unshielded triple is not a v-structure, then is a noncollider on its length-two path. If , that path has no conditioned internal noncollider and no collider, so it is active by [F1], again contradicting separation. Hence a noncollider requires .
The two implications prove the equivalence.
DAG Markov equivalence is determined by skeletons and unshielded colliders
Statement
Two finite DAGs on the same vertex set are Markov equivalent, meaning that they induce the same d-separation relations, if and only if they have the same skeleton and the same unshielded colliders.
Statement references
Facts & Assumptions
Given: Finite DAGs on the same vertex set.
Markov equivalence means equality of the induced d-separation relations; skeleton and unshielded-collider conventions are fixed. DAG Markov equivalence, patterns, and CPDAGs
Two distinct vertices are nonadjacent exactly when some conditioning set d-separates them. DAG adjacency is equivalent to having no separating set
Reversing a covered arrow in a finite DAG preserves acyclicity and every d-separation relation. Covered edge reversal preserves d-separation
Proof
Given: have the hypotheses in the Statement.
First assume that have the same skeleton and the same unshielded colliders. A finite DAG has a topological order: if every remaining vertex had an incoming arrow, following incoming arrows in the finite graph would repeat a vertex and create a directed cycle; remove a source and repeat. Fix such an order for . If the DAGs differ, choose the -earliest vertex with , and choose the -latest in that difference. Then occurs in and in .
Conversely, assume are Markov equivalent. If their skeletons differed, [F2] would give a pair separated in one graph but not the other. Thus their skeletons agree. If an unshielded collider occurred in but not in , then are nonadjacent in both. By [F2] choose that d-separates in . The path shows that no descendant of , including , can lie in , because otherwise that path would be active. In , the same unshielded triple has a noncollider at ; since , the two-edge path is active, so does not d-separate there. This contradicts Markov equivalence. Interchanging rules out a collider present only in .
Let be another parent of in . If were not a parent of , then either and would be nonadjacent, making an unshielded collider absent from , or they would be adjacent with in . The first case contradicts equality of colliders; in the second case, cannot retain both and , because together with they form a directed cycle. If is reversed in , then is an earlier vertex with a differing parent; if is reversed, then is a later member than of . Both contradict the choices in step 1.1. Hence every parent of other than is a parent of .
To prove , suppose instead that in but . Minimality of implies is also present in ; otherwise the earlier vertex would already have a differing parent. If were not adjacent to , then would contain the unshielded collider , while has the noncollider chain , contradicting equality of colliders. Thus is adjacent to . In it must be oriented , since would make a directed cycle with . This contradicts the assumption that is not a parent of . Therefore the inclusion holds. Together with step 2.1, , so is covered.
Reverse this covered arrow in . By [F3] the result remains a DAG and is Markov equivalent to . It has the same skeleton, and it has the same unshielded colliders: an edge in an unshielded collider cannot be covered, because the other parent of the collider would then also be a parent of the edge's tail and hence adjacent to it. Exactly one edge now agrees with , so the finite number of edge-orientation disagreements decreases by one. If any disagreement remains, choose the earliest differing parent set again; the argument in steps 1.1–3.1 applies because the skeleton and collider set are unchanged. Thus finitely many covered reversals transform into , and each reversal preserves d-separation.
The two directions prove the equivalence.
Population PC causal-discovery algorithm
Definition
Input: A finite vertex set , a perfect conditional-independence oracle for a law in the causally sufficient discovery regime, and a fixed total order of . For every adjacent pair and conditioning set tested below, the oracle returns whether and are conditionally independent given .
Output: An undirected skeleton , a separator record for each deleted edge, and a partially directed graph .
-
Initialize to the complete undirected graph on and set the level .
-
In the fixed lexicographic order of unordered vertex pairs, process each pair that is still an edge of . First test every -element subset of in lexicographic order; then test every -element subset of in lexicographic order. On the first oracle result of conditional independence given a tested set , delete , record , and do not test that pair again. If no set separates the pair, leave it adjacent. Adjacency sets are read from the current graph, including deletions already made at level .
-
If at least one remaining edge has an endpoint with at least neighbors other than the other endpoint, increment and repeat step 2. Otherwise stop the skeleton search.
-
Copy the completed skeleton to a separate graph . For each unshielded triple in , orient its incident edges in as exactly when , retaining any orientations already made. Keep unchanged.
-
Repeatedly orient edges of to closure under the following background-free rules, using fixed lexicographic order on rule instances:
- R1: If and are nonadjacent, orient as .
- R2: If is undirected and , orient as .
- R3: If , , and are undirected, , , and are nonadjacent, orient as .
Do not apply a background-knowledge rule. Return , the separator record, and .
Sample partial correlation by residualization
Definition
Let be a sample, let , and let . Let be the sample column for coordinate , and let be the orthogonal projection onto the span of the all-ones vector and . When the sample covariance matrix of coordinates is positive definite, define the residual columns The sample partial correlation is For , the Fisher transform is , and the sample Fisher statistic is . For a test using multiplier , require so that this factor is positive. Under independent samples from a nondegenerate Gaussian law, the stated covariance block is positive definite almost surely whenever .
Definition references
Zero Gaussian partial correlation is conditional independence
Statement
Assume AC. Let be a nondegenerate multivariate-normal vector, so is positive definite. For distinct and , the block in the definition of Gaussian partial correlation is positive definite, and
Statement references
Facts & Assumptions
Given: AC, a positive-definite Gaussian covariance matrix, and the indices in the Statement.
A finite vector is multivariate normal when every linear projection is a univariate normal with the corresponding projected mean and variance; its covariance is the stated matrix. Multivariate normal law, including singular covariance
A positive-definite multivariate-normal law has density proportional to . A positive-definite multivariate normal law has its Gaussian density
Conditional independence is the conditional-product identity for every pair of bounded measurable real functions. Conditional independence given a sigma-algebra
Finite random vectors use the finite product sigma-algebra. The product sigma-algebra and its finite iterates
Independence of random elements means independence of their generated sigma-algebras. Independent random elements
AC is assumed, as required by [F1]–[F3]. The Axiom of Choice
Proof
Given: The hypotheses in the Statement.
Partition with and ; if , omit the block. For nonempty , is positive definite because every nonzero vector supported on has positive -quadratic form, so it is invertible. Put and . Then and . For every nonzero , the quadratic form of at equals . Thus is positive definite; for empty this follows directly from the principal covariance block.
The vector is a linear image of , hence is jointly Gaussian by [F1]. Its covariance is block diagonal with blocks and . By [F2], the joint density factors as the product of the two Gaussian densities, since the inverse and determinant of a block-diagonal covariance split by blocks. Integrating over measurable rectangles shows and are independent by [F5]. It follows that, conditionally on , is the translate and has conditional covariance .
If , the positive-definite bivariate Gaussian density of factors into its one-coordinate densities. Thus the coordinates of are independent. Since is independent of , the conditional law of given is the product of its conditional marginals. Integrating bounded measurable functions against this product conditional law gives the identity in [F3], hence conditional independence.
Conversely assume the conditional independence in the Statement. Apply [F3] to the sine and cosine functions of each coordinate and combine the four real identities to obtain factorization of the conditional characteristic function at . By step 2.1, the joint conditional characteristic function is the product of the marginal factors times . All other factors are nonzero; therefore . The covariance entry is real, so .
The diagonal entries of are positive by step 1.1. Its off-diagonal entry is zero exactly when the normalized entry is zero, proving both implications.
Uniform concentration of Gaussian sample partial correlations
Statement
Fix . There are constants and such that the following holds. Let be independent observations from a nondegenerate Gaussian law, and let be as in the definitions of population and sample partial correlation. Suppose and . Then, for , where . The constants do not depend on or the Gaussian mean and covariance beyond the bound .
Statement references
Facts & Assumptions
Given: A nondegenerate Gaussian law, independent observations, a pair , a conditioning set , the bound , and .
The population partial correlation is the normalized off-diagonal entry of the Gaussian conditional covariance block. Gaussian partial correlation
Under a nondegenerate Gaussian law, the sample partial correlation is the correlation of the two residual columns after projection off the intercept and conditioning columns; the Fisher transform is . Sample partial correlation by residualization
The Gaussian conditional covariance block is positive definite. Zero Gaussian partial correlation is conditional independence
A nondegenerate Gaussian vector has its usual Lebesgue density, so every proper linear subspace has probability zero. A positive-definite multivariate normal law has its Gaussian density
A Gaussian vector has normal scalar linear projections with the corresponding projected means and variances. Multivariate normal law, including singular covariance
AC is assumed by the supplied Gaussian probability interfaces. The Axiom of Choice
Proof
Put and . For nonempty , define and . Covariance algebra gives and . The vector is jointly Gaussian by [F5], since every scalar projection is an affine scalar projection of . Its covariance is block diagonal and positive definite by [F3] and positive definiteness of . Its density from [F4] factors into the Gaussian densities of and : both the determinant and the quadratic form split by blocks. Integrating over rectangles proves independence of and . For empty , take with covariance ; independence from the empty conditioning tuple is automatic. Across observations the residual pairs are independent, and their entire sample is independent of the conditioning sample, because the joint observation densities multiply. The coordinates have a nondegenerate Gaussian density because their covariance is a positive-definite principal submatrix. If , the intercept design has rank one. If , successive independent sample points in are affinely independent until there are : after affinely independent points, their affine span has dimension , and the next point has a density, so lies in that span with probability zero by [F4]. Thus the intercept and design has rank almost surely. Conditional on that design, an orthonormal basis of its orthogonal complement has dimension . In that basis the projected residual pairs are independent copies of this Gaussian residual; standardizing the two coordinates does not change their sample correlation. Thus the sample partial correlation has the same distribution as for independent copies of the standardized pair, whose correlation is by [F1]. The hypothesis gives . Their covariance block is positive definite by [F3], so the first residual sample column is nonzero almost surely, and conditional on that column the second has a density in . Its probability of lying in the first column's one-dimensional span is zero by [F4], since . Thus the two residual columns have rank two almost surely. Together with the full-rank intercept and design, this makes the centered sample covariance block on positive definite. Therefore almost surely and the Fisher transform is defined.
Represent and with independent standard normal vectors . Put , , and . Rotational invariance of the standard Gaussian density implies that , , and are independent. Direct substitution gives and hence . Rotational invariance follows directly from the standard Gaussian density, and it makes independent. Also .
Let and . On the event where , one has Since , step 2.1 yields .
For , its moment generating function, obtained by multiplying the one-dimensional Gaussian integrals, is for . For , Markov's inequality optimized at gives . For , the negative choice gives . Put and . The inequalities for and imply Applying this to and , and using , shows that implies . Thus for , The standard normal moment generating function , with Markov's inequality optimized at , gives . For , the trivial bound applies. Thus the complement of the event in step 3.1 has probability at most for every .
Set . Since and , step 3.1 applies and its complement contains the event in the Statement. Step 4.1 therefore bounds that event by . Taking and proves the claim.
The background-free Meek rules complete a CPDAG
Statement
Let be a finite DAG. Start with its skeleton, orient exactly the edges in its unshielded colliders, and leave all other edges undirected. Repeatedly apply the background-free rules R1–R3 from the PC algorithm until no rule applies. The resulting partially directed graph is the CPDAG for the Markov-equivalence class of .
Statement references
Facts & Assumptions
Given: A finite DAG and the initialized pattern and R1–R3 rules stated above.
A PDAG, consistent DAG extension, Markov equivalence, and CPDAG have the definitions in the supplied interface. DAG Markov equivalence, patterns, and CPDAGs
R1, R2, and R3 are exactly the three background-free orientation rules stated in the PC algorithm. Population PC causal-discovery algorithm
Two finite DAGs are Markov equivalent exactly when they have the same skeleton and the same unshielded colliders. DAG Markov equivalence is determined by skeletons and unshielded colliders
In every finite chordal undirected graph, each edge can be oriented either way as part of an acyclic orientation having no unshielded collider. Edges of finite chordal graphs admit both collider-free orientations
Proof
Given: The hypotheses in the Statement.
Every consistent extension of a current pattern must respect each R1–R3 conclusion. For R1, the opposite orientation would create the new unshielded collider with nonadjacent. For R2, the opposite orientation would close the directed path into a directed cycle. For R3, if , acyclicity forces and (the alternatives or each close a directed cycle through ); these arrows create the new unshielded collider , since are nonadjacent. Each contradiction is forbidden for a consistent extension. Thus all rule orientations are compelled, and the original DAG remains a consistent extension at every stage.
Every finite DAG has a topological order. In any nonempty induced subgraph, if every vertex had an incoming arrow, repeatedly following incoming arrows would revisit a vertex and create a directed cycle. Thus a source exists; remove one source and repeat on the remaining finite DAG. Listing the removed vertices in order gives a topological order, because an arrow's tail must be removed before its head. This argument uses only finite choices.
The R1–R3 closure reaches a final pattern after finitely many applications. Each scan checks finitely many rule instances on the finite vertex set; every nonterminal scan directs at least one previously undirected edge, and there are at most such edges. Therefore after finitely many scans a full scan applies no rule, so the final closed pattern used below exists.
Write for the final closed pattern. We claim that whenever and is undirected in , the edge is directed . If were nonadjacent, R1 would orient as , contradicting closure. If , then and R2 would orient as , also contradicting closure. It remains to rule out undirected.
Suppose such an undirected exists, and choose a counterexample for which the arrow was first oriented as early as possible in the finite sequence of rule applications. If was initially oriented as part of a collider , then are nonadjacent. Since cannot satisfy R1, is adjacent to . If , R2 on applies along . If , R1 on gives , and R2 on then applies along . If is undirected, R3 on applies with its other two vertices . Each case contradicts that is closed.
If was added by R1 from with nonadjacent, then either R1 on directly gives , or is adjacent to . If , R2 on along gives , and R2 on along then applies. If , R1 on gives . If is undirected, the earlier arrow together with is a counterexample of smaller orientation time, contrary to the choice in step 3.1. Thus this rule case is impossible.
If was added by R2 from , then must be adjacent to , since otherwise R1 on orients . If , R2 on along gives . If , R2 on along gives . If is undirected, the earlier arrow and form a counterexample of smaller orientation time. All alternatives contradict closure or minimality.
If was added by R3, at that time there were nonadjacent with earlier arrows , and undirected , . In the final pattern each of is adjacent to , since otherwise R1 orients . Neither nor is possible, since R2 would orient . If or were undirected, its earlier arrow into together with would give a counterexample of smaller orientation time. Thus and in . If or now holds, R2 orients . The two arrows and cannot both hold: since are nonadjacent, would then contain this unshielded collider, so both arrows would already have been oriented initially, contradicting that were undirected when R3 applied. If exactly one of these edges points into , the other must therefore be undirected (the outgoing case was already excluded), and R1 directs it out of , again forcing by R2. Finally, if both remain undirected, R3 with directs . Every possible final orientation contradicts closure or minimality, completing the proof of the claim in step 2.1.
The claim proved in steps 2.1–4.3 excludes a directed edge whose endpoints lie in one undirected component. Indeed, for and an undirected simple path , necessarily . Propagation gives ; its last arrow contradicts the undirected edge . If an undirected component had an induced cycle of length at least four, take its latest vertex in a topological order of from step 1.2. Both incident cycle edges point into that vertex in , and their other endpoints are nonadjacent: an undirected chord is excluded by the induced-cycle assumption, and a directed chord is excluded by the preceding component argument. This would be an unshielded collider in whose edges were not initially oriented, a contradiction. Hence every undirected component is chordal.
Contract each undirected component to one vertex and retain the directed edges between components. There are no loops by step 5.1. For a supposed simple cycle of components , with , choose an arrow for each quotient edge, with cyclic indices. In component , the vertices and are joined by an undirected path. The claim proved in step 4.3 propagates the incoming arrow along that path to . These arrows give , contradicting that consistently extends . Therefore the quotient is a finite DAG.
Fix any undirected edge and choose in its component one of the two orientations supplied by [F4] with the desired direction; orient every other nontrivial undirected component by any such acyclic collider-free orientation. Keep all directed edges of . The combined graph is acyclic: a directed cycle contained in one component is excluded by its chosen orientation, while a cycle passing between components would project to a directed cycle in the quotient of step 6.1.
The combined DAG creates no unshielded collider absent from . Two internal parents of a vertex cannot form one by the collider-free component orientation. If is an external directed parent and is an internal parent, then was undirected in ; the claim proved in step 4.3 forces in , so are adjacent and the collider is shielded. Two external directed parents already give a collider present in whenever they are nonadjacent. Thus the construction is a consistent extension, and the chosen edge has the requested orientation.
By step 1.1 every consistent extension preserves every arrow of , and by steps 7.1–8.1 each undirected edge occurs in consistent extensions with either orientation. The initial pattern has exactly the unshielded colliders of , and remains its consistent extension, so every directed unshielded collider in is also one in ; thus and have the same skeleton and unshielded colliders. By [F3], every consistent extension is Markov equivalent to . Conversely, any DAG Markov equivalent to has the same skeleton and colliders by [F3], hence extends the initial pattern; applying the soundness argument in step 1.1 successively shows that it preserves every arrow added by R1–R3 and therefore extends . Thus the consistent extensions of are exactly , and is its CPDAG.
The PC algorithm recovers the oracle CPDAG
Statement
Assume AC and the causally sufficient perfect-oracle discovery regime for a finite observed DAG and its full-joint law. The population PC algorithm with any fixed vertex order terminates and returns exactly the skeleton of and records a d-separating set for every deleted pair. At its collider-orientation stage it orients exactly the unshielded colliders of ; after R1–R3 closure it returns the CPDAG for the Markov-equivalence class of .
Statement references
Facts & Assumptions
Given: AC, a finite observed DAG and law in the discovery regime, and a fixed-order perfect conditional-independence oracle.
The discovery regime supplies a finite observed DAG, full-joint parent-kernel factorization, faithfulness, and the exact conditional-independence oracle; AC is assumed. Causally sufficient perfect-oracle discovery regime
Under AC, a finite topological probability-kernel factorization implies the global Markov property: d-separation implies conditional independence. DAG factorization implies the global Markov property
Faithfulness gives the converse: conditional independence implies d-separation. Faithfulness of a law to a DAG
A pair is adjacent in a finite DAG exactly when no conditioning set d-separates it. DAG adjacency is equivalent to having no separating set
A separating set for an unshielded triple's endpoints omits the middle vertex exactly when that triple is a collider. A separating set identifies an unshielded collider
The population PC algorithm searches levels in order, stores the first separating set, then orients unshielded colliders and closes under R1–R3. Population PC causal-discovery algorithm
The initialized collider pattern closed under R1–R3 is the CPDAG of the DAG's Markov-equivalence class. The background-free Meek rules complete a CPDAG
A path is active given when every internal noncollider is outside and every collider has a descendant in , including itself. Paths, active paths, and d-separation in a finite DAG
AC is required by the supplied probability interfaces in [F1] and [F2]; no graph-theoretic step uses it. The Axiom of Choice
Proof
Given: The hypotheses in the Statement.
By [F2], every d-separation in is a conditional independence in its law. By [F3], every conditional independence is a d-separation. Since the oracle is exact by [F1], it answers “independent” exactly for d-separated pairs and sets.
The skeleton search terminates. If , it has no pairs to test and stops at level . Otherwise, at each level it processes finitely many pairs and finitely many subsets. An endpoint has at most neighbors other than the other endpoint, so at level no remaining edge can meet the condition requiring at least such neighbors; the level therefore cannot be incremented past this finite bound. The orientation phase scans finitely many rule instances on the finite vertex set. Every successful application directs one previously undirected edge, which is never undirected again, so there are at most successful applications before a scan finds none. Both phases, and hence the algorithm, terminate.
For a nonadjacent pair, acyclicity permits labeling its endpoints so that is not a descendant of . Put , which excludes both endpoints. Every path starting with an arrow into is blocked by its first internal vertex, a parent in and a noncollider. On any path starting with an arrow out of , there must be a first reversal of arrow direction, since is not a descendant of . The vertex at that reversal is a collider reached by a directed path from . It cannot have a descendant in , since a directed path from that collider to a parent of would close a directed cycle through . This path is also blocked by [F8]. Thus d-separates the endpoints.
Every true skeleton edge remains in the search graph: by [F4] no allowed conditioning set d-separates its endpoints, so step 1.1 makes every oracle answer dependent. For a nonedge, step 1.3 supplies after possibly interchanging endpoints. Every vertex of remains adjacent to , since all true edges remain. At each level while this nonedge remains, endpoint has at least other neighbors. The stopping condition therefore cannot stop before level . If the nonedge has not already been deleted, at that level the search either deletes it on an earlier separating set or tests and deletes it. Thus the returned skeleton is exactly the skeleton of .
Every set recorded when an edge is deleted was accepted by the exact oracle. By step 1.1 it d-separates the deleted endpoints. Since the skeleton from step 2.1 is exact, each unshielded triple is an unshielded triple of ; [F5] shows the algorithm orients its middle vertex as a collider exactly when it is a collider in .
The algorithm then applies R1–R3 to closure. Its pattern has the exact skeleton and exactly the unshielded colliders of by steps 2.1–3.1. Applying [F7] gives the CPDAG of . By step 1.2 the finite procedure terminates, so this is the algorithm's output.
High-dimensional consistency of Gaussian PC structure learning
Statement
Assume AC. For each , let observed variables form a finite causally sufficient Markovian recursive structural causal model over a DAG . Assume the full-joint law is nondegenerate Gaussian, has a finite topological parent-kernel factorization, and is faithful to . Let be independent observations from that law. Let be an integer with that bounds the maximum degree of the skeleton of . Suppose, for constants , , , and , and every population partial correlation with satisfies , while each nonzero such partial correlation has . For sufficiently large with , and for each tested pair and conditioning set, define the two-sided Fisher statistic Declare conditional independence exactly when and for larger conditioning sets assign the test answer “dependent.” If a tested sample covariance block is not positive definite, also assign “dependent”; this affects only a probability-zero event for sufficiently large . Run the PC skeleton and orientation steps in any fixed vertex order using conditioning sets of size at most , with as the maximum level cap: after each level, stop if the ordinary degree stopping condition holds or the current level equals , then orient unshielded colliders and close under R1–R3. If a proposed orientation conflicts with an existing arrow or would create a directed cycle, stop and return a failure symbol. Then for all sufficiently large the output equals the CPDAG of with probability at least for some constant independent of . This is a theoretical threshold: it depends on the unknown lower bound .
Statement references
Facts & Assumptions
Given: AC, the Gaussian and DAG sequence, independent observations, the degree and partial-correlation bounds, and the thresholded PC procedure in the Statement.
The sample partial correlation is the residual correlation after projecting off the intercept and conditioning columns; the Fisher transform is . Sample partial correlation by residualization
Gaussian partial correlation is the normalized off-diagonal entry of the conditional covariance block. Gaussian partial correlation
For a nondegenerate Gaussian law, zero partial correlation is equivalent to conditional independence. Zero Gaussian partial correlation is conditional independence
Uniformly over tested pairs and sets with , the Fisher-transform error has tail at most for . Uniform concentration of Gaussian sample partial correlations
The population PC algorithm terminates and recovers the CPDAG when its oracle gives exact conditional-independence answers. The PC algorithm recovers the oracle CPDAG
The population PC algorithm tests current-adjacency subsets in level order, then orients colliders and closes under R1–R3. Population PC causal-discovery algorithm
The parent-kernel factorization implies d-separation conditional independence, and faithfulness gives the reverse implication. DAG factorization implies the global Markov property Faithfulness of a law to a DAG
Two vertices of a finite DAG are adjacent exactly when no allowed conditioning set d-separates them. DAG adjacency is equivalent to having no separating set
The finite observed Markovian SCM, full-joint factorization, and faithfulness conditions are those of the discovery regime. Causally sufficient perfect-oracle discovery regime
A path is active given when every internal noncollider is outside and every collider has a descendant in , including itself. Paths, active paths, and d-separation in a finite DAG
AC is required by the Gaussian conditional-independence and recursive-model probability interfaces. The Axiom of Choice
Proof
Given: The hypotheses in the Statement.
Since with , eventually , so [F1] makes every sample statistic in the capped search defined almost surely. The sample procedure terminates for every answer sequence: it processes at most finite levels, each with finitely many pair-and-subset tests, and its finite orientation phase either stops at a conflict or cycle, or directs at most edges. Since , take in [F4]. For every tested triple , the probability that is at most . For large , and , so each such probability is at most for a constant .
For any nonedge of , label its endpoints so that is not a descendant of , as acyclicity permits, and put . This set excludes both endpoints and has size at most . A path entering is blocked at its first internal vertex, a conditioned parent and noncollider. A path initially leaving has a first reversal, since is not a descendant. At that reversal is a collider reached by a directed path from ; it has no descendant in , since otherwise a directed path back through a parent would close a directed cycle through . Thus every such path is blocked by [F10], and d-separates .
There are at most distinct pair-and-set tests, since and . A union bound, which requires no independence between tests, shows that the event on which every test of size at most has Fisher-transform error at most has failure probability at most The assumptions imply eventually and , because . Thus, after reducing the positive constant in the exponent, for all sufficiently large .
On , if , then [F1] gives . By [F3], this is the population conditional-independence case. Hence , so the test declares independence. If , then [F2] and the lower-bound hypothesis give , and because for . Therefore . Since , for all sufficiently large we have , so and the test declares dependence. By [F3] these are exactly the dependent cases.
On the capped sample PC search makes the same decisions as the uncapped perfect-oracle procedure through level . True edges are never removed, because [F8] excludes d-separation for their endpoints and [F7] makes every such test dependent. For each nonedge, step 1.2 supplies a separating parent set of size at most . Its parent edges remain, so while the nonedge remains the endpoint has enough neighbors to prevent stopping before the separator's level. At that level either an earlier set deletes the nonedge or the parent set is tested and deletes it. Thus every nonedge is removed no later than level . Thus by completion of that level the sample search and the perfect-oracle run have the exact skeleton and the same separating records. The oracle run cannot need another level: on an exact skeleton of maximum degree at most , no remaining edge can have an endpoint with the other neighbors required to advance after level . If either run stops earlier by its ordinary degree condition, their identical decisions make both stop; otherwise both stop after level , the sample run by its cap. Their collider and R1–R3 orientations therefore agree. The oracle orientations are consistent with by [F5], so neither a conflict nor a directed cycle occurs on . Hence the failure branch is never used on , and [F5] identifies the oracle run's output, hence the sample output, as the CPDAG of .
The only failure event is contained in , whose probability has the bound from step 2.1. Step 4.1 identifies the output on as the CPDAG. This proves the stated consistency bound. The threshold uses , so the theorem does not provide a data-driven choice of that parameter.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §§2.1–2.2
- Meek, Causal Inference and Causal Explanation with Background Knowledge, §1.1
- Lauritzen, Graphical Models lecture notes, §2.6
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §2.1
- Lauritzen, Graphical Models lecture notes, Lemma 2.57
- Lauritzen, Graphical Models lecture notes, Lemma 2.59
- Meek, Causal Inference and Causal Explanation with Background Knowledge, §1.1, Theorem 1
- Meek, Causal Inference and Causal Explanation with Background Knowledge, Appendix
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §2.2.2
- Lauritzen, Graphical Models lecture notes, §4.1.3, Proposition 4.2, pp. 97–98
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §2.3
- Meek, Causal Inference and Causal Explanation with Background Knowledge, §2.1
- Meek, Causal Inference and Causal Explanation with Background Knowledge, Theorem 1
- Lauritzen, Graphical Models lecture notes, Theorem 2.62 and Lemmas 2.57–2.61
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §§2.2.1 and 2.3
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, Proposition 2
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, Appendix A.2.1, Lemma 3, printed p. 631
- Meek, Causal Inference and Causal Explanation with Background Knowledge, §§2.1–2.3 and Appendix
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §§2.1.1 and 2.3
- Meek, Causal Inference and Causal Explanation with Background Knowledge, §§1.3–2.3
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, Theorems 1–2 and Appendix A.2.3