Estimation.ATE
Sample-split AIPW/DML estimation of the back-door average treatment effect: the moment function, its influence function, square-integrability, and the asymptotic-linearity theorem.
Setup 8 core · 5 supporting Defines the estimation-layer structure used by back-door ATE estimators. ★ θ₀_eq_ATE
Defines the estimation-layer structure used by back-door ATE estimators.
The file introduces BackdoorEstimationSystem, its strict-overlap predicate
StrictOverlap, the covariate and observed-data laws P_X and P_Z, and the
value-space estimand θ₀. It proves that θ₀ agrees with the PO-level ATE
under the back-door assumptions, derives counterfactual compatibility as
μ_compat, and provides POBackdoorSystem.toBackdoorEstimationSystem to show
that the added value-space compatibility and positivity fields are obtainable
from observable lifts rather than extra causal assumptions.
A back-door estimation system extends a potential-outcome back-door system with value-space representatives of the nuisance parameters used by AIPW-style estimators: an outcome regression μ(a,x) and a propensity score e(x) that is bounded away from 0 and away from 1, together with the outcome regression's agreement, almost everywhere, with the σ(X)-measurable observable regression adjustedCE, composed with the factual covariate and the analogous agreement of the propensity score with the observable propensity propScore.
Definition (Lean source)
For a potential-outcome system with a standard-Borel sample space and finite probability measure, a measurable covariate space, a back-door estimation system, and a real overlap level, the strict-overlap condition holds precisely when , , and almost surely under the population measure, the probability of treatment is between and .
Definition (Lean source)
For a potential-outcome system with a standard-Borel sample space and finite probability measure, a measurable covariate space, and a back-door estimation system, the covariate marginal law is the image of the population measure under the factual covariate.
Definition (Lean source)
For a potential-outcome system with a standard-Borel sample space and finite probability measure, a measurable covariate space, and a back-door estimation system, the factual data map sends every sample point to its observed covariate, binary treatment, and outcome triple.
Definition (Lean source)
For a potential-outcome system with a standard-Borel sample space and finite probability measure, a measurable covariate space, and a back-door estimation system, the observed-data law is the image of the population measure under the factual covariate--treatment--outcome map.
Definition (Lean source)
For a potential-outcome system with a standard-Borel sample space and finite probability measure, a measurable covariate space, and a back-door estimation system, the value-space average treatment effect is the covariate-law integral of the true treated outcome regression minus the true control outcome regression.
Definition (Lean source)
Value-space estimand equals the potential-outcome ATE. Under the back-door identification assumptions, the value-space estimand θ₀ = ∫ (μ(1,x) − μ(0,x)) dP_X, built from the outcome-regression nuisance, coincides with the average treatment effect defined on potential outcomes.
Formal statement
Proof (Lean source)
Given a potential-outcome system with a standard-Borel sample space and finite probability measure, a measurable covariate space, a back-door potential-outcome system, the assumption that its treated propensity is strictly between zero and one almost surely, and an integrable factual outcome, the associated back-door estimation system uses the value-space outcome regression and a propensity score that equals the lifted propensity on its strict-overlap support and equals one half elsewhere.
Definition (Lean source)
5 supporting declarations (lemmas, instances)
-
μ_compatlemma — Counterfactual compatibility (derived, under identification). Recovers the former μ_compat field — the *counterfactual* reading μ[Y(d) | σ(X)] =ᵐ μ_val d ∘ factualX — now as a theorem rather than an assumption. It is the observable μ_reg_compat (μ_val d ∘ factualX =ᵐ adjustedCE d) composed with back-door identification (cate_backdoor : μ[Y(d)|σX] =ᵐ adjustedCE d), so the counterfactual binding is NOT part of the estimation system's data: it holds only under Assumptions. Every downstream proof that used the old field calls this with the ambient hA.hypothesesγ :sharedType u_1S :hA :S.toPOBackdoorSystem.Assumptionsd :conclusionP.μ[S.toPOBackdoorSystem.YofD d | S.toPOBackdoorSystem.sigmaX]=ᵐ[P.μ] (fun ω => S.μ_val d (S.toPOBackdoorSystem.factualX ω))Proof (Lean source)
lemma μ_compat (S : BackdoorEstimationSystem P γ) (hA : S.toPOBackdoorSystem.Assumptions) (d : Bool) : P.μ[S.toPOBackdoorSystem.YofD d | S.toPOBackdoorSystem.sigmaX] =ᵐ[P.μ] (fun ω => S.μ_val d (S.toPOBackdoorSystem.factualX ω)) := (S.toPOBackdoorSystem.cate_backdoor hA d).trans (S.μ_reg_compat d).symm -
P_X_eqlemma — The covariate marginal is the image of the population measure under the factual covariate map.hypothesesconclusionS.P_X = P.μ.map S.toPOBackdoorSystem.factualXProof (Lean source)
@[causal_defs_simps] lemma P_X_eq (S : BackdoorEstimationSystem P γ) : S.P_X = P.μ.map S.toPOBackdoorSystem.factualX := rfl -
measurable_factualZlemma — The observed covariate, treatment, and outcome triple is measurable.hypothesesconclusionMeasurable S.factualZProof (Lean source)
@[fun_prop] lemma measurable_factualZ (S : BackdoorEstimationSystem P γ) : Measurable S.factualZ := (S.toPOBackdoorSystem.measurable_factualX).prodMk ((S.toPOBackdoorSystem.measurable_factualD).prodMk S.toPOBackdoorSystem.measurable_factualY) -
P_Z_eqlemma — The joint data law is the image of the population measure under the map recording the observed covariate, treatment, and outcome.hypothesesconclusionS.P_Z = P.μ.map S.factualZProof (Lean source)
@[causal_defs_simps] lemma P_Z_eq (S : BackdoorEstimationSystem P γ) : S.P_Z = P.μ.map S.factualZ := rfl -
P_Z_map_projX_eq_P_Xlemma — The covariate marginal P_X is the pushforward of P_Z along the projection (x, a, y) ↦ x. Used to bridge integrals/eLpNorm between P_X (covariates only) and P_Z (full data triple).hypothesesconclusionS.P_Z.map (fun z : γ × Bool × ℝ => z.1) = S.P_XProof (Lean source)
lemma P_Z_map_projX_eq_P_X (S : BackdoorEstimationSystem P γ) : S.P_Z.map (fun z : γ × Bool × ℝ => z.1) = S.P_X := by unfold BackdoorEstimationSystem.P_Z BackdoorEstimationSystem.P_X rw [Measure.map_map (by fun_prop : Measurable (fun z : γ × Bool × ℝ => z.1)) S.measurable_factualZ] rfl
DML 3 core · 0 supporting This file defines dmlEstimator, the one-shot sample-split augmented inverse-probability weighted estimator for the back-door average treatment effect. ★ dml_ATE_isAsymLinear★ dml_ATE_tendstoNormal
Double Machine Learning for ATE
This file defines dmlEstimator, the one-shot sample-split augmented
inverse-probability weighted estimator for the back-door average treatment
effect. It proves dml_ATE_isAsymLinear, which connects the estimator to the
AIPW influence function under overlap, second-moment, sample-split, and
nuisance-rate conditions, and dml_ATE_tendstoNormal, the resulting fold-scaled
asymptotic normality statement.
For a potential-outcome system with a measurable covariate space, a back-door estimation system, an independent and identically distributed sample of observed covariate, treatment, and outcome triples from its observable data law, a one-shot split of that sample, an outcome-regression learner indexed by sample size and population realization, a propensity-score learner indexed in the same way, and a nonnegative integer sample-size index, the one-shot DML/AIPW estimator of the back-door average treatment effect assigns to each population realization the average AIPW moment over that index's estimation fold.
Definition (Lean source)
Asymptotic linearity of the one-shot DML ATE — thm:est-dml-ate-al. Fix the back-door identification assumptions for the estimation system S, with strict overlap for the true propensity and a.e. overlap at the same for every learner realization , a finite second moment for the observed outcome, and a finite second moment for each potential outcome. Take a one-shot sample split whose training-fold size fraction converges to a limit with . Suppose the outcome-regression and propensity learners are measurable, lie in at every realization, depend only on the nuisance-training fold , both as functions of that fold alone and jointly with the covariate, and converge individually to the truth in at rate with a product rate of . Then the one-shot DML/AIPW estimator of the back-door ATE is asymptotically linear at the true ATE with influence function along the training folds.
Formal statement
Proof (Lean source)
Asymptotic normality of the one-shot DML ATE (thm:est-dml-ate-al, "In particular ..." clause). Under the back-door identification assumptions for S, with strict overlap for the true propensity and a.e. overlap for every learner realization, finite second moments of the observed and potential outcomes, and a one-shot sample split whose training-fold fraction converges to some c with 0 < c < 1: suppose the learners μ̂, ê are measurable, in L²(P_X) at every realization, depend only on the nuisance-training fold, marginally and jointly with the covariate, and converge individually at rate o_p(1) with product rate o_p(n^{-1/2}) — the same hypotheses as dml_ATE_isAsymLinear. Given in addition measurability of the AIPW influence function, a.e. measurability of the rescaled estimator at every horizon, and a.e. measurability of the normalized influence-sum at every horizon, then the rescaled estimator √|B(n)| (θ̂ⁿ − θ₀) converges in distribution to N(0, ∫ ψ_AIPW² dP_Z).
Formal statement
Proof (Lean source)
PlugIn 4 core · 0 supporting This file defines the sample-split plug-in estimator for the back-door average treatment effect using only the estimated outcome regression. ★ plugIn_isAsymLinear★ plugIn_tendstoNormal
Plug-In ATE Estimator
This file defines the sample-split plug-in estimator for the back-door average treatment effect using only the estimated outcome regression. It also records the corresponding influence function and the asymptotic-linearity statement that compares this estimator with the target average treatment effect.
The main declarations are plugInEstimator, ψ_plugin,
plugIn_isAsymLinear, and plugIn_tendstoNormal. The proofs use the
covariate-law representation of the ATE, fold-B empirical-process bounds, and
the L² rate of the outcome-regression nuisance to control the plug-in bias.
For a potential-outcome system with a measurable covariate space, a back-door estimation system, an independent and identically distributed sample of observed covariate, treatment, and outcome triples from its observable data law, a one-shot split of that sample, an outcome-regression learner indexed by sample size and population realization, and a nonnegative integer sample-size index, the sample-split plug-in estimator of the back-door average treatment effect assigns to each population realization the estimation-fold average of the estimated treated-minus-control outcome regression at the observed covariates.
Definition (Lean source)
For a potential-outcome system with a measurable covariate space, a back-door estimation system, and an observed covariate, treatment, and outcome triple, the plug-in influence-function value is the true treated-minus-control outcome regression at that triple's covariate, centered at the system's true average treatment effect.
Asymptotic linearity of the plug-in ATE — thm:est-plug-in-ate-al. Fix the back-door identification assumptions for S, square-integrability of both potential outcomes, and a one-shot sample split whose training-fold fraction converges to some c with 0 < c < 1. Suppose the outcome-regression learner μ̂ is measurable, lies in L²(P_X) at every realization, and depends only on the nuisance-training fold, marginally and jointly with the covariate, with joint L²(P_X) estimation error at rate o_p(n^{-1/2}). Then the sample-split plug-in estimator of the back-door ATE is asymptotically linear at the true ATE θ₀ with influence function ψ_plugin along the training folds.
Formal statement
Proof (Lean source)
Asymptotic normality of the plug-in ATE (thm:est-plug-in-ate-al, "In particular ..." clause). Under the back-door identification assumptions for S, square-integrability of both potential outcomes, and a one-shot sample split whose training-fold fraction converges to some c with 0 < c < 1: suppose the learner μ̂ is measurable, in L²(P_X) at every realization, depends only on the nuisance-training fold, marginally and jointly with the covariate, with joint L²(P_X) estimation error at rate o_p(n^{-1/2}) — the same hypotheses as plugIn_isAsymLinear. Given in addition a.e. measurability of the rescaled estimator at every horizon and a.e. measurability of the normalized influence-sum at every horizon, then the rescaled estimator √|B(n)| (θ̂ⁿ − θ₀) converges in distribution to N(0, ∫ ψ_plugin² dP_Z).