Distribution lemmas for the exponential-growth upper bound #
Finite-distribution support, variance of a sum of indicators (Lemma 9), Chebyshev and Cantelli, and the partial geometric sum. Nothing here uses measure theory.
Distribution.prob elaborates its indicator with Classical.propDecidable, while a hand-written
if on a decidable predicate (membership, subset) uses that decidable instance. The two
functions are propositionally equal but not definitionally equal, so every bridge goes through
prob_indicator_eq.
theorem
Epidemics.Revisited.cantelli_lower
{α : Type u_1}
[Fintype α]
(D : Dynamics.Distribution α)
(X : α → ℝ)
{lam : ℝ}
(hlam : 0 < lam)
:
One-sided Chebyshev (Cantelli), lower tail: P[X ≤ EX - lam] ≤ Var / (Var + lam²).
theorem
Epidemics.Revisited.weight_zero_of_not_subset
{n : ℕ}
(P : RumorProcess n)
{S T : Finset (Fin n)}
(hT : ¬S ⊆ T)
:
States outside the monotone support have weight zero.
theorem
Epidemics.Revisited.variance_sum_indicator_le
{n : ℕ}
(D : Dynamics.Distribution (Finset (Fin n)))
(comp : Finset (Fin n))
{c : ℝ}
(hc : 0 ≤ c)
(hcov :
∀ x ∈ comp,
∀ y ∈ comp,
x ≠ y →
((D.expect fun (T : Finset (Fin n)) => if x ∈ T ∧ y ∈ T then 1 else 0) - (D.expect fun (T : Finset (Fin n)) => if x ∈ T then 1 else 0) * D.expect fun (T : Finset (Fin n)) => if y ∈ T then 1 else 0) ≤ c)
:
Variance of ∑_{x ∈ comp} 1[x ∈ T], with pairwise covariances at most c.
theorem
Epidemics.Revisited.variance_card_le_proof
{n : ℕ}
(P : RumorProcess n)
(S : Finset (Fin n))
{c : ℝ}
(hc : 0 ≤ c)
(hcov : ∀ x ∉ S, ∀ y ∉ S, x ≠ y → P.cov S x y ≤ c)
:
Lemma 9, proved for variance_card_le.