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.CycleClass.Thom.Integral.SchemeProper |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PointProduct |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 4 | import Mathlib.Topology.Metrizable.Urysohn |
| 5 | |
| 6 | /-! # Separated Scheme Topology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SeparatedSchemeTopology.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Separated finite-type complex schemes have Hausdorff, metrizable |
| 13 | ordinary point spaces, via the actual diagonal and affine point topology. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped MonoidalCategory |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PointProduct.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Integral.SchemeProper.Constructions |
| 20 | |
| 21 | theorem schemePoints_t2 (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsSeparated X.hom] |
| 22 | [LocallyOfFiniteType X.hom] : T2Space (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 23 | let d : X ⟶ X ⊗ X := lift (𝟙 X) (𝟙 X) |
| 24 | let : IsClosedImmersion d.left := by |
| 25 | change IsClosedImmersion (CategoryTheory.Limits.pullback.diagonal X.hom) |
| 26 | infer_instance |
| 27 | let : LocallyOfFiniteType (X ⊗ X).hom := |
| 28 | inferInstanceAs (LocallyOfFiniteType |
| 29 | (CategoryTheory.Limits.pullback.fst X.hom X.hom ≫ X.hom)) |
| 30 | let e := Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X |
| 31 | have hp := e.isProperMap.comp (Integral.SchemeProper.Constructions.isProperMap_integral d) |
| 32 | have he : e ∘ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map d = fun x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X => (x, x) := by |
| 33 | funext x |
| 34 | change ((x ≫ d) ≫ fst X X, (x ≫ d) ≫ snd X X) = (x, x) |
| 35 | simp only [d, Category.assoc, lift_fst, lift_snd, Category.comp_id] |
| 36 | apply t2_iff_isClosed_diagonal.mpr |
| 37 | have hr : Set.range (fun x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X => (x, x)) = |
| 38 | Set.diagonal (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 39 | ext p |
| 40 | constructor |
| 41 | · rintro ⟨x, rfl⟩ |
| 42 | rfl |
| 43 | · intro h |
| 44 | exact ⟨p.1, Prod.ext rfl h⟩ |
| 45 | rw [← hr, ← he] |
| 46 | exact hp.isClosed_range |
| 47 | |
| 48 | theorem schemePoints_metrizable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsSeparated X.hom] |
| 49 | [LocallyOfFiniteType X.hom] [QuasiCompact X.hom] : |
| 50 | MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 51 | let : T2Space (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := schemePoints_t2 X |
| 52 | let : LocallyCompactSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_locallyCompact X |
| 53 | let : SecondCountableTopology (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_secondCountable X |
| 54 | infer_instance |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.CycleClass.Thom.SeparatedSchemeTopology.Constructions |