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.SmoothIntegralClosure |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.LocalIntegralClosureDomain |
| 3 | import Mathlib.RingTheory.Etale.Field |
| 4 | import Mathlib.RingTheory.LocalProperties.Reduced |
| 5 | |
| 6 | /-! # Etale Domain Localization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.EtaleDomainLocalization.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: local domains in étale charts over a normal domain |
| 14 | |
| 15 | Smooth base change and localization preserve integral closedness in the |
| 16 | generic algebra. That algebra is reduced Artinian, so its local integral |
| 17 | closures are domains. No regular-local-ring theorem is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | universe u v w |
| 26 | |
| 27 | variable (R : Type u) (K : Type v) (S : Type w) |
| 28 | [CommRing R] [IsDomain R] [IsIntegrallyClosed R] |
| 29 | [Field K] [Algebra R K] [IsFractionRing R K] |
| 30 | [CommRing S] [Algebra R S] [Algebra.Etale R S] |
| 31 | |
| 32 | include R K |
| 33 | |
| 34 | omit [IsDomain R] in |
| 35 | /-- Every prime localization of an étale algebra over an integrally closed domain is a domain. -/ |
| 36 | theorem etale_localization_isNormalDomain (q : Ideal S) [q.IsPrime] : |
| 37 | IsDomain (Localization.AtPrime q) ∧ IsIntegrallyClosed (Localization.AtPrime q) := by |
| 38 | let G := S ⊗[R] K |
| 39 | let T := Localization.AtPrime q |
| 40 | have : IsIntegrallyClosedIn R K := |
| 41 | (isIntegrallyClosed_iff_isIntegralClosure K).mp inferInstance |
| 42 | have : IsIntegrallyClosedIn S G := SmoothIntegralClosure.Construction.smooth_integrallyClosedIn_baseChange R S K |
| 43 | have : IsIntegrallyClosedIn T (T ⊗[S] G) := |
| 44 | SmoothIntegralClosure.Construction.localization_integrallyClosedIn_baseChange S T G q.primeCompl |
| 45 | let : Algebra K G := Algebra.TensorProduct.rightAlgebra |
| 46 | have : Algebra.Etale K G := Algebra.Etale.of_equiv (Algebra.TensorProduct.commRight R K S) |
| 47 | have : Module.Finite K G := Algebra.FormallyUnramified.finite_of_free K G |
| 48 | have : IsArtinianRing G := IsArtinianRing.of_finite K G |
| 49 | have : IsReduced G := Algebra.FormallyUnramified.isReduced_of_field K G |
| 50 | let : Algebra G (T ⊗[S] G) := Algebra.TensorProduct.rightAlgebra |
| 51 | let M := Algebra.algebraMapSubmonoid G q.primeCompl |
| 52 | have : IsLocalization M (T ⊗[S] G) := IsLocalization.tensorRight T q.primeCompl |
| 53 | have : IsArtinianRing (T ⊗[S] G) := IsArtinianRing.localization_artinian M _ |
| 54 | have : IsReduced (T ⊗[S] G) := isReduced_localizationPreserves M _ inferInstance |
| 55 | exact ⟨LocalIntegralClosureDomain.Construction.local_integrallyClosedIn_artinian_isDomain T (T ⊗[S] G), |
| 56 | LocalIntegralClosureDomain.Construction.local_integrallyClosedIn_artinian_isIntegrallyClosed T (T ⊗[S] G)⟩ |
| 57 | |
| 58 | omit [IsDomain R] in |
| 59 | /-- Every prime localization of an étale algebra over an integrally closed domain is a domain. -/ |
| 60 | theorem etale_localization_isDomain (q : Ideal S) [q.IsPrime] : |
| 61 | IsDomain (Localization.AtPrime q) := (etale_localization_isNormalDomain R K S q).1 |
| 62 | |
| 63 | omit [IsDomain R] in |
| 64 | /-- Every prime localization of an étale algebra over a normal domain is integrally closed. -/ |
| 65 | theorem etale_localization_isIntegrallyClosed (q : Ideal S) [q.IsPrime] : |
| 66 | IsIntegrallyClosed (Localization.AtPrime q) := (etale_localization_isNormalDomain R K S q).2 |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.EtaleDomainLocalization.Construction |