File size: 4,746 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import Mathlib.Analysis.Normed.Module.FiniteDimension
import Mathlib.Analysis.SpecialFunctions.Complex.Analytic
import Mathlib.Topology.Order.Compact
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring

/-! # CM Siegel Phase -/

namespace OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM

noncomputable section

/-!
# Positive complex quadratic phases in real position space

A symmetric complex bilinear form on a finite-dimensional real position
space, whose imaginary part is positive definite, is the basis-independent
form of a Siegel period matrix. Its Gaussian is the actual expression
`exp (Ο€ i B(x,x))`. Positivity implies a proved uniform Gaussian bound.
-/

open Filter _root_.Topology _root_.Metric

variable (V : Type*) [NormedAddCommGroup V] [NormedSpace ℝ V]

structure SiegelPhase where
  form : V β†’L[ℝ] V β†’L[ℝ] β„‚
  symmetric : βˆ€ x y, form x y = form y x
  positive : βˆ€ x : V, x β‰  0 β†’ 0 < (form x x).im

namespace SiegelPhase

variable {V} (Z : SiegelPhase V)

def imaginaryQuadratic (x : V) : ℝ := (Z.form x x).im

theorem imaginaryQuadratic_zero : Z.imaginaryQuadratic 0 = 0 := by
  simp [SiegelPhase.imaginaryQuadratic]

theorem imaginaryQuadratic_smul (r : ℝ) (x : V) :
    Z.imaginaryQuadratic (r β€’ x) = r ^ 2 * Z.imaginaryQuadratic x := by
  simp only [SiegelPhase.imaginaryQuadratic, map_smul, smul_apply,
    Complex.real_smul, Complex.mul_im, Complex.ofReal_re, Complex.ofReal_im,
    zero_mul, add_zero]
  ring

theorem imaginaryQuadratic_continuous : Continuous Z.imaginaryQuadratic :=
  Complex.continuous_im.comp (Z.form.continuous.clm_apply continuous_id)

theorem imaginaryQuadratic_nonneg (x : V) : 0 ≀ Z.imaginaryQuadratic x := by
  by_cases hx : x = 0
  Β· rw [hx, Z.imaginaryQuadratic_zero]
  Β· exact (Z.positive x hx).le

/-- Compactness of the unit sphere supplies a positive quadratic lower
bound, including the zero-dimensional position space. -/
theorem exists_lower_bound [FiniteDimensional ℝ V] :
    βˆƒ c : ℝ, 0 < c ∧ βˆ€ x : V, c * β€–xβ€– ^ 2 ≀ Z.imaginaryQuadratic x := by
  rcases subsingleton_or_nontrivial V with hV | hV
  · exact ⟨1, zero_lt_one, fun x => by
      rw [Subsingleton.elim x 0, norm_zero, zero_pow (by decide), mul_zero,
        Z.imaginaryQuadratic_zero]⟩
  · obtain ⟨y, hy, hmin⟩ := (isCompact_sphere (0 : V) 1).exists_isMinOn
      (NormedSpace.sphere_nonempty.mpr (by norm_num : (0 : ℝ) ≀ 1))
      Z.imaginaryQuadratic_continuous.continuousOn
    have hyn : β€–yβ€– = 1 := by simpa only [mem_sphere, dist_zero_right] using hy
    have hy0 : y β‰  0 := by intro h; simp [h] at hyn
    refine ⟨Z.imaginaryQuadratic y, Z.positive y hy0, fun x => ?_⟩
    by_cases hx : x = 0
    Β· simp only [hx, norm_zero, ne_eq, OfNat.ofNat_ne_zero, not_false_eq_true,
        zero_pow, mul_zero, Z.imaginaryQuadratic_zero, le_refl]
    Β· have hxn : β€–xβ€– β‰  0 := norm_ne_zero_iff.mpr hx
      have hunit : β€–(β€–x‖⁻¹ : ℝ) β€’ xβ€– = 1 := by
        rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (inv_nonneg.mpr (norm_nonneg x)),
          inv_mul_cancelβ‚€ hxn]
      have hb := hmin (show (β€–x‖⁻¹ : ℝ) β€’ x ∈ sphere (0 : V) 1 from by
        simpa only [mem_sphere, dist_zero_right] using hunit)
      have hb' := mul_le_mul_of_nonneg_right hb (sq_nonneg β€–xβ€–)
      rw [Z.imaginaryQuadratic_smul] at hb'
      have heq : (β€–x‖⁻¹ ^ 2 * Z.imaginaryQuadratic x) * β€–xβ€– ^ 2 =
          Z.imaginaryQuadratic x := by field_simp
      rwa [heq] at hb'

variable [FiniteDimensional ℝ V]

def lowerBound : ℝ := Z.exists_lower_bound.choose

theorem lowerBound_pos : 0 < Z.lowerBound := Z.exists_lower_bound.choose_spec.1

theorem imaginaryQuadratic_lower_bound (x : V) :
    Z.lowerBound * β€–xβ€– ^ 2 ≀ Z.imaginaryQuadratic x := Z.exists_lower_bound.choose_spec.2 x

def gaussianWeight (x : V) : β„‚ := Complex.exp ((Real.pi : β„‚) * Complex.I * Z.form x x)

omit [FiniteDimensional ℝ V] in
theorem gaussianWeight_ne_zero (x : V) : Z.gaussianWeight x β‰  0 := Complex.exp_ne_zero _

omit [FiniteDimensional ℝ V] in
theorem gaussianWeight_norm (x : V) :
    β€–Z.gaussianWeight xβ€– = Real.exp (-Real.pi * Z.imaginaryQuadratic x) := by
  rw [SiegelPhase.gaussianWeight, Complex.norm_exp]
  congr 1
  simp [SiegelPhase.imaginaryQuadratic, Complex.mul_re, Complex.mul_im]

theorem gaussianWeight_norm_le (x : V) :
    β€–Z.gaussianWeight xβ€– ≀ Real.exp (-(Real.pi * Z.lowerBound) * β€–xβ€– ^ 2) := by
  rw [Z.gaussianWeight_norm]
  apply Real.exp_le_exp.mpr
  have h := mul_le_mul_of_nonneg_left (Z.imaginaryQuadratic_lower_bound x) Real.pi_pos.le
  nlinarith

end SiegelPhase

end

end OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM