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.Affinization |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.NoetherianClosedPoints |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | import Mathlib.RingTheory.Ideal.GoingUp |
| 5 | |
| 6 | /-! # Connected Functions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ConnectedFunctions.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: global functions of connected reduced proper schemes over a field |
| 14 | |
| 15 | The affinization is a connected Noetherian space with closed points, hence |
| 16 | a single point. Reducedness then makes its coordinate ring a field. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (K : Type u) [Field K] {X : Scheme.{u}} |
| 27 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] |
| 28 | |
| 29 | include f |
| 30 | |
| 31 | /-- Global functions of a proper scheme over a field have zero-dimensional spectrum. -/ |
| 32 | theorem proper_globalFunctions_krullDimLE_zero : Ring.KrullDimLE 0 Γ(X, ⊤) := by |
| 33 | let F := (Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫ f.appTop |
| 34 | have hF : F.hom.IsIntegral := by |
| 35 | apply RingHom.isIntegral_respectsIso.2 |
| 36 | (e := (Scheme.ΓSpecIso (CommRingCat.of K)).symm.commRingCatIsoToRingEquiv) |
| 37 | exact isIntegral_appTop_of_universallyClosed f |
| 38 | let := F.hom.toAlgebra |
| 39 | have : Algebra.IsIntegral K Γ(X, ⊤) := algebraMap_isIntegral_iff.mp hF |
| 40 | exact .mk₀ fun I _ => Ideal.isMaximal_of_isIntegral_of_isMaximal_under |
| 41 | (R := K) I inferInstance |
| 42 | |
| 43 | /-- The spectrum of global functions of a proper scheme over a field is a finite discrete space. -/ |
| 44 | theorem proper_globalFunctions_finiteSpectrum : Finite (PrimeSpectrum Γ(X, ⊤)) := by |
| 45 | have : IsNoetherian X := { |
| 46 | __ := LocallyOfFiniteType.isLocallyNoetherian f |
| 47 | __ := QuasiCompact.compactSpace_of_compactSpace f } |
| 48 | have : NoetherianSpace (PrimeSpectrum Γ(X, ⊤)) := |
| 49 | noetherianSpace_of_surjective X.toSpecΓ X.toSpecΓ.continuous |
| 50 | (Affinization.Construction.proper_toSpecΓ_surjective f).surj |
| 51 | have := proper_globalFunctions_krullDimLE_zero K f |
| 52 | have : T1Space (PrimeSpectrum Γ(X, ⊤)) := |
| 53 | ⟨fun x => (PrimeSpectrum.isClosed_singleton_iff_isMaximal x).mpr inferInstance⟩ |
| 54 | exact NoetherianClosedPoints.Construction.finite_of_noetherian_quasiSober_t1 _ |
| 55 | |
| 56 | /-- A connected reduced proper scheme over a field has a field of global functions. -/ |
| 57 | theorem proper_connected_reduced_globalFunctions_isField |
| 58 | [ConnectedSpace X] [IsReduced X] : IsField Γ(X, ⊤) := by |
| 59 | have : Nonempty (⊤ : X.Opens) := ⟨⟨Nonempty.some inferInstance, trivial⟩⟩ |
| 60 | have : Nontrivial Γ(X, ⊤) := inferInstance |
| 61 | have := proper_globalFunctions_finiteSpectrum K f |
| 62 | have := proper_globalFunctions_krullDimLE_zero K f |
| 63 | have : DiscreteTopology (PrimeSpectrum Γ(X, ⊤)) := |
| 64 | PrimeSpectrum.discreteTopology_iff_finite_and_krullDimLE_zero.mpr ⟨inferInstance, inferInstance⟩ |
| 65 | have : ConnectedSpace (PrimeSpectrum Γ(X, ⊤)) := |
| 66 | (Affinization.Construction.proper_toSpecΓ_surjective f).surj.connectedSpace X.toSpecΓ.continuous |
| 67 | have : Subsingleton (PrimeSpectrum Γ(X, ⊤)) := subsingleton_of_preconnected_totallyDisconnected |
| 68 | exact PrimeSpectrum.subsingleton_iff_isField_of_isReduced.mp this |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ConnectedFunctions.Construction |