File size: 3,784 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | import Mathlib
import OAI.Probability.CriticalPercolation.Criticality.BlockIndependence
import OAI.Probability.CriticalPercolation.Gluing.SelectedFresh
namespace OAI
section
section
noncomputable section
open Set Function MeasureTheory ProbabilityTheory
open scoped Classical BigOperators ENNReal
namespace CriticalPercolation.BernoulliProduct
variable {E I : Type*}
theorem selected_fresh_lower [Countable I] (q : E β unitInterval) (X Y : Set E)
(hXY : Disjoint X Y) (d : Set E β I) (A : I β Set (Set E))
(hd : β i, MeasurableSet[blockSigma X] {Ο | d Ο=i})
(hA : β i, MeasurableSet[blockSigma Y] (A i))
(C : Set (Set E)) (hC : MeasurableSet[blockSigma X] C)
(r : β) (hr : 0 β€ r) (hb : β ΟβC, r β€ (law q).real (A (d Ο))) :
r*(law q).real C β€ (law q).real (Cβ©selectedEvent d A) := by
have hmA := measurableSet_selectedEvent d A (fun i => blockSigma_le X _ (hd i))
(fun i => blockSigma_le Y _ (hA i))
have hk (Ο : Set E) (hΟ : ΟβC) :
ENNReal.ofReal r β€ blockProbability q X (selectedEvent d A) Ο := by
rw [blockProbability_selected q X Y hXY d A hd hA Ο]
apply (ENNReal.toReal_le_toReal ENNReal.ofReal_ne_top (measure_ne_top _ _)).mp
rw [ENNReal.toReal_ofReal hr]
exact hb Ο hΟ
have hh : ENNReal.ofReal r*law q C β€ law q (selectedEvent d Aβ©C) := by
rw [β setLIntegral_blockProbability q X _ C hmA hC]
calc
_ = β«β» _ in C, ENNReal.ofReal r βlaw q := by
rw [lintegral_const,Measure.restrict_apply_univ]
_ β€ _ := setLIntegral_mono' (blockSigma_le X _ hC) hk
have ht := ENNReal.toReal_mono (measure_ne_top _ _) hh
simpa only [Set.inter_comm (selectedEvent d A) C,ENNReal.toReal_mul,
ENNReal.toReal_ofReal hr,Measure.real] using ht
lemma law_closedBlock_lower (q : E β unitInterval) (S : Set E) (hS : S.Finite)
(p : unitInterval) (N : β) (hN : S.ncard β€ N)
(hq : β eβS, (q e : β) β€ p) :
(1-(p : β))^N β€ (law q).real (closedBlock S) := by
have hp0 : 0 β€ 1-(p : β) := sub_nonneg.mpr p.2.2
have hp1 : 1-(p : β) β€ 1 := by linarith [p.2.1]
rw [measureReal_def,law_closedBlock q S hS,ENNReal.toReal_prod]
calc
_ β€ (1-(p : β))^S.ncard := pow_le_pow_of_le_one hp0 hp1 hN
_ = β eβhS.toFinset, (1-(p : β)) := by simp [Set.ncard_eq_toFinset_card S hS]
_ β€ _ := by
apply Finset.prod_le_prodβ
Β· intro e he; exact hp0
Β· intro e he
change 1-(p : β) β€ (bitMeasure (q e)).real {False}
rw [bitMeasure_real_singleton]
simpa only [bitWeight,ite_false] using sub_le_sub_left (hq e (hS.mem_toFinset.mp he)) 1
lemma exists_level_small (ΞΌ : Measure (Set E)) [IsProbabilityMeasure ΞΌ]
(J : Finset I) (hJ : J.Nonempty) (C M : I β Set (Set E))
(hM : β iβJ, MeasurableSet (M i))
(hdis : (J : Set I).PairwiseDisjoint M) (c : β) (hc : 0 < c)
(hb : β iβJ, c*ΞΌ.real (C i) β€ ΞΌ.real (M i)) :
β iβJ, ΞΌ.real (C i) β€ 1/((J.card : β)*c) := by
have hsum : (β iβJ, ΞΌ.real (M i)) β€ 1 := by
rw [β measureReal_biUnion_finset hdis hM]
exact measureReal_le_one
have hcard : 0 < (J.card : β) := by exact_mod_cast Finset.card_pos.mpr hJ
by_contra h
push Not at h
have hs : (β iβJ, 1/(J.card : β)) < β iβJ, ΞΌ.real (M i) := by
apply Finset.sum_lt_sum_of_nonempty hJ
intro i hi
have hh := mul_lt_mul_of_pos_left (h i hi) hc
have he : c*(1/((J.card : β)*c))=1/(J.card : β) := by field_simp
rw [he] at hh
exact hh.trans_le (hb i hi)
simp only [Finset.sum_const, nsmul_eq_mul] at hs
have he : (J.card : β)*(1/(J.card : β))=1 := by field_simp
rw [he] at hs
exact (not_lt_of_ge hsum) hs
end CriticalPercolation.BernoulliProduct
end
end
end
end OAI
|