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 · 3 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)
Strict-overlap predicate ε ≤ propScore true ω ≤ 1 − ε a.s., with ε ∈ (0, 1/2]. Restated to the value-space propensity via e_compat.
Definition (Lean source)
Covariate marginal: P_X := μ.map factualX.
Definition (Lean source)
Data triple (X, A, Y) : Ω → γ × Bool × ℝ.
Definition (Lean source)
Joint data law P_Z := μ.map (X, A, Y).
Definition (Lean source)
Value-space ATE: θ₀ = ∫ (μ(1, x) - μ(0, x)) dP_X.
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)
The compatibility/positivity fields are free. From a POBackdoorSystem with a.e. two-sided overlap and an integrable observed outcome — and no unconfoundedness — one constructs a BackdoorEstimationSystem: μ_val is the value-space outcome regression regFn and e_val is the propensity lift eLift clamped into (0,1) off-support. Every added field is discharged (μ_reg_compat from regression_adjustment; e_pos/e_lt_one from the clamp; e_compat from overlap). So BackdoorEstimationSystem carries no assumption beyond POBackdoorSystem + overlap + integrability — in particular the value-space lifts (μ_compat, e_compat) were never genuine assumptions.
Definition (Lean source)
3 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.hypothesesconclusionP.μ[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 -
measurable_factualZlemma — The observed covariate, treatment, and outcome triple is measurable.Proof (Lean source)
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_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).Proof (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.
One-shot DML / AIPW estimator of the back-door ATE (def:est-dml-ate).
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.
Sample-split plug-in estimator of the back-door ATE (def:est-plug-in-ate).
Definition (Lean source)
Plug-in influence function ψ_plugin(z) := μ(1, x) − μ(0, x) − θ₀ from thm:est-plug-in-ate-al.
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).