Binomial upper-tail complement via reflection
Provedbinomial_upper_tail_complement_reflectbinomialcombinatoricsprobability
Binomial upper-tail complement via reflection. For and any real ,
Equivalently, the high tail of starting at equals the complement of the strict upper tail of above . Here binomialCardinalityProb N k p . Proof combines the reflection (binomial_tail_reflect) with the full-sum identity (binomial_full_sum_eq_one).
Preamble
import Mathlib.Algebra.BigOperators.Intervals import Mathlib.Analysis.SpecialFunctions.Pow.Real import Definitions.Def_matrix_completion_fixed_cardinality open scoped BigOperators open Finset open MatrixCompletion
Formal statement
theorem binomial_upper_tail_complement_reflect (N m : ℕ) (h : m ≤ N) (p : ℝ) : (∑ k ∈ Finset.Ico (N-m) (N+1), binomialCardinalityProb N k (1 - p)) = 1 - ∑ k ∈ Finset.Ioo m (N + 1), binomialCardinalityProb N k p := by sorry
Source
Standard binomial tail symmetry / complement identity (reindexing plus the binomial theorem). Used in Siegel's integer-mean median bound to relate an upper binomial tail to a waiting-time CDF value. A. Siegel, Median Bounds and their Application, J. Algorithms 38, 2001.