File size: 8,468 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialGrowth
import Mathlib.Analysis.Normed.Module.FiniteDimension
import Mathlib.Analysis.Normed.Group.Bounded
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.Algebra.MvPolynomial.Funext
import OAI.AlgebraicGeometry.Foundations.Scheme.HomogeneousEvalMap

/-! # Homogeneous Extension -/

namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HomogeneousExtension.Constructions.Growth

noncomputable section

/-!
# Extension of homogeneous holomorphic coefficients across the cone vertex

A function of positive integral homogeneity, holomorphic away from the origin,
is a polynomial. The proof first handles every affine complex line, then uses
compactness of the unit sphere and polynomial interpolation.
-/

open Filter Set _root_.Metric
open scoped _root_.Topology BigOperators

/-- A homogeneous function holomorphic away from the origin is holomorphic on
each affine line: a line passing through the origin has an explicit formula. -/
theorem line_differentiable_of_homogeneous {n d : β„•} {f : (Fin n β†’ β„‚) β†’ β„‚}
    (hf : DifferentiableOn β„‚ f {0}ᢜ)
    (hhom : βˆ€ (c : β„‚) x, f (c β€’ x) = c ^ d * f x)
    (x v : Fin n β†’ β„‚) : Differentiable β„‚ (fun c : β„‚ => f (x + c β€’ v)) := by
  by_cases hzero : βˆƒ c : β„‚, x + c β€’ v = 0
  Β· obtain ⟨cβ‚€, hcβ‚€βŸ© := hzero
    have hx : x = -(cβ‚€ β€’ v) := eq_neg_of_add_eq_zero_left hcβ‚€
    have heq : (fun c : β„‚ => f (x + c β€’ v)) =
        (fun c => (c - cβ‚€) ^ d * f v) := by
      funext c
      rw [hx, ← hhom]
      congr 1
      rw [sub_smul]
      abel
    rw [heq]
    exact ((differentiable_id.sub_const cβ‚€).pow d).mul_const _
  Β· intro c
    have hne : x + c β€’ v ∈ ({0}ᢜ : Set (Fin n β†’ β„‚)) := by
      simpa only [mem_compl_iff, mem_singleton_iff] using
        (not_exists.mp hzero c)
    exact (hf.differentiableAt (isOpen_compl_singleton.mem_nhds hne)).comp c
      (((differentiable_const x).add (differentiable_id.smul_const v)) c)

