Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4, p. 14 — the Pearson χ² and G tests are uniformly consistent

Proved
RobustSAA.Discrete.theorem_4

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-supportgoodness-of-fitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1uniform-consistency

On a known finite support of nnn labels, fix any nonnegative constant QQQ independent of sample size. At size NNN, accept a hypothetical distribution when its Pearson or G statistic, respectively, does not exceed Q/N\sqrt{Q/N}Q/N​. For either test, if the true law is FFF and (FN)(F_N)(FN​) is any sequence of hypothetical laws that does not converge weakly to FFF, then almost surely FNF_NFN​ is rejected infinitely often. Thus both confidence-region maps are uniformly consistent:

UC⁡(FNχ2) ∧ UC⁡(FNG).\operatorname{UC}(\mathcal F_N^{\chi^2})\ \land\ \operatorname{UC}(\mathcal F_N^{G}).UC(FNχ2​) ∧ UC(FNG​).

This is Theorem 4's statistical condition used by the paper's general convergence characterization for robust sample average approximation.

Formalization Note Support points are represented by labels Fin n, and QQQ is a fixed nonnegative parameter rather than a formalized chi-square quantile; the paper's proof uses only its independence from NNN. The G region compares squared statistics, equivalently comparing GNG_NGN​ with Q/N\sqrt{Q/N}Q/N​ for positive NNN.

Preamble
import Mathlib
import Definitions.Def_RobustSAA_Discrete_Setting
Formal statement
namespace RobustSAA.Discrete

open MeasureTheory

theorem theorem_4 (n : ℕ) (Q : ℝ) (hQ : 0 ≤ Q) :
    IsUniformlyConsistent (chiRegion (n := n) Q) ∧
      IsUniformlyConsistent (gRegion (n := n) Q) := by sorry

end RobustSAA.Discrete
Source
Bertsimas, Gupta, Kallus, Robust Sample Average Approximation, arXiv:1408.4445v3, Theorem 4, p. 14; §10.6 proof p. 38
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me