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.AbelianModuli.HilbertConstruction.Connected.ArtinianReduced |
| 2 | import Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic |
| 3 | |
| 4 | /-! # Integral Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.IntegralAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An integral reduced algebra over a field with connected spectrum is a field. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | theorem injective_ringHom_preconnectedSpectrum {R : Type u} {S : Type v} |
| 15 | [CommRing R] [CommRing S] [PreconnectedSpace (PrimeSpectrum S)] |
| 16 | (f : R →+* S) (hf : Function.Injective f) : PreconnectedSpace (PrimeSpectrum R) := by |
| 17 | have hd : DenseRange (PrimeSpectrum.comap f) := |
| 18 | (PrimeSpectrum.denseRange_comap_iff_ker_le_nilRadical f).mpr |
| 19 | (((RingHom.injective_iff_ker_eq_bot f).mp hf).le.trans bot_le) |
| 20 | exact hd.preconnectedSpace (PrimeSpectrum.continuous_comap f) |
| 21 | |
| 22 | theorem connected_integral_reduced_isField (K : Type u) (R : Type v) |
| 23 | [Field K] [CommRing R] [Nontrivial R] [Algebra K R] [Algebra.IsIntegral K R] |
| 24 | [IsReduced R] [PreconnectedSpace (PrimeSpectrum R)] : IsField R := by |
| 25 | refine ⟨⟨0, 1, zero_ne_one⟩, mul_comm, ?_⟩ |
| 26 | intro a ha |
| 27 | let B := Algebra.adjoin K ({a} : Set R) |
| 28 | have : Module.Finite K B := |
| 29 | Algebra.finite_adjoin_simple_of_isIntegral (Algebra.IsIntegral.isIntegral a) |
| 30 | have : IsArtinianRing B := IsArtinianRing.of_finite K B |
| 31 | have : IsReduced B := isReduced_of_injective B.val Subtype.val_injective |
| 32 | have : PreconnectedSpace (PrimeSpectrum B) := |
| 33 | injective_ringHom_preconnectedSpectrum B.val.toRingHom Subtype.val_injective |
| 34 | have hB : IsField B := ArtinianReduced.connected_artinian_reduced_isField B |
| 35 | let aB : B := ⟨a, Algebra.subset_adjoin (Set.mem_singleton a)⟩ |
| 36 | have haB : aB ≠ 0 := fun h => ha (congrArg Subtype.val h) |
| 37 | obtain ⟨b, hb⟩ := hB.mul_inv_cancel haB |
| 38 | exact ⟨b.val, congrArg Subtype.val hb⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.IntegralAlgebra |