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.Picard.Homomorphisms.GeometricPoints |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 5 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 6 | |
| 7 | /-! # Abelian Schemes -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.AbelianSchemes.Construction |
| 10 | |
| 11 | /-! The geometric abelian-scheme bundle used by Homomorphisms, allowing its |
| 12 | relative dimension to vary on the base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | structure AbelianScheme (S : Scheme.{u}) where |
| 20 | toOver : Over S |
| 21 | [group : GrpObj toOver] |
| 22 | [commutative : IsCommMonObj toOver] |
| 23 | [proper : IsProper toOver.hom] |
| 24 | [smooth : Smooth toOver.hom] |
| 25 | [connected : GeometricallyConnected toOver.hom] |
| 26 | |
| 27 | attribute [instance] AbelianScheme.group AbelianScheme.commutative |
| 28 | AbelianScheme.proper AbelianScheme.smooth AbelianScheme.connected |
| 29 | |
| 30 | noncomputable def AbelianScheme.pullback {S T : Scheme.{u}} |
| 31 | (A : AbelianScheme S) (f : T ⟶ S) : AbelianScheme T where |
| 32 | toOver := (Over.pullback f).obj A.toOver |
| 33 | group := Functor.grpObjObj |
| 34 | commutative := inferInstance |
| 35 | proper := inferInstanceAs (IsProper (CategoryTheory.Limits.pullback.snd A.toOver.hom f)) |
| 36 | smooth := inferInstanceAs (Smooth (CategoryTheory.Limits.pullback.snd A.toOver.hom f)) |
| 37 | connected := inferInstanceAs (GeometricallyConnected (CategoryTheory.Limits.pullback.snd A.toOver.hom f)) |
| 38 | |
| 39 | noncomputable def AbelianScheme.geometricFiber {S : Scheme.{u}} |
| 40 | (A : AbelianScheme S) (s : GeometricPoints.Construction.GeometricPoint S) : AbelianScheme (Spec (.of s.field)) := |
| 41 | A.pullback s.map |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.AbelianSchemes.Construction |