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.Proper.FieldGeometricConnectedness |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ConnectedFunctions |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ZeroDimensionalFlat |
| 4 | |
| 5 | /-! # Reduced Field Normalization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ReducedFieldNormalization.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: geometrically connected normalization fibers over a field |
| 13 | |
| 14 | For a reduced proper scheme over a field, the actual relative normalization |
| 15 | is reduced and zero-dimensional. Every morphism into it is therefore flat, |
| 16 | so flat base change of actual global sections settles all geometric fibers. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | /-- The coordinate ring of the actual proper field normalization is zero-dimensional. -/ |
| 27 | theorem proper_field_normalization_globalFunctions_zeroDimensional |
| 28 | (K : Type u) [Field K] {X : Scheme.{u}} |
| 29 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] : |
| 30 | Ring.KrullDimLE 0 Γ(f.normalization, ⊤) := by |
| 31 | have : IsIso f.toNormalization.appTop := Normalization.Construction.proper_toNormalization_appTop_isIso f |
| 32 | let e := (asIso f.toNormalization.appTop).commRingCatIsoToRingEquiv |
| 33 | rw [Ring.krullDimLE_iff, ringKrullDim, |
| 34 | Order.krullDim_eq_of_orderIso (PrimeSpectrum.comapEquiv e), |
| 35 | ← ringKrullDim, ← Ring.krullDimLE_iff] |
| 36 | exact ConnectedFunctions.Construction.proper_globalFunctions_krullDimLE_zero K f |
| 37 | |
| 38 | /-- All geometric fibers of the actual first normalization factor are connected over a field. -/ |
| 39 | theorem proper_reduced_field_toNormalization_geometricallyConnected |
| 40 | (K : Type u) [Field K] {X : Scheme.{u}} [IsReduced X] |
| 41 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] : |
| 42 | GeometricallyConnected f.toNormalization := by |
| 43 | have : IsAffine f.normalization := isAffine_of_isAffineHom f.fromNormalization |
| 44 | have := proper_field_normalization_globalFunctions_zeroDimensional K f |
| 45 | constructor |
| 46 | intro L _ g Z fst snd H |
| 47 | have : Flat g := ZeroDimensionalFlat.Construction.schemeMap_flat_of_reduced_zeroDimensional_affine g |
| 48 | have : GeometricallyConnected (pullback.snd f.toNormalization g) := |
| 49 | FieldGeometricConnectedness.Construction.proper_toNormalization_flat_field_baseChange_geometricallyConnected f L g |
| 50 | have : ConnectedSpace (pullback f.toNormalization g : Scheme.{u}) := |
| 51 | GeometricallyConnected.connectedSpace_of_subsingleton (pullback.snd f.toNormalization g) |
| 52 | exact H.isoPullback.symm.hom.homeomorph.connectedSpace_iff.mp inferInstance |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ReducedFieldNormalization.Construction |