⊢mathematics.distributed.systems
Proof Tree / Graphs & Designs / Heffter Arrays, Golomb & Designs / open-causal-inference-do-calculus-identifiability
KERNEL VERIFIED · 0 WARNINGS Graphs & Designs · Heffter Arrays, Golomb & Designs Initiated by Arthur Collé 1/1 verified files · ⊢ 79 theorems

Structural Causal Models, Finite-DAG d-Separation, Exact Do-Calculus Identifiability, Balke–Pearl IV Polytope, Tian–Pearl PNS Bounds & Simpson Reversal

Unifies all three rungs of Pearl's Causal Hierarchy on arbitrary finite DAGs (FinDAG n) and discrete SCMs in a single zero-warning Lean 4 formalization: (1) Finite-DAG Markov Factorization, Functional SCM Pushforward & Exact d-Separation Soundness (walk-to-simple-path reduction + Lauritzen–Dawid–Larsen–Leimer ancestral moralization proving Global & Local Markov soundness of d-separation, plus Berkson collider & cancelling-path faithfulness counterexamples); (2) Pearl's Three Rules of Do-Calculus, Backdoor & Arbitrary-$U$ Frontdoor Adjustment (Rule 1 general & Rules 2–3 single-node via root-augmented regime-switching models yielding exact Backdoor & arbitrary-$U$ Frontdoor Adjustment, plus strictly positive Bow-Graph & Broken-Frontdoor non-identifiability); (3) Exact 16-Type Balke–Pearl IV LP Polytope & Wald/LATE (necessary & sufficient Pearl 4 instrumental inequalities, all 8 lower + 8 upper dual bounds, 4-line closed-form Fréchet–Knapsack universal sharpness, strict Manski–Robins point-ID & sign-certification separations, & Imbens–Angrist Wald/LATE); and (4) Simultaneously Universally Sharp Tian–Pearl Counterfactual PNS/PN/PS Bounds & Simpson's Paradox Resolution (decoupled $2\times 2$ Fréchet–Hoeffding tables, monotonicity identification, & identical-joint Confounder $+1/8$ vs. Mediator $-3/16$ DAGModel resolution) (79 verified declarations, 4,628 lines, 35/35 clean axioms).

Contribution status

Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.

How results are classified
⊢ TL;DR & Key Verified Results
Field Context (Heffter Arrays, Golomb & Designs): Balanced integer arrays, cyclic graph decompositions, Golomb rulers, and orthogonal matrices.

Unifies all three rungs of Pearl's Causal Hierarchy on arbitrary finite DAGs (FinDAG n) and discrete SCMs (79 verified declarations, 4,628 lines, 35/35 clean axioms): proves topological Markov factorization, Functional SCM pushforward equivalence, walk-to-simple-path + Lauritzen–Dawid–Larsen–Leimer ancestral moralization yielding exact Global & Local Markov soundness of d-separation, plus Berkson collider & cancelling-path faithfulness counterexamples; proves Pearl's Three Rules of Do-Calculus (Rule 1 general; Rules 2–3 single-node via root-augmented regime-switching models) yielding exact Backdoor & arbitrary-$U$ Frontdoor Adjustment plus strictly positive Bow-Graph & Broken-Frontdoor non-identifiability; proves the exact 16-type Balke–Pearl IV LP polytope (N&S Pearl 4 instrumental inequalities, all 8 lower + 8 upper dual bounds, 4-line closed-form Fréchet–Knapsack universal sharpness, strict Manski–Robins point-ID & sign-certification separations, & Imbens–Angrist Wald/LATE); and proves simultaneously universally sharp Tian–Pearl PNS/PN/PS counterfactual bounds via decoupled $2\times 2$ Fréchet–Hoeffding tables, monotonicity identification, & Simpson's Paradox resolved by identical-joint Confounder ($+1/8$) vs. Mediator ($-3/16$) DAGModels.

⊢ DAGModel.dSep_soundness_global_markov
Exact d-Separation Soundness, Pearl Do-Calculus Rules I–III, Backdoor & Arbitrary-$U$ Frontdoor: Proves Global/Local Markov via Lauritzen–Dawid–Larsen–Leimer moralization, Do-Calculus via regime-switching DAGs, exact Backdoor/Frontdoor, & Bow/Broken-Frontdoor counterexamples.
Exact 16-Type Balke–Pearl IV LP Polytope & Closed-Form Fréchet–Knapsack Universal Sharpness: Proves N&S Pearl 4 instrumental inequalities, all 8 lower + 8 upper duals, universal sharpness via a 4-line primal solver, strict Manski–Robins separations, & Wald/LATE.
Simultaneously Sharp Tian–Pearl Counterfactual PNS/PN/PS Bounds & Simpson's Paradox Resolution: Proves universal sharpness via decoupled $2\times 2$ Fréchet–Hoeffding tables, monotonicity identification, & identical-joint Confounder ($+1/8$) vs. Mediator ($-3/16$) DAGModels.
Prior Art, Upstream Literature & Scholarly Attribution SOURCE CONTEXT
Local Proof Scope (Priority Not Established): Single standalone Mathlib-only Lean 4 file (CausalDoCalculusIdentifiability.lean, 4,628 lines, 79 verified declarations, 35/35 clean axioms) plus exact-rational Python verification (verify_causal_identifiability.py) proving DAGModel.dSep_soundness_global_markov, doCalculus_rule1, doCalculus_rule2_single, doCalculus_rule3_single, backdoor_adjustment_theorem, frontdoor_adjustment_theorem, iv_realizable_iff_pearl_inequalities, balkePearl_lower_universally_sharp, balkePearl_upper_universally_sharp, wald_late_identification_under_monotonicity, tianPearl_pns_universally_sharp, and simpson_confounder_vs_mediator_resolution.

