File size: 3,684 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 | import OAI.Probability.ContinuumTransition.KacEnergy
namespace OAI
section
open scoped BigOperators
open MeasureTheory Set
namespace ContinuumTemperature
theorem familyTerm_product_bound (F G H : ConfigFamily)
(hG : RelabelInvariant G) (hH : RelabelInvariant H) {A B : Set Space}
(hA : MeasurableSet A) (hB : MeasurableSet B) (hd : Disjoint A B)
(hGF : GrandFinite G A) (hHF : GrandFinite H B) (n : β)
(hFi : IntegrableOn (F (Fin n)) {x | β i, x i β A βͺ B})
(hbound : β (s : Finset (Fin n)) (x : Fin n β Space),
x β binaryRegion A B s β F (Fin n) x β€
G {i : Fin n // i β s} (fun i => x i)*H {i : Fin n // i β s} (fun i => x i)) :
familyTerm F (A βͺ B) n β€ β k β Finset.range (n+1), familyTerm G A k*familyTerm H B (n-k) := by
have hb := integral_binary_bound hA hB hd
(fun k => familyIntegral G A (Fin k)) (fun k => familyIntegral H B (Fin k))
hFi ?_
swap
Β· intro s
have hprod := integrableOn_binary_product volume A B s
(by simpa only [β volume_pi] using hGF.integrable {i : Fin n // i β s})
(by simpa only [β volume_pi] using hHF.integrable {i : Fin n // i β s})
have hi := setIntegral_mono_on
(hFi.mono_set (binaryRegion_subset_union A B s))
(by simpa only [β volume_pi] using hprod)
(measurableSet_binaryRegion hA hB s) (hbound s)
rw [show volume = Measure.pi (fun _ : Fin n => (volume : Measure Space)) by exact volume_pi,
setIntegral_binary_product volume A B s (G {i : Fin n // i β s})
(H {i : Fin n // i β s})] at hi
simp only [β volume_pi] at hi
have heg := familyIntegral_eq_Fin G hG A {i : Fin n // i β s}
have heh := familyIntegral_eq_Fin H hH B {i : Fin n // i β s}
have hc : Fintype.card {i : Fin n // i β s} = s.card := Fintype.card_coe s
rw [hc] at heg
have hcc : Fintype.card {i : Fin n // i β s} = n-s.card := by
have hh := Fintype.card_subtype_compl (fun i : Fin n => i β s)
simpa only [Fintype.card_fin, hc] using hh
rw [hcc] at heh
change (β« x in binaryRegion A B s, F (Fin n) x) β€ _
calc
_ β€ familyIntegral G A {i : Fin n // i β s}*
familyIntegral H B {i : Fin n // i β s} := hi
_ = _ := by rw [heg, heh, Fintype.card_fin]
have hh := div_le_div_of_nonneg_right hb (Nat.cast_nonneg (n.factorial) : (0 : β) β€ n.factorial)
rw [Fintype.card_fin, factorial_binomial_sum
(fun k => familyIntegral G A (Fin k)) (fun k => familyIntegral H B (Fin k)) n] at hh
exact hh
theorem GrandFinite.union_product {F G H : ConfigFamily}
(hG : RelabelInvariant G) (hH : RelabelInvariant H) {A B : Set Space}
(hA : MeasurableSet A) (hB : MeasurableSet B) (hd : Disjoint A B)
(hGF : GrandFinite G A) (hHF : GrandFinite H B)
(hFi : β (ΞΉ : Type) [Fintype ΞΉ], IntegrableOn (F ΞΉ) {x | β i, x i β A βͺ B})
(h0 : β (ΞΉ : Type) [Fintype ΞΉ] (x : ΞΉ β Space), 0 β€ F ΞΉ x)
(hbound : β (n : β) (s : Finset (Fin n)) (x : Fin n β Space),
x β binaryRegion A B s β F (Fin n) x β€
G {i : Fin n // i β s} (fun i => x i)*H {i : Fin n // i β s} (fun i => x i)) :
GrandFinite F (A βͺ B) := by
refine β¨hFi, ?_β©
have hab : Summable (fun p : β Γ β => familyTerm G A p.1*familyTerm H B p.2) :=
summable_mul_of_summable_norm (summable_norm_iff.mpr hGF.summable)
(summable_norm_iff.mpr hHF.summable)
exact Summable.of_nonneg_of_le (familyTerm_nonneg F (A βͺ B) h0)
(fun n => familyTerm_product_bound F G H hG hH hA hB hd hGF hHF n (hFi (Fin n)) (hbound n))
(summable_sum_mul_range_of_summable_mul hab)
end ContinuumTemperature
end
end OAI
|