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.Resolution.Blowups.Quotient.ConormalProjective |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalizedModuleFreeTransport |
| 4 | import Mathlib.RingTheory.Spectrum.Prime.FreeLocus |
| 5 | |
| 6 | /-! # Conormal Local Basis -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ConormalLocalBasis.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every point of a smooth closed center has an actual principal neighborhood with a free conormal module. -/ |
| 13 | |
| 14 | theorem exists_smooth_center_conormal_free_neighborhood |
| 15 | {k R : Type*} [CommRing k] [CommRing R] [Algebra k R] |
| 16 | [Algebra.FormallySmooth k R] [IsNoetherianRing R] |
| 17 | (I : Ideal R) [Algebra.FormallySmooth k (R ⧸ I)] |
| 18 | (p : Ideal R) [p.IsPrime] (hIp : I ≤ p) : |
| 19 | ∃ r ∉ p, Module.Free |
| 20 | (Localization.Away r ⧸ I.map (algebraMap R (Localization.Away r))) |
| 21 | (I.map (algebraMap R (Localization.Away r))).Cotangent := by |
| 22 | let Q := R ⧸ I |
| 23 | let : Module.Finite Q I.Cotangent := Blowups.Quotient.ConormalProjective.Construction.smooth_quotient_conormal_finite I |
| 24 | let : Module.Projective Q I.Cotangent := Blowups.Quotient.ConormalProjective.Construction.smooth_quotient_conormal_projective (k := k) I |
| 25 | let : Module.FinitePresentation Q I.Cotangent := Module.finitePresentation_of_projective Q I.Cotangent |
| 26 | let q : Ideal Q := p.map (Ideal.Quotient.mk I) |
| 27 | let : q.IsPrime := Ideal.isPrime_map_quotientMk_of_isPrime hIp |
| 28 | have hqfree : (⟨q, inferInstance⟩ : PrimeSpectrum Q) ∈ Module.freeLocus Q I.Cotangent := by |
| 29 | rw [Module.freeLocus_eq_univ] |
| 30 | trivial |
| 31 | let : Module.Free (Localization.AtPrime q) (LocalizedModule q.primeCompl I.Cotangent) := hqfree |
| 32 | obtain ⟨s, hs, hfree, _⟩ := Module.FinitePresentation.exists_free_localizedModule_powers q.primeCompl |
| 33 | (LocalizedModule.mkLinearMap q.primeCompl I.Cotangent) (Localization.AtPrime q) |
| 34 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective s |
| 35 | have hr : r ∉ p := by |
| 36 | intro hr |
| 37 | exact hs (Ideal.mem_map_of_mem (Ideal.Quotient.mk I) hr) |
| 38 | let S := Localization.Away r |
| 39 | let Q' := S ⧸ I.map (algebraMap R S) |
| 40 | let : IsLocalization.Away (Ideal.Quotient.mk I r) Q' := |
| 41 | Blowups.Quotient.LocalizedConormal.Construction.quotient_extended_ideal_isLocalizationAway r I |
| 42 | let : Module Q (I.map (algebraMap R S)).Cotangent := Blowups.Quotient.LocalizedConormal.Construction.extendedCotangentQuotientModule I |
| 43 | let : IsScalarTower Q Q' (I.map (algebraMap R S)).Cotangent := Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap_scalarTower I |
| 44 | let F := Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap (S := S) I |
| 45 | let : IsLocalizedModule (Submonoid.powers (Ideal.Quotient.mk I r)) F := |
| 46 | Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap_isLocalizedModule r I |
| 47 | let : Module.Free (Localization.Away (Ideal.Quotient.mk I r)) |
| 48 | (LocalizedModule.Away (Ideal.Quotient.mk I r) I.Cotangent) := hfree |
| 49 | exact ⟨r, hr, LocalizedModuleFreeTransport.Construction.free_of_actual_localization (Submonoid.powers (Ideal.Quotient.mk I r)) F⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ConormalLocalBasis.Construction |