Proof of Lemma 3, first display —
ProvedLearningBasedRO.lemma_3_upper_displaybinomial-distributionorder-statisticsp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1quantile
Let be i.i.d. real random variables with an atomless law and distribution function , let , and let be a -quantile, . Let be the order statistics. For every :
- if and only if at most of are ;
This is the binomial computation behind the upper confidence bound of Lemma 3 and the calibration index of (4).
Differences from the source:
- reading: data from a continuous distribution → μ atomless (NullSingletonClass μ); reason: the weakest standard meaning of a continuous distribution, which makes F continuous
- reading: ϵ a tolerance level (range not stated) → 0 < ϵ < 1; reason: the meaningful range, used throughout the paper
- generalization: the (1 − ϵ)-quantile q₁₋ϵ → every real q with F(q) = 1 − ϵ; reason: for an atomless law every (1 − ϵ)-quantile satisfies this, so every quantile convention is covered
- encoding: sample size n₂, middle line Σ C(n₂,k)F(q)^k F̄(q)^{n₂−k}, "≤ r − 1 of the data" → n, the event identity and the final value (the middle line equals the last since F(q) = 1 − ϵ is a hypothesis), "< r"; ranks 1 ≤ r ≤ n; order statistics with multiplicity; reason: Lean conventions, same instances (ties have probability 0)
Preamble
import Mathlib import Definitions.Def_LearningBasedRO_Model open MeasureTheory
Formal statement
namespace LearningBasedRO
/-- **Proof of Lemma 3, first display.** Let `Y₁, …, Yₙ` be i.i.d. with an atomless law `μ` on
`ℝ`, and let `q` be a `(1 - ϵ)`-quantile, `F(q) = 1 - ϵ`. For `1 ≤ r ≤ n`,
`Y₍ᵣ₎ ≥ q` exactly when at most `r - 1` of the data are `< q`, and
`P(Y₍ᵣ₎ ≥ q) = Σ_{k=0}^{r-1} C(n,k) (1 - ϵ)^k ϵ^(n-k)`.
Hong–Huang–Lam, arXiv:1704.04342v2, proof of Lemma 3, first display, p.8.
**Formalization Note** The sample size `n` is the page's `n₂`. "Continuous distribution" is read
as atomless (`NullSingletonClass μ`). `q` is any real with `F(q) = μ(-∞, q] = 1 - ϵ`, i.e. every
`(1 - ϵ)`-quantile. "At most `r - 1`" is written `< r` (`r ≥ 1`). The rank `r` is 1-based;
order statistics are counted with multiplicity (`orderStat`). -/
theorem lemma_3_upper_display (μ : Measure ℝ) [IsProbabilityMeasure μ] [NullSingletonClass μ]
(ϵ : ℝ) (hϵ0 : 0 < ϵ) (hϵ1 : ϵ < 1) (q : ℝ) (hq : μ (Set.Iic q) = ENNReal.ofReal (1 - ϵ))
(n r : ℕ) (hr1 : 1 ≤ r) (hrn : r ≤ n) :
{y : Fin n → ℝ | q ≤ orderStat y r} =
{y : Fin n → ℝ | (Finset.univ.filter (fun j => y j < q)).card < r} ∧
(Measure.pi fun _ : Fin n => μ) {y | q ≤ orderStat y r} =
ENNReal.ofReal (∑ k ∈ Finset.range r, binomTerm n ϵ k) := by sorry
end LearningBasedRO
Source
Hong–Huang–Lam, arXiv:1704.04342v2, proof of Lemma 3, first display, p.8
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.