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.Resolution.Blowups.ReesProjectiveComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ClosedProjectiveSectionOverlap |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.ComplexNaturality |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.MapGluing |
| 5 | |
| 6 | /-! # Projective Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.ProjectiveMap.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A global complex projective coordinate map on the actual glued Rees blowup. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {X : Scheme} {n : ℕ} |
| 17 | variable (e : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) [IsClosedImmersion e] (I : X.IdealSheafData) |
| 18 | |
| 19 | /-- Actual common-degree equations for a center on the projective scheme. -/ |
| 20 | structure ProjectiveCenterEquations where |
| 21 | dimension : ℕ |
| 22 | degree : ℕ |
| 23 | forms : Fin (dimension + 1) → Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n |
| 24 | positive : 0 < degree |
| 25 | homogeneous : ∀ j, (forms j).IsHomogeneous degree |
| 26 | generates : ∀ i : Fin (n + 1), |
| 27 | Ideal.span (Set.range (fun j => ClosedProjectiveIdealGenerators.Construction.closedProjectiveDehomogenize e i (forms j))) = |
| 28 | I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) |
| 29 | |
| 30 | /-- The equations exist for every ideal sheaf, by homogeneous ideal recovery. -/ |
| 31 | def projectiveCenterEquations : ProjectiveCenterEquations e I := Classical.choice (by |
| 32 | obtain ⟨m, D, p, hD, hhom, hgen⟩ := |
| 33 | ClosedProjectiveIdealGenerators.Construction.closedProjective_idealSheaf_exists_common_degree_generators e I |
| 34 | exact ⟨⟨m, D, p, hD, hhom, hgen⟩⟩) |
| 35 | |
| 36 | variable {e I} (Q : ProjectiveCenterEquations e I) |
| 37 | |
| 38 | def projectiveCenterChartGenerator (i : Fin (n + 1)) (j : Fin (Q.dimension + 1)) : |
| 39 | I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) := |
| 40 | ⟨ClosedProjectiveIdealGenerators.Construction.closedProjectiveDehomogenize e i (Q.forms j), by |
| 41 | rw [← Q.generates i] |
| 42 | exact Ideal.subset_span ⟨j, rfl⟩⟩ |
| 43 | |
| 44 | theorem projectiveCenterChartGenerator_span (i : Fin (n + 1)) : |
| 45 | Submodule.span Γ(X, ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) |
| 46 | (Set.range (projectiveCenterChartGenerator Q i)) = ⊤ := by |
| 47 | apply (Submodule.span_range_subtype_eq_top_iff (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i)) |
| 48 | (fun j => (projectiveCenterChartGenerator Q i j).property)).mpr |
| 49 | exact Q.generates i |
| 50 | |
| 51 | def projectiveCenterChartMap (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (i : Fin (n + 1)) : |
| 52 | ReesGrading.Construction.affineBlowup (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i)) ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace Q.dimension := |
| 53 | ReesProjectiveCoordinates.Construction.reesProjectiveCoordinateMap _ (Affine.ComplexNaturality.Construction.affineComplexScalars f (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i)) |
| 54 | (projectiveCenterChartGenerator Q i) (projectiveCenterChartGenerator_span Q i) |
| 55 | |
| 56 | variable [IsIntegral X] [IsLocallyNoetherian X] (hI : I ≠ ⊥) |
| 57 | |
| 58 | theorem projectiveCenterChartMap_over (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (i : Fin (n + 1)) : |
| 59 | projectiveCenterChartMap Q f i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension = |
| 60 | Data.Construction.globalBlowupChart I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) ≫ Data.Construction.globalBlowupToBase I hI ≫ f := by |
| 61 | rw [projectiveCenterChartMap, ReesProjectiveCoordinates.Construction.reesProjectiveCoordinateMap_over, Affine.ComplexNaturality.Construction.affineComplexScalars_spec, |
| 62 | ← Category.assoc, ← Data.Construction.globalBlowupChart_over, Category.assoc] |
| 63 | |
| 64 | include hI in |
| 65 | /-- The actual projective maps agree after restriction to every common affine open. -/ |
| 66 | theorem projectiveCenterChartMap_affine_overlap |
| 67 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 68 | (i j : Fin (n + 1)) (W : X.affineOpens) |
| 69 | (hWi : W ≤ ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) (hWj : W ≤ ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e j) : |
| 70 | (Blowup.Functor.Construction.idealBlowupFunctor I).map (homOfLE hWi) ≫ projectiveCenterChartMap Q f i = |
| 71 | (Blowup.Functor.Construction.idealBlowupFunctor I).map (homOfLE hWj) ≫ projectiveCenterChartMap Q f j := by |
| 72 | let : IsReduced (ReesGrading.Construction.affineBlowup (I.ideal W)) := |
| 73 | isReduced_of_isOpenImmersion (Data.Construction.globalBlowupChart I hI W) |
| 74 | let : LocallyOfFiniteType |
| 75 | (ReesGrading.Construction.affineBlowupToSpec (I.ideal W) ≫ Spec.map (CommRingCat.ofHom (Affine.ComplexNaturality.Construction.affineComplexScalars f W))) := by |
| 76 | rw [Affine.ComplexNaturality.Construction.affineComplexScalars_spec, ← Category.assoc, ← Data.Construction.globalBlowupChart_over I hI W, |
| 77 | Category.assoc] |
| 78 | infer_instance |
| 79 | obtain ⟨u, hu, hp⟩ := ClosedProjectiveSectionOverlap.Construction.closedProjective_forms_common_unit e j i hWj hWi Q.degree |
| 80 | apply ReesProjectiveComparison.Construction.reesProjectiveCoordinateMap_common_unit |
| 81 | (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i)) (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e j)) |
| 82 | (I.ideal W) (Affine.ComplexNaturality.Construction.affineComplexScalars f _) (Affine.ComplexNaturality.Construction.affineComplexScalars f _) (Affine.ComplexNaturality.Construction.affineComplexScalars f W) |
| 83 | (Blowup.Functor.Construction.affineRestriction hWi) (Blowup.Functor.Construction.affineRestriction hWj) |
| 84 | (Affine.ComplexNaturality.Construction.affineComplexScalars_restrict f hWi) (Affine.ComplexNaturality.Construction.affineComplexScalars_restrict f hWj) |
| 85 | (Blowup.Functor.Construction.affineRestriction_ideal I hWi) (Blowup.Functor.Construction.affineRestriction_ideal I hWj) |
| 86 | (projectiveCenterChartGenerator Q i) (projectiveCenterChartGenerator Q j) |
| 87 | (projectiveCenterChartGenerator_span Q i) (projectiveCenterChartGenerator_span Q j) u hu |
| 88 | intro k |
| 89 | exact hp (Q.forms k) (Q.homogeneous k) |
| 90 | |
| 91 | omit [IsIntegral X] [IsLocallyNoetherian X] in |
| 92 | theorem closedProjectiveAffineOpen_iSup : |
| 93 | (⨆ i, (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i).1) = ⊤ := by |
| 94 | change (⨆ i, e ⁻¹ᵁ Proj.basicOpen (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading ℂ n) (MvPolynomial.X i)) = ⊤ |
| 95 | rw [← Scheme.Hom.preimage_iSup, |
| 96 | Proj.iSup_basicOpen_eq_top _ _ PolynomialProjectiveBaseChange.Construction.polynomial_irrelevant_le_span_variables, |
| 97 | Scheme.Hom.preimage_top] |
| 98 | |
| 99 | /-- The local projective coordinates glue on the already constructed global blowup. -/ |
| 100 | def globalBlowupProjectiveMap (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] : |
| 101 | Data.Construction.globalBlowup I hI ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace Q.dimension := |
| 102 | (MapGluing.Construction.globalBlowupChosenCover I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e) closedProjectiveAffineOpen_iSup).glueMorphisms |
| 103 | (projectiveCenterChartMap Q f) (fun i j => |
| 104 | MapGluing.Construction.globalBlowupChart_overlap_map_eq I hI f (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension) |
| 105 | (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e j) |
| 106 | (projectiveCenterChartMap Q f i) (projectiveCenterChartMap Q f j) |
| 107 | (projectiveCenterChartMap_over Q hI f i) (projectiveCenterChartMap_over Q hI f j) |
| 108 | (projectiveCenterChartMap_affine_overlap Q hI f i j)) |
| 109 | |
| 110 | theorem globalBlowupProjectiveMap_chart (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 111 | (i : Fin (n + 1)) : |
| 112 | Data.Construction.globalBlowupChart I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) ≫ globalBlowupProjectiveMap Q hI f = |
| 113 | projectiveCenterChartMap Q f i := |
| 114 | (MapGluing.Construction.globalBlowupChosenCover I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e) |
| 115 | closedProjectiveAffineOpen_iSup).ι_glueMorphisms _ _ i |
| 116 | |
| 117 | theorem globalBlowupProjectiveMap_over (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] : |
| 118 | globalBlowupProjectiveMap Q hI f ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension = |
| 119 | Data.Construction.globalBlowupToBase I hI ≫ f := by |
| 120 | apply (MapGluing.Construction.globalBlowupChosenCover I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e) |
| 121 | closedProjectiveAffineOpen_iSup).hom_ext |
| 122 | intro i |
| 123 | change Fin (n + 1) at i |
| 124 | change Data.Construction.globalBlowupChart I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) ≫ |
| 125 | (globalBlowupProjectiveMap Q hI f ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension) = |
| 126 | Data.Construction.globalBlowupChart I hI (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i) ≫ Data.Construction.globalBlowupToBase I hI ≫ f |
| 127 | rw [← Category.assoc, globalBlowupProjectiveMap_chart, projectiveCenterChartMap_over Q hI] |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.ProjectiveMap.Construction |