File size: 3,330 Bytes
159357f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import Mathlib
import OAI.Analysis.CoulombIonization.ThomasFermi.TfDilation

namespace OAI

noncomputable section

open MeasureTheory Filter
open scoped Topology BigOperators ContDiff

open MeasureTheory
open scoped BigOperators ComplexConjugate ContDiff FourierTransform

namespace CoulombAtom

def coherentPacket (g : Space → ℂ) (z p x : Space) : ℂ :=
  g (x-z) * Complex.exp ((inner ℝ p x : ℂ) * Complex.I)

def coherentOverlap (g u : Space → ℂ) (z p : Space) : ℂ :=
  ∫ x : Space, conj (coherentPacket g z p x) * u x

lemma coherentPacket_norm (g : Space → ℂ) (z p x : Space) :
    ‖coherentPacket g z p x‖ = ‖g (x-z)‖ := by
  simp [coherentPacket,Complex.norm_exp_ofReal_mul_I]

lemma coherentPacket_smooth {g : Space → ℂ} (hg : ContDiff ℝ ∞ g) (z p : Space) :
    ContDiff ℝ ∞ (coherentPacket g z p) := by
  apply (hg.comp (contDiff_id.sub contDiff_const)).mul
  exact Complex.contDiff_exp.comp ((Complex.ofRealCLM.contDiff.comp (innerSL ℝ p).contDiff).mul contDiff_const)

lemma coherentPacket_compact {g : Space → ℂ} (hg : HasCompactSupport g) (z p : Space) :
    HasCompactSupport (coherentPacket g z p) := by
  exact (hg.comp_homeomorph (Homeomorph.subRight z)).mul_right

lemma coherentOverlap_fourier (g u : Space → ℂ) (z ξ : Space) :
    coherentOverlap g u z ((2*Real.pi) • ξ) =
      𝓕 (fun x : Space => conj (g (x-z))*u x) ξ := by
  rw [Real.fourier_eq']
  unfold coherentOverlap coherentPacket
  apply integral_congr_ae
  filter_upwards [] with x
  have he : conj ((inner ℝ ((2*Real.pi) • ξ) x : ℂ)*Complex.I) =
      ((-2*Real.pi*inner ℝ x ξ : ℝ) : ℂ)*Complex.I := by
    simp only [inner_smul_left,conj_trivial,map_mul,Complex.conj_ofReal,Complex.conj_I,
      Complex.ofReal_mul,Complex.ofReal_neg,Complex.ofReal_ofNat,map_ofNat,real_inner_comm ξ x]
    ring
  rw [map_mul,← Complex.exp_conj,he]
  simp only [smul_eq_mul]
  ring

lemma coherentOverlap_plancherel {g u : Space → ℂ}
    (hg : ContDiff ℝ ∞ g) (hu : ContDiff ℝ ∞ u) (hcu : HasCompactSupport u) (z : Space) :
    (∫ ξ : Space, ‖coherentOverlap g u z ((2*Real.pi) • ξ)‖^2) =
      ∫ x : Space, ‖g (x-z)‖^2 * ‖u x‖^2 := by
  have hc : HasCompactSupport (fun x : Space => conj (g (x-z))*u x) := hcu.mul_left
  have hd : ContDiff ℝ ∞ (fun x : Space => conj (g (x-z))*u x) :=
    (Complex.conjCLE.contDiff.comp (hg.comp (contDiff_id.sub contDiff_const))).mul hu
  have hp := SchwartzMap.integral_norm_sq_fourier (hc.toSchwartzMap hd)
  change (∫ ξ : Space, ‖𝓕 (fun x : Space => conj (g (x-z))*u x) ξ‖^2) =
    ∫ x : Space, ‖conj (g (x-z))*u x‖^2 at hp
  simpa only [coherentOverlap_fourier,norm_mul,Complex.norm_conj,mul_pow] using hp

lemma coherentOverlap_momentum {g u : Space → ℂ}
    (hg : ContDiff ℝ ∞ g) (hu : ContDiff ℝ ∞ u) (hcu : HasCompactSupport u) (z : Space) :
    ((2*Real.pi)^3)⁻¹ * (∫ p : Space, ‖coherentOverlap g u z p‖^2) =
      ∫ x : Space, ‖g (x-z)‖^2 * ‖u x‖^2 := by
  have hp := coherentOverlap_plancherel hg hu hcu z
  rw [Measure.integral_comp_smul_of_nonneg volume (fun p : Space => ‖coherentOverlap g u z p‖^2)
    (2*Real.pi) (hR := by positivity),space_finrank] at hp
  simpa only [zpow_neg,zpow_natCast,smul_eq_mul] using hp

end CoulombAtom

end

end OAI