Finite Capture Inclusion-Exclusion
Abstract
Finite weighted capture is exactly the alternating sum of all nonempty intersection events.
Theorem 1.1 (Exact weighted capture inclusion-exclusion).
Proof. Machine-checked in Lean as D5/S0/Asymptotics/WeightedProbability/FiniteInclusionExclusion.capture_event_inclusion_exclusion (✓ std3). ∎
Citation. Gerald Berman and K. D. Fryer (1972). The Inclusion-Exclusion Principle. DOI: 10.1016/b978-0-12-092750-0.50008-9.
Commentary.
Mathlib’s pointwise finite-union indicator identity is applied directly to the captured-address events and then summed against sampleWeight.
The identity is linear, so it requires neither nonnegative weights nor normalized marginals.
Theorem 1.2 (The first two truncations are the frozen escape sandwich).
Proof. Machine-checked in Lean as D5/S0/Asymptotics/WeightedProbability/FiniteInclusionExclusion.escape_bonferroni_truncations_of_inclusion_exclusion (✓ std3). ∎
Citation. Janos Galambos (1977). Bonferroni Inequalities. DOI: 10.1214/aop/1176995765.
Commentary.
The degree-one subset sum is proved equal to the frozen captureProbability sum.
A bijection from strictly ordered pairs to two-element subsets proves that the degree-two subset sum is the frozen pairProbabilitySum. Rewriting by those two public lemmas reduces the result exactly to the imported frozen escape_bonferroni_bounds theorem.
References
- Truth anchor:
D5/S0/Asymptotics/WeightedProbability/FiniteInclusionExclusion.capture_event_inclusion_exclusion - Truth anchor:
D5/S0/Asymptotics/WeightedProbability/FiniteInclusionExclusion.escape_bonferroni_truncations_of_inclusion_exclusion - Dependency: D5/S0/Asymptotics/WeightedProbability/FiniteBonferroni