Download lean/OAI/Probability/CriticalPercolation/ProductMeasure/AvgDiv.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 761 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Probability/CriticalPercolation/ProductMeasure/AvgDiv.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Probability/CriticalPercolation/ProductMeasure/AvgDiv.lean
-
curl -L -o AvgDiv.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Probability/CriticalPercolation/ProductMeasure/AvgDiv.lean
761 Bytes
| import Mathlib | |
| import OAI.Probability.CriticalPercolation.ProductMeasure.FiniteMarkovAvg | |
| namespace OAI | |
| section | |
| section | |
| open Set MeasureTheory ProbabilityTheory | |
| open Set | |
| open scoped BigOperators | |
| namespace CriticalPercolation.FiniteMarkov | |
| variable {X : Type*} [Fintype X] | |
| lemma avg_div (μ : X → ℝ) (a : ℝ) (f : X → ℝ) : | |
| avg (fun x => μ x/a) f = avg μ f/a := by | |
| simp only [avg, Finset.sum_div] | |
| apply Finset.sum_congr rfl | |
| intro x _ | |
| ring | |
| lemma stationary_of_avg (K : X → X → ℝ) (μ : X → ℝ) | |
| (h : ∀ f : X → ℝ, avg μ (step K f) = avg μ f) (y : X) : | |
| ∑ x, μ x * K x y = μ y := by | |
| classical | |
| simpa [step, avg] using h (fun x => if x = y then 1 else 0) | |
| end CriticalPercolation.FiniteMarkov | |
| end | |
| end | |
| end OAI | |