File size: 643 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import Mathlib
import OAI.Probability.CriticalPercolation.ProductMeasure.Density
namespace OAI
section
section
open Set MeasureTheory ProbabilityTheory
open scoped BigOperators
namespace CriticalPercolation.FiniteProduct
variable {E A : Type*} [Fintype E] [Fintype A]
lemma density_mul_le_expect {w : E β A β β} (hw : β e a, 0 β€ w e a)
{f : (E β A) β β} (hf : β Ο, 0 β€ f Ο) (Ο : E β A) :
density w Ο * f Ο β€ expect w f := by
classical
exact Finset.single_le_sum (fun Ο _ => mul_nonneg (density_nonneg hw Ο) (hf Ο))
(Finset.mem_univ Ο)
end CriticalPercolation.FiniteProduct
end
end
end OAI
|