import YM.TraceExtension.Fock.Paley import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff /-! Fourier uniqueness on shell waves given just tests on an open neighborhood (around each probe after additional smearing). -/ set_option autoImplicit false noncomputable section namespace YM.TraceExtension.Photons open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary Spectral open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical section open Paley variable {V : Type*} [TopologicalSpace V] [MeasurableSpace V] [BorelSpace V] variable {μ : Measure V} {f : V → ℂ} (u : V → ℝ) (hu : Continuous u) def lineBeam (μ : Measure V) (v : V → ℝ) (f : V → ℂ) (z : ℂ) := Paley.cell μ v f z include hu lemma air_integrable (h : ∀ i,0≤u i) (hp : Integrable f μ) : Air (lineBeam μ u f) (∫ i, ‖f i‖ ∂μ) := by have he (z : ℂ) (hz : z∈ high) : ∀ᵐ i∂μ, ‖Paley.weight u f z i‖ ≤ ‖f i‖ := by filter_upwards with i; unfold Paley.weight; rw [norm_mul,Complex.norm_exp] apply mul_le_of_le_one_right (norm_nonneg _); simp [mul_nonneg (h i) (show 0≤z.im from hz)] have hi (z : ℂ) : AEStronglyMeasurable (Paley.weight u f z) μ := hp.1.mul (show Continuous (fun i => Complex.exp (↑(u i)*z*I)) by fun_prop).aestronglyMeasurable have hk (z) (hz:z∈high) : Integrable (Paley.weight u f z) μ := hp.norm.mono' (hi _) (he _ hz) constructor · exact continuousOn_of_dominated (F:=Paley.weight u f) (fun i _=>hi i) he hp.norm (ae_of_all _ fun i=> (by unfold Paley.weight; fun_prop)) · intro z hz let g p i := (u i:ℂ)*I * Paley.weight u f p i let y := z.im/2; have hy : 0 Paley.weight u f z i) (g p i) p := by convert ((((hasDerivAt_id' p).const_mul ((u i):ℂ)).mul_const I).cexp.const_mul (f i)) using 1 <;> try rfl dsimp only [g,Paley.weight]; ring have hw := hasDerivAt_integral_of_dominated_loc_of_deriv_le (F:=Paley.weight u f) (F':=g) (μ:=μ) (show {p:ℂ| y (u i:ℂ)*I from by fun_prop).aestronglyMeasurable.mul (hi z)) (bound:=fun i => y⁻¹*‖f i‖) refine (hw ?_ (hp.norm.const_mul _) (ae_of_all _ fun i p _ => hf i p)).2.differentiableAt.differentiableWithinAt filter_upwards with i p hh unfold g Paley.weight; simp only [norm_mul,norm_I, norm_real,Real.norm_of_nonneg (h i),mul_one,Complex.norm_exp] rw [show (↑(u i)*p*I).re= -(u i * p.im) by simp, mul_comm ‖f i‖,← mul_assoc] apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) have ha := Real.add_one_le_exp (u i*p.im) rw [Real.exp_neg, inv_eq_one_div y, le_div_iff₀ hy, mul_right_comm,← div_eq_mul_inv, div_le_one (Real.exp_pos _)] nlinarith [show y?_) let u : Probe V := (hg.comp_left Complex.ofReal_zero).toSchwartzMap (Complex.ofRealCLM.contDiff.comp hc) have hp y : (∫ x, Probe.plane x y * Probe.hat u x) * f y=(Probe.pref V)* (g y • f y) := by rw [Probe.positiveFourier]; change (Probe.pref V • (↑(g y):ℂ)) * _ = _; simp [Complex.real_smul,mul_assoc] apply mul_left_cancel₀ (show (↑(Probe.pref V):ℂ)≠0 from by exact_mod_cast Probe.prepos.ne') rw [← integral_const_mul]; simp_rw [← hp, ← integral_mul_const]; rw [integral_integral_swap] · have he x : (∫ y, Probe.plane x y*Probe.hat u x*f y ∂μ)=0 := by simp_rw [mul_comm (Probe.plane _ _),mul_assoc]; rw [integral_const_mul, ht x, mul_zero] simp_rw [he]; simp let K := fun a : V×V => Probe.plane a.2 a.1*Probe.hat u a.2*f a.1 apply (hf.norm.mul_prod (Probe.hat u).integrable.norm).mono' · exact (show AEStronglyMeasurable K _ from ((Probe.plane_cont.comp continuous_swap |>.mul ((Probe.hat u).continuous.comp continuous_snd)).aestronglyMeasurable.mul hf.1.comp_fst)) filter_upwards with a; change ‖K a‖ ≤ _; simp [K,mul_comm] variable {n : ℕ} def beam (b : Fin n → E4) (p : Mom n) := ∏ i, Probe.plane (momentum (p i)) (b i) def rapid (f : Mom n→ℂ) (p : Fin n → E4) := ∫ k,f k*beam p k ∂photons n lemma beam_norm (b : Fin n→E4) p : ‖beam b p‖=1 := by simp [beam,norm_prod] def sweep (p : Fin n → E4) := ∀ i,p i ∈ inside lemma sweep_open : IsOpen {p : Fin n → E4| sweep p} := by rw [show {p : Fin n → E4| sweep p}= ⋂ i : Fin n, (fun p=>p i) ⁻¹' inside by ext; simp [sweep]]; exact isOpen_iInter_of_finite fun i=> open_inside.preimage (continuous_apply i) lemma spans {f : Mom n → ℂ} (hf : Integrable f (photons n)) (he : rapid f =ᶠ[𝓝 0] 0) (x : Fin n → E4) : rapid f x=0 := by have hh a v (ha : rapid f =ᶠ[𝓝 a] 0) (hv : sweep v) (r : ℝ) : rapid f (a+r • v)=0 := by let u (p : Mom n) := ∑ i, inner ℝ (v i) (momentum (p i)); let g p := f p * beam a p have hu : Continuous u := by unfold u; fun_prop have hi (p) : 0 ≤ u p := Finset.sum_nonneg fun i _=> Mink.self_pair ((show ‖spatial _‖