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.Affine.OverMorphisms |
| 2 | |
| 3 | /-! # Coordinate Section Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoordinateSectionMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coordinate algebra homomorphism of an affine scheme map is |
| 10 | literally pullback on its original global sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable (k : Type) [CommRing k] {X Y : Over (Spec (.of k))} |
| 15 | [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) |
| 16 | |
| 17 | theorem affineCoordinateMap_toRingHom : (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f).toRingHom = f.left.appTop.hom := by |
| 18 | have hs : Spec.map (CommRingCat.ofHom (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f).toRingHom) = Spec.map f.left.appTop := by |
| 19 | calc |
| 20 | _ = X.left.isoSpec.inv ≫ f.left ≫ Y.left.isoSpec.hom := HilbertConstruction.Affine.OverMorphisms.affineOverMap_spec k f |
| 21 | _ = _ := by |
| 22 | rw [← Scheme.isoSpec_hom_naturality f.left] |
| 23 | simp only [Iso.inv_hom_id_assoc] |
| 24 | exact congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 25 | |
| 26 | theorem affineCoordinateMap_apply (a : HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) : |
| 27 | HilbertConstruction.Affine.OverMorphisms.affineOverMap k f a = f.left.appTop a := |
| 28 | RingHom.congr_fun (affineCoordinateMap_toRingHom k f) a |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoordinateSectionMap |