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.GroupConnectedParameters |
| 2 | |
| 3 | /-! # Group Connected Representation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.GroupConnectedRepresentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The constructed connected-group open represents the geometric connectedness subfunctor on all test schemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] |
| 16 | variable (X : Over M.left) [Smooth X.hom] [GrpObj X] (P : ProjectivePresentations.ProjectivePresentation X) |
| 17 | |
| 18 | def projectiveGroupConnectedSubfunctor : Subfunctor (yoneda.obj M) where |
| 19 | obj _ := {c | GeometricallyConnected ((Over.pullback c.left).obj X).hom} |
| 20 | map f c hc := by |
| 21 | apply (GroupConnectedFamily.projectiveGroupConnectedOpen_classifies P (f.unop ≫ c).left).mpr |
| 22 | have h := (GroupConnectedFamily.projectiveGroupConnectedOpen_classifies P c.left).mp hc |
| 23 | rintro s ⟨t, rfl⟩ |
| 24 | exact h ⟨f.unop.left t, rfl⟩ |
| 25 | |
| 26 | def projectiveGroupConnectedClassifyingIso : |
| 27 | yoneda.obj (GroupConnectedParameters.projectiveGroupConnectedParameter M X P) ≅ |
| 28 | (projectiveGroupConnectedSubfunctor M X P).toFunctor := |
| 29 | NatIso.ofComponents (fun T => (GroupConnectedParameters.projectiveGroupConnectedParameterPointEquiv M X P T.unop).toIso) (by |
| 30 | intro T U f |
| 31 | apply ConcreteCategory.hom_ext |
| 32 | intro y |
| 33 | apply Subtype.ext |
| 34 | change (f.unop ≫ y) ≫ GroupConnectedParameters.projectiveGroupConnectedParameterInclusion M X P = |
| 35 | f.unop ≫ (y ≫ GroupConnectedParameters.projectiveGroupConnectedParameterInclusion M X P) |
| 36 | exact Category.assoc _ _ _) |
| 37 | |
| 38 | theorem projectiveGroupConnected_quasiProjective_representation [IsNoetherian S] |
| 39 | (Q : ProjectivePresentations.QuasiProjectivePresentation M) : |
| 40 | ∃ Z : Over S, Nonempty (ProjectivePresentations.QuasiProjectivePresentation Z) ∧ |
| 41 | Nonempty ((projectiveGroupConnectedSubfunctor M X P).toFunctor ≅ yoneda.obj Z) := |
| 42 | ⟨GroupConnectedParameters.projectiveGroupConnectedParameter M X P, |
| 43 | ⟨GroupConnectedParameters.projectiveGroupConnectedParameterQuasiProjectivePresentation M X P Q⟩, |
| 44 | ⟨(projectiveGroupConnectedClassifyingIso M X P).symm⟩⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.GroupConnectedRepresentation |