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.ComplexMultiplication.IntegralTensorProduct |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.FiniteType |
| 3 | import Mathlib.AlgebraicGeometry.Properties |
| 4 | |
| 5 | /-! # Affine Products -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.AffineProducts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Actual integral affine products -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 19 | |
| 20 | /-- The actual affine fibred product is integral, with no extra geometric hypothesis. -/ |
| 21 | theorem specIntegralProduct (A B : CommRingCat.{u}) [IsDomain A] [IsDomain B] |
| 22 | (f : Spec A ⟶ Spec (.of K)) (g : Spec B ⟶ Spec (.of K)) |
| 23 | [LocallyOfFiniteType f] : IsIntegral (pullback f g) := by |
| 24 | obtain ⟨φ, rfl⟩ := Spec.map_surjective f |
| 25 | obtain ⟨ψ, rfl⟩ := Spec.map_surjective g |
| 26 | algebraize [φ.hom, ψ.hom] |
| 27 | have hf : (algebraMap K A).FiniteType := HasRingHomProperty.Spec_iff.mp ‹_› |
| 28 | let : Algebra.FiniteType K A := hf |
| 29 | let : IsDomain (A ⊗[K] B) := IntegralTensorProduct.integralTensorProduct_isDomain |
| 30 | exact IsIntegral.of_isIso (pullbackSpecIso K A B).inv |
| 31 | |
| 32 | /-- The same result for actual affine schemes rather than chosen presentations. -/ |
| 33 | theorem affineIntegralProduct {X Y : Scheme.{u}} [IsAffine X] [IsAffine Y] |
| 34 | [IsIntegral X] [IsIntegral Y] |
| 35 | (f : X ⟶ Spec (.of K)) (g : Y ⟶ Spec (.of K)) |
| 36 | [LocallyOfFiniteType f] : IsIntegral (pullback f g) := by |
| 37 | let i := pullback.map (X.isoSpec.inv ≫ f) (Y.isoSpec.inv ≫ g) f g |
| 38 | X.isoSpec.inv Y.isoSpec.inv (𝟙 _) (by simp) (by simp) |
| 39 | have : IsIntegral (pullback (X.isoSpec.inv ≫ f) (Y.isoSpec.inv ≫ g)) := |
| 40 | specIntegralProduct Γ(X, ⊤) Γ(Y, ⊤) _ _ |
| 41 | exact IsIntegral.of_isIso i |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.ComplexMultiplication.AffineProducts |