math / data /lean /OAI /AlgebraicGeometry /ComplexGroups /HolomorphicAlgebraicity /HomogeneousExtension.lean
Download data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/HomogeneousExtension.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 8.47 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/HomogeneousExtension.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/HomogeneousExtension.lean
-
curl -L -o HomogeneousExtension.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/HomogeneousExtension.lean
8.47 kB
| 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 | |