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 — Examples
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
- PC algorithm and Markov-equivalence structure learning
- 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
None yet.
4 · Examples, counterexamples and false statements
PC distinguishes a chain from an unshielded collider
Example
Let all exogenous variables below be mutually independent standard normals. The chain model is , , , with graph . The collider model is , , , with graph . For a perfect conditional-independence oracle, PC retains an undirected chain in the first model and orients both arrows into in the second: the chain's unique endpoint separator contains , whereas the collider's endpoint separator is empty.
diagram failed to render:
\begin{tikzpicture}[>=stealth, node distance=19mm]
\node at (0,0) (x1) {$X$}; \node at (1.7,0) (y1) {$Y$}; \node at (3.4,0) (z1) {$Z$};
\draw[->] (x1) -- (y1); \draw[->] (y1) -- (z1);
\node at (1.7,-0.55) {chain};
\node at (0,-1.5) (x2) {$X$}; \node at (1.7,-1.5) (y2) {$Y$}; \node at (3.4,-1.5) (z2) {$Z$};
\draw[->] (x2) -- (y2); \draw[<-] (y2) -- (z2);
\node at (1.7,-2.05) {collider};
\end{tikzpicture}The diagrams use vertices for variables and arrows for structural parenthood; they illustrate the two DAGs but are not used in the verification.
Example references
Facts & Assumptions
Given: Independent exogenous variables and the two recursive Gaussian models in the Example.
Finite independent sums and affine shifts have the stated characteristic-function formulas. Independent random elements Characteristic functions under affine maps and independent sums
The standard normal has density , scalar normal laws have characteristic function , and equal scalar characteristic functions determine equal laws. Standard normal and normal laws Characteristic function of a normal law Uniqueness of a law from its characteristic function
A finite vector is multivariate normal when every scalar linear projection has its corresponding normal law. Multivariate normal law, including singular covariance
For a nondegenerate Gaussian vector, zero conditional covariance between two coordinates is equivalent to conditional independence given the conditioning coordinates. Zero Gaussian partial correlation is conditional independence
PC deletes a pair at the first conditioning level with a separating set, records that set, orients an unshielded triple as a collider exactly when the middle vertex is absent from its recorded set, then applies R1–R3. Population PC causal-discovery algorithm
The middle vertex of an unshielded triple lies outside a valid separating set exactly when the triple is a collider. A separating set identifies an unshielded collider
A Gaussian law is faithful to a DAG when its conditional independences agree exactly with that DAG's d-separations. Causally sufficient perfect-oracle discovery regime
A recursive SCM is Markovian when its exogenous variables are mutually independent; its displayed structural functions define the endogenous variables along the graph. Recursive structural causal models on finite DAGs
Under the causally sufficient perfect-oracle regime, population PC terminates and returns the DAG's CPDAG. The PC algorithm recovers the oracle CPDAG
D-separation requires every path between the queried vertex sets to be blocked by the conditioning set. Paths, active paths, and d-separation in a finite DAG
AC is assumed by the supplied Gaussian probability interfaces. The Axiom of Choice
Verification
Let be a finite independent family of scalar normal variables with means and variances . For any real coefficients , [F1]–[F2] give the characteristic function of as ; scalar uniqueness identifies this as the normal law with that mean and variance. Every scalar projection of a finite affine image of is such a sum, so [F3] proves that every such image is multivariate normal, including when a projection has variance zero.
The chain model's density is , where is the standard-normal density. Its factors are exactly the parent probability kernels , , and , so the full-joint law factorizes in the topological order . All three vertices are observed and [F8] gives the Markovian SCM condition. Its moments are , , , and distinct covariances , , . The vector is multivariate normal by step 1.1, and its covariance matrix is positive definite because is an invertible triangular linear transform of . The conditional covariance formula gives Together with the nonzero marginal covariances, [F4] shows that the only conditional independence between distinct variables is . By [F10], the only d-separated vertex pair is also given : the adjacent pairs have an active one-edge path, and the – path is blocked only by conditioning on . Any conditional independence between vertex sets would imply the corresponding coordinate independences, so the set-level independence and d-separation models also agree. This verifies faithfulness in [F7].
The collider model's density is . Its factors are exactly the parent probability kernels , , and , so the full-joint law factorizes in the topological order . All vertices are observed and [F8] gives the Markovian SCM condition. Its variances are , , its covariances are , and . The vector is multivariate normal by step 1.1, and this covariance matrix is positive definite by the invertible triangular map from the exogenous variables. The conditional covariances are Therefore [F4] shows that marginally, but there is no conditional independence after conditioning on the third variable and no independence for an adjacent pair. By [F10], this is exactly the collider DAG's d-separation list: the collider path is blocked unconditioned and opened by conditioning on , while each adjacent pair has an active one-edge path. Any set conditional independence would imply coordinate independences, so [F7] holds at the set level as well.
Thus PC does not delete any pair at level . At level , is deleted and its separator is recorded as ; and remain because step 2.1 shows that each is dependent both marginally and conditional on the third variable. The sole unshielded triple has its middle vertex in the separator, so [F5] or [F6] leaves both edges undirected. No Meek rule applies without a directed edge, and the output is the undirected chain CPDAG. The run terminates under [F9], since step 2.1 verifies the chain model's discovery-regime hypotheses.
PC deletes at level and records the empty separator. It retains and by their nonzero marginal covariances. Since is absent from the separator, [F5] orients ; the output is the collider CPDAG. The run terminates under [F9], since step 2.2 verifies the collider model's discovery-regime hypotheses. These calculations verify both claimed outputs without relying on the diagrams.
A hidden common cause is observationally indistinguishable from an edge
Example
Let be independent standard normals and set , , with latent common-cause graph and ; only are observed. Their joint law is the same as that of the observed direct-edge model , , where and are independent. A perfect observational PC oracle therefore returns the undirected edge . This identifies an association but cannot distinguish the hidden common cause from a direct causal edge, and the latent model violates the observed-only causal-sufficiency requirement.
diagram failed to render:
\begin{tikzpicture}[>=stealth, node distance=16mm]
\node[draw,dashed,rounded corners,inner sep=2pt] at (0,0) (l) {$L$};
\node at (1.6,0) (x) {$X$}; \node at (1.6,-1.3) (y) {$Y$};
\draw[->] (l) -- (x); \draw[->] (l) -- (y);
\node at (0,0.6) {latent model};
\node at (4,0) (x2) {$X$}; \node at (5.6,0) (y2) {$Y$};
\draw[->] (x2) -- (y2);
\node at (4.8,0.6) {observed direct-edge model};
\end{tikzpicture}Arrows represent structural causes, the dashed box marks the unobserved vertex, and the second graph is a different model with the same observed law. The diagram is explanatory; equality of laws and the PC output are verified below.
Example references
Facts & Assumptions
Given: Independent Gaussian exogenous variables in the latent model and independent variables in the direct-edge model.
A recursive structural causal model may distinguish observed and latent vertices; its Markovian case uses mutually independent exogenous variables. Recursive structural causal models on finite DAGs
The causally sufficient discovery regime requires every graph vertex to be observed and the full-joint law to have a parent-kernel factorization, so an omitted latent vertex is outside that regime. Causally sufficient perfect-oracle discovery regime
Independent scalar normal inputs have product characteristic functions, and finite affine sums use the scalar normal characteristic formula and scalar uniqueness. Independent random elements Standard normal and normal laws Characteristic functions under affine maps and independent sums Characteristic function of a normal law Uniqueness of a law from its characteristic function
A finite vector is multivariate normal when every scalar linear projection has its corresponding normal law. Multivariate normal law, including singular covariance
A multivariate normal law has characteristic function , and this function uniquely determines its vector law. Characteristic function of a multivariate normal law
DAGs with the same skeleton and no unshielded colliders are Markov equivalent. DAG Markov equivalence is determined by skeletons and unshielded colliders
With two vertices, a CPDAG leaves the only edge undirected when both orientations occur among equivalent DAGs. DAG Markov equivalence, patterns, and CPDAGs
PC retains an edge unless a tested conditioning set establishes independence; with two vertices it has no unshielded triples or Meek-rule configurations. Population PC causal-discovery algorithm
Under the causally sufficient perfect-oracle regime, population PC terminates and returns the DAG's CPDAG. The PC algorithm recovers the oracle CPDAG
AC is assumed by the Gaussian-law probability interfaces. The Axiom of Choice
Verification
Let be a finite independent family of scalar normal variables with means and variances . For real coefficients , [F3] gives the characteristic function of as ; scalar uniqueness identifies this as the normal law with that mean and variance. Every scalar projection of a finite affine image of is such a sum, so [F4] proves that every such image is multivariate normal, including when a projection has variance zero.
In the latent model, , , and , by independence of . In the direct-edge model, , , , and . Both vectors are Gaussian by step 1.1 and have the same positive-definite covariance matrix , whose leading principal minors are and . By [F5], both vector characteristic functions equal for every ; the uniqueness clause of [F5] gives equality of the full observed laws.
The latent model is a finite recursive Markovian SCM with observed set and omitted latent vertex , so it does not satisfy [F2]. The direct-edge model has observed set and independent exogenous variables; its full-joint law factors as , the root probability kernel for followed by the probability kernel for given its parent . In its two-vertex graph , the only pair of nonempty disjoint endpoint sets is , which is not d-separated because of the direct path; step 2.1 gives , so they are not independent. Thus this law is faithful to the direct-edge DAG, and the direct-edge model satisfies the observed-only Markovian factorization and faithfulness conditions in the discovery regime. Since the observed laws agree by step 2.1, no procedure using only that law can distinguish the two causal explanations.
The common observed law has , so are dependent and the perfect oracle does not delete their only edge. With only two vertices there is no unshielded triple and none of R1–R3 applies; by [F9] the regime-compliant run terminates, and its computed output is . Reversing the single edge in the direct-edge DAG keeps the same skeleton and no unshielded collider, so [F6] proves the reverse DAG is equivalent; [F7] therefore gives the same undirected CPDAG. The PC output reports adjacency but cannot recover the latent-versus-direct causal distinction.
A complete three-vertex skeleton has several equivalent DAGs
Example
On vertices , the DAGs , , and , , have the same complete skeleton and no unshielded colliders. They are Markov equivalent. Suppose the first DAG has a full-joint law from an observed-only Markovian recursive model with a topological parent-kernel factorization, faithful to that DAG, and a perfect conditional-independence oracle for that law. Each edge points in opposite directions in the two DAGs, so their CPDAG is the fully undirected triangle; perfect-oracle PC retains all three edges and returns that pattern.
diagram failed to render:
\begin{tikzpicture}[>=stealth, node distance=15mm]
\node at (0,0) (a1) {$A$}; \node at (1.5,0) (b1) {$B$}; \node at (0,-1.3) (c1) {$C$};
\draw[->] (a1) -- (b1); \draw[->] (a1) -- (c1); \draw[->] (b1) -- (c1);
\node at (4,0) (a2) {$A$}; \node at (2.5,0) (b2) {$B$}; \node at (4,-1.3) (c2) {$C$};
\draw[->] (b2) -- (a2); \draw[->] (c2) -- (a2); \draw[->] (c2) -- (b2);
\node at (0,-3.1) (a3) {$A$}; \node at (1.5,-3.1) (b3) {$B$}; \node at (0,-4.4) (c3) {$C$};
\draw[-] (a3) -- (b3); \draw[-] (a3) -- (c3); \draw[-] (b3) -- (c3);
\node at (0.75,0.55) {first DAG};
\node at (3.25,0.55) {second DAG};
\node at (0.75,-5) {CPDAG};
\end{tikzpicture}Vertices denote graph variables, arrows denote directed edges, and plain segments denote undirected edges. The pictures illustrate the edge orientations; the verification uses the path and equivalence definitions directly.
Example references
Facts & Assumptions
Given: The two finite DAGs, the first DAG's observed-only Markovian recursive model and full-joint parent-kernel factorization, its faithful law, and its perfect conditional-independence oracle.
A direct one-edge path has no internal vertices and is active under every conditioning set disjoint from its endpoints. Paths, active paths, and d-separation in a finite DAG
DAGs are Markov equivalent exactly when their skeletons and unshielded colliders agree. DAG Markov equivalence is determined by skeletons and unshielded colliders
A CPDAG directs exactly the edges with one orientation throughout the class and leaves an edge undirected when both directions occur. DAG Markov equivalence, patterns, and CPDAGs
PC deletes a pair only after a conditional-independence answer, then orients unshielded colliders and closes under R1–R3. Population PC causal-discovery algorithm
The background-free R1–R3 closure of the collider pattern is the CPDAG. The background-free Meek rules complete a CPDAG
The causally sufficient discovery regime supplies the observed-only Markovian parent-kernel model, faithfulness to the first DAG, and the exact oracle; hence oracle independences agree with its d-separations. Causally sufficient perfect-oracle discovery regime
Verification
Each graph has all three possible edges, so there is no triple with nonadjacent endpoints and in particular no unshielded collider. Their skeletons and unshielded colliders agree; [F2] proves Markov equivalence. Every distinct pair has a direct active path under every allowed conditioning set by [F1], so neither DAG has a d-separation between distinct vertices. Faithfulness in [F6] makes the oracle dependent on every pair and set.
In the two DAGs, the orientations of , , and are respectively versus , versus , and versus . Thus each edge is oriented both ways in the equivalence class, and [F3] makes every edge undirected in the CPDAG.
The perfect oracle never reports independence for any pair by step 1.1, so the algorithm deletes no edge. With three vertices, after the level- tests the complete triangle permits level ; at level each pair has only one possible conditioning vertex at each endpoint, and the oracle again returns dependence by step 1.1. The stopping condition then fails because an endpoint has at most one neighbor other than the other endpoint, fewer than the required two. Thus the skeleton search terminates. There is no unshielded triple to orient, and none of R1–R3 can fire because each requires at least one directed edge; the finite orientation scan therefore terminates as well. PC returns the undirected triangle, which [F5] identifies with the CPDAG found in step 1.2. The diagram is only a rendering of these verified adjacencies and orientations.
Sources
- 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
- Kalisch and Bühlmann, Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm, §2.1
- Meek, Causal Inference and Causal Explanation with Background Knowledge, §1.1
- Meek, Causal Inference and Causal Explanation with Background Knowledge, Theorem 1
- Lauritzen, Graphical Models lecture notes, Theorem 2.62