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.IntegralIdempotents |
| 2 | import Mathlib.RingTheory.Artinian.Ring |
| 3 | |
| 4 | /-! # Local Integral Closure Domain -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.LocalIntegralClosureDomain.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: local rings integrally closed in reduced Artinian algebras |
| 12 | |
| 13 | The finite product-of-fields decomposition cannot have multiple factors: |
| 14 | its idempotents would give nontrivial idempotents in the local ring. The |
| 15 | ambient algebra is therefore a field, and the local ring is a domain. |
| 16 | -/ |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | /-- A nontrivial reduced Artinian ring with no nontrivial idempotents is a field. -/ |
| 21 | theorem reduced_artinian_isField_of_idempotents (B : Type v) [CommRing B] |
| 22 | [Nontrivial B] [IsReduced B] [IsArtinianRing B] |
| 23 | (h : ∀ e : B, IsIdempotentElem e → e = 0 ∨ e = 1) : IsField B := by |
| 24 | classical |
| 25 | let e := IsArtinianRing.equivPi B |
| 26 | have : Subsingleton (MaximalSpectrum B) := ⟨fun i j => by |
| 27 | by_contra hij |
| 28 | let v : ∀ m : MaximalSpectrum B, B ⧸ m.asIdeal := Pi.single i 1 |
| 29 | have hv : IsIdempotentElem v := by |
| 30 | change v * v = v |
| 31 | ext m |
| 32 | by_cases hm : m = i |
| 33 | · subst m |
| 34 | simp [v] |
| 35 | · simp [v, Pi.single_eq_of_ne hm] |
| 36 | have ht : IsIdempotentElem (e.symm v) := hv.map e.symm |
| 37 | rcases h (e.symm v) ht with ht | ht |
| 38 | · have hh := congrArg (fun b : B => e b i) ht |
| 39 | simp [v] at hh |
| 40 | · have hh := congrArg (fun b : B => e b j) ht |
| 41 | simp [v, Pi.single_eq_of_ne (Ne.symm hij)] at hh⟩ |
| 42 | have : IsLocalRing B := IsLocalRing.of_singleton_maximalSpectrum |
| 43 | exact IsArtinianRing.isField_of_isReduced_of_isLocalRing B |
| 44 | |
| 45 | /-- A local ring integrally closed in a reduced Artinian algebra is a domain. -/ |
| 46 | theorem local_integrallyClosedIn_artinian_isDomain (R : Type u) (B : Type v) |
| 47 | [CommRing R] [CommRing B] [Algebra R B] [IsLocalRing R] |
| 48 | [IsIntegrallyClosedIn R B] [IsReduced B] [IsArtinianRing B] : IsDomain R := by |
| 49 | have hi := IsIntegralClosure.algebraMap_injective R R B |
| 50 | have : Nontrivial B := Function.Injective.nontrivial hi |
| 51 | have hf : IsField B := reduced_artinian_isField_of_idempotents B |
| 52 | (fun _ he => IntegralIdempotents.Construction.integralClosure_local_idempotent_eq_zero_or_one R he) |
| 53 | let := hf.toField |
| 54 | exact Function.Injective.isDomain (algebraMap R B) hi |
| 55 | |
| 56 | /-- The same local ring is integrally closed in its own fraction field. -/ |
| 57 | theorem local_integrallyClosedIn_artinian_isIntegrallyClosed (R : Type u) (B : Type v) |
| 58 | [CommRing R] [CommRing B] [Algebra R B] [IsLocalRing R] |
| 59 | [IsIntegrallyClosedIn R B] [IsReduced B] [IsArtinianRing B] : IsIntegrallyClosed R := by |
| 60 | have hi := IsIntegralClosure.algebraMap_injective R R B |
| 61 | have : Nontrivial B := Function.Injective.nontrivial hi |
| 62 | have hf : IsField B := reduced_artinian_isField_of_idempotents B |
| 63 | (fun _ he => IntegralIdempotents.Construction.integralClosure_local_idempotent_eq_zero_or_one R he) |
| 64 | let := hf.toField |
| 65 | have : FaithfulSMul R B := (faithfulSMul_iff_algebraMap_injective R B).mpr hi |
| 66 | exact IsIntegrallyClosed.of_isIntegrallyClosedIn R B |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.LocalIntegralClosureDomain.Construction |