math / data /lean /OAI /Probability /CriticalPercolation /Modular /ClusterTransportLimit.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.94 kB
import Mathlib
import OAI.Probability.CriticalPercolation.Modular.ClusterMassRestriction
import OAI.Probability.CriticalPercolation.Modular.ClusterTransportFinite
namespace OAI
section
noncomputable section
open Set MeasureTheory Filter
open scoped Classical BigOperators Topology
namespace CriticalPercolation.FiniteClusters
variable {V E : Type*} [Countable V] [Countable E] (G : BondGraph V E)
omit [Countable V] [Countable E] in
lemma transport_sum_out_le (r s : β„•) (p : ℝ) (Ο‰ : Set E) (u : V) :
(βˆ‘' e, transport G r s p Ο‰ u e) ≀ rootAbsolute G s p Ο‰ u := by
rw [transport_sum_out]
split_ifs
Β· exact (le_abs_self _).trans_eq (abs_rootDiscrepancy G s p Ο‰ u)
Β· exact rootAbsolute_nonneg G s p Ο‰ u
omit [Countable V] [Countable E] in
lemma transport_sum_out_abs (r s : β„•) (p : ℝ) (Ο‰ : Set E) (u : V) :
|βˆ‘' e, transport G r s p Ο‰ u e| ≀ rootAbsolute G s p Ο‰ u := by
rw [transport_sum_out]
split_ifs
Β· exact (abs_rootDiscrepancy G s p Ο‰ u).le
Β· exact (abs_zero).le.trans (rootAbsolute_nonneg G s p Ο‰ u)
lemma integrable_transport_out (hl : G.LocallyFinite) (D : β„•)
(hD : βˆ€ u, (G.incidentEdges {u}).ncard ≀ D) (r s : β„•) (p : unitInterval)
(hp : (p:ℝ) ∈ Ioo 0 1) (u : V) :
Integrable (fun Ο‰ => βˆ‘' e, transport G r s p Ο‰ u e) (G.law p) := by
apply Integrable.mono' (integrable_const ((D:ℝ)/(p:ℝ)))
(Measurable.tsum (fun e => measurable_transport G r s p u e)).aestronglyMeasurable
exact Eventually.of_forall (fun Ο‰ => (transport_sum_out_abs G r s p Ο‰ u).trans
(rootAbsolute_bound G hl D hD s hp Ο‰ u))
lemma expectedTransport_out_bound (hl : G.LocallyFinite) (D : β„•) (hDpos : 1≀D)
(hD : βˆ€ u, (G.incidentEdges {u}).ncard ≀ D) (r k : β„•) (p : unitInterval)
(hp : (p:ℝ) ∈ Ioo 0 1) (hpc : p < G.criticalProbability) (u : V) :
(βˆ‘' e, expectedTransport G r (4^k) p u e) ≀ (D:ℝ)/p*(6/(2:ℝ)^k) := by
rw [expectedTransport_sum_out G hl r (4^k) p hp u]
refine (integral_mono_ae (integrable_transport_out G hl D hD r (4^k) p hp u) ?_
(Eventually.of_forall (fun Ο‰ => transport_sum_out_le G r (4^k) p Ο‰ u))).trans
(subcritical_rootAbsolute_bound G hl D hDpos hD p hp hpc k u)
apply Integrable.mono' (integrable_const ((D:ℝ)/(p:ℝ)))
(measurable_rootAbsolute G (4^k) p u).aestronglyMeasurable
exact Eventually.of_forall (fun Ο‰ => by
rw [Real.norm_eq_abs,abs_of_nonneg (rootAbsolute_nonneg G (4^k) p Ο‰ u)]
exact rootAbsolute_bound G hl D hD (4^k) hp Ο‰ u)
omit [Countable V] [Countable E] in
lemma eventually_truncatedEdgeMass (hc : G.fullGraph.Connected) {Ο‰ : Set E} {e : E}
(hx : (G.cluster Ο‰ (G.ends e).out.1).Finite)
(hy : (G.cluster Ο‰ (G.ends e).out.2).Finite) (s : β„•) :
βˆ€αΆ  r in atTop, truncatedEdgeMass G r s Ο‰ e = edgeMass G s Ο‰ e := by
filter_upwards [eventually_small G hc hx,eventually_small G hc hy] with r hr hs
simp only [truncatedEdgeMass,clusterWeight,hr,hs,ite_true,edgeMass]
lemma expectedTransport_in_tendsto (hc : G.fullGraph.Connected) (hl : G.LocallyFinite)
(s : β„•) (p : unitInterval) (hp : (p:ℝ) ∈ Ioo 0 1) (hpc : p < G.criticalProbability) (e : E) :
Tendsto (fun r => βˆ‘' u, expectedTransport G r s p u e) atTop
(𝓝 (∫ Ο‰, edgeDiscrepancy G s p Ο‰ e βˆ‚G.law p)) := by
simp only [expectedTransport_sum_in G hl _ s p hp e]
apply tendsto_integral_of_dominated_convergence (fun _ => 2/(p:ℝ))
Β· intro r
exact (Measurable.tsum (fun u => measurable_transport G r s p u e)).aestronglyMeasurable
Β· exact integrable_const _
Β· intro r
exact Eventually.of_forall (fun Ο‰ => transport_sum_in_bound G hl r s hp Ο‰ e)
· filter_upwards [ae_finite_clusters G p hpc] with ω hω
apply tendsto_const_nhds.congr'
filter_upwards [eventually_truncatedEdgeMass G hc (hω _) (hω _) s] with r hr
rw [transport_sum_in G hl,hr]
rfl
end CriticalPercolation.FiniteClusters
end
end
end OAI