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.NormalizedHilbert.Intersections |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.MonoFamilyGluing |
| 3 | |
| 4 | /-! # Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.Data.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The bounded Hilbert charts glue to an actual scheme mapping |
| 11 | monomorphically to the Grassmannian. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] (n N : ℕ) (S : Scheme.{u}) (q : ℕ → ℕ) |
| 17 | |
| 18 | instance normalizedHilbertChartParameter_isImmersion (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) : |
| 19 | IsImmersion (NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter a S q).left := by |
| 20 | change IsImmersion ((NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q).left ≫ Grassmannian.Gluing.grassmannianChartMap a S) |
| 21 | infer_instance |
| 22 | |
| 23 | def boundedHilbertGlueData : Scheme.GlueData := |
| 24 | Relative.MonoFamilyGluing.relativeMonoFamilyGlueData (Grassmannian.Gluing.grassmannianOver (ι := ι) (ν := Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) S) |
| 25 | (fun a => NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart a S q) (fun a => NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter a S q) |
| 26 | |
| 27 | def boundedHilbertScheme : Scheme.{u} := (boundedHilbertGlueData (ι := ι) n N S q).glued |
| 28 | |
| 29 | def boundedHilbertChartMap (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) : |
| 30 | (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart a S q).left ⟶ boundedHilbertScheme (ι := ι) n N S q := |
| 31 | (boundedHilbertGlueData (ι := ι) n N S q).ι a |
| 32 | |
| 33 | instance boundedHilbertChartMap_isOpenImmersion (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) : |
| 34 | IsOpenImmersion (boundedHilbertChartMap n N S q a) := |
| 35 | Scheme.GlueData.ι_isOpenImmersion (boundedHilbertGlueData (ι := ι) n N S q) a |
| 36 | |
| 37 | def boundedHilbertParameter : boundedHilbertScheme (ι := ι) n N S q ⟶ |
| 38 | Grassmannian.Gluing.grassmannianScheme (ι := ι) (ν := Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) S := |
| 39 | Relative.MonoFamilyGluing.relativeMonoFamilyParameter (Grassmannian.Gluing.grassmannianOver (ι := ι) (ν := Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) S) |
| 40 | (fun a => NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart a S q) (fun a => NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter a S q) |
| 41 | |
| 42 | theorem boundedHilbertChartMap_parameter (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) : |
| 43 | boundedHilbertChartMap n N S q a ≫ boundedHilbertParameter (ι := ι) n N S q = |
| 44 | (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q).left ≫ Grassmannian.Gluing.grassmannianChartMap a S := |
| 45 | Relative.MonoFamilyGluing.relativeMonoFamilyChart_parameter _ _ _ a |
| 46 | |
| 47 | instance boundedHilbertParameter_mono : Mono (boundedHilbertParameter (ι := ι) n N S q) := |
| 48 | Relative.MonoFamilyGluing.relativeMonoFamilyParameter_mono _ _ _ |
| 49 | |
| 50 | instance boundedHilbertParameter_locallyOfFiniteType : |
| 51 | LocallyOfFiniteType (boundedHilbertParameter (ι := ι) n N S q) := by |
| 52 | have : IsZariskiLocalAtSource @LocallyOfFiniteType.{u} := |
| 53 | HasRingHomProperty.instIsZariskiLocalAtSource (P := @LocallyOfFiniteType.{u}) (Q := RingHom.FiniteType) |
| 54 | apply (IsZariskiLocalAtSource.iff_of_openCover |
| 55 | (P := @LocallyOfFiniteType) (boundedHilbertGlueData (ι := ι) n N S q).openCover).mpr |
| 56 | intro a |
| 57 | change ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N at a |
| 58 | change LocallyOfFiniteType (boundedHilbertChartMap n N S q a ≫ boundedHilbertParameter n N S q) |
| 59 | rw [boundedHilbertChartMap_parameter] |
| 60 | exact inferInstanceAs (LocallyOfFiniteType (NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter a S q).left) |
| 61 | |
| 62 | def boundedHilbertOver : Over S := |
| 63 | Over.mk (boundedHilbertParameter (ι := ι) n N S q ≫ |
| 64 | Grassmannian.Gluing.grassmannianStructureMap (ι := ι) (ν := Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) S) |
| 65 | |
| 66 | def boundedHilbertParameterOver : boundedHilbertOver (ι := ι) n N S q ⟶ |
| 67 | Grassmannian.Gluing.grassmannianOver (ι := ι) (ν := Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) S := |
| 68 | Over.homMk (boundedHilbertParameter (ι := ι) n N S q) rfl |
| 69 | |
| 70 | instance boundedHilbertParameterOver_mono : Mono (boundedHilbertParameterOver (ι := ι) n N S q) := by |
| 71 | have : Mono (boundedHilbertParameterOver (ι := ι) n N S q).left := boundedHilbertParameter_mono n N S q |
| 72 | exact Over.mono_of_mono_left _ |
| 73 | |
| 74 | theorem boundedHilbertCharts_cover (x : boundedHilbertScheme (ι := ι) n N S q) : |
| 75 | ∃ a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N, ∃ y : (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart a S q).left, |
| 76 | boundedHilbertChartMap n N S q a y = x := |
| 77 | (boundedHilbertGlueData (ι := ι) n N S q).ι_jointly_surjective x |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.Data.GradedHilbert |