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.Structure.BaseChangeAffineRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ModuleIsomorphisms |
| 3 | |
| 4 | /-! # Morphism Structure Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.MorphismStructureBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual structure-sheaf base-change map is an isomorphism for Cartesian squares whose two maps to the base are affine, over arbitrary schemes. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} |
| 14 | {f : X ⟶ S} {g : Y ⟶ S} [IsAffineHom f] [IsAffineHom g] |
| 15 | (H : IsPullback a b f g) |
| 16 | |
| 17 | theorem affineMorphism_structureBaseChange_isIso : IsIso (Structure.SheafBaseChange.structureBaseChangeMap H) := by |
| 18 | apply Local.ModuleIsomorphisms.moduleMap_isIso_of_locally |
| 19 | intro y |
| 20 | obtain ⟨_, ⟨U : S.Opens, hU, rfl⟩, hy, _⟩ := |
| 21 | S.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ (g y)) isOpen_univ |
| 22 | exact ⟨g ⁻¹ᵁ U, hy, Structure.BaseChangeAffineRestriction.affineStructureBaseChange_pullback_preimage_isIso H U hU⟩ |
| 23 | |
| 24 | def affineMorphismStructureBaseChangeIso : |
| 25 | (Scheme.Modules.pullback g).obj ((Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule X)) ≅ |
| 26 | (Scheme.Modules.pushforward b).obj (Line.Bundles.structureModule P) := by |
| 27 | have := affineMorphism_structureBaseChange_isIso H |
| 28 | exact asIso (Structure.SheafBaseChange.structureBaseChangeMap H) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.MorphismStructureBaseChange |