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.RelativeProjective.BaseFunctoriality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.Families |
| 3 | |
| 4 | /-! # Family Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual arbitrary base change of closed families in relative projective space, with field-fiber Hilbert conditions preserved. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S T : Scheme.{u}} {n : ℕ} |
| 17 | |
| 18 | def Closed.Families.FlatClosedFamily.projectiveBaseChange (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver S n)) (f : T ⟶ S) : |
| 19 | Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver T n) := |
| 20 | F.pullbackAlong (RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n) f (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback f n) |
| 21 | |
| 22 | theorem Closed.Families.FlatClosedFamily.projectiveBaseChange_affine (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver S n)) |
| 23 | (f : T ⟶ S) {R : CommRingCat.{u}} (x : Spec R ⟶ T) : |
| 24 | (F.projectiveBaseChange f).affineProjectivePullback x = F.affineProjectivePullback (x ≫ f) := by |
| 25 | apply Closed.Families.FlatClosedFamily.ext |
| 26 | exact (F.ideal.comap_comp (AffineProjective.Charts.affineProjectiveChartMap x n) (RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n)).symm.trans |
| 27 | (congrArg (fun p => F.ideal.comap p) (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_affine f n x)) |
| 28 | |
| 29 | def RelativeProjective.Families.RelativeProjectiveHilbertFamily.pullback {P : Polynomial ℚ} |
| 30 | (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily S n P) (f : T ⟶ S) : RelativeProjective.Families.RelativeProjectiveHilbertFamily T n P where |
| 31 | family := F.family.projectiveBaseChange f |
| 32 | fieldHilbert K _ x := by |
| 33 | rw [F.family.projectiveBaseChange_affine f x] |
| 34 | exact F.fieldHilbert K (x ≫ f) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |