Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.UniversalIdeal |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.FieldPointOpenLift |
| 3 | |
| 4 | /-! # Universal Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.UniversalPolynomial.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The global bounded Hilbert universal family satisfies the exact |
| 11 | field-fiber Hilbert-polynomial predicate in the Presentations statement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] (n N : ℕ) |
| 17 | variable (S : Scheme.{u}) [IsLocallyNoetherian S] (q : ℕ → ℕ) (P : Polynomial ℚ) |
| 18 | |
| 19 | theorem boundedHilbertUniversalFamily_hasFiberHilbertPolynomial |
| 20 | (hP : DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N q P) : |
| 21 | Has.Core.HasFiberHilbertPolynomial (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) |
| 22 | (UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S q) P := by |
| 23 | intro K _ a |
| 24 | let H := Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S q |
| 25 | let C := Hilbert.FamilyLocality.testOpenCover (fun p : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N => NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart p S q) |
| 26 | (fun p => ChartPullback.GradedHilbert.boundedHilbertChartOverMap p S q) (Data.GradedHilbert.boundedHilbertCharts_cover n N S q) |
| 27 | obtain ⟨p, b, hb⟩ := FieldPointOpenLift.fieldPoint_lift_openCover C a |
| 28 | change ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N at p |
| 29 | let V := NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart p S q |
| 30 | let M := Normalized.Chart.Grassmannian.normalizedChart p S |
| 31 | let v : V ⟶ H := ChartPullback.GradedHilbert.boundedHilbertChartOverMap p S q |
| 32 | let m : V ⟶ M := NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion p S q |
| 33 | let β : Spec (CommRingCat.of K) ⟶ V.left := b |
| 34 | have hβ : β ≫ v.left = a := hb |
| 35 | have hbase : β ≫ V.hom = a ≫ H.hom := by |
| 36 | rw [← v.w, ← Category.assoc, hβ] |
| 37 | let t : Over S := Over.mk (a ≫ H.hom) |
| 38 | let k : t ⟶ V := Over.homMk β hbase |
| 39 | let z : t ⟶ H := Over.homMk a rfl |
| 40 | have hk : k ≫ v = z := Over.OverMorphism.ext hβ |
| 41 | have hideal : (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) z |
| 42 | (UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S q)).val = |
| 43 | (Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion M (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal p (Normalized.Chart.Grassmannian.universalNormalizedMatrix p S)) (k ≫ m)).ker := by |
| 44 | rw [← hk] |
| 45 | exact UniversalIdeal.GradedHilbert.boundedHilbertUniversalFamily_chart_ideal p S q k |
| 46 | dsimp only [Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation] |
| 47 | rw [hideal] |
| 48 | let I := Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal p (Normalized.Chart.Grassmannian.universalNormalizedMatrix p S) |
| 49 | let γ : Spec (CommRingCat.of K) ⟶ M.left := β ≫ m.left |
| 50 | have hγ : γ ≫ M.hom = a ≫ H.hom := (k ≫ m).w |
| 51 | refine ⟨Global.ProjectivePoint.GradedHilbert.globalProjectiveSchemePointMap M n γ, |
| 52 | Global.PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding M I γ (a ≫ H.hom) hγ, ?_, ?_, ?_, ?_, ?_⟩ |
| 53 | · have hp := Global.ProjectivePoint.GradedHilbert.globalProjectiveSchemePointMap_isPullback M n γ |
| 54 | rw [hγ] at hp |
| 55 | exact hp |
| 56 | · exact Global.PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_isClosedImmersion M I γ (a ≫ H.hom) hγ |
| 57 | · exact (Global.PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_ambient M I γ (a ≫ H.hom) hγ).trans |
| 58 | ((Category.comp_id _).symm.trans (Category.assoc _ _ _)) |
| 59 | · exact Global.PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_projection M I γ (a ≫ H.hom) hγ |
| 60 | · apply Global.PolynomialPointEmbedding.GradedHilbert.globalPolynomialPointEmbedding_hilbertPolynomial M I γ (a ≫ H.hom) hγ P |
| 61 | exact PointIdeal.GradedHilbert.bounded_hilbert_point_ideal_polynomial M (NormalizedHilbert.Chart.GradedHilbert.universalPolynomialGenerators p S) N |
| 62 | (NormalizedHilbert.Chart.GradedHilbert.universalPolynomialGenerators_homogeneous p S) q P hP m (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart_universal_mem p S q) β |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.UniversalPolynomial.GradedHilbert |