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.ComplexPoints.Analytic.AffineSchemePointTopology |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ClosedImmersionPointTopology |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointClosedMap |
| 4 | |
| 5 | /-! # Scheme Closed -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Closed immersions on genuine complex scheme points |
| 13 | |
| 14 | Every closed immersion of schemes over the complex base induces a closed |
| 15 | topological embedding for the affine-test topology. The proof first treats |
| 16 | affine schemes using their actual global-section algebras, then tests an |
| 17 | arbitrary closed image on affine spaces. Actual scheme pullbacks identify each |
| 18 | test preimage with the image under an affine closed immersion. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | |
| 23 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 24 | |
| 25 | /-- An affine closed immersion is a closed embedding on its genuine complex-valued points. -/ |
| 26 | theorem SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isAffine |
| 27 | [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) [IsClosedImmersion f.left] : |
| 28 | Topology.IsClosedEmbedding (SchemePointHomeomorphs.schemeComplexPoints.map f) := by |
| 29 | have hsurj : Function.Surjective (AffineSchemePointTopology.affineCoordinateHom f) := by |
| 30 | change Function.Surjective (AffineSchemePointTopology.affineCoordinateHom f).toRingHom |
| 31 | rw [AffineSchemePointTopology.affineCoordinateHom_toRingHom] |
| 32 | exact (IsClosedImmersion.isAffine_surjective_of_isAffine f.left).2 |
| 33 | rw [AffineSchemePointTopology.schemePointMap_eq_affineCoordinates f] |
| 34 | exact (AffineSchemePointTopology.affineNativePointHomeomorph Y).symm.isClosedEmbedding.comp |
| 35 | ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosedEmbedding_comap_of_surjective |
| 36 | (AffineSchemePointTopology.affineCoordinateHom f) hsurj).comp (AffineSchemePointTopology.affineNativePointHomeomorph X).isClosedEmbedding) |
| 37 | |
| 38 | /-- A closed immersion gives an injective map on genuine complex-valued points. -/ |
| 39 | theorem SchemePointHomeomorphs.schemeComplexPoints.map_injective_of_isClosedImmersion (f : X ⟶ Y) [IsClosedImmersion f.left] : |
| 40 | Function.Injective (SchemePointHomeomorphs.schemeComplexPoints.map f) := by |
| 41 | intro x y h |
| 42 | apply Over.OverMorphism.ext |
| 43 | apply (cancel_mono f.left).mp |
| 44 | exact congrArg Over.Hom.left h |
| 45 | |
| 46 | /-- Closed immersions send all closed sets of complex-valued points to closed sets. -/ |
| 47 | theorem SchemePointHomeomorphs.schemeComplexPoints.isClosedMap_map_of_isClosedImmersion (f : X ⟶ Y) [IsClosedImmersion f.left] : |
| 48 | IsClosedMap (SchemePointHomeomorphs.schemeComplexPoints.map f) := by |
| 49 | apply SchemePointHomeomorphs.schemeComplexPoints.isClosedMap_map_of_affine_pullbacks f |
| 50 | intro A g |
| 51 | have : IsClosedImmersion (SchemePointHomeomorphs.schemeComplexPoints.pullbackToRight f g).left := by |
| 52 | change IsClosedImmersion (pullback.snd f.left g.left) |
| 53 | infer_instance |
| 54 | have : IsAffine (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A).left := by |
| 55 | change IsAffine (Spec (CommRingCat.of A)) |
| 56 | infer_instance |
| 57 | have : IsAffine (SchemePointHomeomorphs.schemeComplexPoints.pullbackOver f g).left := |
| 58 | (IsClosedImmersion.isAffine_surjective_of_isAffine (SchemePointHomeomorphs.schemeComplexPoints.pullbackToRight f g).left).1 |
| 59 | exact (SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isAffine (SchemePointHomeomorphs.schemeComplexPoints.pullbackToRight f g)).isClosedMap |
| 60 | |
| 61 | /-- A closed immersion is a closed point embedding for the affine-test topology. -/ |
| 62 | theorem SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion |
| 63 | (f : X ⟶ Y) [IsClosedImmersion f.left] : |
| 64 | Topology.IsClosedEmbedding (SchemePointHomeomorphs.schemeComplexPoints.map f) := |
| 65 | Topology.IsClosedEmbedding.of_continuous_injective_isClosedMap |
| 66 | (SchemePointHomeomorphs.schemeComplexPoints.continuous_map f) (SchemePointHomeomorphs.schemeComplexPoints.map_injective_of_isClosedImmersion f) |
| 67 | (SchemePointHomeomorphs.schemeComplexPoints.isClosedMap_map_of_isClosedImmersion f) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic |