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.AbelianScheme.IsogenyQuotient.NilpotentCechGlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.CechFlat |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.InfinitesimalCechConstants |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PointedFiniteCechCover |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.ConnectedReducedConstants |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.ReducedFibers |
| 7 | import Mathlib.RingTheory.HopkinsLevitzki |
| 8 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 9 | |
| 10 | /-! # Artinian Global Functions -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArtinianGlobalFunctions.Construction |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! A proper smooth family with connected geometric fibers and a |
| 17 | section has exactly the base functions over an Artinian local ring. |
| 18 | The proof uses the actual residue fiber and retains all nilpotents. -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false in |
| 25 | theorem artinianLocal_globalFunctions_isIso |
| 26 | {R : Type u} [CommRing R] [IsArtinianRing R] [IsLocalRing R] |
| 27 | {X : Scheme.{u}} (f : X ⟶ Spec (.of R)) |
| 28 | [IsProper f] [Smooth f] [GeometricallyConnected f] |
| 29 | (σ : Spec (.of R) ⟶ X) (hσ : σ ≫ f = 𝟙 _) : IsIso f.appTop := by |
| 30 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 31 | have : X.IsSeparated := ⟨by |
| 32 | have : IsSeparated (f ≫ terminal.from (Spec (.of R))) := inferInstance |
| 33 | simpa only [terminal.comp_from] using this⟩ |
| 34 | have : Subsingleton (Spec (.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 35 | obtain ⟨I, hIfin, hIorder, U, hUa, hU, a, ha⟩ := PointedFiniteCechCover.Construction.exists_pointed_finite_cech_cover σ |
| 36 | let := hIfin |
| 37 | let := hIorder |
| 38 | let m := IsLocalRing.maximalIdeal R |
| 39 | have hm : IsNilpotent m := (isArtinianRing_iff_isNilpotent_maximalIdeal R).mp inferInstance |
| 40 | have : Module.Flat R ((FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).X 1) := Relative.CechFlat.Construction.relativeStructureCech_flat f U hUa 1 |
| 41 | have : (m ^ (0 + 1)).IsMaximal := by |
| 42 | simpa only [Nat.zero_add, pow_one] using (inferInstance : m.IsMaximal) |
| 43 | let : Field (R ⧸ m ^ (0 + 1)) := Ideal.Quotient.field _ |
| 44 | let j := FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec m 0 |
| 45 | let b := pullback.snd f j |
| 46 | have : Smooth b := inferInstanceAs (Smooth (pullback.snd f j)) |
| 47 | have : IsProper b := inferInstanceAs (IsProper (pullback.snd f j)) |
| 48 | have : GeometricallyConnected b := inferInstanceAs (GeometricallyConnected (pullback.snd f j)) |
| 49 | have : IsReduced (pullback f j) := AbelianModuli.HilbertConstruction.Smooth.ReducedFibers.smoothOverField_isReduced (K := R ⧸ m ^ (0 + 1)) b |
| 50 | have : Subsingleton (FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction.infinitesimalBase m 0) := |
| 51 | inferInstanceAs (Subsingleton (Spec (.of (R ⧸ m ^ (0 + 1))))) |
| 52 | have : Nonempty (FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction.infinitesimalBase m 0) := |
| 53 | inferInstanceAs (Nonempty (Spec (.of (R ⧸ m ^ (0 + 1))))) |
| 54 | have : ConnectedSpace (pullback f j : Scheme.{u}) := |
| 55 | GeometricallyConnected.connectedSpace_of_subsingleton b |
| 56 | let σ' : FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction.infinitesimalBase m 0 ⟶ pullback f j := |
| 57 | pullback.lift (j ≫ σ) (𝟙 _) (by simp [Category.assoc, hσ]) |
| 58 | have : IsIso b.appTop := (AbelianModuli.HilbertConstruction.Proper.ConnectedReducedConstants.properConnectedReducedPointGlobalIso |
| 59 | (K := R ⧸ m ^ (0 + 1)) b σ' (pullback.lift_snd _ _ _)).isIso_hom |
| 60 | apply NilpotentCechGlobalFunctions.Construction.globalFunctions_iso_of_nilpotent_cech (m ^ (0 + 1)) |
| 61 | (by simpa only [Nat.zero_add, pow_one] using hm) f σ hσ U hU a ha |
| 62 | exact InfinitesimalCechConstants.Construction.infinitesimalCech_constants_exact m f U hU hUa 0 |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArtinianGlobalFunctions.Construction |