math / data /lean /OAI /AlgebraicGeometry /ComplexGroups /HolomorphicAlgebraicity /FiberCardinality.lean
Download data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/FiberCardinality.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.69 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/FiberCardinality.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/FiberCardinality.lean
-
curl -L -o FiberCardinality.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexGroups/HolomorphicAlgebraicity/FiberCardinality.lean
7.69 kB
| import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProperAnalyticImage | |
| /-! # Fiber Cardinality -/ | |
| namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FiberCardinality.Constructions.Cone | |
| noncomputable section | |
| /-! | |
| # Local bounds on the cardinalities of proper analytic fibers | |
| Each local prepared polynomial bounds the number of roots in its disk. | |
| Properness ensures finitely many such disks cover all nearby fibers. | |
| -/ | |
| open Set Filter _root_.Metric _root_.Complex _root_.Polynomial | |
| open scoped _root_.Topology BigOperators | |
| theorem eventually_fiber_mem_disk_union {n : β} {S : Set ((Fin n β β) Γ β)} | |
| {x : Fin n β β} (hproper : IsProperMap (fun p : S => p.val.1)) | |
| (R : {z : β | (x, z) β S} β β) (hR : β a, 0 < R a) : | |
| βαΆ y in π x, β z, (y, z) β S β | |
| β a : {z : β | (x, z) β S}, z β ball (a : β) (R a) := by | |
| let O : Set ((Fin n β β) Γ β) := | |
| β a : {z : β | (x, z) β S}, Prod.snd β»ΒΉ' ball (a : β) (R a) | |
| have hO : IsOpen O := isOpen_iUnion (fun a => isOpen_ball.preimage continuous_snd) | |
| let D : Set S := Subtype.val β»ΒΉ' OαΆ | |
| have hD : IsClosed D := hO.isClosed_compl.preimage continuous_subtype_val | |
| have hclosed := hproper.isClosedMap D hD | |
| have hxnot : x β (fun p : S => p.val.1) '' D := by | |
| rintro β¨β¨β¨y, zβ©, hyzβ©, hpD, hpxβ© | |
| dsimp only at hpx | |
| subst y | |
| exact hpD (mem_iUnion.mpr β¨β¨z, hyzβ©, mem_ball_self (hR β¨z, hyzβ©)β©) | |
| filter_upwards [hclosed.isOpen_compl.mem_nhds hxnot] with y hy | |
| intro z hyz | |
| have hyo : (y, z) β O := by | |
| by_contra hnot | |
| exact hy β¨β¨(y, z), hyzβ©, hnot, rflβ© | |
| obtain β¨a, haβ© := mem_iUnion.mp hyo | |
| exact β¨a, haβ© | |
| theorem exists_local_polynomial_bound {n : β} {S : Set ((Fin n β β) Γ β)} | |
| {x : Fin n β β} {c : β} (hlocal : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, c)) | |
| (hfinite : {z : β | (x, z) β S}.Finite) : | |
| β (R : β) (d : β) (U : Set (Fin n β β)) (P : (Fin n β β) β Polynomial β), | |
| 0 < R β§ IsOpen U β§ x β U β§ | |
| β y β U, (P y).Monic β§ (P y).natDegree = d β§ | |
| β z β closedBall c R, (y, z) β S β (P y).eval z = 0 := by | |
| obtain β¨R, d, m, U, Q, hR, hU, hx, _, _, hQ, heqβ© := | |
| PolynomialFibers.Constructions.Preparation.polynomial_equations_of_finite_fiber hlocal hfinite | |
| exact β¨R, d, U, Q 0, hR, hU, hx, fun y hy => | |
| β¨(hQ y hy).1, (hQ y hy).2.1, fun z hz hzs => ((heq y hy z hz).mp hzs) 0β©β© | |
| theorem eventually_bounded_fiber_cardinality {n : β} | |
| {S : Set ((Fin n β β) Γ β)} {x : Fin n β β} | |
| (hproper : IsProperMap (fun p : S => p.val.1)) | |
| (hfinite : {z : β | (x, z) β S}.Finite) | |
| (hlocal : β z, (x, z) β S β ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z)) : | |
| β N : β, βαΆ y in π x, {z : β | (y, z) β S}.Finite β§ | |
| {z : β | (y, z) β S}.ncard β€ N := by | |
| classical | |
| let K := {z : β | (x, z) β S} | |
| let : Fintype K := hfinite.fintype | |
| have hprep := fun a : K => exists_local_polynomial_bound (hlocal a a.property) hfinite | |
| choose R d U P hR hU hx hP using hprep | |
| have hcover := eventually_fiber_mem_disk_union hproper R hR | |
| have hnear : βαΆ y in π x, β a : K, y β U a := | |
| eventually_all.mpr (fun a => (hU a).mem_nhds (hx a)) | |
| refine β¨β a : K, d a, ?_β© | |
| filter_upwards [hcover, hnear] with y hy hUy | |
| let H : Finset β := Finset.univ.biUnion (fun a : K => (P a y).roots.toFinset) | |
| have hsub : {z : β | (y, z) β S} β (H : Set β) := by | |
| intro z hz | |
| obtain β¨a, haβ© := hy z hz | |
| exact Finset.mem_biUnion.mpr β¨a, Finset.mem_univ _, Multiset.mem_toFinset.mpr | |
| ((mem_roots (hP a y (hUy a)).1.ne_zero).mpr | |
| ((hP a y (hUy a)).2.2 z (ball_subset_closedBall ha) hz))β© | |
| have hcard : H.card β€ β a : K, d a := by | |
| apply (Finset.card_biUnion_le).trans | |
| apply Finset.sum_le_sum | |
| intro a _ | |
| exact (Multiset.toFinset_card_le _).trans | |
| ((card_roots' (P a y)).trans_eq (hP a y (hUy a)).2.1) | |
| refine β¨H.finite_toSet.subset hsub, ?_β© | |
| exact (ncard_le_ncard hsub H.finite_toSet).trans (by simpa only [ncard_coe_finset] using hcard) | |
| theorem bounded_on_compact_of_locally_bounded {X : Type*} [TopologicalSpace X] | |
| {s : Set X} (hs : IsCompact s) {b : X β β} | |
| (hlocal : β x β s, β N : β, βαΆ y in π x, b y β€ N) : | |
| β N : β, β x β s, b x β€ N := by | |
| classical | |
| choose N hN using (fun a : s => hlocal a a.property) | |
| have hopen := fun a : s => _root_.mem_nhds_iff.mp (hN a) | |
| choose U hUb hU hxU using hopen | |
| have hcover : s β β a : s, U a := fun x hx => mem_iUnion.mpr β¨β¨x, hxβ©, hxU β¨x, hxβ©β© | |
| obtain β¨t, htβ© := hs.elim_finite_subcover U hU hcover | |
| refine β¨t.sup N, fun x hx => ?_β© | |
| obtain β¨a, hxaβ© := mem_iUnion.mp (ht hx) | |
| obtain β¨ha, hxaβ© := mem_iUnion.mp hxa | |
| exact (hUb a hxa).trans (Finset.le_sup ha) | |
| theorem fiber_eq_scaled_image | |
| {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {S : Set (E Γ β)} (hcone : β (a : β) β¦vβ¦, v β S β a β’ v β S) | |
| {a : β} (ha : a β 0) (y : E) : | |
| {z : β | (a β’ y, z) β S} = (fun z : β => a * z) '' {z : β | (y, z) β S} := by | |
| ext z | |
| constructor | |
| Β· intro hz | |
| refine β¨aβ»ΒΉ * z, ?_, mul_inv_cancel_leftβ ha zβ© | |
| change (y, aβ»ΒΉ * z) β S | |
| have h := hcone aβ»ΒΉ hz | |
| simpa only [Prod.smul_mk, smul_smul, inv_mul_cancelβ ha, one_smul, smul_eq_mul] using h | |
| Β· rintro β¨w, hw, rflβ© | |
| exact hcone a hw | |
| theorem fiber_ncard_smul | |
| {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {S : Set (E Γ β)} (hcone : β (a : β) β¦vβ¦, v β S β a β’ v β S) | |
| {a : β} (ha : a β 0) (y : E) : | |
| {z : β | (a β’ y, z) β S}.ncard = {z : β | (y, z) β S}.ncard := by | |
| rw [fiber_eq_scaled_image hcone ha y] | |
| exact ncard_image_of_injective _ (mul_right_injectiveβ ha) | |
| /-- Scaling reduces a global fiber-cardinality bound to compactness of the | |
| unit sphere; the vertex fiber is handled separately. -/ | |
| theorem bounded_fiber_cardinality_of_cone {n : β} | |
| {S : Set ((Fin n β β) Γ β)} | |
| (hproper : IsProperMap (fun p : S => p.val.1)) | |
| (hfinite : β y, {z : β | (y, z) β S}.Finite) | |
| (hcone : β (a : β) β¦vβ¦, v β S β a β’ v β S) | |
| (hlocal : β v β S, v β 0 β ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S v) : | |
| β N : β, β y, {z : β | (y, z) β S}.ncard β€ N := by | |
| have hb : β y β sphere (0 : Fin n β β) 1, | |
| β N : β, βαΆ x in π y, {z : β | (x, z) β S}.ncard β€ N := by | |
| intro y hy | |
| have hy0 : y β 0 := by | |
| intro h | |
| simp only [h, mem_sphere, dist_self, zero_ne_one] at hy | |
| obtain β¨N, hNβ© := eventually_bounded_fiber_cardinality hproper (hfinite y) | |
| (fun z hz => hlocal (y, z) hz (fun h => hy0 (congrArg Prod.fst h))) | |
| exact β¨N, hN.mono (fun _ h => h.2)β© | |
| obtain β¨N, hNβ© := bounded_on_compact_of_locally_bounded (isCompact_sphere (0 : Fin n β β) 1) hb | |
| refine β¨max N {z : β | ((0 : Fin n β β), z) β S}.ncard, fun y => ?_β© | |
| by_cases hy : y = 0 | |
| Β· subst y | |
| exact le_max_right _ _ | |
| let a : β := (βyβ : β)β»ΒΉ | |
| have ha : a β 0 := inv_ne_zero (ofReal_ne_zero.mpr (norm_ne_zero_iff.mpr hy)) | |
| have hunit : a β’ y β sphere (0 : Fin n β β) 1 := by | |
| rw [mem_sphere_iff_norm, sub_zero, norm_smul] | |
| simp [a, norm_ne_zero_iff.mpr hy] | |
| rw [β fiber_ncard_smul hcone ha y] | |
| exact (hN (a β’ y) hunit).trans (le_max_left _ _) | |
| end | |
| end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FiberCardinality.Constructions.Cone | |