Estimation.NPIV.Primal.EmpiricalProcessEvent
The high-probability empirical-process events (Gram-matrix control, residual concentration) underlying the sieve NPIV rate.
Regime 4 core · 0 supporting This file bundles the localized empirical-process hypotheses required for the primal NPIV rate theorem. ★ peelingFloor_quarter_of_unit_scale
Localized Empirical-Process Regimes
This file bundles the localized empirical-process hypotheses required for the
primal NPIV rate theorem. LocalizedRegimeBundle packages one abstract
localized loss class with its sample map, critical-radius certificate, and
radius-uniform boundedness/integrability assumptions. LocalizedRegimes
assembles the four concrete bundles used downstream, for H · F, m ∘ F,
F, and H, together with the law bridge, realizability, closedness, diameter,
and pair-gap interpretation fields needed by the class-specific deviation
events. PeelingFloor separately records the finite-depth inequalities at one
chosen confidence level.
A localized regime bundle packages a countable index set and a measurable family of loss functions on a nonempty covariate space, together with a localization norm, nonnegative on every class member and a measurable sample embedding into that covariate space. It further records a localized empirical-process regime whose critical radius is at most the target localization scale δ_n and is strictly positive. Finally, uniformly over every radius at least δ_n, it requires that the empirical Rademacher process on the star-hull is almost-surely bounded and that the corresponding empirical Rademacher complexity is integrable.
Definition (Lean source)
This structure bundles four localized regime witnesses, one for each function class entering the empirical-process and centred-regulariser arguments — the product, moment, critic, and candidate classes, with the deterministic hypotheses that the observation variable has the stated law, that the population Tikhonov solution is realizable in the statistical candidate class, that the moment, candidate, and critic maps are almost-surely uniformly bounded, and that every candidate has a critic whose L² lift realizes the projected residual. It also records that the empirical sup-min objective is bounded above by, and attained at, the population sup objective; diameter caps on the candidate class and the critic class; and nonnegative proportionality constants together with a matching radius lower bound for the moment-class pair differences and for the product-class cross terms. For the candidate class it further supplies an interpretation triple: an index into the H-bundle whose norm controls the pairwise loss gap, and whose composed evaluation equals the difference of squared candidate losses. For the product class it supplies both a single-candidate interpretation triple bounded by the localization scale and a pair-difference interpretation triple scaling with the candidate gap. For the moment class it likewise supplies a single-critic interpretation triple and a pair-difference interpretation triple.
Definition (Lean source)
At a fixed confidence allocation eta, a localized NPIV regime satisfies the peeling floor when the variance-sensitive slack is absorbed at some finite dyadic depth for the product, moment, squared-critic, and squared-candidate pair classes.
Definition (Lean source)
Fixed-level peeling floor for product-class pair deviations.
Fixed-level peeling floor for moment-class pair deviations.
For a localized regime at unit radius with at least thirty-two observations, zero envelope constants for all four classes, and unit upper bounds on the four peeled radii, the quarter-confidence peeling floor is inhabited.
Formal statement
Proof (Lean source)
LocalizedEventsBase 2 core · 1 supporting This file supplies the shared Ω-side infrastructure for turning product-space localized deviation inequalities into events on the ambient sample space. ★ localized_omega_event_sharp_for_bundle
Base Localized Events for Primal NPIV
This file supplies the shared Ω-side infrastructure for turning product-space
localized deviation inequalities into events on the ambient sample space. The
law bridge integral_comp_law_W rewrites population means under the observation
law as integrals over S.W, and localized_omega_event_sharp_for_bundle
pulls the sharp localized event for an abstract LocalizedRegimeBundle back
along an IID sample. The class-specific event files for H, F, H · F, and
m ∘ F instantiate this wrapper through their LocalizedRegimes
interpretation fields.
Given an envelope bound, localization radius, critical radius, log-confidence budget, and sample size, the NPIV fixed-radius Bousquet slack is the variance-sensitive square-root term plus its linear correction.
Definition (Lean source)
Ω-side Foster–Syrgkanis sharp localized event for a single NPIV LocalizedRegimeBundle. Consider an IID sample drawn from a probability space, where the pushforward of the ambient measure under the observed-variable map equals the stated observation law and the sample size n is positive. Fix a confidence parameter ζ with , a localized rate with , and a radius Rmax. If there is a dyadic level K with Rmax ≤ δ_n · 2 ^ K whose corresponding complexity term stays below δ_n ^ 2, then there is an event of probability at least 1 - ζ on which, for every index in the regime bundle whose function norm is at most Rmax, the empirical average of that function over the first n sample draws deviates from its population mean by at most 10 * δ_n * norm + 5 * δ_n ^ 2.
Formal statement
Proof (Lean source)
1 supporting declaration (lemmas, instances)
-
integral_comp_law_Wlemma — Integrating a measurable function under the law of the observed variable is the same as integrating its pullback over the ambient sample space.hypothesesconclusion∫ w, g w ∂P_W = ∫ ω, g (S.W ω) ∂μProof (Lean source)
lemma integral_comp_law_W {S : OperatorSystem Ω μ} {P_W : Measure S.𝒲} (hlaw : μ.map S.W = P_W) {g : S.𝒲 → ℝ} (hg : Measurable g) : ∫ w, g w ∂P_W = ∫ ω, g (S.W ω) ∂μ := by rw [← hlaw] exact MeasureTheory.integral_map S.meas_W.aemeasurable hg.aestronglyMeasurable
Algebra 1 core · 2 supporting Collects deterministic algebra for the NPIV empirical-process master event. ★ young_cross_envelope
Collects deterministic algebra for the NPIV empirical-process master event. The lemmas turn localized deviation inequalities and regularizer bounds into the additive envelopes used by the primal rate proof.
Young / AM-GM cross-term envelope. The mixed sum δ · (R + w + δ) + R · κ is bounded above by the quadratic envelope R² + δ · w + (3/2) · δ² + (1/2) · κ².
Formal statement
Proof (Lean source)
2 supporting declarations (lemmas, instances)
-
measure_iInter_nat_ge_one_sub_tsum_of_gelemma — If every measurable event in a countable family has probability at least one minus its assigned error, then their intersection has probability at least one minus the sum of the errors.hypothesesconclusionμ (⋂ n, E n) ≥ 1 - ∑' n, a nProof (Lean source)
lemma measure_iInter_nat_ge_one_sub_tsum_of_ge [IsProbabilityMeasure μ] {E : ℕ → Set Ω} {a : ℕ → ENNReal} (hE_meas : ∀ n, MeasurableSet (E n)) (hE : ∀ n, μ (E n) ≥ 1 - a n) : μ (⋂ n, E n) ≥ 1 - ∑' n, a n := by have hE_compl : ∀ n, μ (E n)ᶜ ≤ a n := by intro n have hone_le : (1 : ENNReal) ≤ a n + μ (E n) := tsub_le_iff_left.mp (hE n) rw [measure_compl (hE_meas n) (measure_ne_top _ _), measure_univ] exact tsub_le_iff_right.mpr (by simpa [add_comm] using hone_le) have hbad_subset : (⋂ n, E n)ᶜ ⊆ ⋃ n, (E n)ᶜ := by simp have hbad_le : μ (⋂ n, E n)ᶜ ≤ ∑' n, a n := by calc μ (⋂ n, E n)ᶜ ≤ μ (⋃ n, (E n)ᶜ) := measure_mono hbad_subset _ ≤ ∑' n, μ (E n)ᶜ := measure_iUnion_le fun n => (E n)ᶜ _ ≤ ∑' n, a n := ENNReal.tsum_le_tsum hE_compl have hA_meas : MeasurableSet (⋂ n, E n) := MeasurableSet.iInter hE_meas rw [measure_compl hA_meas (measure_ne_top _ _), measure_univ] at hbad_le have hone_le : (1 : ENNReal) ≤ (∑' n, a n) + μ (⋂ n, E n) := tsub_le_iff_right.mp hbad_le exact tsub_le_iff_left.mpr hone_le -
measure_inter_ge_one_sub_add_of_gelemma — If two measurable events have failure probabilities bounded by a and b, then their intersection has failure probability at most a + b.hypothesesconclusionμ (A ∩ B) ≥ 1 - (a + b)Proof (Lean source)
lemma measure_inter_ge_one_sub_add_of_ge [IsProbabilityMeasure μ] {A B : Set Ω} {a b : ENNReal} (hA_meas : MeasurableSet A) (hB_meas : MeasurableSet B) (hA : μ A ≥ 1 - a) (hB : μ B ≥ 1 - b) : μ (A ∩ B) ≥ 1 - (a + b) := by have hA_compl : μ Aᶜ ≤ a := by have hone_le : (1 : ENNReal) ≤ a + μ A := tsub_le_iff_left.mp hA rw [measure_compl hA_meas (measure_ne_top _ _), measure_univ] exact tsub_le_iff_right.mpr (by simpa [add_comm] using hone_le) have hB_compl : μ Bᶜ ≤ b := by have hone_le : (1 : ENNReal) ≤ b + μ B := tsub_le_iff_left.mp hB rw [measure_compl hB_meas (measure_ne_top _ _), measure_univ] exact tsub_le_iff_right.mpr (by simpa [add_comm] using hone_le) have hbad_le : μ (A ∩ B)ᶜ ≤ a + b := by rw [Set.compl_inter] exact (measure_union_le Aᶜ Bᶜ).trans (add_le_add hA_compl hB_compl) have hAB_meas : MeasurableSet (A ∩ B) := hA_meas.inter hB_meas rw [measure_compl hAB_meas (measure_ne_top _ _), measure_univ] at hbad_le have hone_le : (1 : ENNReal) ≤ (a + b) + μ (A ∩ B) := tsub_le_iff_right.mp hbad_le exact tsub_le_iff_left.mpr hone_le
EPMasterEvent_Part1 1 core · 5 supporting This first implementation part relates closedness witnesses to population weak norms and compares population regularized objectives with fold-A empirical objectives. ★ empirical_critic_argmax_localized
Deterministic comparisons for the empirical-process master event
This first implementation part relates closedness witnesses to population weak norms and compares population regularized objectives with fold-A empirical objectives. These deterministic inequalities feed the localized event assembly in the second part.
For a probability space, an instrumental-variables operator system, its primal function classes, an observed-data law, an independent sample, and a sample split, a regularization level and candidate structural function, membership of that candidate in the structural class, a population closedness critic, membership of that critic in the critic class, an empirical critic, membership of the empirical critic in the critic class, a sample size, population state, and nonnegative localization allowance, the closedness identity, empirical optimality of the empirical critic, and a bound on the population-to- empirical objective discrepancy, the empirical critic lies within squared population distance equal to the localization allowance of the closedness critic.
Formal statement
Proof (Lean source)
5 supporting declarations (lemmas, instances)
-
population_inner_eq_weakNorm_sqlemma — For a candidate in the primal class and a critic in the critic class, if the critic represents the image of the primal error under the inverse-problem operator, then the population adversarial value equals the squared weak norm of that error.hypothesesTC :h :S.𝒳 → ℝhh :h ∈ TC.Hf :S.𝒵 → ℝhf :f ∈ TC.Fhcl :S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf)conclusion2 * (∫ ω, S.m (S.W ω) f ∂μ)- 2 * (∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ)- ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ= (S.weakNorm (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem)) ^ 2Proof (Lean source)
lemma population_inner_eq_weakNorm_sq {S : OperatorSystem Ω μ} {TC : TRAEClasses S} [IsProbabilityMeasure μ] {h : S.𝒳 → ℝ} (hh : h ∈ TC.H) {f : S.𝒵 → ℝ} (hf : f ∈ TC.F) (hcl : S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf)) : 2 * (∫ ω, S.m (S.W ω) f ∂μ) - 2 * (∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ) - ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ = (S.weakNorm (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem)) ^ 2 := by haveI := S.isFiniteMeasure haveI := S.Qbar_L2_hasProj have h_inner_int : inner ℝ (S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh))) (S.qL2 (TC.F_subset hf)) = ∫ ω, (S.h₀ (S.xOf (S.W ω)) - h (S.xOf (S.W ω))) * f (S.zOf (S.W ω)) ∂μ := S.T_inner_eq_integral S.h₀_mem (TC.H_subset hh) (TC.F_subset hf) have h_moment : ∫ ω, S.m (S.W ω) f ∂μ = ∫ ω, S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ := S.primal_moment f (TC.F_subset hf) have hh₀f_int : Integrable (fun ω => S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω))) μ := by have := S.integrable_qh S.h₀ S.h₀_mem f (TC.F_subset hf) simpa [mul_comm] using this have hhf_int : Integrable (fun ω => h (S.xOf (S.W ω)) * f (S.zOf (S.W ω))) μ := by have := S.integrable_qh h (TC.H_subset hh) f (TC.F_subset hf) simpa [mul_comm] using this have h_int_diff : ∫ ω, (S.h₀ (S.xOf (S.W ω)) - h (S.xOf (S.W ω))) * f (S.zOf (S.W ω)) ∂μ = (∫ ω, S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ) - ∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ := by have : (fun ω => (S.h₀ (S.xOf (S.W ω)) - h (S.xOf (S.W ω))) * f (S.zOf (S.W ω))) = fun ω => S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) - h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) := by funext ω; ring rw [this] exact integral_sub hh₀f_int hhf_int have h_diff_eq_inner : (∫ ω, S.m (S.W ω) f ∂μ) - ∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ = inner ℝ (S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh))) (S.qL2 (TC.F_subset hf)) := by rw [h_moment, h_inner_int, h_int_diff] have h_qL2_self : inner ℝ (S.qL2 (TC.F_subset hf)) (S.qL2 (TC.F_subset hf)) = ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ := by change inner ℝ ((S.qL2 (TC.F_subset hf) : S.InstrumentL2) : Lp ℝ 2 μ) ((S.qL2 (TC.F_subset hf) : S.InstrumentL2) : Lp ℝ 2 μ) = _ rw [MeasureTheory.L2.inner_def] refine integral_congr_ae ?_ filter_upwards [(S.toQbarL2 f (TC.F_subset hf)).coeFn_toLp] with ω hω simp [OperatorSystem.qL2, hω, pow_two] have h_diff_eq_int_fsq : (∫ ω, S.m (S.W ω) f ∂μ) - ∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ = ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ := by rw [h_diff_eq_inner, hcl, h_qL2_self] have h_T_neg : S.T (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem) = - S.qL2 (TC.F_subset hf) := by rw [S.T_sub] have hcl' : S.T (S.hL2 S.h₀_mem) - S.T (S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf) := by rw [← S.T_sub]; exact hcl rw [← hcl'] abel have h_weak_eq_intf : (S.weakNorm (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem)) ^ 2 = ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ := by rw [OperatorSystem.weakNorm, h_T_neg, norm_neg] have : ‖S.qL2 (TC.F_subset hf)‖ ^ 2 = inner ℝ (S.qL2 (TC.F_subset hf)) (S.qL2 (TC.F_subset hf)) := by rw [real_inner_self_eq_norm_sq] rw [this, h_qL2_self] rw [h_weak_eq_intf] linarith [h_diff_eq_int_fsq] -
population_inner_le_weaklemma — Population adversarial inner objectives are bounded by the weak residual norm squared. This is the deterministic inequality 2⟨a,q⟩ - ‖q‖² ≤ ‖a‖², written in the NPIV integral notation.hypothesesTC :h :S.𝒳 → ℝhh :h ∈ TC.Hf :S.𝒵 → ℝhf :f ∈ TC.Fconclusion2 * (∫ ω, S.m (S.W ω) f ∂μ)- 2 * (∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ)- ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ≤ (S.weakNorm (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem)) ^ 2Proof (Lean source)
lemma population_inner_le_weak {S : OperatorSystem Ω μ} {TC : TRAEClasses S} [IsProbabilityMeasure μ] {h : S.𝒳 → ℝ} (hh : h ∈ TC.H) {f : S.𝒵 → ℝ} (hf : f ∈ TC.F) : 2 * (∫ ω, S.m (S.W ω) f ∂μ) - 2 * (∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ) - ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ ≤ (S.weakNorm (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem)) ^ 2 := by haveI := S.isFiniteMeasure haveI := S.Qbar_L2_hasProj let a := S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) let q := S.qL2 (TC.F_subset hf) have h_inner_int : inner ℝ a q = ∫ ω, (S.h₀ (S.xOf (S.W ω)) - h (S.xOf (S.W ω))) * f (S.zOf (S.W ω)) ∂μ := by simpa [a, q] using S.T_inner_eq_integral S.h₀_mem (TC.H_subset hh) (TC.F_subset hf) have h_moment : ∫ ω, S.m (S.W ω) f ∂μ = ∫ ω, S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ := S.primal_moment f (TC.F_subset hf) have hh₀f_int : Integrable (fun ω => S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω))) μ := by have := S.integrable_qh S.h₀ S.h₀_mem f (TC.F_subset hf) simpa [mul_comm] using this have hhf_int : Integrable (fun ω => h (S.xOf (S.W ω)) * f (S.zOf (S.W ω))) μ := by have := S.integrable_qh h (TC.H_subset hh) f (TC.F_subset hf) simpa [mul_comm] using this have h_int_diff : ∫ ω, (S.h₀ (S.xOf (S.W ω)) - h (S.xOf (S.W ω))) * f (S.zOf (S.W ω)) ∂μ = (∫ ω, S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ) - ∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ := by have : (fun ω => (S.h₀ (S.xOf (S.W ω)) - h (S.xOf (S.W ω))) * f (S.zOf (S.W ω))) = fun ω => S.h₀ (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) - h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) := by funext ω; ring rw [this] exact integral_sub hh₀f_int hhf_int have h_diff_eq_inner : (∫ ω, S.m (S.W ω) f ∂μ) - ∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ = inner ℝ a q := by rw [h_moment, h_inner_int, h_int_diff] have h_qL2_self : inner ℝ q q = ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ := by change inner ℝ (q : Lp ℝ 2 μ) (q : Lp ℝ 2 μ) = _ rw [MeasureTheory.L2.inner_def] refine integral_congr_ae ?_ filter_upwards [(S.toQbarL2 f (TC.F_subset hf)).coeFn_toLp] with ω hω simp [q, OperatorSystem.qL2, hω, pow_two] have hweak : (S.weakNorm (S.hL2 (TC.H_subset hh) - S.hL2 S.h₀_mem)) ^ 2 = ‖a‖ ^ 2 := by rw [OperatorSystem.weakNorm, S.T_sub] have hneg : S.T (S.hL2 (TC.H_subset hh)) - S.T (S.hL2 S.h₀_mem) = -a := by dsimp [a] rw [S.T_sub] abel rw [hneg, norm_neg] have hhilbert : 2 * inner ℝ a q - inner ℝ q q ≤ ‖a‖ ^ 2 := by have hsq : 0 ≤ ‖a - q‖ ^ 2 := sq_nonneg ‖a - q‖ rw [norm_sub_sq_real] at hsq have hqnorm : inner ℝ q q = ‖q‖ ^ 2 := real_inner_self_eq_norm_sq q nlinarith rw [hweak] nlinarith [h_diff_eq_inner, h_qL2_self, hhilbert] -
population_closedness_critic_gap_eqlemma — Population curvature at the closedness critic. For a fixed candidate h, the closedness witness f_closed is the population maximizer of the quadratic adversarial criterion, and the drop at any critic f is exactly the squared L² critic gap.hypothesesTC :h :S.𝒳 → ℝhh :h ∈ TC.Hf_closed :S.𝒵 → ℝhf_closed :f_closed ∈ TC.Ff :S.𝒵 → ℝhf :f ∈ TC.Fhcl :S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf_closed)conclusion(2 * (∫ ω, S.m (S.W ω) f_closed ∂μ) - 2 * (∫ ω, h (S.xOf (S.W ω)) * f_closed (S.zOf (S.W ω)) ∂μ) - ∫ ω, (f_closed (S.zOf (S.W ω))) ^ 2 ∂μ)- (2 * (∫ ω, S.m (S.W ω) f ∂μ) - 2 * (∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ) - ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ)= ‖S.qL2 (TC.F_subset hf_closed) - S.qL2 (TC.F_subset hf)‖ ^ 2Proof (Lean source)
lemma population_closedness_critic_gap_eq {S : OperatorSystem Ω μ} {TC : TRAEClasses S} [IsProbabilityMeasure μ] {h : S.𝒳 → ℝ} (hh : h ∈ TC.H) {f_closed : S.𝒵 → ℝ} (hf_closed : f_closed ∈ TC.F) {f : S.𝒵 → ℝ} (hf : f ∈ TC.F) (hcl : S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf_closed)) : (2 * (∫ ω, S.m (S.W ω) f_closed ∂μ) - 2 * (∫ ω, h (S.xOf (S.W ω)) * f_closed (S.zOf (S.W ω)) ∂μ) - ∫ ω, (f_closed (S.zOf (S.W ω))) ^ 2 ∂μ) - (2 * (∫ ω, S.m (S.W ω) f ∂μ) - 2 * (∫ ω, h (S.xOf (S.W ω)) * f (S.zOf (S.W ω)) ∂μ) - ∫ ω, (f (S.zOf (S.W ω))) ^ 2 ∂μ) = ‖S.qL2 (TC.F_subset hf_closed) - S.qL2 (TC.F_subset hf)‖ ^ 2 := by let qc := S.qL2 (TC.F_subset hf_closed) let q := S.qL2 (TC.F_subset hf) have hclosed := population_inner_eq_closedness_inner (S := S) (TC := TC) (hh := hh) (hf_closed := hf_closed) (hf := hf_closed) hcl have hf_eq := population_inner_eq_closedness_inner (S := S) (TC := TC) (hh := hh) (hf_closed := hf_closed) (hf := hf) hcl change _ = ‖qc - q‖ ^ 2 rw [hclosed, hf_eq, norm_sub_sq_real] have hqc_self : inner ℝ qc qc = ‖qc‖ ^ 2 := real_inner_self_eq_norm_sq qc have hq_self : inner ℝ q q = ‖q‖ ^ 2 := real_inner_self_eq_norm_sq q nlinarith [hqc_self, hq_self] -
population_regularized_le_innerObjective_add_deviationlemma — Given a nonparametric instrumental-variables system, sample split, regularization level, candidate functions, sample size, observation, and three deviation bounds, if the empirical moment deviation is bounded, the empirical cross-product deviation is bounded, and the empirical squared-instrument deviation is bounded, then the population regularized objective is at most the empirical inner objective plus the stated combined deviation.hypothesessplit :OneShotSplit samplelambda :ℝh :S.𝒳 → ℝf :S.𝒵 → ℝn :ℕω :ΩRm RHF RF :ℝhmF :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f- ∫ ω', S.m (S.W ω') f ∂μ|≤ RmhHF :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω))- ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ|≤ RHFhF :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2- ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ|≤ RFconclusion2 * (∫ ω', S.m (S.W ω') f ∂μ)- 2 * (∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ)- ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ+ lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2)≤ innerObjective S sample split lambda h f n ω + (2 * Rm + 2 * RHF + RF)Proof (Lean source)
lemma population_regularized_le_innerObjective_add_deviation {S : OperatorSystem Ω μ} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} (split : OneShotSplit sample) (lambda : ℝ) (h : S.𝒳 → ℝ) (f : S.𝒵 → ℝ) (n : ℕ) (ω : Ω) {Rm RHF RF : ℝ} (hmF : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f - ∫ ω', S.m (S.W ω') f ∂μ| ≤ Rm) (hHF : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω)) - ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ| ≤ RHF) (hF : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2 - ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ| ≤ RF) : 2 * (∫ ω', S.m (S.W ω') f ∂μ) - 2 * (∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ) - ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ + lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) ≤ innerObjective S sample split lambda h f n ω + (2 * Rm + 2 * RHF + RF) := by let mEmp : ℝ := ((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f let mPop : ℝ := ∫ ω', S.m (S.W ω') f ∂μ let hfEmp : ℝ := ((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω)) let hfPop : ℝ := ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ let fEmp : ℝ := ((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2 let fPop : ℝ := ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ let hReg : ℝ := lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) have hm_abs : -Rm ≤ mEmp - mPop ∧ mEmp - mPop ≤ Rm := by simpa [mEmp, mPop] using abs_le.mp hmF have hHF_abs : -RHF ≤ hfEmp - hfPop ∧ hfEmp - hfPop ≤ RHF := by simpa [hfEmp, hfPop] using abs_le.mp hHF have hF_abs : -RF ≤ fEmp - fPop ∧ fEmp - fPop ≤ RF := by simpa [fEmp, fPop] using abs_le.mp hF have hinner : innerObjective S sample split lambda h f n ω = 2 * mEmp - 2 * hfEmp - fEmp + hReg := by rw [innerObjective_eq_fin_sum] have hsum : (∑ k : Fin (split.n₁ n), innerIntegrand S lambda h f (sample.Z (k : ℕ) ω)) = 2 * (∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f) - 2 * (∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω))) - (∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2) + lambda * (∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) := by simp only [innerIntegrand, Finset.sum_add_distrib, Finset.sum_sub_distrib] abel_nf simp_rw [← Finset.mul_sum] rw [Finset.sum_add_distrib] rw [← Finset.smul_sum] abel_nf ring_nf rw [hsum] simp only [mEmp, hfEmp, fEmp, hReg] ring_nf rw [hinner] dsimp [mPop, hfPop, fPop, hReg] nlinarith [hm_abs.1, hm_abs.2, hHF_abs.1, hHF_abs.2, hF_abs.1, hF_abs.2] -
innerObjective_le_population_regularized_add_deviationlemma — Given a nonparametric instrumental-variables system, sample split, regularization level, candidate functions, sample size, observation, and three deviation bounds, if the empirical moment deviation is bounded, the empirical cross-product deviation is bounded, and the empirical squared-instrument deviation is bounded, then the empirical inner objective is at most the population regularized objective plus the stated combined deviation.hypothesessplit :OneShotSplit samplelambda :ℝh :S.𝒳 → ℝf :S.𝒵 → ℝn :ℕω :ΩRm RHF RF :ℝhmF :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f- ∫ ω', S.m (S.W ω') f ∂μ|≤ RmhHF :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω))- ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ|≤ RHFhF :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2- ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ|≤ RFconclusioninnerObjective S sample split lambda h f n ω≤ 2 * (∫ ω', S.m (S.W ω') f ∂μ)- 2 * (∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ)- ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ+ lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2)+ (2 * Rm + 2 * RHF + RF)Proof (Lean source)
lemma innerObjective_le_population_regularized_add_deviation {S : OperatorSystem Ω μ} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} (split : OneShotSplit sample) (lambda : ℝ) (h : S.𝒳 → ℝ) (f : S.𝒵 → ℝ) (n : ℕ) (ω : Ω) {Rm RHF RF : ℝ} (hmF : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f - ∫ ω', S.m (S.W ω') f ∂μ| ≤ Rm) (hHF : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω)) - ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ| ≤ RHF) (hF : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2 - ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ| ≤ RF) : innerObjective S sample split lambda h f n ω ≤ 2 * (∫ ω', S.m (S.W ω') f ∂μ) - 2 * (∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ) - ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ + lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) + (2 * Rm + 2 * RHF + RF) := by let mEmp : ℝ := ((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f let mPop : ℝ := ∫ ω', S.m (S.W ω') f ∂μ let hfEmp : ℝ := ((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω)) let hfPop : ℝ := ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ let fEmp : ℝ := ((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2 let fPop : ℝ := ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ let hReg : ℝ := lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) have hm_abs : -Rm ≤ mEmp - mPop ∧ mEmp - mPop ≤ Rm := by simpa [mEmp, mPop] using abs_le.mp hmF have hHF_abs : -RHF ≤ hfEmp - hfPop ∧ hfEmp - hfPop ≤ RHF := by simpa [hfEmp, hfPop] using abs_le.mp hHF have hF_abs : -RF ≤ fEmp - fPop ∧ fEmp - fPop ≤ RF := by simpa [fEmp, fPop] using abs_le.mp hF have hinner : innerObjective S sample split lambda h f n ω = 2 * mEmp - 2 * hfEmp - fEmp + hReg := by rw [innerObjective_eq_fin_sum] have hsum : (∑ k : Fin (split.n₁ n), innerIntegrand S lambda h f (sample.Z (k : ℕ) ω)) = 2 * (∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f) - 2 * (∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f (S.zOf (sample.Z (k : ℕ) ω))) - (∑ k : Fin (split.n₁ n), (f (S.zOf (sample.Z (k : ℕ) ω))) ^ 2) + lambda * (∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) := by simp only [innerIntegrand, Finset.sum_add_distrib, Finset.sum_sub_distrib] abel_nf simp_rw [← Finset.mul_sum] rw [Finset.sum_add_distrib] rw [← Finset.smul_sum] abel_nf ring_nf rw [hsum] simp only [mEmp, hfEmp, fEmp, hReg] ring_nf rw [hinner] dsimp [mPop, hfPop, fPop, hReg] nlinarith [hm_abs.1, hm_abs.2, hHF_abs.1, hHF_abs.2, hF_abs.1, hF_abs.2]
EPMasterEvent_Part2 1 core · 1 supporting This second implementation part turns componentwise H·F, m·F, and F² deviation bounds into the critic comparison and intersects their events over sample sizes. ★ ep_master_event_from_localized
Localized assembly of the empirical-process master event
This second implementation part turns componentwise H·F, m·F, and F²
deviation bounds into the critic comparison and intersects their events over
sample sizes. The resulting master event supplies the explicit objective gap
used by EPPerN.
Master localized empirical-process event for the primal NPIV analysis. Given, for every sample size n, a localized-regime bundle for the weak-norm, regularizer, and cross function classes at that fold-A sample size, and a confidence level ζ strictly between 0 and 1, there is a single event of probability at least 1 − ζ on which, simultaneously for every n with 1 ≤ split.n₁ n, the population weak-objective excess plus the empirical regularizer excess is bounded by the empirical sup-objective excess plus a localized envelope built from the regimes' critical radii and a √(log(1/ζ)/n) term.
Formal statement
Proof (Lean source)
1 supporting declaration (lemmas, instances)
-
empirical_critic_argmax_localized_from_componentslemma — Componentwise version of empirical_critic_argmax_localized.hypothesesTC :split :OneShotSplit samplelambda :ℝh :S.𝒳 → ℝhh :h ∈ TC.Hf_closed :S.𝒵 → ℝhf_closed :f_closed ∈ TC.Ff_emp :S.𝒵 → ℝhf_emp :f_emp ∈ TC.Fn :ℕω :ΩRm_closed RHF_closed RF_closed Rm_emp RHF_emp RF_emp :ℝhcl :S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf_closed)hopt :innerObjective S sample split lambda h f_closed n ω≤ innerObjective S sample split lambda h f_emp n ωhmF_closed :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f_closed- ∫ ω', S.m (S.W ω') f_closed ∂μ|≤ Rm_closedhHF_closed :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f_closed (S.zOf (sample.Z (k : ℕ) ω))- ∫ ω', h (S.xOf (S.W ω')) * f_closed (S.zOf (S.W ω')) ∂μ|≤ RHF_closedhF_closed :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f_closed (S.zOf (sample.Z (k : ℕ) ω))) ^ 2- ∫ ω', (f_closed (S.zOf (S.W ω'))) ^ 2 ∂μ|≤ RF_closedhmF_emp :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f_emp- ∫ ω', S.m (S.W ω') f_emp ∂μ|≤ Rm_emphHF_emp :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f_emp (S.zOf (sample.Z (k : ℕ) ω))- ∫ ω', h (S.xOf (S.W ω')) * f_emp (S.zOf (S.W ω')) ∂μ|≤ RHF_emphF_emp :|((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f_emp (S.zOf (sample.Z (k : ℕ) ω))) ^ 2- ∫ ω', (f_emp (S.zOf (S.W ω'))) ^ 2 ∂μ|≤ RF_empconclusion‖S.qL2 (TC.F_subset hf_closed) - S.qL2 (TC.F_subset hf_emp)‖ ^ 2≤ (2 * Rm_closed + 2 * RHF_closed + RF_closed) + (2 * Rm_emp + 2 * RHF_emp + RF_emp)Proof (Lean source)
lemma empirical_critic_argmax_localized_from_components {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} {split : OneShotSplit sample} [IsProbabilityMeasure μ] {lambda : ℝ} {h : S.𝒳 → ℝ} (hh : h ∈ TC.H) {f_closed : S.𝒵 → ℝ} (hf_closed : f_closed ∈ TC.F) {f_emp : S.𝒵 → ℝ} (hf_emp : f_emp ∈ TC.F) {n : ℕ} {ω : Ω} {Rm_closed RHF_closed RF_closed Rm_emp RHF_emp RF_emp : ℝ} (hcl : S.T (S.hL2 S.h₀_mem - S.hL2 (TC.H_subset hh)) = S.qL2 (TC.F_subset hf_closed)) (hopt : innerObjective S sample split lambda h f_closed n ω ≤ innerObjective S sample split lambda h f_emp n ω) (hmF_closed : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f_closed - ∫ ω', S.m (S.W ω') f_closed ∂μ| ≤ Rm_closed) (hHF_closed : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f_closed (S.zOf (sample.Z (k : ℕ) ω)) - ∫ ω', h (S.xOf (S.W ω')) * f_closed (S.zOf (S.W ω')) ∂μ| ≤ RHF_closed) (hF_closed : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f_closed (S.zOf (sample.Z (k : ℕ) ω))) ^ 2 - ∫ ω', (f_closed (S.zOf (S.W ω'))) ^ 2 ∂μ| ≤ RF_closed) (hmF_emp : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), S.m (sample.Z (k : ℕ) ω) f_emp - ∫ ω', S.m (S.W ω') f_emp ∂μ| ≤ Rm_emp) (hHF_emp : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), h (S.xOf (sample.Z (k : ℕ) ω)) * f_emp (S.zOf (sample.Z (k : ℕ) ω)) - ∫ ω', h (S.xOf (S.W ω')) * f_emp (S.zOf (S.W ω')) ∂μ| ≤ RHF_emp) (hF_emp : |((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (f_emp (S.zOf (sample.Z (k : ℕ) ω))) ^ 2 - ∫ ω', (f_emp (S.zOf (S.W ω'))) ^ 2 ∂μ| ≤ RF_emp) : ‖S.qL2 (TC.F_subset hf_closed) - S.qL2 (TC.F_subset hf_emp)‖ ^ 2 ≤ (2 * Rm_closed + 2 * RHF_closed + RF_closed) + (2 * Rm_emp + 2 * RHF_emp + RF_emp) := by let D_closed : ℝ := 2 * Rm_closed + 2 * RHF_closed + RF_closed let D_emp : ℝ := 2 * Rm_emp + 2 * RHF_emp + RF_emp have hclosed_upper : 2 * (∫ ω', S.m (S.W ω') f_closed ∂μ) - 2 * (∫ ω', h (S.xOf (S.W ω')) * f_closed (S.zOf (S.W ω')) ∂μ) - ∫ ω', (f_closed (S.zOf (S.W ω'))) ^ 2 ∂μ + lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) ≤ innerObjective S sample split lambda h f_closed n ω + D_closed := by simpa [D_closed] using population_regularized_le_innerObjective_add_deviation split lambda h f_closed n ω hmF_closed hHF_closed hF_closed have hemp_upper : innerObjective S sample split lambda h f_emp n ω ≤ 2 * (∫ ω', S.m (S.W ω') f_emp ∂μ) - 2 * (∫ ω', h (S.xOf (S.W ω')) * f_emp (S.zOf (S.W ω')) ∂μ) - ∫ ω', (f_emp (S.zOf (S.W ω'))) ^ 2 ∂μ + lambda * (((split.n₁ n : ℕ) : ℝ)⁻¹ * ∑ k : Fin (split.n₁ n), (h (S.xOf (sample.Z (k : ℕ) ω))) ^ 2) + D_emp := by simpa [D_emp] using innerObjective_le_population_regularized_add_deviation split lambda h f_emp n ω hmF_emp hHF_emp hF_emp apply empirical_critic_argmax_localized (S := S) (TC := TC) (sample := sample) (split := split) (lambda := lambda) (hh := hh) (hf_closed := hf_closed) (hf_emp := hf_emp) (n := n) (ω := ω) (R := D_closed + D_emp) hcl hopt linarith [hclosed_upper, hemp_upper]
EPPerN 2 core · 0 supporting This file states the per-sample-size empirical-process control used by the primal NPIV rate theorem. ★ ep_per_n_inequality_from_deviations★ ep_inequality_from_localized
Per-Sample Empirical-Process Bound
This file states the per-sample-size empirical-process control used by the primal NPIV rate theorem. It packages the master localized event into the form consumed by the estimator analysis at a fixed sample size.
EP per-n inequality from an objective-level localized modulus (Helper B). This pure analytic step uses a localized-regime bundle at the fold-A sample size and the pointwise objective-level inequality, at sample point ω, bounding the population weak-objective-plus-regularizer excess by the empirical sup-objective excess plus the localized envelope, the weak-norm estimation excess is bounded by the empirical regularizer gap plus the same localized envelope, the empirical sup-objective excess having been eliminated using the optimality of ĥ_n (is_estimator.opt) against tb.h_lambda_star_fun. This statement is intentionally not vacuous: the hypothesis still contains the empirical sup-objective excess, which the proof cancels rather than assumes away.
Formal statement
Proof (Lean source)
Localized empirical-process inequality for the primal NPIV estimator. Given, for every n, a localized-regime bundle for the weak-norm, regularizer, and cross function classes at that fold-A sample size, and a confidence level ζ strictly between 0 and 1, there is an event of probability at least 1 − ζ on which, simultaneously for every n with 1 ≤ split.n₁ n, the weak-norm estimation excess ‖T(ĥ_n − h_0)‖² − ‖T(h*_λ − h_0)‖² is bounded by the empirical regularizer gap λ · (‖h*‖²_{A(n)} − ‖ĥ‖²_{A(n)}) plus a localized envelope built from the per-n critical radii scaled by δ_n and a √(log(1/ζ)/n) deviation term, where ‖h‖²_{A(n)} := (split.n₁ n)⁻¹ ∑_{k < split.n₁ n} h(X_k)² is the fold-A empirical second moment.
Formal statement
Proof (Lean source)
EventAssembly 1 core · 0 supporting Assembles the localized empirical-process and centered-regularizer events for the earlier simultaneous-in-sample-size NPIV route. ★ empirical_process_event_from_localized
Assembles the localized empirical-process and centered-regularizer events for
the earlier simultaneous-in-sample-size NPIV route. The current fixed-sample
rate uses per_sample_empirical_process_event instead.
Discharge of empirical_process_event from localized_uniform_deviation — explicit-rate form. Given a localized-regime bundle for the weak-norm, regularizer, and cross function classes at each fold-A sample size and a nonnegative Tikhonov regularization weight lambda, for every confidence level ζ strictly between 0 and 1 there is an event of probability at least 1 − ζ on which, simultaneously for every n with 1 ≤ split.n₁ n, the weak-norm estimation excess plus lambda times the strong-norm estimation excess is bounded by the sum of the explicit per-n empirical-process rate and the explicit per-n centred-regularizer rate — each an additive combination of critical radii and a √(log/n) deviation term.
Formal statement
Proof (Lean source)
LocalizedEventF 1 core · 2 supporting This file constructs high-probability sample-space events that control the empirical fluctuation of squared critic functions in the primal NPIV analysis. ★ localized_omega_event_for_F_pair_peeled
Localized Deviation for the Critic Class F
This file constructs high-probability sample-space events that control the
empirical fluctuation of squared critic functions in the primal NPIV analysis.
Here F is the critic/test-function class TC.F; the event is pulled back from
the product sample law to the underlying probability space used by the
estimator.
Peeled pair-form localized deviation event for the squared critic class star(F). Given a positive sample size n and a confidence level δ in (0, 1], a fixed-level peeling floor, there is a single event of probability at least 1 − δ, valid simultaneously for every pair f₁, f₂ in the critic class TC.F, on which the gap between the empirical and population second-moment differences of f₁ and f₂ is bounded by 8 · F_L2_const · ‖f₁ − f₂‖_strong · δ_n + 5 · δ_n², where the strong norm is taken in the critic's L² embedding and F_L2_const comes from the supplied localized-regime witness.
Formal statement
Proof (Lean source)
2 supporting declarations (lemmas, instances)
-
localized_omega_event_for_Flemma — Ω-side localized deviation event for the critic class star(F) — controls |(1/n) Σ f(Z_i)² − E[f(Z)²]| uniformly over f ∈ TC.F.hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhδ_pos :0 < δhδ_le :δ ≤ 1conclusionconclusion 1ω ∈ E :f ∈ TC.F :|(n : ℝ)⁻¹ * ∑ k : Fin n, (f (S.zOf (sample.Z k ω))) ^ 2- ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ|≤ 4 * δ_n * criticalRadius (regime.bundle_F.regime.ψ n)+ 2 * sqrt ((δ_n ^ 2 + 8 * regime.bundle_F.regime.b * δ_n * criticalRadius (regime.bundle_F.regime.ψ n)) * log (1 / δ) / n)+ 8 * regime.bundle_F.regime.b * log (1 / δ) / nProof (Lean source)
lemma localized_omega_event_for_F {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ f ∈ TC.F, |(n : ℝ)⁻¹ * ∑ k : Fin n, (f (S.zOf (sample.Z k ω))) ^ 2 - ∫ ω', (f (S.zOf (S.W ω'))) ^ 2 ∂μ| ≤ 4 * δ_n * criticalRadius (regime.bundle_F.regime.ψ n) + 2 * sqrt ((δ_n ^ 2 + 8 * regime.bundle_F.regime.b * δ_n * criticalRadius (regime.bundle_F.regime.ψ n)) * log (1 / δ) / n) + 8 * regime.bundle_F.regime.b * log (1 / δ) / n := by classical let B := regime.bundle_F haveI : IsProbabilityMeasure P_W := by rw [← regime.law_W] exact Measure.isProbabilityMeasure_map S.meas_W.aemeasurable obtain ⟨E₀, hE₀_meas, hE₀_prob, hE₀_bound⟩ := localized_uniform_deviation B.F B.norm P_W B.X B.X_meas B.F_meas B.norm_nonneg B.regime hδ_pos hδ_le n hn B.crit_le B.crit_pos (B.rad_bdd δ_n le_rfl) (B.rad_int δ_n le_rfl) let Ψ : Ω → (Fin n → S.𝒲) := fun ω k => sample.Z k ω let E : Set Ω := Ψ ⁻¹' E₀ have hpull := event_pullback_along_iidSample sample n hE₀_meas hE₀_prob refine ⟨E, ?_, ?_, ?_⟩ · simpa [E, Ψ] using hpull.1 · simpa [E, Ψ] using hpull.2 · intro ω hω f hf let i : B.ι := regime.interp_F_idx f hf have hω₀ : Ψ ω ∈ E₀ := by simpa [E, Ψ] using hω have hi_norm : B.norm (B.F i) ≤ δ_n := by simpa [B, i] using regime.interp_F_norm f hf have hdev := hE₀_bound (Ψ ω) hω₀ i hi_norm have hpop : ∫ w, B.F i (B.X w) ∂P_W = ∫ ω', B.F i (B.X (S.W ω')) ∂μ := by exact integral_comp_law_W regime.law_W ((B.F_meas i).comp B.X_meas) have heval_sample : (Finset.univ.sum fun k : Fin n => B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, (f (S.zOf (sample.Z k ω))) ^ 2 := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_F_eval f hf (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => (f (S.zOf (S.W ω'))) ^ 2 := by funext ω' simpa [B, i] using regime.interp_F_eval f hf (S.W ω') simpa [Ψ, hpop, heval_sample, heval_pop] using hdev -
localized_omega_event_for_F_pairlemma — Ω-side fixed-diameter pair-form localized deviation event for the squared critic class star(F). This is the non-peeled building block for the Foster pair-gap bridge.hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhδ_pos :0 < δhδ_le :δ ≤ 1conclusionconclusion 1ω ∈ E :f₁ :_hf₁ :f₁ ∈ TC.Ff₂ :_hf₂ :f₂ ∈ TC.F|(n : ℝ)⁻¹ * ∑ k : Fin n, ((f₁ (S.zOf (sample.Z k ω))) ^ 2 - (f₂ (S.zOf (sample.Z k ω))) ^ 2)- ∫ ω', ((f₁ (S.zOf (S.W ω'))) ^ 2 - (f₂ (S.zOf (S.W ω'))) ^ 2) ∂μ|≤ 4 * (regime.F_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_F.regime.ψ n)+ 2 * sqrt (((regime.F_L2_const * regime.F_diameter) ^ 2 + 8 * regime.bundle_F.regime.b * (regime.F_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_F.regime.ψ n)) * log (1 / δ) / n)+ 8 * regime.bundle_F.regime.b * log (1 / δ) / nProof (Lean source)
lemma localized_omega_event_for_F_pair {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ f₁, ∀ _hf₁ : f₁ ∈ TC.F, ∀ f₂, ∀ _hf₂ : f₂ ∈ TC.F, |(n : ℝ)⁻¹ * ∑ k : Fin n, ((f₁ (S.zOf (sample.Z k ω))) ^ 2 - (f₂ (S.zOf (sample.Z k ω))) ^ 2) - ∫ ω', ((f₁ (S.zOf (S.W ω'))) ^ 2 - (f₂ (S.zOf (S.W ω'))) ^ 2) ∂μ| ≤ 4 * (regime.F_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_F.regime.ψ n) + 2 * sqrt (((regime.F_L2_const * regime.F_diameter) ^ 2 + 8 * regime.bundle_F.regime.b * (regime.F_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_F.regime.ψ n)) * log (1 / δ) / n) + 8 * regime.bundle_F.regime.b * log (1 / δ) / n := by classical let B := regime.bundle_F let r : ℝ := regime.F_L2_const * regime.F_diameter haveI : IsProbabilityMeasure P_W := by rw [← regime.law_W] exact Measure.isProbabilityMeasure_map S.meas_W.aemeasurable have hr_delta : δ_n ≤ r := by simpa [r] using regime.F_pair_radius_lb have hr_lb : criticalRadius (B.regime.ψ n) ≤ r := B.crit_le.trans hr_delta obtain ⟨E₀, hE₀_meas, hE₀_prob, hE₀_bound⟩ := localized_uniform_deviation B.F B.norm P_W B.X B.X_meas B.F_meas B.norm_nonneg B.regime hδ_pos hδ_le n hn hr_lb B.crit_pos (B.rad_bdd r hr_delta) (B.rad_int r hr_delta) let Ψ : Ω → (Fin n → S.𝒲) := fun ω k => sample.Z k ω let E : Set Ω := Ψ ⁻¹' E₀ have hpull := event_pullback_along_iidSample sample n hE₀_meas hE₀_prob refine ⟨E, ?_, ?_, ?_⟩ · simpa [E, Ψ] using hpull.1 · simpa [E, Ψ] using hpull.2 · intro ω hω f₁ hf₁ f₂ hf₂ let i : B.ι := regime.interp_F_idx_pair f₁ f₂ hf₁ hf₂ have hω₀ : Ψ ω ∈ E₀ := by simpa [E, Ψ] using hω have hpair : ‖S.qL2 (TC.F_subset hf₁) - S.qL2 (TC.F_subset hf₂)‖ ≤ regime.F_diameter := regime.F_diameter_bound f₁ f₂ hf₁ hf₂ have hi_norm : B.norm (B.F i) ≤ r := by exact (regime.interp_F_norm_pair f₁ f₂ hf₁ hf₂).trans (mul_le_mul_of_nonneg_left hpair regime.F_L2_const_nonneg) have hdev := hE₀_bound (Ψ ω) hω₀ i hi_norm have hpop : ∫ w, B.F i (B.X w) ∂P_W = ∫ ω', B.F i (B.X (S.W ω')) ∂μ := by exact integral_comp_law_W regime.law_W ((B.F_meas i).comp B.X_meas) have heval_sample : (Finset.univ.sum fun k : Fin n => B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, ((f₁ (S.zOf (sample.Z k ω))) ^ 2 - (f₂ (S.zOf (sample.Z k ω))) ^ 2) := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_F_eval_pair f₁ f₂ hf₁ hf₂ (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => (f₁ (S.zOf (S.W ω'))) ^ 2 - (f₂ (S.zOf (S.W ω'))) ^ 2 := by funext ω' simpa [B, i] using regime.interp_F_eval_pair f₁ f₂ hf₁ hf₂ (S.W ω') simpa [Ψ, r, hpop, heval_sample, heval_pop] using hdev
LocalizedEventH 1 core · 1 supporting This file constructs high-probability events controlling empirical fluctuations over pairs of candidate primal functions in the NPIV primal rate argument. ★ localized_omega_event_for_H
Localized Deviation for the Primal Class H
This file constructs high-probability events controlling empirical fluctuations
over pairs of candidate primal functions in the NPIV primal rate argument. Here
H is the primal hypothesis class TC.H. The event is one component of the
localized empirical-process control needed for the Tikhonov-regularized
adversarial estimator.
Fixed-diameter localized deviation event for the candidate class star(H). Given a positive sample size n and a confidence level δ in (0, 1], there is a single event of probability at least 1 − δ, valid simultaneously for every pair h₁, h₂ in the primal hypothesis class TC.H, on which the gap between the fold's empirical second-moment difference (1/n) Σ_k h₁(X_k)² − (1/n) Σ_k h₂(X_k)² and its population counterpart E[h₁(X)²] − E[h₂(X)²] is bounded by 4 · (H_diameter + δ_n) · criticalRadius(ψ n) plus a √(2·log(1/δ)/n) deviation term, where H_diameter and the critical-radius regime come from the supplied localized-regime witness.
Formal statement
Proof (Lean source)
1 supporting declaration (lemmas, instances)
-
localized_omega_event_for_H_pair_peeledlemma — Given a positive sample size, a confidence level in (0,1], a localized NPIV regime, and its fixed-level peeling floor, there is one event of probability at least 1 - delta on which every squared-candidate empirical-process difference is bounded by 10 * delta_n * strongNorm(h₁-h₂) + 5 * delta_n².hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhdelta_pos :0 < δhdelta_le :δ ≤ 1floor :PeelingFloor regime δProof (Lean source)
lemma localized_omega_event_for_H_pair_peeled {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hdelta_pos : 0 < δ) (hdelta_le : δ ≤ 1) (floor : PeelingFloor regime δ) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ h₁, ∀ hh₁ : h₁ ∈ TC.H, ∀ h₂, ∀ hh₂ : h₂ ∈ TC.H, |((n : ℝ)⁻¹ * ∑ k : Fin n, (h₁ (S.xOf (sample.Z k ω))) ^ 2 - (n : ℝ)⁻¹ * ∑ k : Fin n, (h₂ (S.xOf (sample.Z k ω))) ^ 2) - (∫ ω', (h₁ (S.xOf (S.W ω'))) ^ 2 ∂μ - ∫ ω', (h₂ (S.xOf (S.W ω'))) ^ 2 ∂μ)| ≤ 10 * δ_n * S.strongNorm (S.hL2 (TC.H_subset hh₁) - S.hL2 (TC.H_subset hh₂)) + 5 * δ_n ^ 2 := by classical let B := regime.bundle_H let Rmax : ℝ := max δ_n regime.H_diameter have hdelta_n_pos : 0 < δ_n := lt_of_lt_of_le B.crit_pos B.crit_le have hslack : ∃ K : ℕ, Rmax ≤ δ_n * (2 : ℝ) ^ K ∧ 2 * sqrt ((1 + 8 * B.regime.b) * log (2 * ((K : ℝ) + 1) / δ) / n) + 8 * B.regime.b * log (2 * ((K : ℝ) + 1) / δ) / (n * δ_n) ≤ δ_n := by simpa [B, Rmax] using floor.H obtain ⟨E, hE_meas, hE_mass, hE⟩ := localized_omega_event_sharp_for_bundle (S := S) (P_W := P_W) (sample := sample) (B := B) regime.law_W hn hdelta_pos hdelta_le hdelta_n_pos hslack refine ⟨E, hE_meas, hE_mass, ?_⟩ intro ω hω h₁ hh₁ h₂ hh₂ let i : B.ι := regime.interp_H_idx h₁ h₂ hh₁ hh₂ let gap : ℝ := S.strongNorm (S.hL2 (TC.H_subset hh₁) - S.hL2 (TC.H_subset hh₂)) have hi_gap : B.norm (B.F i) ≤ gap := by simpa [B, i, gap] using regime.interp_H_norm h₁ h₂ hh₁ hh₂ have hi_Rmax : B.norm (B.F i) ≤ Rmax := by exact hi_gap.trans <| (regime.H_diameter_bound h₁ h₂ hh₁ hh₂).trans (le_max_right _ _) have hdev := hE ω hω i hi_Rmax have hdev' : |(n : ℝ)⁻¹ * ∑ k : Fin n, B.F i (B.X (sample.Z k ω)) - ∫ ω', B.F i (B.X (S.W ω')) ∂μ| ≤ 10 * δ_n * gap + 5 * δ_n ^ 2 := by have hcoeff : 0 ≤ 10 * δ_n := mul_nonneg (by norm_num) hdelta_n_pos.le have hmul := mul_le_mul_of_nonneg_left hi_gap hcoeff nlinarith have heval_sample : (∑ k : Fin n, B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, ((h₁ (S.xOf (sample.Z k ω))) ^ 2 - (h₂ (S.xOf (sample.Z k ω))) ^ 2) := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_H_eval h₁ h₂ hh₁ hh₂ (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => (h₁ (S.xOf (S.W ω'))) ^ 2 - (h₂ (S.xOf (S.W ω'))) ^ 2 := by funext ω' simpa [B, i] using regime.interp_H_eval h₁ h₂ hh₁ hh₂ (S.W ω') have hsq₁_int : Integrable (fun ω' => (h₁ (S.xOf (S.W ω'))) ^ 2) μ := (S.toHbarL2 h₁ (TC.H_subset hh₁)).integrable_sq have hsq₂_int : Integrable (fun ω' => (h₂ (S.xOf (S.W ω'))) ^ 2) μ := (S.toHbarL2 h₂ (TC.H_subset hh₂)).integrable_sq rw [heval_sample, heval_pop, integral_sub hsq₁_int hsq₂_int, Finset.sum_sub_distrib, mul_sub] at hdev' simpa [gap] using hdev'
LocalizedEventHF 1 core · 2 supporting This file constructs the high-probability event controlling empirical fluctuations of products of candidate primal functions and critic functions in the primal NPIV analysis. ★ localized_omega_event_for_HF_pair_peeled
Localized Deviation for Products from H and F
This file constructs the high-probability event controlling empirical
fluctuations of products of candidate primal functions and critic functions in
the primal NPIV analysis. Here HF denotes the product class formed from
h ∈ TC.H and f ∈ TC.F; the result supplies the product-class component of
the localized empirical-process event used in the rate proof.
Peeled pair-form localized deviation event for the cross class star(H · F). Given a positive sample size n and a confidence level δ in (0, 1], a fixed-level peeling floor, there is a single event of probability at least 1 − δ, valid simultaneously for every pair h₁, h₂ in the primal class TC.H and every critic f in TC.F, on which the gap between the empirical and population means of (h₁ − h₂) · f is bounded by 8 · HF_pair_const · δ_n² · ‖h₁ − h₂‖_strong + 5 · δ_n², where the strong norm is taken in the primal L² embedding and HF_pair_const comes from the supplied localized-regime witness.
Formal statement
Proof (Lean source)
2 supporting declarations (lemmas, instances)
-
localized_omega_event_for_HFlemma — Ω-side localized deviation event for the product class star(H · F) — controls |(1/n) Σ h(X_i) f(Z_i) − E[h(X) f(Z)]| uniformly over h ∈ TC.H, f ∈ TC.F.hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhδ_pos :0 < δhδ_le :δ ≤ 1conclusionconclusion 1ω ∈ E :h ∈ TC.H :f ∈ TC.F :|(n : ℝ)⁻¹ * ∑ k : Fin n, h (S.xOf (sample.Z k ω)) * f (S.zOf (sample.Z k ω))- ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ|≤ 4 * δ_n * criticalRadius (regime.bundle_HF.regime.ψ n)+ 2 * sqrt ((δ_n ^ 2 + 8 * regime.bundle_HF.regime.b * δ_n * criticalRadius (regime.bundle_HF.regime.ψ n)) * log (1 / δ) / n)+ 8 * regime.bundle_HF.regime.b * log (1 / δ) / nProof (Lean source)
lemma localized_omega_event_for_HF {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ h ∈ TC.H, ∀ f ∈ TC.F, |(n : ℝ)⁻¹ * ∑ k : Fin n, h (S.xOf (sample.Z k ω)) * f (S.zOf (sample.Z k ω)) - ∫ ω', h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) ∂μ| ≤ 4 * δ_n * criticalRadius (regime.bundle_HF.regime.ψ n) + 2 * sqrt ((δ_n ^ 2 + 8 * regime.bundle_HF.regime.b * δ_n * criticalRadius (regime.bundle_HF.regime.ψ n)) * log (1 / δ) / n) + 8 * regime.bundle_HF.regime.b * log (1 / δ) / n := by classical let B := regime.bundle_HF haveI : IsProbabilityMeasure P_W := by rw [← regime.law_W] exact Measure.isProbabilityMeasure_map S.meas_W.aemeasurable obtain ⟨E₀, hE₀_meas, hE₀_prob, hE₀_bound⟩ := localized_uniform_deviation B.F B.norm P_W B.X B.X_meas B.F_meas B.norm_nonneg B.regime hδ_pos hδ_le n hn B.crit_le B.crit_pos (B.rad_bdd δ_n le_rfl) (B.rad_int δ_n le_rfl) let Ψ : Ω → (Fin n → S.𝒲) := fun ω k => sample.Z k ω let E : Set Ω := Ψ ⁻¹' E₀ have hpull := event_pullback_along_iidSample sample n hE₀_meas hE₀_prob refine ⟨E, ?_, ?_, ?_⟩ · simpa [E, Ψ] using hpull.1 · simpa [E, Ψ] using hpull.2 · intro ω hω h hh f hf let i : B.ι := regime.interp_HF_idx h hh f hf have hω₀ : Ψ ω ∈ E₀ := by simpa [E, Ψ] using hω have hi_norm : B.norm (B.F i) ≤ δ_n := by simpa [B, i] using regime.interp_HF_norm h hh f hf have hdev := hE₀_bound (Ψ ω) hω₀ i hi_norm have hpop : ∫ w, B.F i (B.X w) ∂P_W = ∫ ω', B.F i (B.X (S.W ω')) ∂μ := by exact integral_comp_law_W regime.law_W ((B.F_meas i).comp B.X_meas) have heval_sample : (Finset.univ.sum fun k : Fin n => B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, h (S.xOf (sample.Z k ω)) * f (S.zOf (sample.Z k ω)) := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_HF_eval h hh f hf (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => h (S.xOf (S.W ω')) * f (S.zOf (S.W ω')) := by funext ω' simpa [B, i] using regime.interp_HF_eval h hh f hf (S.W ω') simpa [Ψ, hpop, heval_sample, heval_pop] using hdev -
localized_omega_event_for_HF_pairlemma — Ω-side fixed-diameter pair-form localized deviation event for the cross class star(H · F) — produces a *single* μ-event simultaneously valid for every triple (h₁, h₂, f) ∈ TC.H × TC.H × TC.F.hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhδ_pos :0 < δhδ_le :δ ≤ 1conclusionconclusion 1ω ∈ E :h₁ :_hh₁ :h₁ ∈ TC.Hh₂ :_hh₂ :h₂ ∈ TC.Hf :_hf :f ∈ TC.F|(n : ℝ)⁻¹ * ∑ k : Fin n, (h₁ (S.xOf (sample.Z k ω)) - h₂ (S.xOf (sample.Z k ω))) * f (S.zOf (sample.Z k ω))- ∫ ω', (h₁ (S.xOf (S.W ω')) - h₂ (S.xOf (S.W ω'))) * f (S.zOf (S.W ω')) ∂μ|≤ 4 * (regime.HF_pair_const * regime.H_diameter * δ_n + δ_n) * criticalRadius (regime.bundle_HF.regime.ψ n)+ 2 * sqrt (((regime.HF_pair_const * regime.H_diameter * δ_n + δ_n) ^ 2 + 8 * regime.bundle_HF.regime.b * (regime.HF_pair_const * regime.H_diameter * δ_n + δ_n) * criticalRadius (regime.bundle_HF.regime.ψ n)) * log (1 / δ) / n)+ 8 * regime.bundle_HF.regime.b * log (1 / δ) / nProof (Lean source)
lemma localized_omega_event_for_HF_pair {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ h₁, ∀ _hh₁ : h₁ ∈ TC.H, ∀ h₂, ∀ _hh₂ : h₂ ∈ TC.H, ∀ f, ∀ _hf : f ∈ TC.F, |(n : ℝ)⁻¹ * ∑ k : Fin n, (h₁ (S.xOf (sample.Z k ω)) - h₂ (S.xOf (sample.Z k ω))) * f (S.zOf (sample.Z k ω)) - ∫ ω', (h₁ (S.xOf (S.W ω')) - h₂ (S.xOf (S.W ω'))) * f (S.zOf (S.W ω')) ∂μ| ≤ 4 * (regime.HF_pair_const * regime.H_diameter * δ_n + δ_n) * criticalRadius (regime.bundle_HF.regime.ψ n) + 2 * sqrt (((regime.HF_pair_const * regime.H_diameter * δ_n + δ_n) ^ 2 + 8 * regime.bundle_HF.regime.b * (regime.HF_pair_const * regime.H_diameter * δ_n + δ_n) * criticalRadius (regime.bundle_HF.regime.ψ n)) * log (1 / δ) / n) + 8 * regime.bundle_HF.regime.b * log (1 / δ) / n := by classical let B := regime.bundle_HF let r : ℝ := regime.HF_pair_const * regime.H_diameter * δ_n + δ_n haveI : IsProbabilityMeasure P_W := by rw [← regime.law_W] exact Measure.isProbabilityMeasure_map S.meas_W.aemeasurable have hδn_pos : 0 < δ_n := lt_of_lt_of_le B.crit_pos B.crit_le have hδn_nonneg : 0 ≤ δ_n := le_of_lt hδn_pos have hdiam_nonneg : 0 ≤ regime.H_diameter := hδn_nonneg.trans regime.H_diameter_lb have hpair_nonneg : 0 ≤ regime.HF_pair_const := regime.HF_pair_const_nonneg have hr_delta : δ_n ≤ r := by dsimp [r] have hpair_term_nonneg : 0 ≤ regime.HF_pair_const * regime.H_diameter * δ_n := by positivity linarith have hr_lb : criticalRadius (B.regime.ψ n) ≤ r := by dsimp [r] nlinarith [B.crit_le, hr_delta] obtain ⟨E₀, hE₀_meas, hE₀_prob, hE₀_bound⟩ := localized_uniform_deviation B.F B.norm P_W B.X B.X_meas B.F_meas B.norm_nonneg B.regime hδ_pos hδ_le n hn hr_lb B.crit_pos (B.rad_bdd r hr_delta) (B.rad_int r hr_delta) let Ψ : Ω → (Fin n → S.𝒲) := fun ω k => sample.Z k ω let E : Set Ω := Ψ ⁻¹' E₀ have hpull := event_pullback_along_iidSample sample n hE₀_meas hE₀_prob refine ⟨E, ?_, ?_, ?_⟩ · simpa [E, Ψ] using hpull.1 · simpa [E, Ψ] using hpull.2 · intro ω hω h₁ hh₁ h₂ hh₂ f hf let i : B.ι := regime.interp_HF_idx_pair h₁ h₂ hh₁ hh₂ f hf have hω₀ : Ψ ω ∈ E₀ := by simpa [E, Ψ] using hω have hpair : S.strongNorm (S.hL2 (TC.H_subset hh₁) - S.hL2 (TC.H_subset hh₂)) ≤ regime.H_diameter := regime.H_diameter_bound h₁ h₂ hh₁ hh₂ have hi_norm : B.norm (B.F i) ≤ r := by have hi_gap := regime.interp_HF_norm_pair h₁ h₂ hh₁ hh₂ f hf have hpair_mult : regime.HF_pair_const * S.strongNorm (S.hL2 (TC.H_subset hh₁) - S.hL2 (TC.H_subset hh₂)) * δ_n ≤ regime.HF_pair_const * regime.H_diameter * δ_n := by have hmul : regime.HF_pair_const * S.strongNorm (S.hL2 (TC.H_subset hh₁) - S.hL2 (TC.H_subset hh₂)) ≤ regime.HF_pair_const * regime.H_diameter := mul_le_mul_of_nonneg_left hpair hpair_nonneg simpa [mul_assoc, mul_comm, mul_left_comm] using (mul_le_mul_of_nonneg_left hmul hδn_nonneg) have hpair_nonneg' : 0 ≤ regime.HF_pair_const * regime.H_diameter * δ_n := by positivity dsimp [r] have hpair_bound : B.norm (B.F i) ≤ regime.HF_pair_const * regime.H_diameter * δ_n := le_trans hi_gap hpair_mult linarith [hpair_nonneg'] have hdev := hE₀_bound (Ψ ω) hω₀ i hi_norm have hpop : ∫ w, B.F i (B.X w) ∂P_W = ∫ ω', B.F i (B.X (S.W ω')) ∂μ := by exact integral_comp_law_W regime.law_W ((B.F_meas i).comp B.X_meas) have heval_sample : (Finset.univ.sum fun k : Fin n => B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, (h₁ (S.xOf (sample.Z k ω)) - h₂ (S.xOf (sample.Z k ω))) * f (S.zOf (sample.Z k ω)) := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_HF_eval_pair h₁ h₂ hh₁ hh₂ f hf (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => (h₁ (S.xOf (S.W ω')) - h₂ (S.xOf (S.W ω'))) * f (S.zOf (S.W ω')) := by funext ω' simpa [B, i] using regime.interp_HF_eval_pair h₁ h₂ hh₁ hh₂ f hf (S.W ω') simpa [Ψ, r, hpop, heval_sample, heval_pop] using hdev
LocalizedEventMF 1 core · 2 supporting This file constructs the high-probability event controlling empirical fluctuations of the moment map multiplied by critic functions in the primal NPIV analysis. ★ localized_omega_event_for_mF_pair_peeled
Localized Deviation for Moment-Critic Products mF
This file constructs the high-probability event controlling empirical
fluctuations of the moment map multiplied by critic functions in the primal
NPIV analysis. Here mF denotes the class W ↦ m(W; f) indexed by
f ∈ TC.F; it supplies the moment-class component of the localized
empirical-process event used downstream.
Peeled pair-form localized deviation event for the moment class star(m ∘ F). Given a positive sample size n and a confidence level δ in (0, 1], a fixed-level peeling floor, there is a single event of probability at least 1 − δ, valid simultaneously for every pair f₁, f₂ in the critic class TC.F, on which the gap between the empirical and population means of m(·; f₁) − m(·; f₂) is bounded by 8 · mF_L2_const · δ_n · ‖f₁ − f₂‖_strong + 5 · δ_n², where the strong norm is taken in the critic's L² embedding and mF_L2_const comes from the supplied localized-regime witness.
Formal statement
Proof (Lean source)
2 supporting declarations (lemmas, instances)
-
localized_omega_event_for_mFlemma — Ω-side localized deviation event for the moment class star(m ∘ F) — controls |(1/n) Σ m(W_i; f) − E[m(W; f)]| uniformly over f ∈ TC.F.hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhδ_pos :0 < δhδ_le :δ ≤ 1conclusionconclusion 1ω ∈ E :f ∈ TC.F :|(n : ℝ)⁻¹ * ∑ k : Fin n, S.m (sample.Z k ω) f - ∫ ω', S.m (S.W ω') f ∂μ|≤ 4 * δ_n * criticalRadius (regime.bundle_mF.regime.ψ n)+ 2 * sqrt ((δ_n ^ 2 + 8 * regime.bundle_mF.regime.b * δ_n * criticalRadius (regime.bundle_mF.regime.ψ n)) * log (1 / δ) / n)+ 8 * regime.bundle_mF.regime.b * log (1 / δ) / nProof (Lean source)
lemma localized_omega_event_for_mF {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ f ∈ TC.F, |(n : ℝ)⁻¹ * ∑ k : Fin n, S.m (sample.Z k ω) f - ∫ ω', S.m (S.W ω') f ∂μ| ≤ 4 * δ_n * criticalRadius (regime.bundle_mF.regime.ψ n) + 2 * sqrt ((δ_n ^ 2 + 8 * regime.bundle_mF.regime.b * δ_n * criticalRadius (regime.bundle_mF.regime.ψ n)) * log (1 / δ) / n) + 8 * regime.bundle_mF.regime.b * log (1 / δ) / n := by classical let B := regime.bundle_mF haveI : IsProbabilityMeasure P_W := by rw [← regime.law_W] exact Measure.isProbabilityMeasure_map S.meas_W.aemeasurable obtain ⟨E₀, hE₀_meas, hE₀_prob, hE₀_bound⟩ := localized_uniform_deviation B.F B.norm P_W B.X B.X_meas B.F_meas B.norm_nonneg B.regime hδ_pos hδ_le n hn B.crit_le B.crit_pos (B.rad_bdd δ_n le_rfl) (B.rad_int δ_n le_rfl) let Ψ : Ω → (Fin n → S.𝒲) := fun ω k => sample.Z k ω let E : Set Ω := Ψ ⁻¹' E₀ have hpull := event_pullback_along_iidSample sample n hE₀_meas hE₀_prob refine ⟨E, ?_, ?_, ?_⟩ · simpa [E, Ψ] using hpull.1 · simpa [E, Ψ] using hpull.2 · intro ω hω f hf let i : B.ι := regime.interp_mF_idx f hf have hω₀ : Ψ ω ∈ E₀ := by simpa [E, Ψ] using hω have hi_norm : B.norm (B.F i) ≤ δ_n := by simpa [B, i] using regime.interp_mF_norm f hf have hdev := hE₀_bound (Ψ ω) hω₀ i hi_norm have hpop : ∫ w, B.F i (B.X w) ∂P_W = ∫ ω', B.F i (B.X (S.W ω')) ∂μ := by exact integral_comp_law_W regime.law_W ((B.F_meas i).comp B.X_meas) have heval_sample : (Finset.univ.sum fun k : Fin n => B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, S.m (sample.Z k ω) f := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_mF_eval f hf (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => S.m (S.W ω') f := by funext ω' simpa [B, i] using regime.interp_mF_eval f hf (S.W ω') simpa [Ψ, hpop, heval_sample, heval_pop] using hdev -
localized_omega_event_for_mF_pairlemma — Ω-side fixed-diameter pair-form localized deviation event for the moment class star(m ∘ F). This is the non-peeled building block for the Foster pair-gap bridge; the peeled variant can reuse the same interpretation at dyadic radii below mF_L2_const * F_diameter.hypothesesTC :β lambda :n :ℕδ_n :ℝregime :LocalizedRegimes S TC sample sc tb n δ_nhn :0 < nδ :ℝhδ_pos :0 < δhδ_le :δ ≤ 1conclusionconclusion 1ω ∈ E :f₁ :_hf₁ :f₁ ∈ TC.Ff₂ :_hf₂ :f₂ ∈ TC.F|(n : ℝ)⁻¹ * ∑ k : Fin n, (S.m (sample.Z k ω) f₁ - S.m (sample.Z k ω) f₂)- ∫ ω', (S.m (S.W ω') f₁ - S.m (S.W ω') f₂) ∂μ|≤ 4 * (regime.mF_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_mF.regime.ψ n)+ 2 * sqrt (((regime.mF_L2_const * regime.F_diameter) ^ 2 + 8 * regime.bundle_mF.regime.b * (regime.mF_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_mF.regime.ψ n)) * log (1 / δ) / n)+ 8 * regime.bundle_mF.regime.b * log (1 / δ) / nProof (Lean source)
lemma localized_omega_event_for_mF_pair {S : OperatorSystem Ω μ} {TC : TRAEClasses S} {P_W : Measure S.𝒲} {sample : IIDSample Ω S.𝒲 μ P_W} [IsProbabilityMeasure μ] {β lambda : ℝ} {sc : SourceCondition S β} {tb : TikhonovBiasBoundAt S β lambda sc} {n : ℕ} {δ_n : ℝ} (regime : LocalizedRegimes S TC sample sc tb n δ_n) (hn : 0 < n) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) : ∃ E : Set Ω, MeasurableSet E ∧ μ E ≥ 1 - ofReal δ ∧ ∀ ω ∈ E, ∀ f₁, ∀ _hf₁ : f₁ ∈ TC.F, ∀ f₂, ∀ _hf₂ : f₂ ∈ TC.F, |(n : ℝ)⁻¹ * ∑ k : Fin n, (S.m (sample.Z k ω) f₁ - S.m (sample.Z k ω) f₂) - ∫ ω', (S.m (S.W ω') f₁ - S.m (S.W ω') f₂) ∂μ| ≤ 4 * (regime.mF_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_mF.regime.ψ n) + 2 * sqrt (((regime.mF_L2_const * regime.F_diameter) ^ 2 + 8 * regime.bundle_mF.regime.b * (regime.mF_L2_const * regime.F_diameter) * criticalRadius (regime.bundle_mF.regime.ψ n)) * log (1 / δ) / n) + 8 * regime.bundle_mF.regime.b * log (1 / δ) / n := by classical let B := regime.bundle_mF let r : ℝ := regime.mF_L2_const * regime.F_diameter haveI : IsProbabilityMeasure P_W := by rw [← regime.law_W] exact Measure.isProbabilityMeasure_map S.meas_W.aemeasurable have hδn_pos : 0 < δ_n := lt_of_lt_of_le B.crit_pos B.crit_le have hr_delta : δ_n ≤ r := by simpa [r] using regime.mF_pair_radius_lb have hr_lb : criticalRadius (B.regime.ψ n) ≤ r := by exact B.crit_le.trans hr_delta obtain ⟨E₀, hE₀_meas, hE₀_prob, hE₀_bound⟩ := localized_uniform_deviation B.F B.norm P_W B.X B.X_meas B.F_meas B.norm_nonneg B.regime hδ_pos hδ_le n hn hr_lb B.crit_pos (B.rad_bdd r hr_delta) (B.rad_int r hr_delta) let Ψ : Ω → (Fin n → S.𝒲) := fun ω k => sample.Z k ω let E : Set Ω := Ψ ⁻¹' E₀ have hpull := event_pullback_along_iidSample sample n hE₀_meas hE₀_prob refine ⟨E, ?_, ?_, ?_⟩ · simpa [E, Ψ] using hpull.1 · simpa [E, Ψ] using hpull.2 · intro ω hω f₁ hf₁ f₂ hf₂ let i : B.ι := regime.interp_mF_idx_pair f₁ f₂ hf₁ hf₂ have hω₀ : Ψ ω ∈ E₀ := by simpa [E, Ψ] using hω have hpair : ‖S.qL2 (TC.F_subset hf₁) - S.qL2 (TC.F_subset hf₂)‖ ≤ regime.F_diameter := regime.F_diameter_bound f₁ f₂ hf₁ hf₂ have hi_norm : B.norm (B.F i) ≤ r := by exact (regime.interp_mF_norm_pair f₁ f₂ hf₁ hf₂).trans (mul_le_mul_of_nonneg_left hpair regime.mF_L2_const_nonneg) have hdev := hE₀_bound (Ψ ω) hω₀ i hi_norm have hpop : ∫ w, B.F i (B.X w) ∂P_W = ∫ ω', B.F i (B.X (S.W ω')) ∂μ := by exact integral_comp_law_W regime.law_W ((B.F_meas i).comp B.X_meas) have heval_sample : (Finset.univ.sum fun k : Fin n => B.F i (B.X (sample.Z k ω))) = ∑ k : Fin n, (S.m (sample.Z k ω) f₁ - S.m (sample.Z k ω) f₂) := by apply Finset.sum_congr rfl intro k _ simpa [B, i] using regime.interp_mF_eval_pair f₁ f₂ hf₁ hf₂ (sample.Z k ω) have heval_pop : (fun ω' => B.F i (B.X (S.W ω'))) = fun ω' => S.m (S.W ω') f₁ - S.m (S.W ω') f₂ := by funext ω' simpa [B, i] using regime.interp_mF_eval_pair f₁ f₂ hf₁ hf₂ (S.W ω') simpa [Ψ, r, hpop, heval_sample, heval_pop] using hdev
PerSample 2 core · 0 supporting This module combines the four localized deviation events at one sample-size index and one confidence level. ★ per_sample_empirical_process_event
Fixed-sample NPIV empirical-process event
This module combines the four localized deviation events at one sample-size
index and one confidence level. It intentionally has no countable
intersection over sample sizes, so its deviation term is
sqrt (log (4 / zeta) / n) rather than sqrt (log (2^n / zeta) / n).
A localized regime satisfies the fixed-confidence critical-radius floor at level zeta when each of the three objective-process envelope terms is at most the squared localization radius.
Definition (Lean source)
Confidence floor for the product process.
Confidence floor for the moment process.
Confidence floor for the squared-critic process.
Given a source condition, its fixed-level bias certificate, a positive fold size, a confidence level strictly between zero and one, a nonnegative regularization level, the localized regime at that one fold size, the fixed-confidence critical-radius floor, the peeling floor at one quarter of that confidence, a sample-size index, and a sample-size-dependent TRAE estimator, there is an event of probability at least 1 - zeta on which the population strong-convexity right-hand side at index n is bounded by 50 * delta n² plus the peeled centered-regularizer envelope.
Formal statement
Proof (Lean source)
Regulariser 1 core · 0 supporting This file derives the localized empirical-process event needed to compare the empirical regularized objective at the estimator with the objective at a population Tikhonov candidate. ★ centred_regulariser_bound_from_localized
Regularizer Event for the Primal NPIV Rate
This file derives the localized empirical-process event needed to compare the empirical regularized objective at the estimator with the objective at a population Tikhonov candidate. The bounds connect the localized deviation events to the regularization terms in the primal NPIV rate proof, producing an all-sample-size centred empirical regularizer bound from the localized event for the squared candidate-difference class.
The centred empirical regularizer gap is bounded uniformly over all sample sizes by the localized rate from the squared candidate-difference event. For every sample size n, suppose a localized-regimes witness at the corresponding fold size and localization rate delta n is available, the regularization weight satisfies lambda ≥ 0, and the confidence level satisfies 0 < ζ < 1. Then there is an event of probability at least 1 - ζ on which, for every split size with at least one fold-A observation, the empirical-vs- population regularizer discrepancy between the estimator and the population Tikhonov candidate is controlled by an explicit bound built from the fold's diameter, critical radius, and localization rate.