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.Foundations.Scheme.ComplexPointExistence |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointUnderlying |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointClosedMap |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyInjective |
| 5 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 6 | |
| 7 | /-! # Finite Point Projection -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePointProjection.Constructions.Algebraization |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Finite morphisms detected by injectivity on complex points |
| 15 | |
| 16 | For a separated morphism of finite type over the complex numbers, injectivity |
| 17 | on complex points makes the diagonal surjective: its closed image contains |
| 18 | all closed points. Properness then makes the morphism finite. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Set |
| 22 | |
| 23 | theorem surjective_of_surjective_complex_points |
| 24 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType Y.hom] |
| 25 | (f : X ⟶ Y) (hclosed : IsClosed (range f.left)) |
| 26 | (hpoints : Function.Surjective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)) : Surjective f.left := by |
| 27 | let : JacobsonSpace Y.left := LocallyOfFiniteType.jacobsonSpace Y.hom |
| 28 | have hsub : closedPoints Y.left ⊆ range f.left := by |
| 29 | intro y hy |
| 30 | let q : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y := |
| 31 | Over.homMk (pointOfClosedPoint Y.hom y hy) (pointOfClosedPoint_comp Y.hom y hy) |
| 32 | obtain ⟨p, hp⟩ := hpoints q |
| 33 | refine ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying p, ?_⟩ |
| 34 | have h := congrArg ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying hp |
| 35 | change f.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying p) = |
| 36 | pointOfClosedPoint Y.hom y hy ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.basePoint at h |
| 37 | exact h.trans (pointOfClosedPoint_apply (K := ℂ) Y.hom y hy _) |
| 38 | have hr : range f.left = univ := by |
| 39 | apply subset_antisymm (subset_univ _) |
| 40 | rw [← closure_closedPoints (X := Y.left)] |
| 41 | exact closure_minimal hsub hclosed |
| 42 | exact ⟨range_eq_univ.mp hr⟩ |
| 43 | |
| 44 | theorem universallyInjective_of_injective_complex_points |
| 45 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] |
| 46 | (f : X ⟶ Y) [LocallyOfFiniteType f.left] [IsSeparated f.left] |
| 47 | (hpoints : Function.Injective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)) : UniversallyInjective f.left := by |
| 48 | let T := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullbackOver f f |
| 49 | let δ : X ⟶ T := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullbackLift f f (𝟙 X) (𝟙 X) rfl |
| 50 | have hT : LocallyOfFiniteType T.hom := by |
| 51 | change LocallyOfFiniteType (pullback.snd f.left f.left ≫ X.hom) |
| 52 | infer_instance |
| 53 | let : LocallyOfFiniteType T.hom := hT |
| 54 | have hδ : IsClosedImmersion δ.left := by |
| 55 | change IsClosedImmersion (pullback.diagonal f.left) |
| 56 | infer_instance |
| 57 | let : IsClosedImmersion δ.left := hδ |
| 58 | have hsurj : Function.Surjective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map δ) := by |
| 59 | intro q |
| 60 | let a := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullbackToLeft f f) q |
| 61 | let b := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullbackToRight f f) q |
| 62 | have hab : a = b := by |
| 63 | apply hpoints |
| 64 | change (q ≫ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullbackToLeft f f) ≫ f = |
| 65 | (q ≫ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullbackToRight f f) ≫ f |
| 66 | rw [Category.assoc, Category.assoc, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.pullback_condition] |
| 67 | refine ⟨a, ?_⟩ |
| 68 | apply Over.OverMorphism.ext |
| 69 | apply pullback.hom_ext |
| 70 | · change (a.left ≫ pullback.diagonal f.left) ≫ pullback.fst f.left f.left = |
| 71 | q.left ≫ pullback.fst f.left f.left |
| 72 | simp only [Category.assoc, pullback.diagonal_fst, Category.comp_id] |
| 73 | rfl |
| 74 | · change (a.left ≫ pullback.diagonal f.left) ≫ pullback.snd f.left f.left = |
| 75 | q.left ≫ pullback.snd f.left f.left |
| 76 | simp only [Category.assoc, pullback.diagonal_snd, Category.comp_id] |
| 77 | exact congrArg Over.Hom.left hab |
| 78 | have hδsurj : Surjective δ.left := |
| 79 | surjective_of_surjective_complex_points δ δ.left.isClosedMap.isClosed_range hsurj |
| 80 | exact (UniversallyInjective.iff_diagonal f.left).mpr hδsurj |
| 81 | |
| 82 | theorem finite_of_proper_injective_complex_points |
| 83 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] |
| 84 | (f : X ⟶ Y) [IsProper f.left] |
| 85 | (hpoints : Function.Injective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)) : IsFinite f.left := by |
| 86 | let : UniversallyInjective f.left := universallyInjective_of_injective_complex_points f hpoints |
| 87 | exact IsFinite.of_isProper_of_locallyQuasiFinite f.left |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePointProjection.Constructions.Algebraization |