⊢ Mathematical Constructions & Proof Explorer

Raw .lean
—

Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.

Mathematical Overview & Verification Notes

TL;DR. We prove and machine-verify in Lean 4 a complete, non-asymptotic mathematical foundation across all three rungs of Pearl's Causal Hierarchy on arbitrary finite DAGs and discrete structural causal models: (1) topological Markov factorization, pushforward equivalence of Markovian Functional SCMs, ancestral truncation, and exact Global & Local Markov soundness of path-based d-separation via walk-to-simple-path reduction and the Lauritzen–Dawid–Larsen–Leimer ancestral moralization bridge, paired with explicit Berkson collider-bias and cancelling-path faithfulness counterexamples; (2) Pearl's Three Rules of Do-Calculus (Rule 1 for arbitrary sets; Rules 2–3 for a single intervened node $z$, with set-valued $Z$ not formalized) via root-augmented regime-switching models, yielding the exact Backdoor Adjustment Theorem on arbitrary finite DAGs, the exact Frontdoor Adjustment Theorem under arbitrary unobserved confounding $U$, and strictly positive observational-equivalence non-identifiability counterexamples on the Bow Graph and Broken Frontdoor; (3) the exact 16-response-type Balke–Pearl Instrumental-Variable (IV) linear-programming polytope — proving Pearl's four instrumental inequalities are exact necessary-and-sufficient feasibility conditions, certifying all 8 lower and 8 upper Balke–Pearl LP dual bounds, proving universal sharpness for every IV-feasible distribution via an explicit 4-line closed-form Fréchet–Knapsack primal construction, exhibiting strict point-identification and causal-sign separations over Manski–Robins bounds, and proving Imbens–Angrist Wald/LATE identification under monotonicity; and (4) exact simultaneously universally sharp Tian–Pearl counterfactual bounds on $\mathrm{PNS}, \mathrm{PN}, \mathrm{PS}$ via decoupled $2 \times 2$ Fréchet–Hoeffding tables, exact monotonicity identification and falsifiability, and a necessary-and-sufficient algebraic characterization of Simpson's Paradox resolved by two DAGModels sharing the identical strictly positive observational joint $P(X, Z, Y)$ (with verified $+1/8$ stratum effects and $-3/16$ crude difference) yet yielding opposite-signed causal ATEs ($+1/8$ under Confounder vs. $-3/16$ under Mediator).

  • Lean 4 formalization: CausalDoCalculusIdentifiability.lean (4,628 lines; compiles in ~26.1s via cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && lake env lean ...; 0 errors, 0 warnings, no custom axioms, 35/35 #print axioms strictly ⊆ {propext, Classical.choice, Quot.sound})
  • Python verification suite: verify_causal_identifiability.py (standard-library exact fractions.Fraction verification; passes python3 -W error)

1. Mathematical Architecture Across the Four Pillars

Pillar 1 — Finite-DAG SCMs, Interventions, Exact d-Separation Soundness & Faithfulness Violation

For any topologically ordered finite DAG $G = (\mathrm{Fin}\, n, E)$ ($E(i, j) \implies i < j$) and finite state-space family $\Omega : \mathrm{Fin}\, n \to \mathrm{Type}$:

  1. Acyclicity, Markov Factorization & Functional SCM Pushforward (FinDAG.no_directed_cycle, DAGModel.marginal_ancestral_eq_prod, DAGModel.jointDist_sum_eq_one, FunctionalSCM.pushforward_eq_jointDist):
    • Every Markovian Functional SCM with mutually independent exogenous distributions $P_{U_i}$ and structural equations $f_i(\mathrm{Pa}_i, u_i)$ admits a unique topological evaluation map eval u whose pushforward distribution coincides identically with the Markov product $P(x) = \prod_{i=0}^{n-1} \mathrm{cpt}_i(x)$.
    • For every ancestral set $A$ (IsAncestral G A), all non-ancestors marginalize out identically:
      $$P(x_A) = \prod_{i \in A} \mathrm{cpt}_i(x), \qquad \sum_x P(x) = 1.$$
    • Intervening via doModel M S val replaces $\mathrm{cpt}_i$ ($i \in S$) with $\mathbf{1}_{x_i = \mathrm{val}_i}$ on the incoming-mutilated DAG $G_{\overline{S}}$, preserving normalization (DAGModel.doModel_sum_eq_one).
  2. Exact Global & Local Markov Soundness of d-Separation (FinDAG.exists_activePath_of_activeWalk, FinDAG.moralSep_of_dSep, DAGModel.dSep_soundness_global_markov, DAGModel.local_markov_property):
    • With DSep G X Y Z defined via vertex-simple (Nodup) active trails (non-colliders outside $Z$; colliders inside $\mathrm{Anc}_G(Z)$), we prove:
      • Walk-to-Simple-Path Reduction: Acyclicity guarantees every active walk shortcutting repeated vertices preserves activeness, yielding a vertex-simple active path.
      • Lauritzen–Dawid–Larsen–Leimer Moralization Bridge: DSep G X Y Z implies separation in the ancestral moral graph $\mathrm{Moral}(G_{\mathrm{Anc}(X \cup Y \cup Z)}) \setminus Z$ (via blocked-collider elimination on semi-active moral-path expansions).
      • Global Markov Property: Moral separation partitions $\mathrm{Anc}(X \cup Y \cup Z) \setminus Z$ into $U_1 \supseteq X$ and $U_2 \supseteq Y$ with no moral edges across $(U_1, U_2)$, factoring $\prod_{i \in A} \mathrm{cpt}_i(x) = f(x_{U_1}, x_Z)\, g(x_{U_2}, x_Z)$ and yielding exact conditional independence
        $$P(x_X, x_Y, x_Z) \cdot P(x_Z) = P(x_X, x_Z) \cdot P(x_Y, x_Z).$$
      • Local Markov Property: Every vertex $v$ is d-separated from and conditionally independent of its non-descendants given $\mathrm{Pa}_G(v)$.
  3. Collider Activation & Faithfulness Violation Witnesses (berkson_collider_bias_witness, faithfulness_counterexample_witness):
    • On $X \to Z \leftarrow Y$ with $Z = X \lor Y$, DSep {X} {Y} ∅ and $X \perp\!\!\!\perp Y$ hold, whereas conditioning on $Z$ breaks d-separation and induces $P(X=1, Y=1 \mid Z=1) = 1/3 \neq 4/9 = P(X=1 \mid Z=1)P(Y=1 \mid Z=1)$.
    • On the triangle $X \to M \to Y, X \to Y$, cancelling path parameters ($P(M=1|X=0)=1/4, P(M=1|X=1)=3/4$, $P(Y=1|X,M) = \frac{1}{2} - \frac{1}{8}(2X-1) + \frac{1}{4}(2M-1)$) satisfy exact marginal independence $P(X=x, Y=y) = 1/4 = P(X=x)P(Y=y)$ despite ¬ DSep {X} {Y} ∅ and non-zero controlled direct effect $P(Y=1 \mid \mathrm{do}(X=1, M=0)) - P(Y=1 \mid \mathrm{do}(X=0, M=0)) = -1/4$.

Pillar 2 — Pearl's Do-Calculus (Rules I–III), Backdoor & Frontdoor Adjustment, & Non-Identifiability

  1. Pearl's Three Rules of Do-Calculus on Arbitrary Finite DAGs (doCalculus_rule1, doCalculus_rule2_single, doCalculus_rule3_single):
    • Rule 1 (arbitrary sets $X, Y, Z, W$): DSep (G_{\overline{X}}) Y Z (X ∪ W) $\implies$ $Y \perp\!\!\!\perp Z \mid W$ under $\mathrm{do}(X = x)$.
    • Rule 2 & Rule 3 (single intervened node $z$; set-valued $Z$ not formalized): Proved on arbitrary FinDAG n via Pearl's root-augmented DAG augDAG G z : FinDAG (n + 1) with fair-coin regime indicator $F = 0 \to z.\mathrm{succ}$ (preserving topological order identically), applying dSep_soundness_global_markov and algebraic regime cancellation:
      • DSep (G_{\overline{X}, \underline{z}}) Y {z} (X ∪ W) $\implies$ $P(y, z, w \mid \mathrm{do}(x))\, P(w \mid \mathrm{do}(x, z)) = P(y, w \mid \mathrm{do}(x, z))\, P(z, w \mid \mathrm{do}(x))$.
      • $z \notin \mathrm{Anc}_{G_{\overline{X}}}(W)$ and DSep (G_{\overline{X \cup \{z\}}}) Y {z} (X ∪ W) $\implies$ $P(y, w \mid \mathrm{do}(x))\, P(w \mid \mathrm{do}(x, z)) = P(y, w \mid \mathrm{do}(x, z))\, P(w \mid \mathrm{do}(x))$.
  2. Exact Backdoor & Frontdoor Adjustment Theorems (backdoor_adjustment_theorem, frontdoor_adjustment_theorem):
    • On any FinDAG n where $Z$ contains no descendant of $X$ and DSep (G_{\underline{X}}) {Y} {X} Z, single-node Rules 2 & 3 directly yield
      $$P(Y = y \mid \mathrm{do}(X = x)) = \sum_z \frac{P(Y = y, X = x, Z = z)}{P(X = x, Z = z)}\, P(Z = z).$$
    • On the 4-node Frontdoor DAG ($U \to X, U \to Y, X \to M \to Y$) over arbitrary finite state spaces $\Omega_U, \Omega_X, \Omega_M, \Omega_Y$ (arbitrary unobserved confounder cardinality), positivity yields exact identification:
      $$P(Y = y \mid \mathrm{do}(X = x)) = \sum_m \frac{P(X = x, M = m)}{P(X = x)} \sum_{x'} \frac{P(X = x', M = m, Y = y)}{P(X = x', M = m)}\, P(X = x').$$
  3. Strictly Positive Non-Identifiability Counterexamples (bow_graph_non_identifiability, broken_frontdoor_non_identifiability):
    • Bow Graph ($U \to X, U \to Y, X \to Y$): two strictly positive binary SCMs induce the identical observational joint $P(X,Y) = (3/8, 1/8, 1/8, 3/8)$, yet have $\mathrm{ATE}_1 = 1/2$ vs. $\mathrm{ATE}_2 = 0$.
    • Broken Frontdoor ($U \to X, U \to Y, X \to M \to Y, X \to Y$): two strictly positive binary SCMs induce the identical 8-cell observational joint $P(X, M, Y)$, yet have $\mathrm{ATE}_1 = 3/8$ ($P(Y=1|\mathrm{do}(1))=11/16, P(Y=1|\mathrm{do}(0))=5/16$) vs. $\mathrm{ATE}_2 = 1/8$ ($9/16$ vs. $7/16$).

Pillar 3 — Exact Balke–Pearl IV LP Polytope, Universal Sharpness & Wald/LATE Identification

For binary IV $(Z, X, Y) \in \{0, 1\}^3$ with latent response-type distribution $q \in \Delta_{16}$ ($4$ compliance types $\times$ $4$ outcome-response types) and observational arm distributions $p_{xy \mid z} = P(X=x, Y=y \mid Z=z)$:

  1. Exact N&S Feasibility via Pearl's 4 Instrumental Inequalities (iv_realizable_iff_pearl_inequalities):
    $$(\exists\, q \in \Delta_{16},\; \mathrm{obs}(q) = p) \;\Longleftrightarrow\; p_{00|0} + p_{01|1} \le 1 \;\land\; p_{01|0} + p_{00|1} \le 1 \;\land\; p_{10|0} + p_{11|1} \le 1 \;\land\; p_{11|0} + p_{10|1} \le 1.$$
  2. Exact 8-Inequality Balke–Pearl LP Dual Bounds & Universal Sharpness (balkePearl_lower_le_ate, ate_le_balkePearl_upper, balkePearl_lower_universally_sharp, balkePearl_upper_universally_sharp):
    • Every latent IV model obeys $\mathrm{LB}_{\mathrm{MR}}(p) \le \mathrm{LB}_{\mathrm{BP}}(p) \le \mathrm{ATE}(q) \le \mathrm{UB}_{\mathrm{BP}}(p) \le \mathrm{UB}_{\mathrm{MR}}(p)$, where $\mathrm{LB}_{\mathrm{BP}}(p)$ maximizes the 4 Manski–Robins inequalities $p_{11|z} + p_{00|z'} - 1$ together with the 4 Balke–Pearl cross-arm dual vertices (always at least as tight as Manski–Robins and can be strictly tighter, as witnessed below):
      $$\begin{aligned} L_5 &= -p_{01|0} - p_{10|0} + p_{11|0} - p_{01|1} - p_{11|1}, & L_6 &= -p_{00|0} - p_{10|0} + p_{00|1} - p_{01|1} - p_{10|1}, \\ L_7 &= \phantom{-}p_{00|0} - p_{01|0} - p_{10|0} - p_{00|1} - p_{10|1}, & L_8 &= -p_{01|0} - p_{11|0} - p_{01|1} - p_{10|1} + p_{11|1}, \end{aligned}$$

      and $\mathrm{UB}_{\mathrm{BP}}(p) = -\mathrm{LB}_{\mathrm{BP}}(p^{\mathrm{flip}Y})$.
    • Closed-Form Fréchet–Knapsack Universal Sharpness: Parameterizing the 16-variable LP by never-taker/always-taker totals $(a_0, a_1, d_0, d_1)$ decouples compliers and defiers into two $2 \times 2$ Fréchet–Hoeffding tables whose ATE contributions depend solely on $(a_1, d_1)$, reducing the entire 16-variable LP to a 4-box greedy knapsack solved in closed form:
      $$d_1^* = \min(D_1, A_0 + A_1 - \Delta), \quad a_0^* = \min(A_0, D_0 + \Delta + d_1^*), \quad t = a_0^* - (\Delta + d_1^*), \quad d_0^* = t_+, \quad a_1^* = (-t)_+.$$

      This explicitly constructs primal minimizers and maximizers attaining exact equality $\mathrm{ATE}(q_{\min}) = \mathrm{LB}_{\mathrm{BP}}(p)$ and $\mathrm{ATE}(q_{\max}) = \mathrm{UB}_{\mathrm{BP}}(p)$ for every IV-feasible distribution $p$.
  3. Strict Separations over Manski–Robins & Wald/LATE Theorem (balkePearl_strict_point_id_witness, balkePearl_strict_sign_certification_witness, wald_late_identification_under_monotonicity, balkePearl_collapse_under_perfect_compliance):
    • Point-Identification Collapse: At $p_{\cdot|0} = (0, 1/2, 1/4, 1/4)$ and $p_{\cdot|1} = (1/2, 0, 1/4, 1/4)$, Manski–Robins gives $[-1/4, +1/4]$, whereas Balke–Pearl collapses to $[0, 0]$ (identifying $\mathrm{ATE} = 0$ with zero monotonicity assumptions).
    • Sign Certification: At $p_{\cdot|0} = (0, 3/8, 0, 5/8)$ and $p_{\cdot|1} = (2/8, 0, 1/8, 5/8)$, Manski–Robins gives $\mathrm{LB}_{\mathrm{MR}} = -1/8 < 0$, whereas Balke–Pearl certifies $\mathrm{ATE} \ge +1/8 > 0$.
    • Imbens–Angrist Wald/LATE Theorem: Under monotonicity (no defiers, $q_{2,j} = 0$) and positive first stage $P(X=1|Z=1) > P(X=1|Z=0)$, $\mathrm{LATE} = \frac{P(Y=1|Z=1) - P(Y=1|Z=0)}{P(X=1|Z=1) - P(X=1|Z=0)}$.

Pillar 4 — Sharp Tian–Pearl Counterfactual PNS/PN/PS Bounds & Simpson's Paradox Resolution

  1. Tian–Pearl Bounds, Simultaneous Universal Sharpness & Monotonicity (CounterfactualModel.pns_eq_weighted_pn_add_ps, tianPearl_pns_pn_ps_bounds, tianPearl_pns_universally_sharp, tianPearl_monotonicity_identification):
    • Proves $\mathrm{PNS} = p_{11}\,\mathrm{PN} + p_{00}\,\mathrm{PS}$ and the exact sharp bounds
      $$\max\!\big(0,\; P(Y_1=1)-P(Y_0=1),\; P(Y=1)-P(Y_0=1),\; P(Y_1=1)-P(Y=1)\big) \le \mathrm{PNS}$$
      $$\mathrm{PNS} \le \min\!\big(P(Y_1=1),\; 1-P(Y_0=1),\; p_{11}+p_{00},\; P(Y_1=1)-P(Y_0=1)+p_{10}+p_{01}\big),$$

      together with exact sharp bounds for $\mathrm{PN}$ and $\mathrm{PS}$ (tianPearl_pns_pn_ps_bounds), simultaneous universal attainability of all lower and upper bounds for $\mathrm{PNS}$, $\mathrm{PN}$ (when $p_{11} > 0$), and $\mathrm{PS}$ (when $p_{00} > 0$) for every compatible $(p_{00}, p_{01}, p_{10}, p_{11}, P(Y_0=1), P(Y_1=1))$ via decoupled $2 \times 2$ Fréchet–Hoeffding tables on $\{X=0\}$ and $\{X=1\}$ (tianPearl_pns_universally_sharp), and exact identification + testable inequalities $P(Y_0=1) \le P(Y=1) \le P(Y_1=1)$ under monotonicity.
  2. Exact Characterization & Causal Resolution of Simpson's Paradox (simpson_stratum_decomposition, simpson_reversal_iff, simpson_impossible_under_independence, simpson_confounder_vs_mediator_resolution):
    • Exact stratum-weight identity $R(1) - R(0) = \sum_z w_z(1)(r_z(1) - r_z(0)) + \sum_z (w_z(1) - w_z(0))\, r_z(0)$, binary necessary-and-sufficient reversal condition under non-negative arm weights and strict stratum benefit ($r_{0,0} < r_{1,0}, r_{0,1} < r_{1,1}$): $(w_{1,1} - w_{0,1})(r_{0,1} - r_{0,0}) < -(w_{1,0}\delta_0 + w_{1,1}\delta_1)$ (which strictly forces negative confounding shift $(w_{1,1} - w_{0,1})(r_{0,1} - r_{0,0}) < 0$), and algebraic impossibility of reversal under arm-stratum independence $w_1 = w_0$.
    • Explicit Confounder ($Z \to X, Z \to Y, X \to Y$) vs. Mediator ($X \to Z, Z \to Y, X \to Y$) DAGModel pair formally proving the identical strictly positive observational joint $P(X, Z, Y)$, verified positive conditional stratum effects $P(Y=1|X=1,Z=0) - P(Y=1|X=0,Z=0) = +1/8$ and $P(Y=1|X=1,Z=1) - P(Y=1|X=0,Z=1) = +1/8$, negative crude difference $13/32 - 19/32 = -3/16 < 0$, and opposite-signed causal ATEs: $\mathrm{ATE}_{\mathrm{conf}} = +1/8 > 0$ vs. $\mathrm{ATE}_{\mathrm{med}} = -3/16 < 0$.

2. Prior-Art Comparison & Mandatory Novelty Receipt (Through Nov 2026)

ReferenceCore ContributionWhat Our Formalization Establishes / Sharpens
Verma & Pearl (1988); Lauritzen, Dawid, Larsen & Leimer (Networks 1990)Graphical d-separation soundness and ancestral moralization criterion for Bayesian networksFully mechanized zero-sorry Lean 4 proof on arbitrary FinDAG n from explicit Nodup path-blocking DSep through walk-to-path reduction, blocked-collider elimination, ancestral moral separation, and exact Global/Local Markov factorization (dSep_soundness_global_markov, local_markov_property)
Pearl (Biometrika 1995; Causality 2009)Three rules of Do-Calculus, Backdoor & Frontdoor adjustment, and instrumental inequalitiesMachine-checked proofs of Do-Calculus Rule 1 (arbitrary sets) and Rules 2–3 (single intervened node $z$; set-valued $Z$ not formalized) on arbitrary FinDAG n via root-augmented regime-switching models (doCalculus_rule1, doCalculus_rule2_single, doCalculus_rule3_single), deriving Backdoor directly from Rules 2–3 (backdoor_adjustment_theorem), proving arbitrary-domain Frontdoor (frontdoor_adjustment_theorem), and providing strictly positive Bow-Graph and Broken-Frontdoor non-identifiability pairs
Manski (1990); Balke & Pearl (UAI 1994; JASA 1997); Imbens & Angrist (Econometrica 1994); Bonet (2001)Natural IV bounds, 16-type LP sharp IV bounds, Pearl's instrumental inequalities, and Wald/LATE identificationProves exact N&S feasibility (iv_realizable_iff_pearl_inequalities), certifies all 8 lower + 8 upper Balke–Pearl dual inequalities, and introduces a 4-line closed-form Fréchet–Knapsack primal solver proving universal sharpness for every IV-feasible distribution (balkePearl_lower_universally_sharp, balkePearl_upper_universally_sharp), plus exact point-ID and sign-certification witnesses and Wald/LATE identification
Tian & Pearl (AMAI 2000); Pearl (Causality Ch. 6 & 9)Sharp bounds on counterfactual probabilities of causation (PNS, PN, PS) and causal resolution of Simpson's ParadoxFormalizes decoupled $2 \times 2$ Fréchet–Hoeffding tables proving simultaneous universal sharpness of Tian–Pearl bounds for $\mathrm{PNS}, \mathrm{PN}, \mathrm{PS}$ for every compatible observational+interventional distribution (tianPearl_pns_universally_sharp), monotonicity identification, exact Simpson reversal characterization (simpson_reversal_iff), and identical-joint Confounder vs. Mediator DAGModel resolution (simpson_confounder_vs_mediator_resolution)
Coq conditional-independence formalization (Affeldt, Garrigue & Saikawa, 2020) & Causalean (causalsmith.org, Lean 4, 2025–2026)Coq formalization of discrete conditional probability, joint distributions, and graphoid axioms of conditional independence (Affeldt, Garrigue & Saikawa, 2020); Causalean formalizes DAGs, Bayes-Ball d-separation, SWIGs, c-components, SCMs, and potential outcomes in Lean 4Unifies all four pillars end-to-end in a single self-contained Lean 4 file with no custom axioms (⊆ {propext, Classical.choice, Quot.sound}), zero sorry, semantic finite-DAG soundness of Do-Calculus (Rule 1 general; Rules 2–3 single-node), exact Backdoor & arbitrary-$U$ Frontdoor theorems, and closed-form universal sharpness proofs for both the 16-variable Balke–Pearl IV polytope and the Tian–Pearl PNS/PN/PS counterfactual polytope

Nov 2026 Novelty & Zero-Overlap Receipt

  • Audit date: November 28, 2026.
  • Repository overlap audit: Audited sibling directories in /Users/arthurcolle/math_rip/new-results/, specifically open-causal-emergence-markov-lumping (Kemeny–Snell lumpability, DIC/NTIC, Dobrushin contraction, Rosas–Mediano $\Psi$), open-free-energy-active-inference-bayesian (VFE, entropic mirror descent, EFE, mean-field Gaussian/Ising gaps), and open-consciousness-integrated-info (Hoel–Albantakis–Tononi Effective Information $\Delta \mathrm{EI}$). Confirmed 0% overlap: none of those tracks formalize Pearl's SCMs, finite-DAG d-separation, Do-Calculus Rules 1–3, Backdoor/Frontdoor adjustment, Balke–Pearl IV LP polytope bounds, Tian–Pearl counterfactual PNS/PN/PS bounds, or Simpson's Paradox causal resolution.
  • Files untouched: Neither publish_math_site.py, LIVE_FORMALIZATION_LEDGER.md, nor anything inside collatz-coalescence/ was modified.

3. Python Computational Verification Summary

Running python3 -W error verify_causal_identifiability.py (using exact rational fractions.Fraction arithmetic, 0 external packages) independently screened every theorem, polytope dual vertex, primal witness, and counterexample:

=== PILLAR 1: Finite-DAG d-Separation, Moral Bridge, Collider Bias, Faithfulness ===
  PASS: dSep <-> MoralSep verified exhaustively across all 64 4-node DAGs (1536 triples).
  PASS: Berkson collider witness: P(X=1,Y=1|Z=1)=1/3 != 4/9.
  PASS: Faithfulness counterexample on X->M->Y, X->Y: X _|_ Y holds (all 4 cells = 1/4), yet all 3 edges are active and CDE = -1/4 != 0.

=== PILLAR 2: Backdoor, Frontdoor, & Non-Identifiability Counterexamples ===
  PASS: Bow-graph non-identifiability (strictly positive): identical P(X,Y)={(0, 0): Fraction(3, 8), (0, 1): Fraction(1, 8), (1, 0): Fraction(1, 8), (1, 1): Fraction(3, 8)}, ATE1=1/2 vs ATE2=0.
  PASS: Broken-Frontdoor non-identifiability (strictly positive): identical P(X,M,Y), ATE1=3/8 vs ATE2(frontdoor)=1/8.

=== PILLAR 3: Balke-Pearl IV LP Polytope, Exact Dual Certificates, Sharpness & Wald/LATE ===
  Found 8 exact rational dual vertices of the 16-variable IV LP.
  Active (undominated) lower-bound dual vertices: 8 (expected 8).
  PASS: Exact universal sharpness & Pearl's 4 instrumental inequalities N&S verified on 461 exact rational LP solves!
  Clean 1/4-grid strict-improvement witness (Point-ID Collapse):
    p(arm 0) = (0, 1/2, 1/4, 1/4), p(arm 1) = (1/2, 0, 1/4, 1/4)
    Manski-Robins: [-1/4, 1/4]  vs  Balke-Pearl: [0, 0]
  Sign-certifying witness: MR=[-1/8, 1/2] (indeterminate sign) vs BP=[1/8, 1/2] (certifies ATE >= +1/8 > 0!).
  PASS: Closed-form Frechet-Knapsack universal sharpness (LB & UB) verified on 2797 exact rational IV distributions!
  PASS: Imbens-Angrist Wald / LATE identification theorem verified on 500 monotone IV models.

=== PILLAR 4: Sharp Tian-Pearl PNS/PN/PS Bounds & Simpson's Paradox ===
  PASS: Tian-Pearl PNS, PN, PS bounds & closed-form universal attainability verified on 2000 models.
  PASS: Simpson Reversal witness: stratum effects (+1/8, +1/8), crude R(1)-R(0)=13/32-19/32=-3/16 < 0.
        Identical joint P(X,Y,Z): Confounder DAG ATE = +1/8 > 0 vs Mediator DAG ATE = -3/16 < 0!

ALL 4 PILLARS VERIFIED EXACTLY WITH ZERO ERRORS!

4. Exact Line-Numbered Theorem Inventory

All 35 headline theorems in CausalDoCalculusIdentifiability.lean:

PillarTheoremLineMathematical Result
1FinDAG.no_directed_cycleL108Acyclicity of topologically ordered finite DAGs
1FinDAG.exists_activePath_of_activeWalkL282Walk-to-simple-path (Nodup) reduction preserving d-connection
1FinDAG.moralSep_of_dSepL970Lauritzen–Dawid–Larsen–Leimer ancestral moralization bridge
1DAGModel.marginal_ancestral_eq_prodL1045Exact ancestral marginal truncation $P(x_A) = \prod_{i \in A} \mathrm{cpt}_i(x)$
1DAGModel.jointDist_sum_eq_oneL1103Normalization of finite-DAG Markov factorizations
1DAGModel.dSep_soundness_global_markovL1260Global Markov Property: DSep G X Y Z → CondIndep M X Y Z
1DAGModel.local_markov_propertyL1405Local Markov Property: $v \perp\!\!\!\perp \mathrm{NonDesc}(v) \mid \mathrm{Pa}(v)$
1DAGModel.doModel_sum_eq_oneL1541Normalization of mutilated interventional distributions
1FunctionalSCM.pushforward_eq_jointDistL1663Pushforward of Markovian Functional SCM equals Markov product
1berkson_collider_bias_witnessL1729Collider activation witness ($1/3 \neq 4/9$ given $Z=1$)
1faithfulness_counterexample_witnessL1879Faithfulness violation ($X \perp\!\!\!\perp Y$ without d-sep; $\mathrm{CDE}=-1/4$)
2doCalculus_rule1L1934Pearl Do-Calculus Rule 1 (insertion/deletion of observations; arbitrary sets)
2doCalculus_rule2_singleL2287Pearl Do-Calculus Rule 2 (action/observation exchange; single intervened node $z$)
2doCalculus_rule3_singleL2625Pearl Do-Calculus Rule 3 (insertion/deletion of actions; single intervened node $z$)
2backdoor_adjustment_theoremL2863Exact Pearl Backdoor Adjustment Theorem on arbitrary FinDAG n
2frontdoor_adjustment_theoremL3043Exact Pearl Frontdoor Adjustment Theorem under arbitrary $U$
2bow_graph_non_identifiabilityL3395Strictly positive Bow-Graph non-identifiability ($\mathrm{ATE}_1 = 1/2$ vs. $0$)
2broken_frontdoor_non_identifiabilityL3542Strictly positive Broken-Frontdoor non-identifiability ($3/8$ vs. $1/8$)
3balkePearl_lower_le_ateL3732Soundness of all 8 Balke–Pearl LP dual lower bounds
3ate_le_balkePearl_upperL3749Soundness of all 8 Balke–Pearl LP dual upper bounds
3iv_realizable_iff_pearl_inequalitiesL3876Exact N&S Feasibility: 16-type IV realizability $\iff$ Pearl's 4 inequalities
3balkePearl_lower_universally_sharpL3896Universal Sharpness of 8-inequality Balke–Pearl lower bound
3balkePearl_upper_universally_sharpL3977Universal Sharpness of 8-inequality Balke–Pearl upper bound
3balkePearl_strict_point_id_witnessL3988Point-ID collapse witness: Manski $[-1/4, 1/4]$ vs. BP $[0, 0]$
3balkePearl_strict_sign_certification_witnessL4019Sign-certification witness: Manski $\mathrm{LB} = -1/8$ vs. BP $\mathrm{LB} = +1/8$
3wald_late_identification_under_monotonicityL4046Imbens–Angrist Wald/LATE Identification under monotonicity
3balkePearl_collapse_under_perfect_complianceL4067Exact collapse of Balke–Pearl bounds under perfect compliance
4CounterfactualModel.pns_eq_weighted_pn_add_psL4134Exact counterfactual identity $\mathrm{PNS} = p_{11}\,\mathrm{PN} + p_{00}\,\mathrm{PS}$
4tianPearl_pns_pn_ps_boundsL4156Exact sharp Tian–Pearl bounds for $\mathrm{PNS}, \mathrm{PN}, \mathrm{PS}$
4tianPearl_pns_universally_sharpL4201Simultaneous Universal Sharpness of Tian–Pearl $\mathrm{PNS}, \mathrm{PN}, \mathrm{PS}$ bounds
4tianPearl_monotonicity_identificationL4327Exact $\mathrm{PNS}, \mathrm{PN}, \mathrm{PS}$ identification + falsifiable bounds under monotonicity
4simpson_stratum_decompositionL4347General finite-stratum rate-difference decomposition identity
4simpson_reversal_iffL4362Exact N&S binary Simpson reversal criterion + necessary negative confounding shift
4simpson_impossible_under_independenceL4389Impossibility of Simpson reversal under arm-stratum independence
4simpson_confounder_vs_mediator_resolutionL4530Identical-joint Confounder ($\mathrm{ATE}=+1/8$) vs. Mediator ($\mathrm{ATE}=-3/16$) + verified $+1/8$ stratum effects

5. Verbatim #print axioms Output

'CausalDoCalculus.FinDAG.no_directed_cycle' depends on axioms: [propext]
'CausalDoCalculus.FinDAG.exists_activePath_of_activeWalk' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.FinDAG.moralSep_of_dSep' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.DAGModel.marginal_ancestral_eq_prod' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.DAGModel.jointDist_sum_eq_one' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.DAGModel.dSep_soundness_global_markov' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.DAGModel.local_markov_property' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.DAGModel.doModel_sum_eq_one' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.FunctionalSCM.pushforward_eq_jointDist' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.berkson_collider_bias_witness' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.faithfulness_counterexample_witness' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.doCalculus_rule1' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.doCalculus_rule2_single' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.doCalculus_rule3_single' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.backdoor_adjustment_theorem' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.frontdoor_adjustment_theorem' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.bow_graph_non_identifiability' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.broken_frontdoor_non_identifiability' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.iv_realizable_iff_pearl_inequalities' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.balkePearl_lower_le_ate' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.ate_le_balkePearl_upper' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.balkePearl_lower_universally_sharp' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.balkePearl_upper_universally_sharp' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.balkePearl_strict_point_id_witness' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.balkePearl_strict_sign_certification_witness' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.wald_late_identification_under_monotonicity' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.balkePearl_collapse_under_perfect_compliance' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.CounterfactualModel.pns_eq_weighted_pn_add_ps' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.tianPearl_pns_pn_ps_bounds' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.tianPearl_pns_universally_sharp' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.tianPearl_monotonicity_identification' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.simpson_stratum_decomposition' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.simpson_reversal_iff' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.simpson_impossible_under_independence' depends on axioms: [propext, choice, Quot.sound]
'CausalDoCalculus.simpson_confounder_vs_mediator_resolution' depends on axioms: [propext, choice, Quot.sound]
ZITADEL IDENTITY · auth.distributed.systems

Researcher Identity & AI Attribution

Loading account state...