math / data /lean /OAI /MeasureTheory /FalconerCompletion /Graphs /GraphFiniteCrossedEstimate.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
5.49 kB
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