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.ReducedFieldNormalization |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.SmoothToNormalization |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Integral |
| 4 | |
| 5 | /-! # Smooth Geometric Integrality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothGeometricIntegrality.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: geometric integrality of the proved normalization fibers |
| 13 | |
| 14 | A connected smooth proper field scheme is integral: its domain stalks |
| 15 | separate its irreducible components. Consequently, geometric connectedness |
| 16 | of a proper smooth morphism gives geometric integrality. This applies to |
| 17 | all normalization fibers over a field and to flat field-valued base changes |
| 18 | of the proper smooth families under consideration. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | /-- A connected smooth proper scheme over a field is integral. -/ |
| 29 | theorem smooth_proper_connected_field_isIntegral (K : Type u) [Field K] |
| 30 | {X : Scheme.{u}} [ConnectedSpace X] |
| 31 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] [Smooth f] : IsIntegral X := by |
| 32 | have : IsNoetherian X := Proper.FiberComponents.Construction.properField_isNoetherian K f |
| 33 | have (x : X) : IsDomain (X.presheaf.stalk x) := SmoothStalkDomains.Construction.smooth_field_stalk_isDomain K f x |
| 34 | have : IsReduced X := isReduced_of_isReduced_stalk X |
| 35 | let x : X := Nonempty.some inferInstance |
| 36 | have h := DisjointNoetherianComponents.Construction.disjoint_noetherian_connectedComponent_isIrreducible X |
| 37 | (fun y => SchemeDomainComponents.Construction.scheme_components_eq_of_domain_stalk X y) x |
| 38 | rw [PreconnectedSpace.connectedComponent_eq_univ x] at h |
| 39 | have : IrreducibleSpace X := by rwa [irreducibleSpace_def] |
| 40 | exact isIntegral_of_irreducibleSpace_of_isReduced X |
| 41 | |
| 42 | /-- For a proper smooth morphism, geometrically connected fibers are geometrically integral. -/ |
| 43 | theorem proper_smooth_geometricallyIntegral_of_geometricallyConnected |
| 44 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsProper f] [Smooth f] [GeometricallyConnected f] : |
| 45 | GeometricallyIntegral f := by |
| 46 | constructor |
| 47 | intro K _ g Z fst snd H |
| 48 | have : IsProper snd := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 49 | have : Smooth snd := MorphismProperty.of_isPullback (P := @Smooth) H inferInstance |
| 50 | have : ConnectedSpace Z := |
| 51 | GeometricallyConnected.geometrically_connectedSpace (f := f) g fst snd H |
| 52 | exact smooth_proper_connected_field_isIntegral K snd |
| 53 | |
| 54 | /-- Over a field, the actual first normalization factor of a smooth proper scheme has |
| 55 | geometrically integral fibers. -/ |
| 56 | theorem proper_smooth_field_toNormalization_geometricallyIntegral |
| 57 | (K : Type u) [Field K] {X : Scheme.{u}} |
| 58 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] [Smooth f] : |
| 59 | GeometricallyIntegral f.toNormalization := by |
| 60 | have (x : X) : IsDomain (X.presheaf.stalk x) := SmoothStalkDomains.Construction.smooth_field_stalk_isDomain K f x |
| 61 | have : IsReduced X := isReduced_of_isReduced_stalk X |
| 62 | have : IsProper f.toNormalization := Proper.Normalization.Construction.proper_toNormalization f |
| 63 | have : Smooth f.toNormalization := Proper.SmoothToNormalization.Construction.proper_smooth_family_toNormalization_smooth K f f |
| 64 | have : GeometricallyConnected f.toNormalization := |
| 65 | Proper.ReducedFieldNormalization.Construction.proper_reduced_field_toNormalization_geometricallyConnected K f |
| 66 | exact proper_smooth_geometricallyIntegral_of_geometricallyConnected f.toNormalization |
| 67 | |
| 68 | /-- Flat field-valued base changes of the actual proper smooth normalization map have |
| 69 | geometrically integral fibers. -/ |
| 70 | theorem proper_smooth_toNormalization_flat_field_baseChange_geometricallyIntegral |
| 71 | (K : Type u) [Field K] {X Y : Scheme.{u}} [IsAffine Y] |
| 72 | (pX : X ⟶ Spec (CommRingCat.of K)) [IsProper pX] [Smooth pX] |
| 73 | (f : X ⟶ Y) [IsProper f] [Smooth f] |
| 74 | (L : Type u) [Field L] (g : Spec (CommRingCat.of L) ⟶ f.normalization) [Flat g] : |
| 75 | GeometricallyIntegral (pullback.snd f.toNormalization g) := by |
| 76 | have : IsProper f.toNormalization := Proper.Normalization.Construction.proper_toNormalization f |
| 77 | have : Smooth f.toNormalization := Proper.SmoothToNormalization.Construction.proper_smooth_family_toNormalization_smooth K pX f |
| 78 | have : GeometricallyConnected (pullback.snd f.toNormalization g) := |
| 79 | Proper.FieldGeometricConnectedness.Construction.proper_toNormalization_flat_field_baseChange_geometricallyConnected f L g |
| 80 | exact proper_smooth_geometricallyIntegral_of_geometricallyConnected |
| 81 | (pullback.snd f.toNormalization g) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothGeometricIntegrality.Construction |