introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
643 Bytes
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