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.Divisors.LineBundles.Relative.AffineMap |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 3 | |
| 4 | /-! # Affine Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.AffineIsomorphism.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual affine algebra isomorphisms glue to a scheme isomorphism -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem isIso_of_cover_pullbacks {A B : Scheme.{u}} (f : A ⟶ B) |
| 18 | (C : B.OpenCover) (Z : C.I₀ → Scheme.{u}) (a : ∀ i, Z i ⟶ A) (b : ∀ i, Z i ⟶ C.X i) |
| 19 | (h : ∀ i, IsPullback (b i) (a i) (C.f i) f) (hb : ∀ i, IsIso (b i)) : IsIso f := by |
| 20 | apply IsZariskiLocalAtTarget.of_openCover (P := CategoryTheory.MorphismProperty.isomorphisms Scheme) C |
| 21 | intro i |
| 22 | let hi := (h i).flip |
| 23 | let := hb i |
| 24 | have hc : IsIso (hi.isoPullback.inv ≫ b i) := inferInstance |
| 25 | exact (congrArg (fun k => IsIso k) hi.isoPullback_inv_snd).mp hc |
| 26 | |
| 27 | variable {X : Scheme.{u}} {F G : X.AffineZariskiSiteᵒᵖ ⥤ CommRingCat} |
| 28 | {α : (toOpensFunctor X).op ⋙ X.presheaf ⟶ F} |
| 29 | {β : (toOpensFunctor X).op ⋙ X.presheaf ⟶ G} |
| 30 | (hα : α.Coequifibered) (hβ : β.Coequifibered) (η : F ⟶ G) (hη : α ≫ η = β) |
| 31 | |
| 32 | include hη in |
| 33 | theorem relativeAffineMap_isIso (hbij : ∀ U : X.AffineZariskiSite, Function.Bijective (η.app (.op U))) : |
| 34 | IsIso (AffineMap.BundleCycles.relativeAffineMap hα hβ η) := by |
| 35 | apply isIso_of_cover_pullbacks (AffineMap.BundleCycles.relativeAffineMap hα hβ η) |
| 36 | (relativeGluingData hα).cover (relativeGluingData hβ).cover.X |
| 37 | (relativeGluingData hβ).cover.f (fun U => Spec.map (η.app (.op U))) |
| 38 | (AffineMap.BundleCycles.relativeAffineMap_chart_isPullback hα hβ η hη) |
| 39 | intro U |
| 40 | exact isIso_SpecMap_iff.mpr (hbij U) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.AffineIsomorphism.BundleCycles |