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.AffineCompactness |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineSchemePointTopology |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.FiniteTypeSchemeTopology |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Integral |
| 5 | |
| 6 | /-! # Scheme Integral Proper -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeIntegralProper.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An actual integral map of affine complex schemes is proper in the |
| 13 | ordinary analytic topology when the target is locally of finite type. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem isProperMap_affine_integral {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 18 | [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) |
| 19 | [IsIntegralHom f.left] [LocallyOfFiniteType Y.hom] : |
| 20 | IsProperMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) := by |
| 21 | let A := Γ(Y.left, ⊤) |
| 22 | let B := Γ(X.left, ⊤) |
| 23 | let φ := ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom f |
| 24 | let : Algebra A B := φ.toRingHom.toAlgebra |
| 25 | let : IsScalarTower ℂ A B := IsScalarTower.of_algebraMap_eq' φ.comp_algebraMap.symm |
| 26 | have hi : IsIntegralHom (Spec.map (CommRingCat.ofHom φ.toRingHom)) := by |
| 27 | have h := congrArg Over.Hom.left (Foundations.Scheme.AffineSchemeComplexPoints.affineAppTopAlgHom_over f) |
| 28 | simp only [Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv_left, Over.comp_left, |
| 29 | Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso_inv_left, Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso_hom_left] at h |
| 30 | let : IsClosedImmersion X.left.isoSpec.inv := inferInstance |
| 31 | let : IsClosedImmersion Y.left.isoSpec.hom := inferInstance |
| 32 | have hj : IsIntegralHom (X.left.isoSpec.inv ≫ f.left ≫ Y.left.isoSpec.hom) := inferInstance |
| 33 | exact h.symm ▸ hj |
| 34 | let : Algebra.IsIntegral A B := ⟨IsIntegralHom.SpecMap_iff.mp hi⟩ |
| 35 | let : Algebra.FiniteType ℂ A := ComplexPoints.Analytic.FiniteTypeSchemeTopology.affineOverGamma_finiteType Y |
| 36 | have hp : IsProperMap (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap φ) := |
| 37 | Thom.Integral.AffineCompactness.Constructions.isProperMap_character_comap A B |
| 38 | rw [ComplexPoints.Analytic.AffineSchemePointTopology.schemePointMap_eq_affineCoordinates] |
| 39 | exact (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm.isProperMap.comp |
| 40 | (hp.comp (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).isProperMap) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeIntegralProper.Constructions |