openAI-math-dataset / lean /OAI /Probability /CriticalPercolation /ProductMeasure /DensityMulExpect.lean
Download lean/OAI/Probability/CriticalPercolation/ProductMeasure/DensityMulExpect.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Probability/CriticalPercolation/ProductMeasure/DensityMulExpect.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Probability/CriticalPercolation/ProductMeasure/DensityMulExpect.lean
-
curl -L -o DensityMulExpect.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Probability/CriticalPercolation/ProductMeasure/DensityMulExpect.lean
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 | |