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.ArithmeticGeometry.Descent.CMVariety.AffineCoefficientObjects |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.ComplexParameter |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.DenseAlgebraicCoordinates |
| 4 | import OAI.ArithmeticGeometry.Descent.CMVariety.AlgebraicCoordinatePoints |
| 5 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialEvaluation |
| 6 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 7 | import Mathlib.RingTheory.TensorProduct.MvPolynomial |
| 8 | |
| 9 | /-! # Affine Coordinates -/ |
| 10 | |
| 11 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.AffineCoordinates.Abelian |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Native complex coordinates on rational affine space and the density |
| 16 | of points whose rational scheme images are closed. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | abbrev rationalAffineSpace (ι : Type) : Over (Spec (CommRingCat.of ℚ)) := |
| 22 | AffineCoefficientObjects.Abelian.affineCoefficientObject ℚ (MvPolynomial ι ℚ) |
| 23 | |
| 24 | def rationalAffineSpaceComplexIso (ι : Type) : |
| 25 | ComplexParameter.Abelian.arithmeticComplexBase (rationalAffineSpace ι).hom ≅ |
| 26 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (MvPolynomial ι ℂ) := |
| 27 | AffineCoefficientObjects.Abelian.affineCoefficientBaseChangeIso ℚ ℂ (MvPolynomial ι ℚ) ≪≫ |
| 28 | AffineCoefficientObjects.Abelian.affineCoefficientAlgIso (MvPolynomial.algebraTensorAlgEquiv ℚ ℂ) |
| 29 | |
| 30 | def rationalAffineCoordinates (ι : Type) : |
| 31 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ComplexParameter.Abelian.arithmeticComplexBase (rationalAffineSpace ι).hom) ≃ₜ (ι → ℂ) := |
| 32 | ((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isoHomeomorph (rationalAffineSpaceComplexIso ι)).trans |
| 33 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph (MvPolynomial ι ℂ)).symm).trans |
| 34 | (AlgebraicGeometry.ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph ι) |
| 35 | |
| 36 | theorem rationalAffineSpaceComplexIso_projection (ι : Type) : |
| 37 | (rationalAffineSpaceComplexIso ι).hom.left ≫ |
| 38 | Spec.map (CommRingCat.ofHom (MvPolynomial.map (algebraMap ℚ ℂ))) = |
| 39 | pullback.fst (rationalAffineSpace ι).hom |
| 40 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))) := by |
| 41 | let e := MvPolynomial.algebraTensorAlgEquiv (σ := ι) ℚ ℂ |
| 42 | have h : e.symm.toRingHom.comp (MvPolynomial.map (algebraMap ℚ ℂ)) = |
| 43 | (Algebra.TensorProduct.includeRight : |
| 44 | MvPolynomial ι ℚ →ₐ[ℚ] ℂ ⊗[ℚ] MvPolynomial ι ℚ).toRingHom := by |
| 45 | apply RingHom.ext |
| 46 | intro p |
| 47 | exact MvPolynomial.algebraTensorAlgEquiv_symm_map ℚ ℂ p |
| 48 | change ((pullbackSymmetry _ _).hom ≫ (pullbackSpecIso ℚ ℂ (MvPolynomial ι ℚ)).hom ≫ |
| 49 | Spec.map (CommRingCat.ofHom e.symm.toRingHom)) ≫ _ = _ |
| 50 | erw [Category.assoc, Category.assoc, ← Spec.map_comp] |
| 51 | change (pullbackSymmetry _ _).hom ≫ (pullbackSpecIso ℚ ℂ (MvPolynomial ι ℚ)).hom ≫ |
| 52 | Spec.map (CommRingCat.ofHom (e.symm.toRingHom.comp (MvPolynomial.map (algebraMap ℚ ℂ)))) = _ |
| 53 | erw [h, pullbackSpecIso_hom_snd, pullbackSymmetry_hom_comp_snd] |
| 54 | rfl |
| 55 | |
| 56 | theorem rationalAffineCoordinates_projection (ι : Type) |
| 57 | (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ComplexParameter.Abelian.arithmeticComplexBase (rationalAffineSpace ι).hom)) : |
| 58 | s.left ≫ pullback.fst (rationalAffineSpace ι).hom |
| 59 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))) = |
| 60 | Spec.map (CommRingCat.ofHom |
| 61 | (MvPolynomial.aeval (R := ℚ) (rationalAffineCoordinates ι s)).toRingHom) := by |
| 62 | let e := rationalAffineSpaceComplexIso ι |
| 63 | let x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ) := |
| 64 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (MvPolynomial ι ℂ)).symm (s ≫ e.hom) |
| 65 | have hs : Spec.map (CommRingCat.ofHom x.toRingHom) = s.left ≫ e.hom.left := by |
| 66 | have h := congrArg (fun t : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (MvPolynomial ι ℂ)) => t.left) |
| 67 | ((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (MvPolynomial ι ℂ)).apply_symm_apply (s ≫ e.hom)) |
| 68 | exact (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv_left _ x).symm.trans h |
| 69 | have heval : x.toRingHom.comp (MvPolynomial.map (algebraMap ℚ ℂ)) = |
| 70 | (MvPolynomial.aeval (R := ℚ) (rationalAffineCoordinates ι s)).toRingHom := by |
| 71 | apply MvPolynomial.ringHom_ext' |
| 72 | · exact Subsingleton.elim _ _ |
| 73 | · intro i |
| 74 | simp only [RingHom.comp_apply, MvPolynomial.map_X, AlgHom.toRingHom_eq_coe, |
| 75 | RingHom.coe_coe, MvPolynomial.aeval_X] |
| 76 | rfl |
| 77 | rw [← rationalAffineSpaceComplexIso_projection ι] |
| 78 | erw [← Category.assoc, ← hs, ← Spec.map_comp] |
| 79 | exact congrArg Spec.map (congrArg CommRingCat.ofHom heval) |
| 80 | |
| 81 | theorem rationalAffineSpace_closed_arithmetic_points_dense (ι : Type) : |
| 82 | Dense {s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ComplexParameter.Abelian.arithmeticComplexBase (rationalAffineSpace ι).hom) | |
| 83 | IsClosed {(s.left ≫ pullback.fst (rationalAffineSpace ι).hom |
| 84 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ)))) (IsLocalRing.closedPoint ℂ)}} := by |
| 85 | have h := (DenseAlgebraicCoordinates.Abelian.algebraic_coordinate_tuples_dense ι).preimage |
| 86 | (rationalAffineCoordinates ι).isOpenMap |
| 87 | apply h.mono |
| 88 | intro s hs |
| 89 | change IsClosed {_} |
| 90 | rw [rationalAffineCoordinates_projection] |
| 91 | exact AlgebraicCoordinatePoints.Abelian.algebraic_polynomial_evaluation_closed _ hs |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.ArithmeticGeometry.Descent.CMVariety.AffineCoordinates.Abelian |