File size: 5,492 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 90 91 92 93 | import Mathlib
import OAI.MeasureTheory.FalconerCompletion.Graphs.GraphRetainedDirect
namespace OAI
/-! Graph energies and pair estimates. -/
section
section
open Set MeasureTheory
open scoped ComplexConjugate RealInnerProductSpace
namespace GraphLiteralSupport
namespace Attempt4Near
open Set MeasureTheory
open scoped ComplexConjugate
variable {V Ξ± Ξ² ΞΊ : Type*} [MeasurableSpace V]
theorem graphFiniteCrossedEstimateND (ΞΌ : Measure V) [IsFiniteMeasure ΞΌ]
(A : Finset Ξ±) (B : Finset Ξ²) (K : Finset ΞΊ)
(G : ΞΊ β (Ξ± Γ Ξ²) β (Ξ± Γ Ξ²) β Prop) [β k, DecidableRel (G k)]
(Ξ· : ΞΊ β V Γ V β β)
(hpart : βα΅ z βΞΌ.prod ΞΌ, (β k β K, 0 β€ Ξ· k z) β§ β k β K, Ξ· k z=1)
(U : Ξ± β β Γ V β β) (W : Ξ² β β Γ V β β)
(hU : β i β A, Measurable (U i)) (hW : β j β B, Measurable (W j))
(C : Ξ± β β) (E : Ξ² β β)
(hbU : β i β A, β r, βα΅ w βΞΌ, βU i (r,w)β β€ C i)
(hbW : β j β B, β r, βα΅ w βΞΌ, βW j (r,w)β β€ E j) (D : β)
(hrow : β k β K, β a β A.product B, (((A.product B).filter (G k a)).card : β) β€ D)
(hcol : β k β K, β b β A.product B, (((A.product B).filter (fun a => G k a b)).card : β) β€ D)
{Ξ¨ : β β β} (hΞ¨ : Integrable Ξ¨) (hΞ¨pos : β r, 0 β€ Ξ¨ r)
(hi : β k β K, β a β A.product B, β b β A.product B,
Integrable (fun p : β Γ (V Γ V) => (Ξ¨ p.1:β)*(Ξ· k p.2:β)*
((U a.1 (p.1,p.2.1)*W a.2 (p.1,p.2.2))*
conj (U b.1 (p.1,p.2.2)*W b.2 (p.1,p.2.1)))) (volume.prod (ΞΌ.prod ΞΌ)))
{Ξ΅ : β} (hΞ΅ : 0 β€ Ξ΅)
(hne : β k β K, β a β A.product B, β b β A.product B, Β¬G k a b β
ββ« p : β Γ (V Γ V), (Ξ¨ p.1:β)*(Ξ· k p.2:β)*
((U a.1 (p.1,p.2.1)*W a.2 (p.1,p.2.2))*
conj (U b.1 (p.1,p.2.2)*W b.2 (p.1,p.2.1))) βvolume.prod (ΞΌ.prod ΞΌ)β β€ Ξ΅) :
(β« r, Ξ¨ r*ββ« w, (β i β A, U i (r,w))*conj (β j β B, W j (r,w)) βΞΌβ^2) β€
D*β i β A, β j β B, (β« r, Ξ¨ r*sourceAngularMomentND ΞΌ (U i) r*
sourceAngularMomentND ΞΌ (W j) r) + (K.card:β)*((A.card:β)*B.card)^2*Ξ΅ := by
let F := fun (k : ΞΊ) (a b : Ξ± Γ Ξ²) (p : β Γ (V Γ V)) => (Ξ¨ p.1:β)*(Ξ· k p.2:β)*
((U a.1 (p.1,p.2.1)*W a.2 (p.1,p.2.2))*conj (U b.1 (p.1,p.2.2)*W b.2 (p.1,p.2.1)))
have hiF : β k β K, β a β A.product B, β b β A.product B,
Integrable (F k a b) (volume.prod (ΞΌ.prod ΞΌ)) := hi
have hiR : β k β K, β a β A.product B, β b β A.product B,
Integrable (fun p => if G k a b then F k a b p else 0) (volume.prod (ΞΌ.prod ΞΌ)) := by
intro k hk a ha b hb
by_cases h : G k a b
Β· simpa only [h,ite_true] using hiF k hk a ha b hb
Β· simp only [h,ite_false]; exact integrable_zero _ _ _
have heF : (fun p => β k β K, β a β A.product B, β b β A.product B, F k a b p) =
fun p => (Ξ¨ p.1:β)*graphRetainedCrossedND A B K (fun _ _ _ => True) Ξ· U W p.1 p.2 := by
funext p
simp only [F,graphRetainedCrossedND,ite_true,Finset.mul_sum,mul_assoc]
have heR : (fun p => β k β K, β a β A.product B, β b β A.product B,
if G k a b then F k a b p else 0) =
fun p => (Ξ¨ p.1:β)*graphRetainedCrossedND A B K G Ξ· U W p.1 p.2 := by
funext p
simp only [F,graphRetainedCrossedND,Finset.mul_sum,mul_ite,mul_zero,mul_assoc]
have hintF := integrable_finsetSum K (fun k hk => integrable_finsetSum (A.product B)
(fun a ha => integrable_finsetSum (A.product B) (fun b hb => hiF k hk a ha b hb)))
have hintR := integrable_finsetSum K (fun k hk => integrable_finsetSum (A.product B)
(fun a ha => integrable_finsetSum (A.product B) (fun b hb => hiR k hk a ha b hb)))
rw [heF] at hintF
rw [heR] at hintR
have hl := graph_integral_localizationND (volume.prod (ΞΌ.prod ΞΌ)) A B K G F hiF hΞ΅ hne
rw [heF,heR,integral_prod _ hintF,integral_prod _ hintR] at hl
simp_rw [integral_const_mul] at hl
have he (r : β) := graphExpandedCrossedND_integral ΞΌ A B K Ξ· U W r
(hpart.mono (fun _ h => h.2))
simp_rw [he] at hl
simp only [β Complex.ofReal_mul] at hl
rw [integral_complex_ofReal] at hl
have hb := graphRetainedCrossedND_integral_bound ΞΌ A B K G Ξ· hpart U W hU hW C E hbU hbW
D hrow hcol hΨ hΨpos
have hnon : 0 β€ β« r, Ξ¨ r*ββ« w, (β i β A, U i (r,w))*conj (β j β B, W j (r,w)) βΞΌβ^2 := integral_nonneg (fun r =>
mul_nonneg (hΨpos r) (sq_nonneg _))
have htt : β((β« r, Ξ¨ r*ββ« w, (β i β A, U i (r,w))*conj (β j β B, W j (r,w)) βΞΌβ^2 : β):β)β β€ β(β« r, (Ξ¨ r:β)*β« z, graphRetainedCrossedND A B K G Ξ· U W r z βΞΌ.prod ΞΌ)β + β((β« r, Ξ¨ r*ββ« w, (β i β A, U i (r,w))*conj (β j β B, W j (r,w)) βΞΌβ^2 : β):β)-(β« r, (Ξ¨ r:β)*β« z, graphRetainedCrossedND A B K G Ξ· U W r z βΞΌ.prod ΞΌ)β := by
calc
_ = β(β« r, (Ξ¨ r:β)*β« z, graphRetainedCrossedND A B K G Ξ· U W r z βΞΌ.prod ΞΌ)+(((β« r, Ξ¨ r*ββ« w, (β i β A, U i (r,w))*conj (β j β B, W j (r,w)) βΞΌβ^2 : β):β)-(β« r, (Ξ¨ r:β)*β« z, graphRetainedCrossedND A B K G Ξ· U W r z βΞΌ.prod ΞΌ))β := by congr 1; abel
_ β€ _ := norm_add_le _ _
simp only [Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hnon] at htt
exact htt.trans (add_le_add hb (by simpa only [mul_assoc] using hl))
end Attempt4Near
end GraphLiteralSupport
end
end
end OAI
|