/-- Compactness of the unit sphere turns positive homogeneity into a global
polynomial-growth estimate. -/
theorem polynomial_growth_of_homogeneous {n d : β„•} {f : (Fin n β†’ β„‚) β†’ β„‚}
    (hd : 0 < d) (hf : ContinuousOn f {0}ᢜ)
    (hhom : βˆ€ (c : β„‚) x, f (c β€’ x) = c ^ d * f x) :
    βˆƒ C : ℝ, 0 < C ∧ βˆ€ x, β€–f xβ€– ≀ C * (max 1 β€–xβ€–) ^ d := by
  have hs : sphere (0 : Fin n β†’ β„‚) 1 βŠ† ({0}ᢜ : Set (Fin n β†’ β„‚)) := by
    intro x hx
    have hn : β€–xβ€– = 1 := by simpa only [mem_sphere_iff_norm, sub_zero] using hx
    simpa only [mem_compl_iff, mem_singleton_iff] using
      (norm_ne_zero_iff.mp (by rw [hn]; exact one_ne_zero))
  obtain ⟨C, hC, hbound⟩ :=
    ((isCompact_sphere (0 : Fin n β†’ β„‚) 1).image_of_continuousOn
      (hf.mono hs)).isBounded.exists_pos_norm_le
  refine ⟨C, hC, fun x => ?_⟩
  by_cases hx : x = 0
  Β· subst x
    have hf0 : f 0 = 0 := by
      simpa only [zero_smul, zero_pow hd.ne', zero_mul] using hhom 0 0
    rw [hf0, norm_zero]
    positivity
  Β· let c : β„‚ := β€–xβ€–
    have hc : c β‰  0 := by
      dsimp [c]
      exact_mod_cast (norm_ne_zero_iff.mpr hx)
    have hcnorm : β€–cβ€– = β€–xβ€– := by
      simp [c]
    let y : Fin n β†’ β„‚ := c⁻¹ β€’ x
    have hynorm : β€–yβ€– = 1 := by
      rw [show y = c⁻¹ β€’ x from rfl, norm_smul, norm_inv, hcnorm]
      exact inv_mul_cancelβ‚€ (norm_ne_zero_iff.mpr hx)
    have hy : y ∈ sphere (0 : Fin n β†’ β„‚) 1 := by
      simpa only [mem_sphere_iff_norm, sub_zero] using hynorm
    have hcy : c β€’ y = x := by
      rw [show y = c⁻¹ β€’ x from rfl, smul_smul, mul_inv_cancelβ‚€ hc, one_smul]
    have hfy : β€–f yβ€– ≀ C := hbound _ (mem_image_of_mem f hy)
    calc
      β€–f xβ€– = β€–xβ€– ^ d * β€–f yβ€– := by
        conv_lhs => rw [← hcy, hhom, norm_mul, norm_pow, hcnorm]
      _ ≀ β€–xβ€– ^ d * C := by gcongr
      _ ≀ (max 1 β€–xβ€–) ^ d * C := by gcongr; exact le_max_right _ _
      _ = C * (max 1 β€–xβ€–) ^ d := mul_comm _ _

/-- Positive homogeneous holomorphic coefficients on a punctured complex
coordinate space extend across the origin as actual polynomials. -/
theorem exists_polynomial_of_punctured_homogeneous {n d : β„•}
    {f : (Fin n β†’ β„‚) β†’ β„‚} (hd : 0 < d)
    (hf : DifferentiableOn β„‚ f {0}ᢜ)
    (hhom : βˆ€ (c : β„‚) x, f (c β€’ x) = c ^ d * f x) :
    βˆƒ P : MvPolynomial (Fin n) β„‚, βˆ€ x, MvPolynomial.eval x P = f x := by
  obtain ⟨C, _, hC⟩ := polynomial_growth_of_homogeneous hd hf.continuousOn hhom
  exact PolynomialGrowth.Constructions.Growth.exists_mvPolynomial_of_line_growth n
    (line_differentiable_of_homogeneous hf hhom) (C := C) hC

/-- A polynomial function satisfying a homogeneous scaling law is represented
by its component of precisely that degree. -/
theorem homogeneousComponent_eq_of_eval_smul {n d : β„•}
    (P : MvPolynomial (Fin n) β„‚)
    (hhom : βˆ€ (c : β„‚) x,
      MvPolynomial.eval (c β€’ x) P = c ^ d * MvPolynomial.eval x P) :
    MvPolynomial.homogeneousComponent d P = P := by
  apply MvPolynomial.funext
  intro x
  have hscale (c : β„‚) : MvPolynomial.eval (c β€’ x) P =
      βˆ‘ k ∈ Finset.range (P.totalDegree + 1),
        c ^ k * MvPolynomial.eval x (MvPolynomial.homogeneousComponent k P) := by
    conv_lhs => rw [← MvPolynomial.sum_homogeneousComponent P]
    rw [map_sum]
    apply Finset.sum_congr rfl
    intro k _
    exact Foundations.Scheme.HomogeneousEvalMap.eval_smul_of_isHomogeneous
      (MvPolynomial.homogeneousComponent_isHomogeneous k P) c x
  have hpoly : (βˆ‘ k ∈ Finset.range (P.totalDegree + 1),
      Polynomial.monomial k
        (MvPolynomial.eval x (MvPolynomial.homogeneousComponent k P))) =
      Polynomial.monomial d (MvPolynomial.eval x P) := by
    apply Polynomial.funext
    intro c
    simpa only [Polynomial.eval_finsetSum, Polynomial.eval_monomial, mul_comm] using
      (hscale c).symm.trans (hhom c x)
  have hcoeff := congrArg (fun q : Polynomial β„‚ => q.coeff d) hpoly
  by_cases hd : d ∈ Finset.range (P.totalDegree + 1)
  Β· simpa [Polynomial.finsetSum_coeff, Polynomial.coeff_monomial, hd] using hcoeff
  Β· have hdeg : P.totalDegree < d := by
      simpa only [Finset.mem_range, not_lt, Nat.succ_le_iff] using hd
    rw [MvPolynomial.homogeneousComponent_eq_zero d P hdeg, map_zero]
    simpa [Polynomial.finsetSum_coeff, Polynomial.coeff_monomial, hd] using hcoeff

/-- The polynomial extension retains the specified homogeneous degree. -/
theorem exists_homogeneousPolynomial_of_punctured_homogeneous {n d : β„•}
    {f : (Fin n β†’ β„‚) β†’ β„‚} (hd : 0 < d)
    (hf : DifferentiableOn β„‚ f {0}ᢜ)
    (hhom : βˆ€ (c : β„‚) x, f (c β€’ x) = c ^ d * f x) :
    βˆƒ P : MvPolynomial (Fin n) β„‚,
      P.IsHomogeneous d ∧ βˆ€ x, MvPolynomial.eval x P = f x := by
  obtain ⟨P, hP⟩ := exists_polynomial_of_punctured_homogeneous hd hf hhom
  have heq := homogeneousComponent_eq_of_eval_smul P (by simpa only [hP] using hhom)
  refine ⟨P, ?_, hP⟩
  rw [← heq]
  exact MvPolynomial.homogeneousComponent_isHomogeneous d P

/-- Only the punctured scaling law is needed: setting the value at the origin
to zero gives the unique positive-degree homogeneous polynomial extension. -/
theorem extend_punctured_homogeneous {n d : β„•} {f : (Fin n β†’ β„‚) β†’ β„‚}
    (hd : 0 < d) (hf : DifferentiableOn β„‚ f {0}ᢜ)
    (hhom : βˆ€ (c : β„‚), c β‰  0 β†’ βˆ€ x, x β‰  0 β†’ f (c β€’ x) = c ^ d * f x) :
    βˆƒ P : MvPolynomial (Fin n) β„‚,
      P.IsHomogeneous d ∧ βˆ€ x, x β‰  0 β†’ MvPolynomial.eval x P = f x := by
  classical
  let g : (Fin n β†’ β„‚) β†’ β„‚ := fun x => if x = 0 then 0 else f x
  have hgf (x : Fin n β†’ β„‚) (hx : x ∈ ({0}ᢜ : Set (Fin n β†’ β„‚))) : g x = f x := by
    exact ite_eq_right (by simpa only [mem_compl_iff, mem_singleton_iff] using hx)
  have hg : DifferentiableOn β„‚ g {0}ᢜ := hf.congr hgf
  have hghom (c : β„‚) (x : Fin n β†’ β„‚) : g (c β€’ x) = c ^ d * g x := by
    by_cases hc : c = 0
    Β· simp [hc, g, zero_pow hd.ne']
    by_cases hx : x = 0
    Β· simp [hx, g]
    simp only [g, ite_eq_right hx, ite_eq_right (smul_ne_zero hc hx)]
    exact hhom c hc x hx
  obtain ⟨P, hP, heq⟩ := exists_homogeneousPolynomial_of_punctured_homogeneous hd hg hghom
  refine ⟨P, hP, fun x hx => ?_⟩
  simpa only [g, ite_eq_right hx] using heq x

end

end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HomogeneousExtension.Constructions.Growth