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.FormalGeometry.Completion.GlobalDomainConnected |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FlatSections |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.Normalization |
| 4 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 5 | |
| 6 | /-! # Field Geometric Connectedness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FieldGeometricConnectedness.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: geometric connectedness from actual proper global functions |
| 14 | |
| 15 | Over a field, flat base change preserves the structural isomorphism on |
| 16 | global functions. Every field base change therefore has a global function |
| 17 | domain and is connected as an actual scheme. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | /-- A proper field scheme with only the base field as global functions is geometrically connected. -/ |
| 29 | theorem proper_field_geometricallyConnected_of_appTop_isIso (K : Type u) [Field K] |
| 30 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] [IsIso f.appTop] : |
| 31 | GeometricallyConnected f := by |
| 32 | constructor |
| 33 | intro L _ g Z fst snd H |
| 34 | have : IsIso (pullback.snd f g).appTop := |
| 35 | (FlatSections.Construction.proper_flat_affine_sections_isPushout f g).isIso_inr_of_isIso |
| 36 | let e : Γ(pullback f g, ⊤) ≅ CommRingCat.of L := |
| 37 | (asIso (pullback.snd f g).appTop).symm ≪≫ Scheme.ΓSpecIso _ |
| 38 | have : IsDomain Γ(pullback f g, ⊤) := e.commRingCatIsoToRingEquiv.toMulEquiv.isDomain _ |
| 39 | have : ConnectedSpace (pullback f g : Scheme.{u}) := GlobalDomainConnected.Construction.scheme_connected_of_globalFunctionDomain _ |
| 40 | exact H.isoPullback.symm.hom.homeomorph.connectedSpace_iff.mp inferInstance |
| 41 | |
| 42 | theorem proper_flat_field_baseChange_geometricallyConnected {X Y : Scheme.{u}} [IsAffine Y] |
| 43 | (f : X ⟶ Y) [IsProper f] [IsIso f.appTop] |
| 44 | (K : Type u) [Field K] (g : Spec (CommRingCat.of K) ⟶ Y) [Flat g] : |
| 45 | GeometricallyConnected (pullback.snd f g) := by |
| 46 | have : IsIso (pullback.snd f g).appTop := |
| 47 | (FlatSections.Construction.proper_flat_affine_sections_isPushout f g).isIso_inr_of_isIso |
| 48 | exact proper_field_geometricallyConnected_of_appTop_isIso K (pullback.snd f g) |
| 49 | |
| 50 | /-- The actual map to normalization has geometrically connected flat field-valued base changes. -/ |
| 51 | theorem proper_toNormalization_flat_field_baseChange_geometricallyConnected |
| 52 | {X Y : Scheme.{u}} [IsAffine Y] (f : X ⟶ Y) [IsProper f] |
| 53 | (K : Type u) [Field K] (g : Spec (CommRingCat.of K) ⟶ f.normalization) [Flat g] : |
| 54 | GeometricallyConnected (pullback.snd f.toNormalization g) := by |
| 55 | have : IsAffine f.normalization := isAffine_of_isAffineHom f.fromNormalization |
| 56 | have : IsProper f.toNormalization := Normalization.Construction.proper_toNormalization f |
| 57 | have : IsIso f.toNormalization.appTop := Normalization.Construction.proper_toNormalization_appTop_isIso f |
| 58 | exact proper_flat_field_baseChange_geometricallyConnected f.toNormalization K g |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FieldGeometricConnectedness.Construction |