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.AbelianModuli.HilbertConstruction.AlgebraTensorFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSpecPullbackIso |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # Algebra Scheme Diagrams -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSchemeDiagrams |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coordinate algebra diagrams and their transformations give affine scheme diagrams over the base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable (C : Type u) [CommRing C] {J : Type v} [Category.{w} J] |
| 18 | |
| 19 | abbrev algebraSchemeDiagram (A : Jᵒᵖ ⥤ CommAlgCat.{u} C) : J ⥤ Over (Spec (.of C)) := |
| 20 | A.rightOp ⋙ algSpec (.of C) |
| 21 | |
| 22 | abbrev algebraSchemeDiagramMap {A B : Jᵒᵖ ⥤ CommAlgCat.{u} C} (φ : A ⟶ B) : |
| 23 | algebraSchemeDiagram C B ⟶ algebraSchemeDiagram C A := |
| 24 | Functor.whiskerRight φ.rightOp (algSpec (.of C)) |
| 25 | |
| 26 | instance algebraSchemeDiagram_affine (A : Jᵒᵖ ⥤ CommAlgCat.{u} C) (i : J) : |
| 27 | IsAffine ((algebraSchemeDiagram C A).obj i).left := |
| 28 | inferInstanceAs (IsAffine (Spec (.of (A.obj (Opposite.op i))))) |
| 29 | |
| 30 | instance algebraSchemeDiagram_smooth (A : Jᵒᵖ ⥤ CommAlgCat.{u} C) |
| 31 | [∀ i, Algebra.Smooth C (A.obj i)] (i : J) : |
| 32 | Smooth ((algebraSchemeDiagram C A).obj i).hom := by |
| 33 | change Smooth (Spec.map (CommRingCat.ofHom (algebraMap C (A.obj (Opposite.op i))))) |
| 34 | apply HasRingHomProperty.Spec_iff.mpr |
| 35 | exact RingHom.smooth_algebraMap.mpr (inferInstanceAs (Algebra.Smooth C (A.obj (Opposite.op i)))) |
| 36 | |
| 37 | theorem algebraSchemeDiagramMap_pullback_isIso |
| 38 | (R : Type u) [CommRing R] [Algebra C R] |
| 39 | {A B : Jᵒᵖ ⥤ CommAlgCat.{u} C} (φ : A ⟶ B) |
| 40 | (hφ : ∀ i, Function.Bijective ((AlgebraTensorFunctor.algebraTensorFunctor C R).map (φ.app i)).hom) (i : J) : |
| 41 | IsIso ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R)))).map |
| 42 | ((algebraSchemeDiagramMap C φ).app i)) := |
| 43 | AlgebraSpecPullbackIso.isIso_algebraSpec_pullback_of_tensor_bijective (φ.app (Opposite.op i)) (hφ (Opposite.op i)) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSchemeDiagrams |