Download data/lean/OAI/Probability/CriticalPercolation/Growth/HomogeneousTransport.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.43 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/CriticalPercolation/Growth/HomogeneousTransport.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/CriticalPercolation/Growth/HomogeneousTransport.lean
-
curl -L -o HomogeneousTransport.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/CriticalPercolation/Growth/HomogeneousTransport.lean
3.43 kB
| import Mathlib | |
| import OAI.Probability.CriticalPercolation.Modular.ActionOrbitTransport | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set Function | |
| open scoped Classical BigOperators | |
| namespace CriticalPercolation.HomogeneousAnalysis | |
| universe u v | |
| variable {G : Type u} {X : Type v} [Group G] [MulAction G X] | |
| open ActionOrbitTransport | |
| lemma pair_fiber_eq_suborbit (x y : X) : | |
| {w : X | pairOrbit G X x w=pairOrbit G X x y}=stabilizerOrbit G X x y := by | |
| ext w | |
| simp only [Set.mem_ofPred_eq] | |
| rw [eq_comm,pairOrbit_eq,mem_stabilizerOrbit] | |
| lemma reversed_pair_fiber_eq_suborbit (x y : X) : | |
| {w : X | pairOrbit G X w y=pairOrbit G X x y}=stabilizerOrbit G X y x := by | |
| ext w | |
| simp only [Set.mem_ofPred_eq] | |
| rw [eq_comm,pairOrbit_eq,mem_stabilizerOrbit] | |
| exact exists_congr (fun g => and_comm) | |
| variable (ht : β x y : X, β g : G, g β’ x=y) | |
| (hf : β x y : X, (stabilizerOrbit G X x y).Finite) | |
| (hu : β x y : X, suborbitCard G X x y=suborbitCard G X y x) | |
| include ht hf in | |
| lemma pair_row_finite (o b x : X) : | |
| {y : X | pairOrbit G X x y=pairOrbit G X o b}.Finite := by | |
| obtain β¨g,rflβ© := ht o x | |
| rw [βsmul_pairOrbit G X g o b] | |
| simpa only [pair_fiber_eq_suborbit] using hf (g β’ o) (g β’ b) | |
| include ht in | |
| lemma pair_row_card (o b x : X) : | |
| {y : X | pairOrbit G X x y=pairOrbit G X o b}.ncard=suborbitCard G X o b := by | |
| obtain β¨g,rflβ© := ht o x | |
| rw [βsmul_pairOrbit G X g o b,pair_fiber_eq_suborbit] | |
| exact smul_suborbitCard G X g o b | |
| include ht hf in | |
| lemma pair_column_finite (o b y : X) : | |
| {x : X | pairOrbit G X x y=pairOrbit G X o b}.Finite := by | |
| obtain β¨g,rflβ© := ht b y | |
| rw [βsmul_pairOrbit G X g o b,reversed_pair_fiber_eq_suborbit] | |
| exact hf (g β’ b) (g β’ o) | |
| include ht hu in | |
| lemma pair_column_card (o b y : X) : | |
| {x : X | pairOrbit G X x y=pairOrbit G X o b}.ncard=suborbitCard G X o b := by | |
| obtain β¨g,rflβ© := ht b y | |
| rw [βsmul_pairOrbit G X g o b,reversed_pair_fiber_eq_suborbit] | |
| change suborbitCard G X (g β’ b) (g β’ o)=_ | |
| rw [smul_suborbitCard,hu] | |
| include ht hf hu in | |
| lemma finite_row_sum_bound (o b : X) (F Y : Finset X) (f : X β β) | |
| (hn : β yβY, 0β€f y) | |
| (hY : β xβF, β y, pairOrbit G X x y=pairOrbit G X o b β yβY) : | |
| (β xβF, β yβ(pair_row_finite ht hf o b x).toFinset, f y) β€ | |
| (suborbitCard G X o b : β)*β yβY, f y := by | |
| have hr (x : X) (hx : xβF) : | |
| β yβ(pair_row_finite ht hf o b x).toFinset, f y= | |
| β yβY, if pairOrbit G X x y=pairOrbit G X o b then f y else 0 := by | |
| rw [βFinset.sum_filter] | |
| apply Finset.sum_congr | |
| Β· ext y | |
| simp only [Set.Finite.mem_toFinset,Set.mem_ofPred_eq,Finset.mem_filter] | |
| exact β¨fun h => β¨hY x hx y h,hβ©,And.rightβ© | |
| Β· intros; rfl | |
| rw [Finset.sum_congr rfl hr,Finset.sum_comm,Finset.mul_sum] | |
| apply Finset.sum_le_sum | |
| intro y hy | |
| rw [βFinset.sum_filter,Finset.sum_const,nsmul_eq_mul] | |
| apply mul_le_mul_of_nonneg_right _ (hn y hy) | |
| have hsub : F.filter (fun x => pairOrbit G X x y=pairOrbit G X o b)β | |
| (pair_column_finite ht hf o b y).toFinset := by | |
| intro x hx | |
| exact (pair_column_finite ht hf o b y).mem_toFinset.mpr (Finset.mem_filter.mp hx).2 | |
| have hc := Finset.card_le_card hsub | |
| rw [βSet.ncard_eq_toFinset_card _ (pair_column_finite ht hf o b y), pair_column_card ht hu] at hc | |
| exact_mod_cast hc | |
| end CriticalPercolation.HomogeneousAnalysis | |
| end | |
| end | |
| end OAI | |