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.SpecScalarTransport |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # Affine Open Smooth -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Smooth coordinate algebras of actual affine opens |
| 13 | |
| 14 | The scalar algebra comes from the given structure morphism to `Spec K`. |
| 15 | Smoothness on every affine open is inherited from the native smooth scheme |
| 16 | morphism, transported through the canonical global-section isomorphism for |
| 17 | the spectrum of the scalar ring. Integrality gives a domain on every |
| 18 | nonempty open. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | /-- The scalar homomorphism on an affine open of a smooth scheme is smooth. -/ |
| 26 | theorem Foundations.Scheme.AffineOpenSmooth.specSectionScalarMap_smooth {K : Type u} [CommRing K] {X : Scheme.{u}} |
| 27 | (f : X ⟶ Spec (.of K)) [Smooth f] (U : X.Opens) (hU : IsAffineOpen U) : |
| 28 | (Foundations.Scheme.SpecScalarTransport.specSectionScalarMap f U).Smooth := by |
| 29 | exact (RingHom.Smooth.respectsIso.cancel_left_isIso |
| 30 | (Scheme.ΓSpecIso (.of K)).inv (f.appLE ⊤ U le_top)).mpr |
| 31 | (f.smooth_appLE (isAffineOpen_top (Spec (.of K))) hU le_top) |
| 32 | |
| 33 | /-- The actual scalar algebra of an affine open in a smooth scheme is smooth. -/ |
| 34 | theorem Foundations.Scheme.AffineOpenSmooth.specSectionScalarAlgebra_smooth {K : Type u} [CommRing K] {X : Scheme.{u}} |
| 35 | (f : X ⟶ Spec (.of K)) [Smooth f] (U : X.Opens) (hU : IsAffineOpen U) : |
| 36 | letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 37 | Algebra.Smooth K Γ(X, U) := |
| 38 | Foundations.Scheme.AffineOpenSmooth.specSectionScalarMap_smooth f U hU |
| 39 | |
| 40 | /-- An integral scheme's actual coordinate algebra on a nonempty open is a domain. -/ |
| 41 | instance ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_isDomain (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] |
| 42 | (U : X.left.Opens) [Nonempty U] : IsDomain (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) := by |
| 43 | change IsDomain Γ(X.left, U) |
| 44 | infer_instance |
| 45 | |
| 46 | /-- The actual coordinate algebra on any affine open of a smooth complex |
| 47 | scheme is smooth over the complex numbers. -/ |
| 48 | theorem ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_smooth (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth X.hom] |
| 49 | (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 50 | Algebra.Smooth ℂ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) := |
| 51 | Foundations.Scheme.AffineOpenSmooth.specSectionScalarAlgebra_smooth X.hom U hU |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry |