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.ConnectedOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | |
| 4 | /-! # Group Connected Family -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.GroupConnectedFamily |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restricting a smooth projective commutative group to its constructed connected-fiber open gives an actual abelian scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {X : Over S} [Smooth X.hom] [GrpObj X] |
| 18 | variable (P : ProjectivePresentations.ProjectivePresentation X) |
| 19 | |
| 20 | def projectiveGroupConnectedOpen : S.Opens := |
| 21 | ConnectedOpen.pointedProjectiveConnectedOpen P η[X].left η[X].w |
| 22 | |
| 23 | theorem projectiveGroupConnectedOpen_classifies {T : Scheme.{u}} (c : T ⟶ S) : |
| 24 | GeometricallyConnected (pullback.snd X.hom c) ↔ |
| 25 | Set.range c ⊆ (projectiveGroupConnectedOpen P : Set S) := |
| 26 | ConnectedOpen.pointedProjectiveConnectedOpen_classifies P η[X].left η[X].w c |
| 27 | |
| 28 | def projectiveGroupConnectedFamily : Over (projectiveGroupConnectedOpen P).toScheme := |
| 29 | (Over.pullback (projectiveGroupConnectedOpen P).ι).obj X |
| 30 | |
| 31 | def projectiveGroupConnectedPresentation : ProjectivePresentations.ProjectivePresentation (projectiveGroupConnectedFamily P) := |
| 32 | P.baseChange (projectiveGroupConnectedOpen P).ι |
| 33 | |
| 34 | instance projectiveGroupConnectedFamily_connected : GeometricallyConnected (projectiveGroupConnectedFamily P).hom := |
| 35 | ConnectedOpen.pointedProjectiveConnectedOpen_connected P η[X].left η[X].w |
| 36 | |
| 37 | def projectiveGroupConnectedAbelianScheme (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 38 | [IsCommMonObj X] : Abelian.Schemes.AbelianScheme g (projectiveGroupConnectedOpen P).toScheme where |
| 39 | scheme := projectiveGroupConnectedFamily P |
| 40 | group := Functor.grpObjObj |
| 41 | commutative := by |
| 42 | let : GrpObj ((Over.pullback (projectiveGroupConnectedOpen P).ι).obj X) := Functor.grpObjObj |
| 43 | exact inferInstanceAs (IsCommMonObj ((Over.pullback (projectiveGroupConnectedOpen P).ι).obj X)) |
| 44 | proper := (projectiveGroupConnectedPresentation P).proper |
| 45 | smoothDimension := (smoothOfRelativeDimension_isStableUnderBaseChange g).of_isPullback |
| 46 | (IsPullback.of_hasPullback X.hom (projectiveGroupConnectedOpen P).ι) inferInstance |
| 47 | connected := projectiveGroupConnectedFamily_connected P |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.GroupConnectedFamily |