Causality and Semantic Separation
Anna Zhang, Qinglan Luo, London Bielicke, Eunice Jun, Adam Chlipala
Abstract
The design of scientific experiments deserves its own variation of formal verification to catch cases where scientists made important mistakes, such as forgetting to take confounding variables into account. One of the most fundamental underpinnings of science is causality , or what it means for interventions in the world to cause other outcomes, as formalized by computer scientists like Judea Pearl. However, these ideas had not previously been made rigorous to the standards of the programming-languages community, where one expects a (syntactic) program analysis to be proved sound with respect to a natural semantics. In the domain of causality, as the relevant “program analysis,” we focus on d- separation , a classic condition on graphs that can be used to decide when the design of an experiment controls for sufficiently many confounding variables, even though the reason that this condition works is often unintuitive. Our central result (mechanized in Rocq) is that d -separation exactly coincides with a novel semantic definition inspired by noninterference from the theory of security. This characterization provides a structural semantic foundation for d -separation and helps explain why the graph-theoretic condition is correct, independently of probabilistic assumptions. For each given automated test on the quality of an experiment design, our theorem justifies an associated method for falsifying the world-modeling hypothesis behind the experiment.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 87b4feac-f7ab-44d5-a284-56f438db5e29Builds on2
- Tisane: Authoring Statistical Models via Formal Reasoning from Conceptual and Data RelationshipsEunice Jun, Audrey Seo, Jeffrey Heer, René JustCHI 2022 · 24 citations
- rTisane: Externalizing conceptual models for data analysis prompts reconsideration of domain assumptions and facilitates statistical modelingEunice Jun, Edward Misback, Jeffrey Heer, René JustCHI 2024 · 3 citations
Related papers
- Counterfactual Graphical Models: Constraints and InferenceJuan D. Correa, Elias BareinboimICML 2025
- Characterization and Learning of Causal Graphs from Hard InterventionsZihan Zhou, Muhammad Qasim Elahi, Murat KocaogluNeurIPS 2025 · 4 citations
- Causal DAG SummarizationAnna Zeng, Michael J. Cafarella, Batya Kenig, Markos Markakis et al.VLDB 2025 · 4 citations
- Relaxing partition admissibility in Cluster-DAGs: a causal calculus with arbitrary variable clusteringClément Yvernes, Emilie Devijver, Adèle H. Ribeiro, Marianne Clausel et al.NeurIPS 2025 · 4 citations
- Causality in Configurable Software SystemsClemens Dubslaff, Kallistos Weis, Christel Baier, Sven ApelICSE 2022 · 24 citations
