Download data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GraphRegular.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GraphRegular.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GraphRegular.lean
-
curl -L -o GraphRegular.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GraphRegular.lean
12.6 kB
| import OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph | |
| import Mathlib.RingTheory.Nullstellensatz | |
| import Mathlib.RingTheory.Localization.Submodule | |
| import OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt | |
| /-! # Graph Regular -/ | |
| namespace OAI | |
| noncomputable section | |
| namespace Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.GraphVanishingIdeal | |
| /-! # RiemannProjectivity: the actual vanishing ideal has a smooth neighborhood along a regular graph -/ | |
| open Set Filter _root_.Polynomial | |
| open scoped _root_.Topology | |
| open OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SmoothEquationPoint OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphGermsOn.Constructions.GraphGerms OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms | |
| variable {n m : β} | |
| def polynomialMap (F : Fin m β Polynomial (MvPolynomial (Fin n) β)) : | |
| MvPolynomial (Fin n β Fin m) β β+* LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F := | |
| (algebraMap (JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F) (LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F)).comp (Ideal.Quotient.mk _) | |
| def vanishingIdeal (F : Fin m β Polynomial (MvPolynomial (Fin n) β)) | |
| (S : Set (Fin n β Fin m β β)) : Ideal (LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) := | |
| (MvPolynomial.vanishingIdeal β S).map (polynomialMap F) | |
| theorem branchMap_polynomial (F : Fin m β Polynomial (MvPolynomial (Fin n) β)) | |
| (x : Fin n β β) (Ο : (Fin n β β) β Fin m β β) | |
| {U : Set (Fin n β β)} (hU : IsOpen U) (hx : x β U) (hΟ : DifferentiableOn β Ο U) | |
| (hzero : β y β U, β j, (F j).evalβ (MvPolynomial.eval y) (Ο y j) = 0) | |
| (hderiv : β j, ((F j).map (MvPolynomial.eval x)).derivative.eval (Ο x j) β 0) | |
| (p : MvPolynomial (Fin n β Fin m) β) : | |
| LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x Ο hU hx hΟ hzero hderiv (polynomialMap F p) = | |
| GraphGermsOn.Constructions.GraphGerms.polynomialMap x Ο hU hx hΟ p := by | |
| change IsLocalization.Away.lift (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian | |
| (LocalizedGraph.Constructions.LocalizedGraphGerms.jacobian_unit F x Ο hU hx hΟ hzero hderiv) | |
| (algebraMap (JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F) (LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) (Ideal.Quotient.mk _ p)) = _ | |
| rw [IsLocalization.Away.lift_eq] | |
| rfl | |
| theorem vanishingIdeal_le_kernel | |
| (F : Fin m β Polynomial (MvPolynomial (Fin n) β)) | |
| (x : Fin n β β) (Ο : (Fin n β β) β Fin m β β) | |
| {U : Set (Fin n β β)} (hU : IsOpen U) (hx : x β U) (hΟ : DifferentiableOn β Ο U) | |
| (hzero : β y β U, β j, (F j).evalβ (MvPolynomial.eval y) (Ο y j) = 0) | |
| (hderiv : β j, ((F j).map (MvPolynomial.eval x)).derivative.eval (Ο x j) β 0) | |
| (S : Set (Fin n β Fin m β β)) (hS : β y β U, GraphGermsOn.Constructions.GraphGerms.graph Ο y β S) : | |
| GraphVanishingIdeal.vanishingIdeal F S β€ RingHom.ker (LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x Ο hU hx hΟ hzero hderiv).toRingHom := by | |
| apply Ideal.map_le_iff_le_comap.mpr | |
| intro p hp | |
| change LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x Ο hU hx hΟ hzero hderiv (polynomialMap F p) = 0 | |
| rw [branchMap_polynomial] | |
| apply (PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.pullback_eq_zero x (GraphGermsOn.Constructions.GraphGerms.graph Ο) hU hx | |
| (GraphGermsOn.Constructions.GraphGerms.differentiableOn_graph Ο hΟ) p).mpr | |
| filter_upwards [hU.mem_nhds hx] with y hy | |
| exact hp (GraphGermsOn.Constructions.GraphGerms.graph Ο y) (hS y hy) | |
| theorem exists_smooth_neighborhood | |
| (F : Fin m β Polynomial (MvPolynomial (Fin n) β)) (hF : β j, F j β 0) | |
| (x : Fin n β β) (Ο : (Fin n β β) β Fin m β β) | |
| {U : Set (Fin n β β)} (hU : IsOpen U) (hx : x β U) (hΟ : DifferentiableOn β Ο U) | |
| (hzero : β y β U, β j, (F j).evalβ (MvPolynomial.eval y) (Ο y j) = 0) | |
| (hderiv : β j, ((F j).map (MvPolynomial.eval x)).derivative.eval (Ο x j) β 0) | |
| (S : Set (Fin n β Fin m β β)) (hS : β y β U, GraphGermsOn.Constructions.GraphGerms.graph Ο y β S) : | |
| β s : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F, | |
| AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x Ο hU hx hΟ hzero hderiv s) β 0 β§ | |
| Algebra.Smooth β (Localization.Away (Ideal.Quotient.mk (GraphVanishingIdeal.vanishingIdeal F S) s)) := by | |
| have hfg : (GraphVanishingIdeal.vanishingIdeal F S).FG := IsNoetherian.noetherian _ | |
| exact LocalizedGraph.Constructions.LocalizedGraphGerms.exists_smooth_quotient_neighborhood F hF x Ο hU hx hΟ hzero hderiv _ hfg | |
| (vanishingIdeal_le_kernel F x Ο hU hx hΟ hzero hderiv S hS) | |
| theorem exists_smooth_point_neighborhood | |
| (F : Fin m β Polynomial (MvPolynomial (Fin n) β)) (hF : β j, F j β 0) | |
| (x : Fin n β β) (Ο : (Fin n β β) β Fin m β β) | |
| {U : Set (Fin n β β)} (hU : IsOpen U) (hx : x β U) (hΟ : DifferentiableOn β Ο U) | |
| (hzero : β y β U, β j, (F j).evalβ (MvPolynomial.eval y) (Ο y j) = 0) | |
| (hderiv : β j, ((F j).map (MvPolynomial.eval x)).derivative.eval (Ο x j) β 0) | |
| (S : Set (Fin n β Fin m β β)) (hS : β y β U, GraphGermsOn.Constructions.GraphGerms.graph Ο y β S) : | |
| β (s : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) (q : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F ββ[β] β), | |
| (β p, q (polynomialMap F p) = MvPolynomial.eval (GraphGermsOn.Constructions.GraphGerms.graph Ο x) p) β§ | |
| q s β 0 β§ Algebra.Smooth β | |
| (Localization.Away (Ideal.Quotient.mk (GraphVanishingIdeal.vanishingIdeal F S) s)) := by | |
| obtain β¨s, hs, hsmβ© := exists_smooth_neighborhood F hF x Ο hU hx hΟ hzero hderiv S hS | |
| refine β¨s, LocalizedGraph.Constructions.LocalizedGraphGerms.branchPoint F x Ο hU hx hΟ hzero hderiv, ?_, hs, hsmβ© | |
| intro p | |
| change AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x Ο hU hx hΟ hzero hderiv (polynomialMap F p)) = _ | |
| rw [branchMap_polynomial] | |
| exact PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.pullback_value x (GraphGermsOn.Constructions.GraphGerms.graph Ο) hU hx | |
| (GraphGermsOn.Constructions.GraphGerms.differentiableOn_graph Ο hΟ) p | |
| end Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.GraphVanishingIdeal | |
| namespace Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.RegularConeNeighborhood | |
| /-! # RiemannProjectivity: smooth algebraic neighborhoods at the actual normalized cone points -/ | |
| open Set _root_.Polynomial | |
| open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent OAI.Geometry.ComplexTorus.RiemannProjectivity.SeparatingLinearCoordinates.Constructions.SeparatingFiberCoordinates OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms | |
| variable {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] {a b : β} | |
| def splitPoint (e : V βL[β] ((Fin a β β) Γ (Fin b β β))) (w : V) : | |
| Fin a β Fin b β β := Sum.elim (e w).1 (e w).2 | |
| variable {E : Type} [Field E] [NumberField E] [Algebra β E] [NumberField.IsCMField E] | |
| {n : β} | |
| theorem exists_at_parameter (Ξ¦ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) | |
| (f : Ξ¦.periodTorus β Projectivization β (Fin (n + 1) β β)) (hf : Topology.IsClosedEmbedding f) | |
| (hd : β (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) (i : Fin (n + 1)), | |
| f (QuotientAddGroup.mk z) β (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source β | |
| DifferentiableAt β (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z β§ | |
| Function.Injective (fderiv β (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z)) | |
| (i : Fin (n + 1)) (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) | |
| (hi : f (QuotientAddGroup.mk z) β (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) | |
| (v : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) | |
| (hv : v.val = ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, 1)) : | |
| β (m : β) (e : (Fin (n + 1) β β) βL[β] | |
| ((Fin (Module.finrank β (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1) β β) Γ (Fin m β β))) | |
| (F : Fin m β Polynomial (MvPolynomial (Fin (Module.finrank β (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1)) β)) | |
| (s : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) (q : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F ββ[β] β), | |
| (β w β AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), β j, | |
| MvPolynomial.eval (splitPoint e w) (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j)) = 0) β§ | |
| (β p, q (GraphVanishingIdeal.polynomialMap F p) = MvPolynomial.eval (splitPoint e v.val) p) β§ | |
| q s β 0 β§ Algebra.Smooth β | |
| (Localization.Away (Ideal.Quotient.mk | |
| (GraphVanishingIdeal.vanishingIdeal F (splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))) s)) := by | |
| obtain β¨L, m, e, F, he, hInv, hF, hder, hzeroβ© := | |
| JacobianLocalizationAt.Constructions.RegularConeEquations.exists_at_parameter Ξ¦ f hf hd i z hi v hv | |
| obtain β¨r, hvr, hr, hdrβ© := hInv | |
| have hx : L v β r.target := by | |
| rw [β congrFun hr v] | |
| exact r.map_source hvr | |
| have hinv : r.symm (L v) = v := by | |
| rw [β congrFun hr v] | |
| exact r.left_inv hvr | |
| let Ο := fun y => (e (r.symm y).val).2 | |
| have hΟ : DifferentiableOn β Ο r.target := | |
| (e.differentiable.comp_differentiableOn hdr).snd | |
| have hbase (y) (hy : y β r.target) : (e (r.symm y).val).1 = y := by | |
| rw [he, β congrFun hr (r.symm y)] | |
| exact r.right_inv hy | |
| have hz (y) (hy : y β r.target) (j : Fin m) : | |
| (F j).evalβ (MvPolynomial.eval y) (Ο y j) = 0 := by | |
| have h := hzero j (r.symm y).val (r.symm y).property | |
| rw [β he, hbase y hy, SeparatingLinearCoordinates.Constructions.SeparatingFiberCoordinates.coordinate_apply] at h | |
| exact h | |
| have hdΟ (j : Fin m) : ((F j).map (MvPolynomial.eval (L v))).derivative.eval (Ο (L v) j) β 0 := by | |
| simpa only [Ο, hinv, SeparatingLinearCoordinates.Constructions.SeparatingFiberCoordinates.coordinate_apply] using hder j | |
| have hS (y) (hy : y β r.target) : GraphGermsOn.Constructions.GraphGerms.graph Ο y β | |
| splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by | |
| refine β¨(r.symm y).val, (r.symm y).property, ?_β© | |
| funext j | |
| cases j with | |
| | inl j => exact congrFun (hbase y hy) j | |
| | inr j => rfl | |
| obtain β¨s, q, hq, hs, hsmβ© := GraphVanishingIdeal.exists_smooth_point_neighborhood | |
| F hF (L v) Ο r.open_target hx hΟ hz hdΟ _ hS | |
| refine β¨m, e, F, s, q, ?_, ?_, hs, hsmβ© | |
| Β· intro w hw j | |
| change MvPolynomial.eval (Sum.elim (e w).1 (e w).2) | |
| (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j)) = 0 | |
| rw [JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.eval_equation, he] | |
| exact hzero j w hw | |
| intro p | |
| rw [hq] | |
| have hg : GraphGermsOn.Constructions.GraphGerms.graph Ο (L v) = splitPoint e v.val := by | |
| funext j | |
| cases j with | |
| | inl j => exact congrFun (he v.val).symm j | |
| | inr j => change (e (r.symm (L v)).val).2 j = (e v.val).2 j; rw [hinv] | |
| rw [hg] | |
| end Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.RegularConeNeighborhood | |
| end | |
| end OAI | |