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.Family.CommutativeGroupParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | |
| 4 | /-! # Universal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Universal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smoothness, fixed relative dimension, and geometric connectedness pass to the actual universal group family; for such an input family the group-law locus carries a bundled abelian scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] |
| 17 | variable {X : Over M.left} [IsProper X.hom] [Flat X.hom] (D : Operations.FamilyGroupOperations X) |
| 18 | |
| 19 | def familyCommutativeGroupUniversalFamily : Over (Family.CommutativeGroupParameter.familyCommutativeGroupParameter M D).left := |
| 20 | (Over.pullback (Family.CommutativeGroupParameter.familyCommutativeGroupParameterInclusion M D).left).obj X |
| 21 | |
| 22 | instance familyCommutativeGroupUniversalFamily_proper : |
| 23 | IsProper (familyCommutativeGroupUniversalFamily M D).hom := |
| 24 | inferInstanceAs (IsProper (pullback.snd X.hom (Family.CommutativeGroupParameter.familyCommutativeGroupParameterInclusion M D).left)) |
| 25 | |
| 26 | instance familyCommutativeGroupUniversalFamily_flat : |
| 27 | Flat (familyCommutativeGroupUniversalFamily M D).hom := |
| 28 | inferInstanceAs (Flat (pullback.snd X.hom (Family.CommutativeGroupParameter.familyCommutativeGroupParameterInclusion M D).left)) |
| 29 | |
| 30 | instance familyCommutativeGroupUniversalFamily_smooth [Smooth X.hom] : |
| 31 | Smooth (familyCommutativeGroupUniversalFamily M D).hom := |
| 32 | inferInstanceAs (Smooth (pullback.snd X.hom (Family.CommutativeGroupParameter.familyCommutativeGroupParameterInclusion M D).left)) |
| 33 | |
| 34 | instance familyCommutativeGroupUniversalFamily_connected [GeometricallyConnected X.hom] : |
| 35 | GeometricallyConnected (familyCommutativeGroupUniversalFamily M D).hom := |
| 36 | inferInstanceAs (GeometricallyConnected (pullback.snd X.hom (Family.CommutativeGroupParameter.familyCommutativeGroupParameterInclusion M D).left)) |
| 37 | |
| 38 | theorem familyCommutativeGroupUniversalFamily_smoothDimension (g : ℕ) [SmoothOfRelativeDimension g X.hom] : |
| 39 | SmoothOfRelativeDimension g (familyCommutativeGroupUniversalFamily M D).hom := |
| 40 | (smoothOfRelativeDimension_isStableUnderBaseChange (n := g)).of_isPullback |
| 41 | (IsPullback.of_hasPullback X.hom (Family.CommutativeGroupParameter.familyCommutativeGroupParameterInclusion M D).left) inferInstance |
| 42 | |
| 43 | def familyGroupLawAbelianScheme (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 44 | [GeometricallyConnected X.hom] : Abelian.Schemes.AbelianScheme g (Family.CommutativeGroupParameter.familyCommutativeGroupParameter M D).left where |
| 45 | scheme := familyCommutativeGroupUniversalFamily M D |
| 46 | group := Family.CommutativeGroupParameter.familyCommutativeGroupUniversalGroupObj M D |
| 47 | commutative := Family.CommutativeGroupParameter.familyCommutativeGroupUniversalGroupObj_comm M D |
| 48 | proper := inferInstance |
| 49 | smoothDimension := familyCommutativeGroupUniversalFamily_smoothDimension M D g |
| 50 | connected := inferInstance |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Universal |