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.ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral |
| 2 | import Mathlib.RingTheory.Ideal.KrullsHeightTheorem |
| 3 | import Mathlib.Topology.KrullDimension |
| 4 | |
| 5 | /-! # Group Dimension -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The dimension of an algebraic group through its local ring at a closed point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | /-- The topological Krull dimension of a scheme is the Krull dimension |
| 16 | of its specialization order. -/ |
| 17 | theorem topologicalKrullDim_eq_specialization_krullDim (X : Scheme) : |
| 18 | topologicalKrullDim X = Order.krullDim X := |
| 19 | Order.krullDim_eq_of_orderIso (irreducibleSetEquivPoints (α := X)) |
| 20 | |
| 21 | /-- If automorphisms are transitive on closed points of a Jacobson scheme, |
| 22 | its dimension equals the dimension of the local ring at any closed point. -/ |
| 23 | theorem topologicalKrullDim_eq_stalk_of_transitive_closedPoints |
| 24 | (X : Scheme) [JacobsonSpace X] |
| 25 | (htrans : ∀ (x y : X), IsClosed {x} → IsClosed {y} → |
| 26 | ∃ α : X ≅ X, α.hom x = y) |
| 27 | (x : X) (hx : IsClosed {x}) : |
| 28 | topologicalKrullDim X = ringKrullDim (X.presheaf.stalk x) := by |
| 29 | rw [ringKrullDim_stalk_eq_coheight, topologicalKrullDim_eq_specialization_krullDim] |
| 30 | apply le_antisymm |
| 31 | · rw [Order.krullDim_eq_iSup_coheight] |
| 32 | apply iSup_le |
| 33 | intro z |
| 34 | obtain ⟨y, hy, hyc⟩ := nonempty_inter_closedPoints |
| 35 | (Z := closure ({z} : Set X)) (Set.singleton_nonempty z).closure |
| 36 | isClosed_closure.isLocallyClosed |
| 37 | have hyz : y ≤ z := Scheme.le_iff_specializes.mpr (specializes_iff_mem_closure.mpr hy) |
| 38 | obtain ⟨α, hα⟩ := htrans y x hyc hx |
| 39 | have hdim : Order.coheight y = Order.coheight x := by |
| 40 | rw [← hα] |
| 41 | exact (coheight_eq_of_isOpenImmersion α.hom).symm |
| 42 | exact WithBot.coe_le_coe.mpr ((Order.coheight_anti hyz).trans_eq hdim) |
| 43 | · exact Order.coheight_le_krullDim x |
| 44 | |
| 45 | /-- A locally Noetherian Jacobson scheme with transitive closed points |
| 46 | has a finite natural-number dimension. -/ |
| 47 | theorem exists_nat_dimension_of_transitive_closedPoints |
| 48 | (X : Scheme) [IsLocallyNoetherian X] [JacobsonSpace X] [Nonempty X] |
| 49 | (htrans : ∀ (x y : X), IsClosed {x} → IsClosed {y} → |
| 50 | ∃ α : X ≅ X, α.hom x = y) : |
| 51 | ∃ g : ℕ, topologicalKrullDim X = (g : WithBot ℕ∞) := by |
| 52 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints |
| 53 | (X := X) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 54 | have hdim := topologicalKrullDim_eq_stalk_of_transitive_closedPoints X htrans x hx |
| 55 | have hfin : (Order.coheight x : WithBot ℕ∞) < ⊤ := by |
| 56 | rw [← ringKrullDim_stalk_eq_coheight] |
| 57 | exact ringKrullDim_lt_top |
| 58 | have hne : Order.coheight x ≠ ⊤ := by |
| 59 | intro h |
| 60 | simp only [h, WithBot.coe_top, lt_self_iff_false] at hfin |
| 61 | refine ⟨(Order.coheight x).toNat, ?_⟩ |
| 62 | rw [hdim, ringKrullDim_stalk_eq_coheight] |
| 63 | exact congrArg (fun n : ℕ∞ => (n : WithBot ℕ∞)) (ENat.natCast_toNat hne).symm |
| 64 | |
| 65 | /-- A smooth proper geometrically connected commutative group over an |
| 66 | algebraically closed field has finite topological Krull dimension. -/ |
| 67 | theorem exists_nat_dimension_group_over_algClosed |
| 68 | {K : Type*} [Field K] [IsAlgClosed K] |
| 69 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 70 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] : |
| 71 | ∃ g : ℕ, topologicalKrullDim A.left = (g : WithBot ℕ∞) := by |
| 72 | have : ConnectedSpace A.left := GeometricallyConnected.connectedSpace_of_subsingleton A.hom |
| 73 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 74 | have : IsLocallyNoetherian A.left := LocallyOfFiniteType.isLocallyNoetherian A.hom |
| 75 | exact exists_nat_dimension_of_transitive_closedPoints A.left (fun x y hx hy => by |
| 76 | obtain ⟨α, _, hxy, _⟩ := FlatTranslations.Construction.multiplication_transitive_automorphisms A 1 x y hx hy |
| 77 | exact ⟨α, hxy⟩) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction |