Download data/lean/OAI/AlgebraicGeometry/PlaneCurves/AnalyticFactorization.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 11.1 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/PlaneCurves/AnalyticFactorization.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/PlaneCurves/AnalyticFactorization.lean
-
curl -L -o AnalyticFactorization.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/PlaneCurves/AnalyticFactorization.lean
11.1 kB
| import Mathlib.Algebra.MvPolynomial.Eval | |
| import Mathlib.Analysis.Analytic.IsolatedZeros | |
| import Mathlib.Analysis.Analytic.Order | |
| import Mathlib.Analysis.Complex.CauchyIntegral | |
| import Mathlib.Analysis.Normed.Module.Convex | |
| import Mathlib.Analysis.SpecialFunctions.Complex.Log | |
| import Mathlib.Tactic.FunProp | |
| import OAI.AlgebraicGeometry.PlaneCurves.Automorphic | |
| namespace OAI | |
| /-! | |
| # Analytic factorization, punctured identities, and holomorphic divisibility | |
| -/ | |
| section | |
| /-! Genuine holomorphic division used in the collision argument. No RouchΓ© theorem | |
| or assumption of holomorphic quotients appears in these statements. -/ | |
| namespace Nagata.W19 | |
| open scoped BigOperators Topology | |
| open Filter Set | |
| /-- The divided slope of an analytic function extends analytically at its center. -/ | |
| theorem analyticOnNhd_dslope {U : Set β} {h : β β β} | |
| (hh : AnalyticOnNhd β h U) (a : β) (ha : a β U) : | |
| AnalyticOnNhd β (dslope h a) U := by | |
| intro z hz | |
| by_cases hza : z = a | |
| Β· subst z | |
| obtain β¨P, hPβ© := hh a ha | |
| exact β¨P.fslope, hP.has_fpower_series_dslope_fslopeβ© | |
| Β· have hquot : AnalyticAt β (fun w => (h w - h a) / (w - a)) z := | |
| ((hh z hz).sub analyticAt_const).div (analyticAt_id.sub analyticAt_const) | |
| (sub_ne_zero.mpr hza) | |
| apply hquot.congr | |
| filter_upwards [isOpen_ne.mem_nhds hza] with w hw | |
| simp [dslope_of_ne h hw, slope, div_eq_mul_inv, smul_eq_mul, mul_comm] | |
| /-- Divide out one centered zero while preserving holomorphicity on an open set. -/ | |
| theorem exists_analytic_centered_factor | |
| {U : Set β} (hU : IsOpen U) (h : β β β) | |
| (hh : AnalyticOnNhd β h U) (a : β) (ha : a β U) | |
| (k : β) (ho : (k : ββ) β€ analyticOrderAt h a) : | |
| β g : β β β, AnalyticOnNhd β g U β§ | |
| β z, h z = (z - a) ^ k * g z := by | |
| induction k generalizing h with | |
| | zero => exact β¨h, hh, fun z => by simpβ© | |
| | succ k ih => | |
| have hzero : h a = 0 := by | |
| apply apply_eq_zero_of_analyticOrderAt_ne_zero | |
| intro hz | |
| rw [hz] at ho | |
| simp at ho | |
| let g := dslope h a | |
| have hg : AnalyticOnNhd β g U := analyticOnNhd_dslope hh a ha | |
| have heq : β z, h z = (z - a) * g z := by | |
| intro z | |
| simpa [g, hzero, smul_eq_mul] using (sub_smul_dslope h a z).symm | |
| have hfun : h = (fun z => z - a) * g := funext heq | |
| have hlin : analyticOrderAt (fun z : β => z - a) a = 1 := by | |
| simp | |
| have horder : analyticOrderAt h a = 1 + analyticOrderAt g a := by | |
| rw [hfun, analyticOrderAt_mul (by fun_prop) | |
| (hg.differentiableOn.analyticAt (hU.mem_nhds ha)), hlin] | |
| have hgo : (k : ββ) β€ analyticOrderAt g a := by | |
| rw [horder] at ho | |
| apply (ENat.add_le_add_iff_left (by simp : (1 : ββ) β β€)).mp | |
| simpa [Nat.cast_add, add_comm] using ho | |
| obtain β¨G, hG, heGβ© := ih g hg hgo | |
| refine β¨G, hG, fun z => ?_β© | |
| rw [heq z, heG z, pow_succ] | |
| ac_rfl | |
| /-- A factor nonvanishing at a point contributes zero to analytic vanishing order. -/ | |
| theorem analytic_order_of_nonvanishing_analytic_factor | |
| {U : Set β} (hU : IsOpen U) {h g : β β β} | |
| (hg : AnalyticOnNhd β g U) {a b : β} (hb : b β U) | |
| (hab : b β a) (k : β) (heq : β z, h z = (z - a) ^ k * g z) : | |
| analyticOrderAt h b = analyticOrderAt g b := by | |
| have hfun : h = (fun z => (z - a) ^ k) * g := funext heq | |
| have hfac : AnalyticAt β (fun z => (z - a) ^ k) b := by fun_prop | |
| rw [hfun, analyticOrderAt_mul hfac (hg.differentiableOn.analyticAt (hU.mem_nhds hb))] | |
| have hz : analyticOrderAt (fun z => (z - a) ^ k) b = 0 := | |
| hfac.analyticOrderAt_eq_zero.mpr (pow_ne_zero k (sub_ne_zero.mpr hab)) | |
| rw [hz, zero_add] | |
| /-- Simultaneously divide out finitely many distinct centers with prescribed order. -/ | |
| theorem exists_analytic_finset_factorization | |
| {I : Type*} (s : Finset I) {U : Set β} (hU : IsOpen U) | |
| (h : β β β) (hh : AnalyticOnNhd β h U) | |
| (ΞΎ : I β β) (hΞΎ : Function.Injective ΞΎ) (hmem : β i β s, ΞΎ i β U) | |
| (k : β) (ho : β i β s, (k : ββ) β€ analyticOrderAt h (ΞΎ i)) : | |
| β g : β β β, AnalyticOnNhd β g U β§ | |
| β z, h z = (β i β s, (z - ΞΎ i) ^ k) * g z := by | |
| classical | |
| induction s using Finset.induction_on generalizing h with | |
| | empty => exact β¨h, hh, fun z => by simpβ© | |
| | @insert i s his ih => | |
| obtain β¨g, hg, hfgβ© := exists_analytic_centered_factor hU h hh (ΞΎ i) | |
| (hmem i (Finset.mem_insert_self i s)) k (ho i (Finset.mem_insert_self i s)) | |
| have hmems : β j β s, ΞΎ j β U := fun j hj => | |
| hmem j (Finset.mem_insert_of_mem hj) | |
| have hgos : β j β s, (k : ββ) β€ analyticOrderAt g (ΞΎ j) := by | |
| intro j hj | |
| have hji : ΞΎ j β ΞΎ i := hΞΎ.ne (fun e => his (e βΈ hj)) | |
| rw [β analytic_order_of_nonvanishing_analytic_factor hU hg (hmems j hj) hji k hfg] | |
| exact ho j (Finset.mem_insert_of_mem hj) | |
| obtain β¨G, hG, heGβ© := ih g hg hmems hgos | |
| refine β¨G, hG, fun z => ?_β© | |
| rw [hfg z, heG z, Finset.prod_insert his, mul_assoc] | |
| /-- Interface consumed by the holomorphic collision estimate. -/ | |
| theorem exists_analytic_factorization | |
| {q : β} {U : Set β} (hU : IsOpen U) (h : β β β) | |
| (hh : AnalyticOnNhd β h U) (ΞΎ : Fin q β β) | |
| (hΞΎ : Function.Injective ΞΎ) (hmem : β i, ΞΎ i β U) | |
| (k : β) (ho : β i, (k : ββ) β€ analyticOrderAt h (ΞΎ i)) : | |
| β g : β β β, AnalyticOnNhd β g U β§ | |
| β z, h z = (β i, (z - ΞΎ i) ^ k) * g z := by | |
| exact exists_analytic_finset_factorization Finset.univ hU h hh ΞΎ hΞΎ | |
| (fun i _ => hmem i) k (fun i _ => ho i) | |
| end Nagata.W19 | |
| end | |
| section | |
| /-! Identity-principle zero-product results on the actual punctured complex | |
| plane. Connectedness and nonemptiness are proved for that precise domain. -/ | |
| namespace Nagata.W19 | |
| theorem puncturedPlane_nonempty : ({z : β | z β 0} : Set β).Nonempty := | |
| β¨1, one_ne_zeroβ© | |
| theorem puncturedPlane_eq_exp_range : {z : β | z β 0} = Set.range Complex.exp := by | |
| ext z | |
| constructor | |
| Β· intro hz | |
| exact β¨Complex.log z, Complex.exp_log hzβ© | |
| Β· rintro β¨w, rflβ© | |
| exact Complex.exp_ne_zero w | |
| theorem puncturedPlane_isConnected : IsConnected {z : β | z β 0} := by | |
| rw [puncturedPlane_eq_exp_range] | |
| exact isConnected_range Complex.continuous_exp | |
| theorem holomorphic_punctured_mul_zero (f g : β β β) | |
| (hf : DifferentiableOn β f {z : β | z β 0}) | |
| (hg : DifferentiableOn β g {z : β | z β 0}) | |
| (hfg : β z, z β 0 β f z * g z = 0) : | |
| (β z, z β 0 β f z = 0) β¨ (β z, z β 0 β g z = 0) := by | |
| have ho : IsOpen {z : β | z β 0} := isOpen_ne | |
| exact (hf.analyticOnNhd ho).eq_zero_or_eq_zero_of_mul_eq_zero | |
| (hg.analyticOnNhd ho) hfg puncturedPlane_isConnected.isPreconnected | |
| end Nagata.W19 | |
| end | |
| section | |
| /-! Holomorphic wrappers for the checked analytic factorization core. -/ | |
| namespace Nagata.W19 | |
| open scoped BigOperators | |
| theorem exists_holomorphic_centered_factor | |
| {U : Set β} (hU : IsOpen U) (h : β β β) | |
| (hh : DifferentiableOn β h U) (a : β) (ha : a β U) | |
| (k : β) (ho : (k : ββ) β€ analyticOrderAt h a) : | |
| β g : β β β, DifferentiableOn β g U β§ | |
| β z, h z = (z - a) ^ k * g z := by | |
| obtain β¨g, hg, heqβ© := exists_analytic_centered_factor hU h (hh.analyticOnNhd hU) a ha k ho | |
| exact β¨g, hg.differentiableOn, heqβ© | |
| theorem analytic_order_of_nonvanishing_factor | |
| {U : Set β} (hU : IsOpen U) {h g : β β β} | |
| (hg : DifferentiableOn β g U) {a b : β} (hb : b β U) | |
| (hab : b β a) (k : β) (heq : β z, h z = (z - a) ^ k * g z) : | |
| analyticOrderAt h b = analyticOrderAt g b := | |
| analytic_order_of_nonvanishing_analytic_factor hU (hg.analyticOnNhd hU) hb hab k heq | |
| theorem exists_holomorphic_finset_factorization | |
| {I : Type*} (s : Finset I) {U : Set β} (hU : IsOpen U) | |
| (h : β β β) (hh : DifferentiableOn β h U) | |
| (ΞΎ : I β β) (hΞΎ : Function.Injective ΞΎ) (hmem : β i β s, ΞΎ i β U) | |
| (k : β) (ho : β i β s, (k : ββ) β€ analyticOrderAt h (ΞΎ i)) : | |
| β g : β β β, DifferentiableOn β g U β§ | |
| β z, h z = (β i β s, (z - ΞΎ i) ^ k) * g z := by | |
| obtain β¨g, hg, heqβ© := exists_analytic_finset_factorization s hU h | |
| (hh.analyticOnNhd hU) ΞΎ hΞΎ hmem k ho | |
| exact β¨g, hg.differentiableOn, heqβ© | |
| /-- Interface consumed by the holomorphic collision estimate. -/ | |
| theorem exists_holomorphic_factorization | |
| {q : β} {U : Set β} (hU : IsOpen U) (h : β β β) | |
| (hh : DifferentiableOn β h U) (ΞΎ : Fin q β β) | |
| (hΞΎ : Function.Injective ΞΎ) (hmem : β i, ΞΎ i β U) | |
| (k : β) (ho : β i, (k : ββ) β€ analyticOrderAt h (ΞΎ i)) : | |
| β g : β β β, DifferentiableOn β g U β§ | |
| β z, h z = (β i, (z - ΞΎ i) ^ k) * g z := by | |
| obtain β¨g, hg, heqβ© := exists_analytic_factorization hU h | |
| (hh.analyticOnNhd hU) ΞΎ hΞΎ hmem k ho | |
| exact β¨g, hg.differentiableOn, heqβ© | |
| end Nagata.W19 | |
| end | |
| section | |
| /-! Polynomial evaluations in actual holomorphic section-cover functions. | |
| The resulting zero-product alternative is the analytic input for primality | |
| of the polynomial relation ideal; no function-domain property is assumed. -/ | |
| namespace Nagata.W19 | |
| theorem differentiableOn_polynomial_eval {Ο : Type*} {U : Set β} | |
| (s : Ο β β β β) (hs : β i, DifferentiableOn β (s i) U) | |
| (P : MvPolynomial Ο β) : | |
| DifferentiableOn β (fun z => MvPolynomial.eval (fun i => s i z) P) U := by | |
| induction P using MvPolynomial.induction_on with | |
| | C a => simpa only [MvPolynomial.eval_C] using differentiableOn_const a | |
| | add P Q hP hQ => | |
| simp only [map_add] | |
| exact hP.add hQ | |
| | mul_X P i hP => | |
| simp only [map_mul, MvPolynomial.eval_X] | |
| exact hP.mul (hs i) | |
| theorem polynomial_eval_punctured_mul_zero {Ο : Type*} | |
| (s : Ο β β β β) (hs : β i, DifferentiableOn β (s i) {z : β | z β 0}) | |
| (P Q : MvPolynomial Ο β) | |
| (hPQ : β z, z β 0 β MvPolynomial.eval (fun i => s i z) (P * Q) = 0) : | |
| (β z, z β 0 β MvPolynomial.eval (fun i => s i z) P = 0) β¨ | |
| (β z, z β 0 β MvPolynomial.eval (fun i => s i z) Q = 0) := by | |
| apply holomorphic_punctured_mul_zero | |
| (fun z => MvPolynomial.eval (fun i => s i z) P) | |
| (fun z => MvPolynomial.eval (fun i => s i z) Q) | |
| (differentiableOn_polynomial_eval s hs P) (differentiableOn_polynomial_eval s hs Q) | |
| intro z hz | |
| simpa only [map_mul] using hPQ z hz | |
| /-- The exact three-section specialization used for the degree-three map. -/ | |
| theorem cubic_sections_polynomial_mul_zero {Ο Ξ³ : β} | |
| (s : Fin 3 β Nagata.W08.automorphicSections Ο 3 Ξ³) | |
| (P Q : MvPolynomial (Fin 3) β) | |
| (hPQ : β z, z β 0 β MvPolynomial.eval (fun i => (s i).val z) (P * Q) = 0) : | |
| (β z, z β 0 β MvPolynomial.eval (fun i => (s i).val z) P = 0) β¨ | |
| (β z, z β 0 β MvPolynomial.eval (fun i => (s i).val z) Q = 0) := by | |
| exact polynomial_eval_punctured_mul_zero (fun i => (s i).val) | |
| (fun i z hz => ((s i).property.2.1 z hz).differentiableWithinAt) P Q hPQ | |
| end Nagata.W19 | |
| end | |
| end OAI | |