PO.ID.Partial.Proxy
Partial identification with proxy variables: sensitivity of bounds to proxy quality.
Assumptions 3 core · 0 supporting Three weakened assumption bundles, one per partial-identification theorem of Ghassami-Shpitser-Tchetgen Tchetgen (2024): * WBasedAssumptions — outcome-confounding-proxy bounds (Theorem 1).
Proximal partial-identification assumption bundles
Three weakened assumption bundles, one per partial-identification theorem of Ghassami-Shpitser-Tchetgen Tchetgen (2024):
* WBasedAssumptions — outcome-confounding-proxy bounds (Theorem 1).
* ZBasedAssumptions — treatment-confounding-proxy bounds (Theorem 2).
* TwoProxyAssumptions — two conditionally independent invalid proxies
(Theorem 3).
All three weaken the exact-identification bundle
POProximalSystem.Assumptions by dropping the completeness condition (and,
for the W- and Z-only cases, dropping the unused proxy's assumptions).
The bridge function h (W side) and bridge function q (Z side) are bundled
as fields, exactly as in the exact-ID bundle. The treatment-side bridge q
satisfies E[q(Z, A, X) | A, X, U] = p(U | ¬A, X) / p(U | A, X). In the
general standard-Borel setting the right-hand side is a Radon-Nikodym
derivative whose existence is non-trivial; we package it as a user-supplied
measurable function likelihoodRatio_swapA together with its defining
relation.
Assumption bundle for the W-proxy partial-identification theorem (Ghassami-Shpitser-Tchetgen Tchetgen 2024, Thm 1).
Definition (Lean source)
Assumption bundle for the Z-proxy partial-identification theorem (Thm 2). Drops proxy_WAZ, completeness, and W-related fields.
Definition (Lean source)
Assumption bundle for the two-proxy partial-identification theorem (Thm 3). Both proxies W and Z are present, but the strong exclusion restrictions W ⟂ A | (U, X) and Y ⟂ Z | (A, U, X) may FAIL — that is the "invalid proxy" angle. The only proxy-side conditional independence required is proxy_WZ_indep : W ⟂ Z | (A, X, U) (paper Assumption 6); in particular, no W ⟂ A | (U, X) requirement is bundled. Both bridge functions h and q are kept as fields, with their latent-side defining equations.
Definition (Lean source)
Setup 14 core · 12 supporting Reuses the POProximalSystem data structure from Causalean/PO/ID/Exact/Proximal/Setup.lean (six POVars: X, A, Z, W, Y, U) and adds: * The (A, X) and (X) tuple maps and σ-algebras (σ_AX, σ_X) used as conditioning targets i ★ σ_X_le
Proximal partial identification — data layer
Reuses the POProximalSystem data structure from
Causalean/PO/ID/Exact/Proximal/Setup.lean (six POVars: X, A, Z, W, Y, U)
and adds:
* The (A, X) and (X) tuple maps and σ-algebras (σ_AX, σ_X) used as
conditioning targets in the partial-identification proofs.
* Target parameters meanYofA (E[Y(a)]) and condMeanYofA (E[Y(a) | A = ¬a]).
* The σ_X-measurable stratumOddsRatio (p(A=¬a|X) / p(A=a|X)) used to
normalise stratum-conditional integrals across the two arms.
* Three abstract upper/lower envelope predicates (IsUpperEnvW/IsLowerEnvW,
IsUpperEnvZ/IsLowerEnvZ, IsUpperEnvWZ/IsLowerEnvWZ), one per
partial-identification theorem (Ghassami-Shpitser-Tchetgen Tchetgen 2024,
Thms 1, 2, 3). Each envelope is the operational integrated form of the
paper's min_w / max_w proxy-density-ratio bound.
No assumption bundles live here — see Assumptions.lean.
For a proximal potential-outcome system, the joint treatment-and-covariate map assigns to each unit its factual binary treatment and covariate.
Definition (Lean source)
For a proximal potential-outcome system, the σ-algebra generated by factual treatment and covariate is the pullback to the sample space of their product σ-algebra.
Definition (Lean source)
For a proximal potential-outcome system, the σ-algebra generated by the factual covariate is the pullback to the sample space of the covariate's σ-algebra.
Definition (Lean source)
The σ-algebra generated by the covariates is a sub-σ-algebra of the ambient measurable space.
Formal statement
Proof (Lean source)
For a proximal potential-outcome system, a measure on its sample space, and a treatment level, the marginal potential-outcome mean is the integral of the outcome that each unit would have under that treatment level with respect to that measure.
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, and a treatment level, the opposite-arm conditional potential-outcome mean is the integral of that level's potential outcome over units whose factual treatment differs from that level, divided by the measure of that stratum.
Definition (Lean source)
For a proximal potential-outcome system and a measure on its sample space, the average treatment effect is the marginal mean potential outcome under treatment one minus that under treatment zero.
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, and a treatment level, the stratum odds-ratio function assigns each unit the conditional expected indicator of the opposite treatment arm given its covariates divided by the conditional expected indicator of its own arm given those covariates.
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, a treatment level, and a proposed upper-envelope function of treatment and covariates, the upper W-proxy envelope condition holds exactly when the function is measurable [step:1] and, for every measurable nonnegative test function of the outcome-side proxy and covariates whose unweighted and envelope-weighted versions are integrable, its integral over the opposite treatment arm is at most its stratum-odds-ratio- and envelope-weighted integral over the specified treatment arm [step:2].
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, a treatment level, and a proposed lower-envelope function of treatment and covariates, the lower W-proxy envelope condition holds exactly when the function is measurable [step:1] and, for every measurable nonnegative test function of the outcome-side proxy and covariates whose unweighted and envelope-weighted versions are integrable, its stratum-odds-ratio- and envelope-weighted integral over the specified treatment arm is at most its integral over the opposite treatment arm [step:2].
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, a treatment level, and a proposed upper-envelope function of treatment and covariates, the upper Z-proxy envelope condition holds exactly when the function is measurable [step:1] and, for almost every unit in the specified treatment arm, the conditional mean of the factual outcome given treatment, treatment-side proxy, and covariates does not exceed the envelope evaluated at that treatment and covariate [step:2].
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, a treatment level, and a proposed lower-envelope function of treatment and covariates, the lower Z-proxy envelope condition holds exactly when the function is measurable [step:1] and, for almost every unit in the specified treatment arm, the envelope evaluated at that treatment and covariate does not exceed the conditional mean of the factual outcome given treatment, treatment-side proxy, and covariates [step:2].
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, a treatment level, and a proposed upper-envelope function of treatment and covariates, the upper joint W--Z envelope condition holds exactly when the function is measurable [step:1] and, for every pair of measurable nonnegative test functions of respectively the outcome-side and treatment-side proxies with all three displayed products integrable, the conditional expectation of their product given treatment and covariates is at most the envelope times the product of their conditional expectations, almost everywhere in the specified treatment arm [step:2].
Definition (Lean source)
For a proximal potential-outcome system, a measure on its sample space, a treatment level, and a proposed lower-envelope function of treatment and covariates, the lower joint W--Z envelope condition holds exactly when the function is measurable [step:1] and, for every pair of measurable nonnegative test functions of respectively the outcome-side and treatment-side proxies with all three displayed products integrable, the envelope times the product of their conditional expectations given treatment and covariates is at most the conditional expectation of their product, almost everywhere in the specified treatment arm [step:2].
Definition (Lean source)
12 supporting declarations (lemmas, instances)
-
measurable_AXlemma — The treatment-covariate tuple map is measurable.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionMeasurable S.AXProof (Lean source)
@[fun_prop] lemma measurable_AX : Measurable S.AX := prodMk S.measurable_A S.measurable_X -
σ_AX_lelemma — The sigma-algebra generated by treatment and covariates is a sub-sigma-algebra of the ambient measurable space.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_AX ≤ (inferInstance : MeasurableSpace P.Ω)Proof (Lean source)
lemma σ_AX_le : S.σ_AX ≤ (inferInstance : MeasurableSpace P.Ω) := S.measurable_AX.comap_le -
measurable_X_σ_Xlemma — The covariate is measurable with respect to the σ-algebra it generates.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionMeasurable[S.σ_X] S.XProof (Lean source)
@[fun_prop] lemma measurable_X_σ_X : Measurable[S.σ_X] S.X := fun _ ht => ⟨_, ht, rfl⟩ -
measurable_A_σ_AXlemma — The treatment is measurable with respect to the σ-algebra generated by treatment and covariate, being the first coordinate of that tuple.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionMeasurable[S.σ_AX] S.AProof (Lean source)
@[fun_prop] lemma measurable_A_σ_AX : Measurable[S.σ_AX] S.A := by intro t ht refine ⟨Prod.fst ⁻¹' t, measurable_fst ht, ?_⟩ ext ω; rfl -
measurable_X_σ_AXlemma — The covariate is measurable with respect to the σ-algebra generated by treatment and covariate, being the second coordinate of that tuple.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionMeasurable[S.σ_AX] S.XProof (Lean source)
@[fun_prop] lemma measurable_X_σ_AX : Measurable[S.σ_AX] S.X := by intro t ht refine ⟨Prod.snd ⁻¹' t, measurable_snd ht, ?_⟩ ext ω; rfl -
σ_X_le_σ_AXlemma — σ_X is coarser than σ_AX: X factors through (A, X) via the second projection.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_X ≤ S.σ_AXProof (Lean source)
lemma σ_X_le_σ_AX : S.σ_X ≤ S.σ_AX := by -- X = snd ∘ (A, X). So comap X ≤ comap (A, X). have hX_eq : S.X = (fun p : Bool × γ_X => p.2) ∘ S.AX := by funext ω; rfl intro s hs obtain ⟨t, ht_meas, ht_eq⟩ := hs refine ⟨(fun p : Bool × γ_X => p.2) ⁻¹' t, measurable_snd ht_meas, ?_⟩ rw [← ht_eq, hX_eq]; rfl -
σ_X_le_σ_UXlemma — σ_X ≤ σ_UX, since X factors through (U, X) via the second projection.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_X ≤ S.σ_UXProof (Lean source)
lemma σ_X_le_σ_UX : S.σ_X ≤ S.σ_UX := by intro s hs obtain ⟨t, ht_meas, ht_eq⟩ := hs refine ⟨(fun p : γ_U × γ_X => p.2) ⁻¹' t, measurable_snd ht_meas, ?_⟩ rw [← ht_eq]; rfl -
σ_AZX_le_σ_AZUXlemma — σ_AZX ≤ σ_AZUX, since (A, Z, X) factors through (A, Z, U, X).hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_AZX ≤ S.σ_AZUXProof (Lean source)
lemma σ_AZX_le_σ_AZUX : S.σ_AZX ≤ S.σ_AZUX := by intro s hs obtain ⟨t, ht_meas, ht_eq⟩ := hs refine ⟨(fun p : Bool × γ_Z × γ_U × γ_X => (p.1, p.2.1, p.2.2.2)) ⁻¹' t, ?_, ?_⟩ · refine prodMk measurable_fst (prodMk ?_ ?_) ht_meas · exact measurable_fst.comp measurable_snd · exact measurable_snd.comp (measurable_snd.comp measurable_snd) · rw [← ht_eq]; rfl -
σ_AUX_le_σ_AZUXlemma — The sigma-algebra on treatment, unobserved confounder, and covariates is coarser than the sigma-algebra that also includes the Z proxy.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_AUX ≤ S.σ_AZUXProof (Lean source)
lemma σ_AUX_le_σ_AZUX : S.σ_AUX ≤ S.σ_AZUX := by intro s hs obtain ⟨t, ht_meas, ht_eq⟩ := hs refine ⟨(fun p : Bool × γ_Z × γ_U × γ_X => (p.1, p.2.2.1, p.2.2.2)) ⁻¹' t, ?_, ?_⟩ · refine prodMk measurable_fst (prodMk ?_ ?_) ht_meas · exact measurable_fst.comp (measurable_snd.comp measurable_snd) · exact measurable_snd.comp (measurable_snd.comp measurable_snd) · rw [← ht_eq]; rfl -
σ_AX_le_σ_AUXlemma — σ_AX is coarser than σ_AUX, since (A, X) factors through (A, U, X) via the projection (a, u, x) ↦ (a, x).hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_AX ≤ S.σ_AUXProof (Lean source)
lemma σ_AX_le_σ_AUX : S.σ_AX ≤ S.σ_AUX := by -- The map S.AX = (A, X) factors as (proj) ∘ S.AUX where proj (a,u,x) = (a,x). -- So σ_AX = comap S.AX = comap (proj ∘ S.AUX) ≤ comap S.AUX = σ_AUX. have hAX_eq : S.AX = (fun p : Bool × γ_U × γ_X => (p.1, p.2.2)) ∘ S.AUX := by funext ω; rfl have hproj_meas : Measurable (fun p : Bool × γ_U × γ_X => (p.1, p.2.2)) := prodMk measurable_fst (measurable_snd.comp measurable_snd) -- Now show comap S.AX ≤ comap S.AUX directly. intro s hs obtain ⟨t, ht_meas, ht_eq⟩ := hs refine ⟨(fun p : Bool × γ_U × γ_X => (p.1, p.2.2)) ⁻¹' t, hproj_meas ht_meas, ?_⟩ rw [← ht_eq, hAX_eq] rfl -
σ_X_le_σ_AUXlemma — σ_X ≤ σ_AUX, by composition σ_X ≤ σ_AX ≤ σ_AUX.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4conclusionS.σ_X ≤ S.σ_AUXProof (Lean source)
lemma σ_X_le_σ_AUX : S.σ_X ≤ S.σ_AUX := le_trans S.σ_X_le_σ_AX S.σ_AX_le_σ_AUX -
condMeanYofA_eqlemma — The conditional potential outcome mean of an arm on the opposite-arm stratum is the integral of that arm's potential outcome over the stratum where treatment differs from the arm, divided by the mass of that stratum.hypothesesγ_X :sharedType u_1γ_Z :sharedType u_2γ_W :sharedType u_3γ_U :sharedType u_4μ :Measure P.Ωa :conclusionS.condMeanYofA μ a = (μ {ω | S.A ω ≠ a}).toReal⁻¹ * ∫ ω in {ω | S.A ω ≠ a}, S.YofA a ω ∂μProof (Lean source)
@[causal_defs_simps] lemma condMeanYofA_eq (μ : Measure P.Ω) (a : Bool) : S.condMeanYofA μ a = (μ {ω | S.A ω ≠ a}).toReal⁻¹ * ∫ ω in {ω | S.A ω ≠ a}, S.YofA a ω ∂μ := rfl
IntervalForm 5 core · 0 supporting This file converts the scalar two-sided proximal proxy bounds into Set.Icc membership statements. ★ condMeanYofA_W_mem_Icc★ meanYofA_W_mem_Icc★ condMeanYofA_Z_mem_Icc★ meanYofA_Z_mem_Icc★ condMeanYofA_WZ_mem_Icc
Closed-interval forms of proximal proxy bounds
This file converts the scalar two-sided proximal proxy bounds into Set.Icc
membership statements. The W-based, Z-based, and two-proxy source theorems keep
their original hypotheses, while this layer adapts them to the common
partial-identification interval vocabulary.
Set.Icc form of Theorem 1 (condMeanYofA_W_bounds). Fix a treatment arm a and assume the W-only proximal bridge assumption bundle, with the treatment and outcome variables distinct; let Lenv, Uenv be lower and upper envelope functions bounding the W-proxy density ratio, with the off-arm stratum of positive mass and the envelope-weighted bridge moments integrable. Then the conditional target E[Y(a) ∣ A ≠ a] lies in the closed interval spanned by the essential Y-bounds and the W-proxy envelope clamps, the Set.Icc membership restatement of the scalar sandwich bound condMeanYofA_W_bounds.
Formal statement
Proof (Lean source)
Set.Icc form of Corollary 1 (meanYofA_W_bounds). Fix a treatment arm a and assume the W-only proximal bridge assumption bundle, with the treatment and outcome variables distinct; let Lenv, Uenv be lower and upper envelope functions bounding the W-proxy density ratio, and assume the envelope-weighted bridge moments and the envelope-weighted observed conditional means are integrable. Then the marginal target E[Y(a)] lies in the closed interval spanned by the W-proxy marginal lower and upper clamps, the Set.Icc membership restatement of the scalar sandwich bound meanYofA_W_bounds.
Formal statement
Proof (Lean source)
Set.Icc form of Theorem 2 (condMeanYofA_Z_bounds). Fix a treatment arm a and assume the Z-only proximal bridge assumption bundle, with the treatment and outcome variables distinct; let Lenv, Uenv be lower and upper envelope functions bounding the σ(A,Z,X)-conditional mean of the outcome on the on-arm stratum, assumed integrable, with the envelope weighted by the treatment-proxy bridge and the envelope weighted by the likelihood-ratio arm-swap factor both integrable, and the off-arm stratum of positive mass. Then the conditional target E[Y(a) ∣ A ≠ a] lies in the closed interval spanned by the normalised on-arm integrals of Lenv and Uenv, the Set.Icc membership restatement of the scalar sandwich bound condMeanYofA_Z_bounds.
Formal statement
Proof (Lean source)
Set.Icc form of Corollary 2 (meanYofA_Z_bounds). Fix a treatment arm a and assume the Z-only proximal bridge assumption bundle, with the treatment and outcome variables distinct; let Lenv, Uenv be lower and upper envelope functions bounding the σ(A,Z,X)-conditional mean of the outcome on the on-arm stratum, assumed integrable, with the envelope weighted by the treatment-proxy bridge and the envelope weighted by the likelihood-ratio arm-swap factor both integrable. Then the marginal target E[Y(a)] lies in the closed interval spanned by the Z-proxy marginal envelope integrals, the Set.Icc membership restatement of the scalar sandwich bound meanYofA_Z_bounds.
Formal statement
Proof (Lean source)
Set.Icc form of Theorem 3 (condMeanYofA_WZ_bounds). Fix a treatment arm a and assume the two-proxy bridge assumption bundle, with the treatment and outcome variables distinct; let Lenv, Uenv be lower and upper envelope functions bounding the same-arm joint-versus-product W-Z density ratio, with the off-arm stratum of positive mass and the envelope-weighted product of the two conditional bridge means integrable. Then the conditional target E[Y(a) ∣ A ≠ a] lies in the closed interval spanned by the essential Y-bounds and the joint-WZ envelope clamps, the Set.Icc membership restatement of the scalar sandwich bound condMeanYofA_WZ_bounds.
Formal statement
Proof (Lean source)
TwoProxy 1 core · 0 supporting This file proves the two-proxy proximal partial-identification sandwich for the off-arm counterfactual mean. ★ condMeanYofA_WZ_bounds
Two-proxy proximal partial-identification bounds
This file proves the two-proxy proximal partial-identification sandwich for the
off-arm counterfactual mean. The bridge-substitution identity
condIntYofA_eq_hq_armSwap_twoProxy moves the target to the observed treatment
arm; the joint W-Z envelope predicates IsLowerEnvWZ and IsUpperEnvWZ then
bound the bridge product by observable conditional means and stratum odds
ratios.
The main declaration is condMeanYofA_WZ_bounds, the Theorem 3 bound for
condMeanYofA. Its public statement contains only observable objects:
stratumOddsRatio, the envelope functions, and μ[Y | σ_AX]; the latent
bridges h and q are eliminated by the conditional-expectation collapse
lemmas.
Theorem 3 (Ghassami-Shpitser-Tchetgen Tchetgen 2024, two-proxy partial identification). Fix a treatment arm a and assume the two-proxy assumption bundle — consistency, latent exchangeability, conditional independence of the proxies W and Z given treatment and covariates, the outcome and treatment-proxy bridges, and essential bounds on Y — together with the treatment and outcome variables being distinct; let Lenv, Uenv be lower and upper envelope functions bounding the same-arm joint-versus-product density ratio of the two proxies, with the off-arm stratum of positive mass and the envelope-weighted product of the outcome- and treatment-proxy conditional bridge means integrable. Then the conditional target E[Y(a) ∣ A ≠ a] is sandwiched between the essential Y-bounds and the integrated envelope bound, expressed entirely through observable quantities — the stratum odds ratio, the envelope functions, and the observed conditional mean of Y.
Formal statement
Proof (Lean source)
WBased 2 core · 0 supporting This file proves the W-only proximal partial-identification bounds of Ghassami-Shpitser-Tchetgen Tchetgen for a potential-outcome system with an outcome-inducing proxy W. ★ condMeanYofA_W_bounds★ meanYofA_W_bounds
W-based proximal partial-identification bounds
This file proves the W-only proximal partial-identification bounds of
Ghassami-Shpitser-Tchetgen Tchetgen for a potential-outcome system with an
outcome-inducing proxy W. The outcome bridge rewrites the off-arm target
E[Y(a) | A != a] as a bridge moment, and the W-density-ratio envelope
predicates IsLowerEnvW and IsUpperEnvW turn that moment into observable
integrals over the on-arm stratum.
Main declarations:
* condMeanYofA_W_bounds is the conditional Theorem 1 sandwich for
condMeanYofA, combining the envelope bounds with the trivial essential
bounds on Y.
* meanYofA_W_bounds is the marginal Corollary 1 sandwich for meanYofA,
obtained by adding the consistency-identified {A = a} contribution.
Theorem 1 (Ghassami-Shpitser-Tchetgen Tchetgen 2024, W-only partial identification). Fix a treatment arm a and assume the W-only assumption bundle — consistency, latent exchangeability, independence of the proxy W from treatment given the latent confounder and covariates, the outcome bridge, and essential bounds on Y — together with the treatment and outcome variables being distinct; let Lenv, Uenv be lower and upper envelope functions bounding the W-proxy density ratio, with the off-arm stratum of positive mass and the envelope-weighted bridge moments integrable. Then the conditional target E[Y(a) ∣ A ≠ a] lies between the trivial essential-Y bound and the integrated envelope bound on each side.
Formal statement
Proof (Lean source)
Corollary 1 (Ghassami-Shpitser-Tchetgen Tchetgen 2024, W-only marginal version). Fix a treatment arm a and assume the W-only assumption bundle, with the treatment and outcome variables distinct; let Lenv, Uenv be lower and upper envelope functions bounding the W-proxy density ratio, and assume the envelope-weighted bridge moments and the envelope-weighted observed conditional means are integrable. Then the marginal target E[Y(a)] lies between a trivial clamp and an envelope clamp on each side, plus the point-identified on-arm contribution.