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.Projective.PresentationBaseChange |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.Projectivity |
| 3 | |
| 4 | /-! # Constant Family -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Projective presentations of constant geometric group families and |
| 11 | the actual Cartesian squares obtained by changing their parameters. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | def projectivePresentationOfSourceIso {S : Scheme.{u}} {X Y : Over S} |
| 24 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation Y) (e : X ≅ Y) : |
| 25 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X where |
| 26 | dimension := P.dimension |
| 27 | embedding := e.hom ≫ P.embedding |
| 28 | closedImmersion := by |
| 29 | have : IsIso e.hom.left := (Over.forget S).map_isIso e.hom |
| 30 | change IsClosedImmersion (e.hom.left ≫ P.embedding.left) |
| 31 | infer_instance |
| 32 | |
| 33 | variable {S : Scheme.{u}} (A T : Over S) |
| 34 | |
| 35 | def tensorFamilyOver : Over T.left := Over.mk (fst T A).left |
| 36 | |
| 37 | def tensorFamilyPullbackIso : tensorFamilyOver A T ≅ (Over.pullback T.hom).obj A := |
| 38 | Over.isoMk (pullbackSymmetry T.hom A.hom) (by simp [tensorFamilyOver]) |
| 39 | |
| 40 | def tensorFamilyProjectivePresentation (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) : |
| 41 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (tensorFamilyOver A T) := |
| 42 | projectivePresentationOfSourceIso (P.baseChange T.hom) (tensorFamilyPullbackIso A T) |
| 43 | |
| 44 | theorem tensorFamily_isPullback {U : Over S} (j : U ⟶ T) : |
| 45 | IsPullback (j ⊗ₘ 𝟙 A).left (fst U A).left (fst T A).left j.left := by |
| 46 | have hf : (j ⊗ₘ 𝟙 A).left ≫ (fst T A).left = (fst U A).left ≫ j.left := |
| 47 | congrArg Over.Hom.left (tensorHom_fst j (𝟙 A)) |
| 48 | have hq : (j ⊗ₘ 𝟙 A).left ≫ (snd T A).left = (snd U A).left := by |
| 49 | have h := congrArg Over.Hom.left (tensorHom_snd j (𝟙 A)) |
| 50 | change (j ⊗ₘ 𝟙 A).left ≫ (snd T A).left = (snd U A).left ≫ 𝟙 A.left at h |
| 51 | rw [Category.comp_id] at h |
| 52 | exact h |
| 53 | apply IsPullback.of_right (t := (IsPullback.of_hasPullback T.hom A.hom).flip) ?_ hf |
| 54 | change IsPullback ((j ⊗ₘ 𝟙 A).left ≫ (snd T A).left) (fst U A).left A.hom (j.left ≫ T.hom) |
| 55 | rw [hq, j.w] |
| 56 | exact (IsPullback.of_hasPullback U.hom A.hom).flip |
| 57 | |
| 58 | def geometricGroupFamilyProjectivePresentation |
| 59 | {K : Type u} [Field K] [IsAlgClosed K] |
| 60 | (A T : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 61 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] : |
| 62 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (tensorFamilyOver A T) := |
| 63 | tensorFamilyProjectivePresentation A T (Classical.choice (Geometric.Projectivity.Construction.geometric_group_projectivePresentation A)) |
| 64 | |
| 65 | end Construction |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily |